From 88dd515e39dd6758b77810d8837000f41aa9ac60 Mon Sep 17 00:00:00 2001 From: zhenghaoyu Date: Wed, 19 Mar 2025 18:28:10 +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 --- .../impl/TrunklineCarsLoadServiceImpl.java | 27 ++++++++++++------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/impl/TrunklineCarsLoadServiceImpl.java b/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/impl/TrunklineCarsLoadServiceImpl.java index 98da38fac..41822a3ee 100644 --- a/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/impl/TrunklineCarsLoadServiceImpl.java +++ b/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/impl/TrunklineCarsLoadServiceImpl.java @@ -13350,6 +13350,7 @@ public class TrunklineCarsLoadServiceImpl extends BaseServiceImpl updateNowWarehouseList = new ArrayList<>(); List updateParceList = new ArrayList<>(); udateAdvanceDetailList.forEach(trunklineAdvanceDetailEntity -> { @@ -13381,9 +13382,21 @@ public class TrunklineCarsLoadServiceImpl extends BaseServiceImpl updateNowWarehouseList = new ArrayList<>(); + udateAdvanceDetailList.forEach(trunklineAdvanceDetailEntity -> { - TrunklineAdvanceDetailEntity updateEntity = new TrunklineAdvanceDetailEntity(); - updateEntity.setId(trunklineAdvanceDetailEntity.getId()); - updateEntity.setNowWarehouseId(warehouseId); - updateEntity.setNowWarehouseName(warehouseName); - updateNowWarehouseList.add(updateEntity); + }); - trunklineAdvanceDetailService.updateBatchById(updateNowWarehouseList); + } - trunklineCarsLoadScanService.updateBatchById(updateScanList); +// trunklineCarsLoadScanService.updateBatchById(updateScanList); int i= 0;