Jelajahi Sumber

在线率bug

lengfaqiang 2 tahun lalu
induk
melakukan
e04139861a

+ 2 - 1
slope-modules/slope-detection/src/main/java/com/sckw/slope/detection/model/vo/excel/ThresholdRecordDetailExportVO.java

@@ -43,7 +43,8 @@ public class ThresholdRecordDetailExportVO implements Serializable {
     /**
      * 通知短信
      */
-    @ExcelProperty("通知短信")
+//    @ExcelProperty("通知短信")
+    @ExcelIgnore
     private String phone;
     /**
      * 告警地点

+ 1 - 1
slope-modules/slope-detection/src/main/resources/mapper/mysql/KwsDeviceMapper.xml

@@ -379,7 +379,7 @@
       AND c.del_flag = 0
       and a.mountain_id = b.mountain_id
       and b.mountain_id = c.mountain_id
-      and c.online = 1
+      and c.online = 0
       <if test="projectId != null and projectId != ''">
           and a.id=#{projectId}
       </if>