From 988156505f5421a0a9fd504855402b7d4e194fb7 Mon Sep 17 00:00:00 2001 From: liuxy Date: Wed, 10 Aug 2022 18:49:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/org/nl/wms/pf/service/impl/FormulaServiceImpl.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mes/hd/nladmin-system/src/main/java/org/nl/wms/pf/service/impl/FormulaServiceImpl.java b/mes/hd/nladmin-system/src/main/java/org/nl/wms/pf/service/impl/FormulaServiceImpl.java index b6908112..6d4fe1b6 100644 --- a/mes/hd/nladmin-system/src/main/java/org/nl/wms/pf/service/impl/FormulaServiceImpl.java +++ b/mes/hd/nladmin-system/src/main/java/org/nl/wms/pf/service/impl/FormulaServiceImpl.java @@ -765,8 +765,7 @@ public class FormulaServiceImpl implements FormulaService { // 球磨 oneMap.put("ball_speed", jsonMaterExt.getString("ball_speed")); - JSONObject jsonQM08 = paraTab.query("material_id = '" + material_id + "' and para_code = 'QM008'").uniqueResult(0); - if (ObjectUtil.isNotEmpty(jsonQM08)) oneMap.put("number_3", jsonQM08.getString("value")); + oneMap.put("number_3", jsonMst.getString("ball_time")); oneMap.put("create_name", jsonMst.getString("create_name")); // 查询配方明细-辅料