From 957d1ad501af6d3dc70d23482c06e4e6a71ff471 Mon Sep 17 00:00:00 2001 From: "Mr.Wang" Date: Thu, 7 Mar 2024 09:24:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=8B=E4=BB=B6=E7=A1=AE=E8=AE=A4=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E8=A1=A5=E5=85=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../business/service/impl/DcEmergencyPlansServiceImpl.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/zc-business/src/main/java/com/zc/business/service/impl/DcEmergencyPlansServiceImpl.java b/zc-business/src/main/java/com/zc/business/service/impl/DcEmergencyPlansServiceImpl.java index 29a55557..721ec105 100644 --- a/zc-business/src/main/java/com/zc/business/service/impl/DcEmergencyPlansServiceImpl.java +++ b/zc-business/src/main/java/com/zc/business/service/impl/DcEmergencyPlansServiceImpl.java @@ -487,6 +487,7 @@ public class DcEmergencyPlansServiceImpl implements DcEmergencyPlansService { // 2:执行13功能码 HashMap props11 = new HashMap<>(); functionId = DeviceFunctionIdConstants.VARIABLE_INFORMATION_FLAG_13; + List> list = new ArrayList<>(); Map parameters = new HashMap<>(); // stopTime parameters.put("STAY",otherConfig.get("STAY").toString()); @@ -507,8 +508,8 @@ public class DcEmergencyPlansServiceImpl implements DcEmergencyPlansService { parameters.put("height",otherConfig.get("height").toString()); // formatStyle parameters.put("formatStyle",otherConfig.get("formatStyle").toString()); - - props11.put("parameters",parameters); + list.add(parameters); + props11.put("parameters",list); AjaxResult ajaxResult13 = dcDeviceController.invokedFunction(iotDeviceId, functionId, props11); JSONObject result = new JSONObject(); if (ajaxResult13.get("code").equals(200)) {