diff --git a/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/impl/OpenOrderServiceImpl.java b/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/impl/OpenOrderServiceImpl.java index 23f4e84fa..91921cb14 100644 --- a/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/impl/OpenOrderServiceImpl.java +++ b/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/impl/OpenOrderServiceImpl.java @@ -2266,19 +2266,19 @@ public class OpenOrderServiceImpl implements IOpenOrderService { trunklineWaybillPackageService.updateBatchById(trunklineWaybillPackageEntities); } } - if(CollUtil.isNotEmpty(noArriveWarehousePackageCode)){ - QueryWrapper queryWrapper = new QueryWrapper<>(); - queryWrapper.in("order_package_code",noArriveWarehousePackageCode) - .eq("is_deleted",0); - List trunklineWaybillPackageEntities = trunklineWaybillPackageService.list(queryWrapper); - if(!trunklineWaybillPackageEntities.isEmpty()){ - for (TrunklineWaybillPackageEntity trunklineWaybillPackageEntity : trunklineWaybillPackageEntities) { - trunklineWaybillPackageEntity.setPackageStatus(WorkNodeEnums.INITIAL_WAREHOUSE_DEPART.getCode()); - } - trunklineWaybillPackageService.updateBatchById(trunklineWaybillPackageEntities); - } - } - trunklineWaybillPackageService.updateWaybillStatus(waybillEntity); +// if(CollUtil.isNotEmpty(noArriveWarehousePackageCode)){ +// QueryWrapper queryWrapper = new QueryWrapper<>(); +// queryWrapper.in("order_package_code",noArriveWarehousePackageCode) +// .eq("is_deleted",0); +// List trunklineWaybillPackageEntities = trunklineWaybillPackageService.list(queryWrapper); +// if(!trunklineWaybillPackageEntities.isEmpty()){ +// for (TrunklineWaybillPackageEntity trunklineWaybillPackageEntity : trunklineWaybillPackageEntities) { +// trunklineWaybillPackageEntity.setPackageStatus(WorkNodeEnums.INITIAL_WAREHOUSE_DEPART.getCode()); +// } +// trunklineWaybillPackageService.updateBatchById(trunklineWaybillPackageEntities); +// } +// } +// trunklineWaybillPackageService.updateWaybillStatus(waybillEntity); } openOrderAsyncService.sendUpdateWaybillFanout(waybillEntity,wayBillDetailList,advanceIds,oldConsignee); return R.success("改单成功");