diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/cockpit/service/impl/BigScreenServiceImpl.java b/lms/nladmin-system/src/main/java/org/nl/wms/cockpit/service/impl/BigScreenServiceImpl.java index c034e39..a80018c 100644 --- a/lms/nladmin-system/src/main/java/org/nl/wms/cockpit/service/impl/BigScreenServiceImpl.java +++ b/lms/nladmin-system/src/main/java/org/nl/wms/cockpit/service/impl/BigScreenServiceImpl.java @@ -433,8 +433,9 @@ public class BigScreenServiceImpl implements BigScreenService { JSONObject result = new JSONObject(); d1.put("device_code", "LQD01"); res.add(d1); - d1.put("device_code", "HCD01"); - res.add(d1); + JSONObject d2 = new JSONObject(); + d1.put("device_code", "KCD01"); + res.add(d2); JSONObject devicesStatus = PointUpdateUtil.getDevicesStatus(res); // JSONObject devicesStatus = null; JSONArray data = ObjectUtil.isNotEmpty(devicesStatus) ? devicesStatus.getJSONArray("data") : res; diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/sch/manage/AutoUpdateWorkOrder.java b/lms/nladmin-system/src/main/java/org/nl/wms/sch/manage/AutoUpdateWorkOrder.java index f9a61c5..f4a2ec8 100644 --- a/lms/nladmin-system/src/main/java/org/nl/wms/sch/manage/AutoUpdateWorkOrder.java +++ b/lms/nladmin-system/src/main/java/org/nl/wms/sch/manage/AutoUpdateWorkOrder.java @@ -51,7 +51,7 @@ public class AutoUpdateWorkOrder { TaskUtils.addAutoUpdateColum(yzWorkOrderUpdate); for (int i = 0; i < yzData.size(); i++) { JSONObject newData = yzData.getJSONObject(i); - yzWorkOrderUpdate.put("real_qty", newData.getString("reql_qty")); + yzWorkOrderUpdate.put("real_qty", newData.getString("real_qty")); yzWorkOrderUpdate.put("qualified_qty", newData.getString("qualified")); yzWorkOrderUpdate.put("unqualified_qty", newData.getString("unqualified")); workOrderTable.update(yzWorkOrderUpdate, "workorder_id = " + newData.getString("workorder_id")); @@ -62,7 +62,7 @@ public class AutoUpdateWorkOrder { TaskUtils.addAutoUpdateColum(fjWorkOrderUpdate); for (int i = 0; i < fjData.size(); i++) { JSONObject newData = fjData.getJSONObject(i); - yzWorkOrderUpdate.put("real_qty", newData.getString("reql_qty")); + yzWorkOrderUpdate.put("real_qty", newData.getString("real_qty")); workOrderTable.update(yzWorkOrderUpdate, "workorder_id = " + newData.getString("workorder_id")); } }