From b1f4a6c1068881d68c45cb618a36e7d0ba37d47d Mon Sep 17 00:00:00 2001 From: "pref_mail@163.com" Date: Thu, 25 Jan 2024 17:30:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=B4=A7=E7=89=A9=E7=9A=84nu?= =?UTF-8?q?ll=20=E5=88=A4=E6=96=AD?= 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 d2d29b39e..0a5691c4b 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 @@ -1571,7 +1571,9 @@ public class DistributionStockupAppController extends BladeController { warehouseUpdownGoodsEntity.setAssociationValue(stockupDTO.getPacketBarCode()); warehouseUpdownGoodsEntity.setWarehouseId(distributionStockupEntity.getWarehouseId()); WarehouseUpdownGoodsEntity locationInformation = warehouseUpdownGoodsClient.getLocationInformation(warehouseUpdownGoodsEntity); - entity.setAllocationTitle(locationInformation.getPositionCode()); + if(ObjectUtils.isNotNull(locationInformation)){ + entity.setAllocationTitle(locationInformation.getPositionCode()); + } entity.setAllocationId(stockupDTO.getAllocationId()); } entity.setConditions("0");