党员活动 党支部数量
This commit is contained in:
@ -78,7 +78,7 @@ public class EventPartyBranchServiceImpl extends ServiceImpl<EventPartyBranchMap
|
||||
f.setBranchCount(0);
|
||||
} else {
|
||||
f.setCount(memberBranchList.size());
|
||||
f.setBranchCount((int) memberBranchList.stream().map(EventPartyBranch::getBelongBranchName).count());
|
||||
f.setBranchCount((int) memberBranchList.stream().map(EventPartyBranch::getBelongBranchName).distinct().count());
|
||||
}
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user