Commit d20ca3f4 authored by KeYong's avatar KeYong

更新告警列表查询

parent 55043bee
...@@ -226,9 +226,8 @@ ...@@ -226,9 +226,8 @@
</if> </if>
<if test="param.beginDate!=null">AND wlesal.create_date <![CDATA[>=]]> #{param.beginDate}</if> <if test="param.beginDate!=null">AND wlesal.create_date <![CDATA[>=]]> #{param.beginDate}</if>
<if test="param.endDate!=null">AND wlesal.create_date <![CDATA[<=]]> #{param.endDate}</if> <if test="param.endDate!=null">AND wlesal.create_date <![CDATA[<=]]> #{param.endDate}</if>
<if test="param.alarmType != null and param.alarmType != ''"> <if test="param.alarmType == 'BREAKDOWN'">AND wlesal.type = #{param.alarmType}</if>
AND UPPER(wlesal.type) = UPPER(#{param.alarmType}) <if test="param.alarmType == 'FIREALARM'">AND wlesal.type = #{param.alarmType}</if>
</if>
<if test="param.isFireAlarm == 'false'">AND wlesal.type != 'FIREALARM'</if> <if test="param.isFireAlarm == 'false'">AND wlesal.type != 'FIREALARM'</if>
<if test="param.orgCode != null and param.orgCode != ''">AND wlesal.org_code = #{param.orgCode}</if> <if test="param.orgCode != null and param.orgCode != ''">AND wlesal.org_code = #{param.orgCode}</if>
<if test="param.type != null and param.type != ''">AND wlesal.type = #{param.type}</if> <if test="param.type != null and param.type != ''">AND wlesal.type = #{param.type}</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