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 5ffe038a..e3e878cd 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 @@ -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 {