Commit 49312847 by 徐高华

群查询

parent beb1de36
...@@ -265,7 +265,12 @@ ...@@ -265,7 +265,12 @@
and a.staff_id = #{staffId} and a.staff_id = #{staffId}
</if> </if>
<if test="null == status or 0==status"> <if test="null == status or 0==status">
and a.chat_status in (0,3) <if test="null != chatHmId">
and a.chat_status in (0,1,2,3,4)
</if>
<if test="null == chatHmId">
and a.chat_status in (0,3)
</if>
</if> </if>
<if test="null != status and 1==status"> <if test="null != status and 1==status">
and a.chat_status = 1 and a.chat_status = 1
...@@ -300,9 +305,6 @@ ...@@ -300,9 +305,6 @@
#{groupChatId} #{groupChatId}
</foreach> </foreach>
</if> </if>
<if test="null != chatHmId">
and a.chat_status in (0,1,2,3,4)
</if>
<if test="null != hmAddStatus and 0!=hmAddStatus"> <if test="null != hmAddStatus and 0!=hmAddStatus">
and a.hm_add_status = #{hmAddStatus} and a.hm_add_status = #{hmAddStatus}
</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