diff --git a/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/mq/AdvanceToLoadListener.java b/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/mq/AdvanceToLoadListener.java index a9d135146..6772e7a32 100644 --- a/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/mq/AdvanceToLoadListener.java +++ b/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/mq/AdvanceToLoadListener.java @@ -87,13 +87,16 @@ public class AdvanceToLoadListener { if(r.getCode() == 200){ carsLoadScanEntity.setFromWarehouseId(warehouseId); carsLoadScanEntity.setOrderCode(orderCode); + carsLoadScanEntity.setIsData(1); Date createTime = carsLoadScanEntity.getCreateTime(); Long createUser = carsLoadScanEntity.getCreateUser(); Long createDept = carsLoadScanEntity.getCreateDept(); + String tenantId = carsLoadScanEntity.getTenantId(); carsLoadScanService.updateById(carsLoadScanEntity); loadIds.add(carsLoadScanEntity.getLoadId()); DistributionParcelListEntity parcelListEntity = distributionParcelListClient.findByPacketBarCodeAndWarehouseId(orderPackageCode, warehouseId); parcelListEntity.setWarehouseEntryTimeEnd(CommonUtil.addDate(createTime,-60)); + parcelListEntity.setTenantId(tenantId); parcelListEntity.setUpdateUser(createUser); parcelListEntity.setCreateUser(createUser); parcelListEntity.setCreateDept(createDept);