Browse Source

异物侵限报警修改

gao.qiang 2 weeks ago
parent
commit
7d0d45b06d

+ 1 - 1
hazard-admin/src/main/java/com/ozs/web/controller/accountmanagment/BaseDeviceResumeController.java

@@ -60,7 +60,7 @@ public class BaseDeviceResumeController extends BaseController {
     public static List<BaseDeviceResumeVo> removeAdjacentFaults(List<BaseDeviceResumeVo> records) {
         List<BaseDeviceResumeVo> resultList = new ArrayList<>();
         for (int i = 0; i < records.size(); i++) {
-            if (i == 0 || !records.get(i).getIsDisable().equals(records.get(i - 1).getIsDisable()) || "正常".equals(records.get(i).getIsDisable())) {
+            if (i == 0 || !records.get(i).getIsDisable().equals(records.get(i - 1).getIsDisable()) || "设备正常".equals(records.get(i).getIsDisable())) {
                 resultList.add(records.get(i));
             }
         }