|
|
|
@ -357,14 +357,7 @@ public class WmsMessageServiceImpl implements WmsMessageService { |
|
|
|
throw new RuntimeException("未找到托盘上的条码信息"); |
|
|
|
} |
|
|
|
|
|
|
|
// 11. IFS移库 要先做ifs |
|
|
|
InventoryMoveRequestDto ifsRequest = new InventoryMoveRequestDto(); |
|
|
|
ifsRequest.setSite("55"); |
|
|
|
ifsRequest.setTargetLocationId(request.getToLocationId()); |
|
|
|
List<String> handlingUnitIds = handlingUnits.stream() |
|
|
|
.map(HandlingUnit::getUnitId).collect(Collectors.toList()); |
|
|
|
ifsRequest.setHandlingUnitIds(handlingUnitIds); |
|
|
|
inventoryMoveService.confirmInventoryMoveForPallet(ifsRequest); |
|
|
|
|
|
|
|
|
|
|
|
// 6. 生成移库出库和入库的事务号 |
|
|
|
TransNoControl stoTransData = transNoControlService.getTransNo(request.getSite(), "STO", 10); |
|
|
|
@ -443,7 +436,14 @@ public class WmsMessageServiceImpl implements WmsMessageService { |
|
|
|
handlingUnitService.updateById(hu); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// 11. IFS移库 最后ifs |
|
|
|
InventoryMoveRequestDto ifsRequest = new InventoryMoveRequestDto(); |
|
|
|
ifsRequest.setSite("55"); |
|
|
|
ifsRequest.setTargetLocationId(request.getToLocationId()); |
|
|
|
List<String> handlingUnitIds = handlingUnits.stream() |
|
|
|
.map(HandlingUnit::getUnitId).collect(Collectors.toList()); |
|
|
|
ifsRequest.setHandlingUnitIds(handlingUnitIds); |
|
|
|
inventoryMoveService.confirmInventoryMoveForPallet(ifsRequest); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|