Commit 4a1245a5 by 王祖波

Merge branch 'feature-recommend3' into 'master'

企微群发重复调用校验

See merge request !3025
parents 88dbb1c4 f8a7b21f
......@@ -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