Commit 688c0655 by 徐高华

排序

parent a52cf3d3
......@@ -221,7 +221,14 @@
<if test="null != userType">
and a.user_type = #{userType}
</if>
order by a.chat_user_id
<choose>
<when test="status==2">
order by a.user_quit_time desc , a.chat_user_id desc
</when>
<otherwise>
order by a.chat_user_id desc
</otherwise>
</choose>
</select>
</mapper>
\ No newline at end of file
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