Explorar el Código

绩效评价-评价计划分组详情修改

master
CMM hace 1 año
padre
commit
5e60125b37
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  1. +5
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/performance/manage/PerformanceAppraisalPlanManage.java

+ 5
- 1
pmapi/src/main/java/com/ningdatech/pmapi/performance/manage/PerformanceAppraisalPlanManage.java Ver fichero

@@ -568,7 +568,11 @@ public class PerformanceAppraisalPlanManage {
allEmployeeCodes.addAll(CodeUtil.convertStrToList(group.getReAppraisalUsers()));
allEmployeeCodes.addAll(CodeUtil.convertStrToList(group.getVerificationUsers()));
if(CollUtil.isNotEmpty(allEmployeeCodes)){
List<UserFullInfoDTO> users = userInfoHelper.getUserFullInfoByEmployeeCodes(allEmployeeCodes);
List<UserFullInfoDTO> users = Lists.newArrayList();
for (String employeeCode : allEmployeeCodes) {
UserFullInfoDTO userFullInfoDto = userInfoHelper.getUserFullInfoByEmployeeCode(employeeCode);
users.add(userFullInfoDto);
}
if(CollUtil.isNotEmpty(users)){
userMap = users.stream().collect(Collectors.toMap(UserFullInfoDTO::getEmployeeCode,u -> u));
}


Cargando…
Cancelar
Guardar