Browse Source

HL-6355 已修复

hella_online_20241114
chenfang 1 week ago
parent
commit
5eec94fbe3
  1. 5
      win-module-wms/win-module-wms-biz/src/main/java/com/win/module/wms/service/inventorymoveRequest/InventorymoveRequestMainServiceImpl.java

5
win-module-wms/win-module-wms-biz/src/main/java/com/win/module/wms/service/inventorymoveRequest/InventorymoveRequestMainServiceImpl.java

@ -944,6 +944,11 @@ public class InventorymoveRequestMainServiceImpl implements InventorymoveRequest
}
log.debug("隔离转合格上架推荐库位结果,物料代码:{},推荐库位代码:{}",inventorymoveRequestDetailDO.getItemCode(),locationDO.getCode());
recordDetailDO.setToLocationCode(locationDO.getCode());
for (InventorymoveRequestDetailDO requestDetailDO : detailDOList) {
if (!"".equals(requestDetailDO.getToLocationCode()) && null != requestDetailDO.getToLocationCode()) {
recordDetailDO.setToLocationCode(requestDetailDO.getToLocationCode());
}
}
LocationDO toLocationDO = locationService.selectLocation(locationDO.getCode());
recordDetailDO.setToAreaCode(toLocationDO.getAreaCode());
recordDetailDO.setToLocationGroupCode(toLocationDO.getLocationGroupCode());

Loading…
Cancel
Save