Commit bddcb55e authored by 竹天卫's avatar 竹天卫

派发列表排序

parent db76dd5b
...@@ -289,11 +289,11 @@ ...@@ -289,11 +289,11 @@
left join client c on c.id = e.client_id left join client c on c.id = e.client_id
left join sys_user su on su.id = e.user_id left join sys_user su on su.id = e.user_id
<include refid="checkWhere"/> <include refid="checkWhere"/>
order by e.update_time desc order by e.status asc, e.is_urgent desc, e.update_time desc
</select> </select>
<sql id="checkWhere"> <sql id="checkWhere">
<where> <where>
and e.is_delete = 1 and e.status >= 0 and e.is_delete = 1 and e.status >= 5 and e.status &lt; 9
<if test="params.entrustCode != null and params.entrustCode != ''"> <if test="params.entrustCode != null and params.entrustCode != ''">
and e.entrust_code like concat('%', #{params.entrustCode}, '%') and e.entrust_code like concat('%', #{params.entrustCode}, '%')
</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