Browse Source

修改设备控制失败存储参数

develop
Mr.Wang 5 months ago
parent
commit
617c5eca52
  1. 6
      zc-business/src/main/java/com/zc/business/service/impl/DcEmergencyPlansServiceImpl.java

6
zc-business/src/main/java/com/zc/business/service/impl/DcEmergencyPlansServiceImpl.java

@ -958,7 +958,11 @@ public class DcEmergencyPlansServiceImpl implements DcEmergencyPlansService {
errorResult.put("device", device.getId());
errorResult.put("content", "未匹配到对应的模板内容");
errorResult.put("deviceName", device.getDeviceName());
resultArray.add(errorResult);
JSONObject result = new JSONObject();
result.put("result",errorResult);
result.put("code",500);
result.put("msg","操作失败");
resultArray.add(result);
status = 1;
remark.append("失败");
} else {

Loading…
Cancel
Save