Merge branch 'version_performance_2.0' of http://gitlab.ldxinyong.com/enterpriseManagement/lz_management into version_performance_2.0

This commit is contained in:
wulin 2020-11-11 13:59:19 +08:00
commit b08cc0ae06

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);