|
|
@ -429,12 +429,6 @@ public class WmsMessageServiceImpl implements WmsMessageService { |
|
|
itemNo++; |
|
|
itemNo++; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// 10. 更新HandlingUnit的库位信息 |
|
|
|
|
|
for (HandlingUnit hu : handlingUnits) { |
|
|
|
|
|
hu.setWarehouseId(request.getToWarehouseId()); |
|
|
|
|
|
hu.setLocationId(request.getToLocationId()); |
|
|
|
|
|
handlingUnitService.updateById(hu); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// 11. IFS移库 最后ifs |
|
|
// 11. IFS移库 最后ifs |
|
|
InventoryMoveRequestDto ifsRequest = new InventoryMoveRequestDto(); |
|
|
InventoryMoveRequestDto ifsRequest = new InventoryMoveRequestDto(); |
|
|
@ -445,7 +439,12 @@ public class WmsMessageServiceImpl implements WmsMessageService { |
|
|
ifsRequest.setHandlingUnitIds(handlingUnitIds); |
|
|
ifsRequest.setHandlingUnitIds(handlingUnitIds); |
|
|
inventoryMoveService.confirmInventoryMoveForPallet(ifsRequest); |
|
|
inventoryMoveService.confirmInventoryMoveForPallet(ifsRequest); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 10. 更新HandlingUnit的库位信息 |
|
|
|
|
|
for (HandlingUnit hu : handlingUnits) { |
|
|
|
|
|
hu.setWarehouseId(request.getToWarehouseId()); |
|
|
|
|
|
hu.setLocationId(request.getToLocationId()); |
|
|
|
|
|
handlingUnitService.updateById(hu); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
String result = "移库操作完成,出库事务号:" + stoTransNo + ",入库事务号:" + stiTransNo; |
|
|
String result = "移库操作完成,出库事务号:" + stoTransNo + ",入库事务号:" + stiTransNo; |
|
|
|
|
|
|
|
|
|