From 6a2980a8b45db3ad462f8dc76627cb9e6c5cf4d0 Mon Sep 17 00:00:00 2001 From: zhenghaoyu Date: Fri, 9 Aug 2024 17:55:14 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=B9=B2=E7=BA=BFbug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/OpenOrderServiceImpl.java | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) 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("改单成功");