From ebe2baa0cf7861d3ed987c7aca3447b5c8b76ff0 Mon Sep 17 00:00:00 2001 From: "pref_mail@163.com" <123456> Date: Mon, 20 Nov 2023 15:18:49 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E6=94=B9=E5=BA=93=E5=AD=98=E5=88=A4?= =?UTF-8?q?=E6=96=AD=20=E5=A4=B1=E8=B4=A5=E7=9A=84=E9=97=AE=E9=A2=98?= 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 4108663e3..453d84fbb 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 @@ -761,7 +761,9 @@ public class DistributionStockupAppController extends BladeController { if(ObjectUtils.isNull(list)){ return Resp.scanFail("没有查询到包件信息 ! ","没有查询到包件信息 ! "); } - if(!list.get(0).getConditions().equals("2")){ + log.info(">>>>> obj {}",list.get(0).getConditions()); + DistributionParcelListEntity distributionParcelListEntity = list.get(0); + if(2!=distributionParcelListEntity.getConditions()){ return Resp.scanFail("当前包件不是库存品,无法备货!!","当前包件不是库存品,无法备货!!"); }