|
|
|
@ -4372,7 +4372,27 @@ public class TrunklineCarsLoadServiceImpl extends BaseServiceImpl<TrunklineCarsL
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
String content = "包件在 " + warehouseName + "卸车,卸车方式:" + IncomingTypeEnum.getValue(incomingType); |
|
|
|
|
packageTrackLogAsyncService.addPackageTrackLog(tenantId, userId, deptId, nickName, orderPackageCodes, warehouseId, warehouseName, WorkNodeEnums.UNLOAD_INCOMING_WAREHOUSE.getCode(), content); |
|
|
|
|
|
|
|
|
|
List<WarehousePackageTrackLogEntity> list = new ArrayList<>(); |
|
|
|
|
orderPackageCodes.forEach(orderPackageCode -> { |
|
|
|
|
WarehousePackageTrackLogEntity warehousePackageTrackLogEntity = new WarehousePackageTrackLogEntity(); |
|
|
|
|
warehousePackageTrackLogEntity.setTenantId(tenantId); |
|
|
|
|
warehousePackageTrackLogEntity.setCreateUser(userId); |
|
|
|
|
warehousePackageTrackLogEntity.setCreateTime(date); |
|
|
|
|
warehousePackageTrackLogEntity.setUpdateUser(userId); |
|
|
|
|
warehousePackageTrackLogEntity.setUpdateTime(date); |
|
|
|
|
warehousePackageTrackLogEntity.setIsDeleted(0); |
|
|
|
|
warehousePackageTrackLogEntity.setStatus(1); |
|
|
|
|
warehousePackageTrackLogEntity.setCreateDept(deptId); |
|
|
|
|
warehousePackageTrackLogEntity.setOrderPackageCode(orderPackageCode); |
|
|
|
|
warehousePackageTrackLogEntity.setWarehouseId(warehouseId); |
|
|
|
|
warehousePackageTrackLogEntity.setWarehouseName(warehouseName); |
|
|
|
|
warehousePackageTrackLogEntity.setWorkNode(WorkNodeEnums.UNLOAD_INCOMING_WAREHOUSE.getCode()); |
|
|
|
|
warehousePackageTrackLogEntity.setContent(content); |
|
|
|
|
warehousePackageTrackLogEntity.setOperator(nickName); |
|
|
|
|
list.add(warehousePackageTrackLogEntity); |
|
|
|
|
}); |
|
|
|
|
packageTrackLogAsyncService.addBatchPackageTrackLog(list,orderPackageCodes, WorkNodeEnums.UNLOAD_INCOMING_WAREHOUSE.getCode(), null); |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|