From faf5bf05f3651d59c03bfe988fc5f07a380e9c22 Mon Sep 17 00:00:00 2001 From: gongbaoxiong <751575283@qq.com> Date: Tue, 10 Sep 2024 13:54:04 +0800 Subject: [PATCH] =?UTF-8?q?add:=E6=96=B0=E5=A2=9E=E6=95=B0=E5=AD=97?= =?UTF-8?q?=E5=AD=AA=E7=94=9F=E5=A4=A7=E5=B1=8F=E7=9B=B8=E5=85=B3=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../org/nl/wms/cockpit/service/impl/CockpitServiceImpl.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/cockpit/service/impl/CockpitServiceImpl.java b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/cockpit/service/impl/CockpitServiceImpl.java index 3be8c5b..8561477 100644 --- a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/cockpit/service/impl/CockpitServiceImpl.java +++ b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/cockpit/service/impl/CockpitServiceImpl.java @@ -103,7 +103,7 @@ public class CockpitServiceImpl implements CockpitService { }, pool); //暂存库库存结构 JSONObject zc_storage_info = new JSONObject(); - JSONArray material_info = new JSONArray(); + JSONArray material_info; material_info=cockpitMapper.getZcMaterialmsg(); //库位使用占比 String percent=cockpitMapper.percent(); @@ -454,8 +454,6 @@ public class CockpitServiceImpl implements CockpitService { jsonObject.put("one", "3"); jsonObject.put("two", "4"); array.add(jsonObject); - // 此处为故意制造异常 - Integer sd = 5 / 0; jsonObject.put("one", "6"); jsonObject.put("two", "7"); array.add(jsonObject);