|
|
|
@ -138,7 +138,7 @@ public class WmsMessageServiceImpl implements WmsMessageService { |
|
|
|
request.setToLocationId(toLocationId); |
|
|
|
request.setBusinessType("立库" + inData.getTransTypeDesc()); |
|
|
|
request.setRemark("WCS立库" + inData.getTransTypeDesc() + "操作"); |
|
|
|
|
|
|
|
request.setToStation("*");//立库内的站点都为* |
|
|
|
// 5. 调用通用移库方法 |
|
|
|
String result = doWareHouseForPallet(request); |
|
|
|
|
|
|
|
@ -293,14 +293,14 @@ public class WmsMessageServiceImpl implements WmsMessageService { |
|
|
|
|
|
|
|
// 11. 更新托盘位置信息 |
|
|
|
// 需要查询目标站点 |
|
|
|
AgvStation targetStation = getAgvStationByWarehouseAndLocation( |
|
|
|
request.getToWarehouseId(), request.getToLocationId()); |
|
|
|
// AgvStation targetStation = getAgvStationByWarehouseAndLocation( |
|
|
|
// request.getToWarehouseId(), request.getToLocationId()); |
|
|
|
//------------------------------------------------------------------- |
|
|
|
// if (targetStation != null) { |
|
|
|
pallet.setLocationCode(request.getToStation()); |
|
|
|
|
|
|
|
if (targetStation != null) { |
|
|
|
pallet.setLocationCode(targetStation.getStationCode()); |
|
|
|
pallet.setWarehouseId(request.getToWarehouseId()); |
|
|
|
palletService.updateById(pallet); |
|
|
|
} |
|
|
|
// } |
|
|
|
|
|
|
|
String result = "移库操作完成,出库事务号:" + stoTransNo + ",入库事务号:" + stiTransNo; |
|
|
|
|
|
|
|
|