Commit f8a7b21f by 王祖波

企微群发重复调用校验

parent 5c4ed354
......@@ -112,7 +112,7 @@ public class ContactFollowServiceImpl implements ContactFollowService {
List<String> checkMemberIdList = contactFollowMapper.listFollowCheck(enterpriseId, checkList);
logger.info("企微群发重复调用:{}",JSON.toJSONString(checkMemberIdList));
if (CollectionUtils.isNotEmpty(checkMemberIdList)) {
followList = followList.stream().filter(x -> checkMemberIdList.contains(x.getMemberId())).collect(Collectors.toList());
followList = followList.stream().filter(x -> !checkMemberIdList.contains(x.getMemberId())).collect(Collectors.toList());
}
}
if (CollectionUtils.isEmpty(followList)) {
......
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