Przeglądaj źródła

Merge branch 'ls2_performance_appraisal_0801' of http://git.ningdatech.com/liushuai/project-management into dev

tags/24080901
CMM 1 rok temu
rodzic
commit
043844e4ca
2 zmienionych plików z 15 dodań i 0 usunięć
  1. +12
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/performance/manage/PerformanceAppraisalPlanManage.java
  2. +3
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/performance/model/vo/PerformanceAppraisalProjectGroupVO.java

+ 12
- 0
pmapi/src/main/java/com/ningdatech/pmapi/performance/manage/PerformanceAppraisalPlanManage.java Wyświetl plik

@@ -224,6 +224,10 @@ public class PerformanceAppraisalPlanManage {
List<UserFullInfoDTO> verificationUsers = Arrays.stream(verificationUsersStr.split(StrPool.COMMA))
.map(userInfoHelper::getUserFullInfoByEmployeeCode).collect(Collectors.toList());
groupVo.setVerificationUsers(verificationUsers);
if (StringUtils.isNotBlank(g.getVerifyLeader())){
UserFullInfoDTO dto = userInfoHelper.getUserFullInfoByEmployeeCode(g.getVerifyLeader());
groupVo.setVerifyLeader(dto);
}
groupVo.setCreateOn(g.getCreateOn());
return groupVo;
}).collect(Collectors.toList());
@@ -540,6 +544,10 @@ public class PerformanceAppraisalPlanManage {
vo.setProjects(checkProject(g.getProjectCodes(), finalProjectMap));
vo.setReAppraisalUsers(checkUser(g.getReAppraisalUsers(), finalUserMap));
vo.setVerificationUsers(checkUser(g.getVerificationUsers(), finalUserMap));
if (StringUtils.isNotBlank(g.getVerifyLeader())){
UserFullInfoDTO userFullInfoDto = finalUserMap.get(g.getVerifyLeader());
vo.setVerifyLeader(userFullInfoDto);
}
return vo;
}).collect(Collectors.toList());
}
@@ -591,6 +599,10 @@ public class PerformanceAppraisalPlanManage {
vo.setProjects(checkProject(group.getProjectCodes(), projectMap));
vo.setReAppraisalUsers(checkUser(group.getReAppraisalUsers(), userMap));
vo.setVerificationUsers(checkUser(group.getVerificationUsers(), userMap));
if (StringUtils.isNotBlank(group.getVerifyLeader())){
UserFullInfoDTO dto = userMap.get(group.getVerifyLeader());
vo.setVerifyLeader(dto);
}
return vo;
}



+ 3
- 0
pmapi/src/main/java/com/ningdatech/pmapi/performance/model/vo/PerformanceAppraisalProjectGroupVO.java Wyświetl plik

@@ -43,4 +43,7 @@ public class PerformanceAppraisalProjectGroupVO implements Serializable {

@ApiModelProperty("核查人员")
private List<UserFullInfoDTO> verificationUsers;

@ApiModelProperty("核查组长")
private UserFullInfoDTO verifyLeader;
}

Ładowanie…
Anuluj
Zapisz