Commit 07bc97e1 authored by KeYong's avatar KeYong

修改告警监测告警数据查询

parent 896f3ccf
...@@ -1496,10 +1496,10 @@ ...@@ -1496,10 +1496,10 @@
<if test="sortField != null and sortField != ''"> <if test="sortField != null and sortField != ''">
<choose> <choose>
<when test="sortOrder == 'ascend'"> <when test="sortOrder == 'ascend'">
wlesal.@SORT_FIELD ASC @SORT_FIELD ASC
</when> </when>
<otherwise> <otherwise>
wlesal.@SORT_FIELD DESC @SORT_FIELD DESC
</otherwise> </otherwise>
</choose> </choose>
</if> </if>
......
...@@ -6858,6 +6858,7 @@ ...@@ -6858,6 +6858,7 @@
wl_equipment_specific_alarm_log r wl_equipment_specific_alarm_log r
LEFT JOIN f_fire_fighting_system fs ON FIND_IN_SET( fs.id, r.system_ids ) LEFT JOIN f_fire_fighting_system fs ON FIND_IN_SET( fs.id, r.system_ids )
<where> <where>
fs.system_type_code IS NOT NULL
<if test="systemCode != null and systemCode != ''"> <if test="systemCode != null and systemCode != ''">
AND fs.`code` = #{systemCode} AND fs.`code` = #{systemCode}
</if> </if>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment