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);