Commit f1f6954d by 徐高华

群活码-无群主

parent fd4201b2
......@@ -215,6 +215,14 @@ public class GroupChatHmServiceImpl implements GroupChatHmService {
List<Long> chatIdList = chatRelation.stream().map(dto -> dto.getGroupChatId())
.collect(Collectors.toList());
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());
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