Commit 7b44b0f9 by 徐高华

Merge branch 'developer' into 'master'

单个成员群刷新

See merge request !973
parents 8eef03aa a21cf2a0
......@@ -150,5 +150,16 @@ public interface GroupChatService {
* @throws
*/
public void ownerDimission();
/**
*
* @Title: initStaffGroupChat
* @Description: 初始化单个成员的群
* @author xugh
* @param staffId
* @return
* @throws
*/
public ServiceResponse<Void> initStaffGroupChat(String staffId) ;
}
\ No newline at end of file
......@@ -1158,4 +1158,17 @@ public class GroupChatServiceImpl implements GroupChatService {
this.updateChatStatus(qwDTO, groupChatId);
}
}
@Override
public ServiceResponse<Void> initStaffGroupChat(String staffId) {
TabHaobanStaff staff = this.staffMapper.selectByPrimaryKey(staffId);
String userId = staff.getWxUserId();
String wxEnterpriseId = staff.getWxEnterpriseId();
WxEnterpriseQwDTO qwDTO = this.wxEnterpriseService.getQwInfo(wxEnterpriseId);
if (qwDTO.needOpenUserId3th()) {
userId = staff.getWxOpenUseId();
}
this.syncGroupChatList(qwDTO, Arrays.asList(userId), null, true);
return null ;
}
}
\ 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