Commit 48aff281 authored by duanruiming's avatar duanruiming

[update] 诊断优化-拥堵场景列表查询优化

parent 407e5c2f
...@@ -63,9 +63,9 @@ ...@@ -63,9 +63,9 @@
<where> <where>
<if test="status != null"> <if test="status != null">
and (t1.status = #{status} and (t1.status = #{status}
<if test="status == 1"> or t1.is_unbalance = 1 </if> <if test="status == 1"> and t1.is_unbalance = 1 </if>
<if test="status == 2"> or t1.is_congestion = 1 </if> <if test="status == 2"> and t1.is_congestion = 1 </if>
<if test="status == 3"> or t1.is_spillover = 1 </if>) <if test="status == 3"> and t1.is_spillover = 1 </if>)
</if> </if>
<if test="name != null and name != ''"> <if test="name != null and name != ''">
and t2.name like concat('%',#{name},'%') and t2.name like concat('%',#{name},'%')
......
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