KKSU
2024-09-10 e17dc6ecf00516037d94332ef2d71ef6c3ec9727
src/main/java/cc/mrbird/febs/mall/service/impl/AgentServiceImpl.java
@@ -2035,8 +2035,10 @@
                    }
                    Set<Long> collectAll = mallMembersAll.stream().map(MallMember::getId).collect(Collectors.toSet());
//                    Collection<Long> intersection1 = CollUtil.intersection(collectAll, collect);
                    if(teamCnt <= (CollUtil.isEmpty(collectAll) ? 0 : collectAll.size())){
                    Collection<Long> intersection1 = CollUtil.intersection(collectAll, collect);
                    if(teamCnt <= (CollUtil.isEmpty(intersection1) ? 0 : intersection1.size())){
//                    if(teamCnt <= (CollUtil.isEmpty(collectAll) ? 0 : collectAll.size())){
                        mallMemberRef.setLevel(level);
                        memberMapper.updateById(mallMemberRef);