This commit is contained in:
杜建超 2020-11-11 13:58:17 +08:00
parent 7410defba0
commit 3bd530c60d

View File

@ -233,7 +233,7 @@ public class AssessManagerServiceImpl implements AssessManagerService {
List<String> staffs = map.get(group.getId());
staffs.retainAll(change);
List<Long> collect = staffs.stream().map(s -> Long.valueOf(s)).collect(toList());
List<Long> collect = staffs.stream().distinct().map(s -> Long.valueOf(s)).collect(toList());
collect.removeAll(longs);
if(CollectionUtils.isNotEmpty(collect)){
groupStaffs.setStaffIds(collect);