Przeglądaj źródła

评审清单

master
PoffyZhang 1 rok temu
rodzic
commit
63eab8bbae
1 zmienionych plików z 3 dodań i 1 usunięć
  1. +3
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/projectdeclared/manage/ReviewChecklistManage.java

+ 3
- 1
pmapi/src/main/java/com/ningdatech/pmapi/projectdeclared/manage/ReviewChecklistManage.java Wyświetl plik

@@ -96,7 +96,9 @@ public class ReviewChecklistManage {
reviewHumans = DeclaredProjectContant.ReviewChecklist.REVIEW_HUMANS_ZZD;
}
List<UserFullInfoDTO> users = userInfoHelper.getUserFullInfoByEmployeeCodes(reviewHumans);
Map<String, String> userMap = users.stream().collect(Collectors.toMap(u -> u.getEmployeeCode()
Set<String> userSet = Sets.newHashSet();
Map<String, String> userMap = users.stream().filter(u -> userSet.add(u.getEmployeeCode()))
.collect(Collectors.toMap(u -> u.getEmployeeCode()
, u -> u.getUsername()));
List<ProjectReviewCheckListItemVO> records = CollUtils.convert(page.getRecords(), w -> {
ProjectReviewCheckListItemVO item = new ProjectReviewCheckListItemVO();


Ładowanie…
Anuluj
Zapisz