Commit 286425b8 authored by 李腾威's avatar 李腾威

地图电梯今日应急统计

parent c223a9f0
...@@ -387,7 +387,7 @@ ...@@ -387,7 +387,7 @@
AND te.region_code like CONCAT(CONCAT('%',#{regionCode}),'%') AND te.region_code like CONCAT(CONCAT('%',#{regionCode}),'%')
</if> </if>
<if test="rescueTotal != null and rescueTotal != ''"> <if test="rescueTotal != null and rescueTotal != ''">
AND tzs.alert_stage_code in ('861','862') AND tzs.alert_stage_code in ('860','861','862')
</if> </if>
<if test="rescueComplete != null and rescueComplete != ''"> <if test="rescueComplete != null and rescueComplete != ''">
AND tzs.alert_stage_code in ('864','865','866') AND tzs.alert_stage_code in ('864','865','866')
...@@ -420,7 +420,7 @@ ...@@ -420,7 +420,7 @@
AND te.region_code like CONCAT(CONCAT('%',#{regionCode}),'%') AND te.region_code like CONCAT(CONCAT('%',#{regionCode}),'%')
</if> </if>
<if test="rescueTotal != null and rescueTotal != ''"> <if test="rescueTotal != null and rescueTotal != ''">
AND tzs.alert_stage_code in ('861','862') AND tzs.alert_stage_code in ('860','861','862')
</if> </if>
<if test="rescueComplete != null and rescueComplete != ''"> <if test="rescueComplete != null and rescueComplete != ''">
AND tzs.alert_stage_code in ('864','865','866') AND tzs.alert_stage_code in ('864','865','866')
......
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