Commit 92971fef by 徐高华

Merge branch 'feature/自建应用验证' into 'master'

Feature/自建应用验证

See merge request !1245
parents b003cf9b f5957876
...@@ -214,9 +214,9 @@ public class GroupChatHmServiceImpl implements GroupChatHmService { ...@@ -214,9 +214,9 @@ public class GroupChatHmServiceImpl implements GroupChatHmService {
this.saveChatFullNotice(wxEnterpriseId, thisGroupChatId); this.saveChatFullNotice(wxEnterpriseId, thisGroupChatId);
return; return;
} }
if (CollectionUtils.isNotEmpty(qwChatIdList)) {
// 处理要踢的 // 处理要踢的
for (String wxChatId : qwChatIdList) { List<String> bakQwChatIdList = EntityUtil.changeEntityListByJSON(String.class, qwChatIdList);
for (String wxChatId : bakQwChatIdList) {
TabGroupChat chat = this.groupChatMapper.selectByWxChatIdDk(wxEnterpriseId, wxChatId); TabGroupChat chat = this.groupChatMapper.selectByWxChatIdDk(wxEnterpriseId, wxChatId);
if (null == chat) { if (null == chat) {
continue; continue;
...@@ -240,8 +240,12 @@ public class GroupChatHmServiceImpl implements GroupChatHmService { ...@@ -240,8 +240,12 @@ public class GroupChatHmServiceImpl implements GroupChatHmService {
while(it.hasNext()) { while(it.hasNext()) {
if(it.next().equals(cid.getWxChatIdDk())) { if(it.next().equals(cid.getWxChatIdDk())) {
it.remove(); it.remove();
break ;
}
}
} }
} }
logger.info("处理后群活码应有的群={}", qwChatIdList);
// 保存活码 // 保存活码
List<TabGroupChat> list = this.groupChatMapper.listByWxWxChatIdListDk(wxEnterpriseId, List<TabGroupChat> list = this.groupChatMapper.listByWxWxChatIdListDk(wxEnterpriseId,
qwChatIdList); qwChatIdList);
...@@ -258,9 +262,6 @@ public class GroupChatHmServiceImpl implements GroupChatHmService { ...@@ -258,9 +262,6 @@ public class GroupChatHmServiceImpl implements GroupChatHmService {
} }
} }
} }
}
}
}
@Override @Override
public ServiceResponse<GroupChatHmDTO> saveHm(GroupChatHmDTO dto) { public ServiceResponse<GroupChatHmDTO> saveHm(GroupChatHmDTO dto) {
......
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