From 4f5a61f032bc3726f107d3665b7b6ae5f5a169dd Mon Sep 17 00:00:00 2001 From: PigBaoBei <2739175034@qq.com> Date: Thu, 4 Apr 2024 22:10:28 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E6=8F=90=E6=96=B0=E5=A2=9E=E8=AE=A2?= =?UTF-8?q?=E5=8D=95BUG=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/DistrilbutionBillLadingServiceImpl.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistrilbutionBillLadingServiceImpl.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistrilbutionBillLadingServiceImpl.java index 7e92cf953..7968f1f44 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistrilbutionBillLadingServiceImpl.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistrilbutionBillLadingServiceImpl.java @@ -1416,13 +1416,14 @@ public class DistrilbutionBillLadingServiceImpl extends BaseServiceImpl addOrderIds = new ArrayList<>(); - List zeroOrderIds = new ArrayList<>(); + List addBillLadingStock = new ArrayList<>(); List packageEntityList = new ArrayList<>(); //剩下的计划内就是需要进行取消的 //订单新增 if (!orderIds.isEmpty()){ + List addOrderIds = new ArrayList<>(); + List zeroOrderIds = new ArrayList<>(); for (Long orderId : orderIds) { DistributionStockArticleEntity stockArticleEntity = distributionStockArticleService.getById(orderId); if (Func.isEmpty(stockArticleEntity)){