Commit a52cf3d3 by 徐高华

退群查询

parent 68b972e4
...@@ -197,13 +197,16 @@ ...@@ -197,13 +197,16 @@
left join tab_haoban_staff c on b.staff_id = c.staff_id left join tab_haoban_staff c on b.staff_id = c.staff_id
</otherwise> </otherwise>
</choose> </choose>
where a.wx_enterprise_id = #{wxEnterpriseId} and a.delete_flag = 0 where a.wx_enterprise_id = #{wxEnterpriseId} and a.enterprise_id = #{enterpriseId} and a.delete_flag = 0
<if test="null != groupChatId"> <if test="null != groupChatId">
and a.group_chat_id = #{groupChatId} and a.group_chat_id = #{groupChatId}
</if> </if>
<!-- 正常 --> <!-- 正常 -->
<if test="status==1"> <if test="status==1">
and a.status_flag = 1 and a.status_flag = 1
<if test="null != startDate">
and a.join_time <![CDATA[ >=]]> #{startDate} and a.join_time <![CDATA[ <= ]]> #{endDate}
</if>
</if> </if>
<!-- 退群记录 --> <!-- 退群记录 -->
<if test="status == 2"> <if test="status == 2">
...@@ -218,9 +221,7 @@ ...@@ -218,9 +221,7 @@
<if test="null != userType"> <if test="null != userType">
and a.user_type = #{userType} and a.user_type = #{userType}
</if> </if>
<if test="null != startDate"> order by a.chat_user_id
and a.join_time <![CDATA[ >=]]> #{startDate} and a.join_time <![CDATA[ <= ]]> #{endDate}
</if>
</select> </select>
</mapper> </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