Commit d3b025a4 by 徐高华

Merge branch 'bugfix-xgh-1101' into 'master'

群活码-无群主

See merge request !1496
parents fd4201b2 f1f6954d
...@@ -215,6 +215,14 @@ public class GroupChatHmServiceImpl implements GroupChatHmService { ...@@ -215,6 +215,14 @@ public class GroupChatHmServiceImpl implements GroupChatHmService {
List<Long> chatIdList = chatRelation.stream().map(dto -> dto.getGroupChatId()) List<Long> chatIdList = chatRelation.stream().map(dto -> dto.getGroupChatId())
.collect(Collectors.toList()); .collect(Collectors.toList());
List<TabGroupChat> chatList = this.groupChatMapper.listByIdSet(new HashSet<>(chatIdList)); List<TabGroupChat> chatList = this.groupChatMapper.listByIdSet(new HashSet<>(chatIdList));
if(CollectionUtils.isNotEmpty(chatList)) {
for(TabGroupChat chat : chatList) {
if(StringUtils.isEmpty(chat.getStaffId())) {
logger.info("群未初始化,无群主");
return ;
}
}
}
List<String> hbIdList = chatList.stream().map(dto -> dto.getWxChatIdDk()).collect(Collectors.toList()); List<String> hbIdList = chatList.stream().map(dto -> dto.getWxChatIdDk()).collect(Collectors.toList());
logger.info("企微群列表={},haoban列表={}", qwChatIdList, hbIdList); logger.info("企微群列表={},haoban列表={}", qwChatIdList, hbIdList);
// 差异-企微比好办多的群 // 差异-企微比好办多的群
......
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