diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/projectdeclared/manage/ReviewChecklistManage.java b/pmapi/src/main/java/com/ningdatech/pmapi/projectdeclared/manage/ReviewChecklistManage.java index ac6b4d6..932e774 100644 --- a/pmapi/src/main/java/com/ningdatech/pmapi/projectdeclared/manage/ReviewChecklistManage.java +++ b/pmapi/src/main/java/com/ningdatech/pmapi/projectdeclared/manage/ReviewChecklistManage.java @@ -96,7 +96,9 @@ public class ReviewChecklistManage { reviewHumans = DeclaredProjectContant.ReviewChecklist.REVIEW_HUMANS_ZZD; } List users = userInfoHelper.getUserFullInfoByEmployeeCodes(reviewHumans); - Map userMap = users.stream().collect(Collectors.toMap(u -> u.getEmployeeCode() + Set userSet = Sets.newHashSet(); + Map userMap = users.stream().filter(u -> userSet.add(u.getEmployeeCode())) + .collect(Collectors.toMap(u -> u.getEmployeeCode() , u -> u.getUsername())); List records = CollUtils.convert(page.getRecords(), w -> { ProjectReviewCheckListItemVO item = new ProjectReviewCheckListItemVO();