Commit 0a76a262 authored by hanbing's avatar hanbing

信控优化-正常路口筛选

parent fa57c651
......@@ -10,10 +10,10 @@
ON t1.cross_id = t2.id
<where>
<if test="status != null">
and t1.status = #{status} or
<if test="status == 1">t1.is_unbalance = 1 </if>
<if test="status == 2">t1.is_congestion = 1 </if>
<if test="status == 3">t1.is_spillover = 1 </if>
and t1.status = #{status}
<if test="status == 1"> or t1.is_unbalance = 1 </if>
<if test="status == 2"> or t1.is_congestion = 1 </if>
<if test="status == 3"> or t1.is_spillover = 1 </if>
</if>
<if test="name != null and 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