From 541ffd5bcae090776dfdde0185439ad1ca120efe Mon Sep 17 00:00:00 2001 From: zhangzhiqiang Date: Thu, 4 May 2023 17:52:50 +0800 Subject: [PATCH] =?UTF-8?q?rev:=E5=90=88=E6=89=B9=E7=90=83=E7=A3=A8?= =?UTF-8?q?=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/org/nl/wms/pf/service/impl/AutoformulaServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mes/hd/nladmin-system/src/main/java/org/nl/wms/pf/service/impl/AutoformulaServiceImpl.java b/mes/hd/nladmin-system/src/main/java/org/nl/wms/pf/service/impl/AutoformulaServiceImpl.java index b85392d5..7b02a159 100644 --- a/mes/hd/nladmin-system/src/main/java/org/nl/wms/pf/service/impl/AutoformulaServiceImpl.java +++ b/mes/hd/nladmin-system/src/main/java/org/nl/wms/pf/service/impl/AutoformulaServiceImpl.java @@ -4740,7 +4740,7 @@ public class AutoformulaServiceImpl implements AutoformulaService { String brf = strs[strs.length-1]; JSONObject alldata = WasteBallTime.getJSONObject("alldata"); - if (ObjectUtil.isEmpty(alldata)){ + if (!ObjectUtil.isEmpty(alldata)){ String now_qty = alldata.getString( brf.toUpperCase(Locale.ROOT)); if (StrUtil.isNotEmpty(now_qty)) { double now = Double.valueOf(now_qty);