Explorar el Código

评审清单

tags/24080901
PoffyZhang hace 1 año
padre
commit
63eab8bbae
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  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 Ver fichero

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


Cargando…
Cancelar
Guardar