Commit 066e48d4 by jiaotianqi

好办群

parent a733488c
...@@ -2,6 +2,7 @@ package com.gic.haoban.manage.api.dto.qdto.chat; ...@@ -2,6 +2,7 @@ package com.gic.haoban.manage.api.dto.qdto.chat;
import java.io.Serializable; import java.io.Serializable;
import java.util.Date; import java.util.Date;
import java.util.List;
public class GroupChatUserSearchQDTO implements Serializable { public class GroupChatUserSearchQDTO implements Serializable {
...@@ -14,9 +15,21 @@ public class GroupChatUserSearchQDTO implements Serializable { ...@@ -14,9 +15,21 @@ public class GroupChatUserSearchQDTO implements Serializable {
private Integer userType ; private Integer userType ;
private String enterpriseId; private String enterpriseId;
private String searchParams; private String searchParams;
private List<String> staffIdList;
// 群状态 1有效2已退群 // 群状态 1有效2已退群
private Integer status = 1; private Integer status = 1;
private String wxChatId ; private String wxChatId ;
public List<String> getStaffIdList() {
return staffIdList;
}
public void setStaffIdList(List<String> staffIdList) {
this.staffIdList = staffIdList;
}
public String getWxChatId() { public String getWxChatId() {
return wxChatId; return wxChatId;
} }
......
...@@ -282,7 +282,13 @@ ...@@ -282,7 +282,13 @@
and a.user_quit_time <![CDATA[>=]]> #{startDate} and a.user_quit_time <![CDATA[<=]]> #{endDate} and a.user_quit_time <![CDATA[>=]]> #{startDate} and a.user_quit_time <![CDATA[<=]]> #{endDate}
</if> </if>
<if test="null != searchParams and '' != searchParams"> <if test="null != searchParams and '' != searchParams">
and (b.name like #{searchParams} or c.staff_name like #{searchParams} or b.wx_chat_id like #{wxChatId}) and (b.name like #{searchParams} or c.staff_name like #{searchParams} )
</if>
<if test="staffIdList != null and staffIdList.size() != 0">
and c.staff_id in
<foreach collection="staffIdList" item="item" separator="," open="(" close=")" >
#{item}
</foreach>
</if> </if>
</if> </if>
<if test="null != userType"> <if test="null != userType">
......
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