From c1814315e3e29f88918f28df58f2bdd9d9846c33 Mon Sep 17 00:00:00 2001 From: "pref_mail@163.com" Date: Sat, 18 May 2024 01:01:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=87=AA=E6=8F=90=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E5=95=86=E5=9C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../appcontroller/DistributionStockupAppController.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/appcontroller/DistributionStockupAppController.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/appcontroller/DistributionStockupAppController.java index 5cc909231..f97264647 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/appcontroller/DistributionStockupAppController.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/appcontroller/DistributionStockupAppController.java @@ -1173,7 +1173,9 @@ public class DistributionStockupAppController extends BladeController { if(ObjectUtils.isNull(stockupDTO.getMallName())){ // 查询出来 重新复制 DistributionStockListEntity byId1 = distributionStockListService.getById(stockupDTO.getStockListId()); - stockupDTO.setMallName(byId1.getMallName()); + if(!ObjectUtils.isNull(byId1)){ + stockupDTO.setMallName(byId1.getMallName()); + } }