Browse Source

修改在线报警排序

yuejiaying 4 years ago
parent
commit
321be2dd5c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sms_water/src/main/resources/mapper/OnlineMonitorMapper.xml

+ 1 - 1
sms_water/src/main/resources/mapper/OnlineMonitorMapper.xml

@@ -94,7 +94,7 @@
         <if test="tenantId != null and tenantId != ''">
         <if test="tenantId != null and tenantId != ''">
             and t1.tenant_id = #{tenantId}
             and t1.tenant_id = #{tenantId}
         </if>
         </if>
-        order by t1.scene_name
+        order by t6.alarm_start_time desc
     </select>
     </select>
     <!--查询实时报警数量-->
     <!--查询实时报警数量-->
     <select id="selectAlarmCount" resultType="java.util.Map">
     <select id="selectAlarmCount" resultType="java.util.Map">