Commit ff647cae by 徐高华

群初始化

parent 2e7c34b2
......@@ -387,7 +387,7 @@ public class GroupChatServiceImpl implements GroupChatService {
return;
}
String userId = staff.getWxUserId();
if (qwDTO.needOpenUserIdDk()) {
if (qwDTO.needOpenUserId3th()) {
userId = staff.getWxOpenUseId();
}
this.syncGroupChatList(qwDTO, Arrays.asList(userId), null, false);
......@@ -457,7 +457,7 @@ public class GroupChatServiceImpl implements GroupChatService {
return;
}
List<String> userIdList = null;
if (qwDTO.needOpenUserIdDk()) {
if (qwDTO.needOpenUserId3th()) {
userIdList = Arrays.asList(wxOpenUserId);
} else {
userIdList = Arrays.asList(wxUserId);
......@@ -485,7 +485,7 @@ public class GroupChatServiceImpl implements GroupChatService {
}
logger.info("查询staff表第{}页,共{}条,{}", pageNum + 1, staffList.size(), wxEnterpriseId);
List<String> userIdList = null;
if (qwDTO.needOpenUserIdDk()) {
if (qwDTO.needOpenUserId3th()) {
userIdList = staffList.stream().filter(dto -> StringUtils.isNotBlank(dto.getWxOpenUseId()))
.map(dto -> dto.getWxOpenUseId()).collect(Collectors.toList());
} else {
......
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