Browse Source

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

tags/24080901
CMM 1 year ago
parent
commit
187cf892ec
1 changed files with 7 additions and 3 deletions
  1. +7
    -3
      pmapi/src/main/java/com/ningdatech/pmapi/performance/manage/PerformanceAppraisalPlanManage.java

+ 7
- 3
pmapi/src/main/java/com/ningdatech/pmapi/performance/manage/PerformanceAppraisalPlanManage.java View File

@@ -292,12 +292,16 @@ public class PerformanceAppraisalPlanManage {
pa.setUpdateOn(LocalDateTime.now());
pa.setUpdateBy(user.getUsername());
performanceAppraisalService.updateById(pa);

if(CollUtil.isNotEmpty(editDTO.getProjects())){
String target = editDTO.getTarget();
if(StringUtils.isNotBlank(target) &&
target.contains(EvalObjectEnum.PROJECT.getCode()) &&
CollUtil.isNotEmpty(editDTO.getProjects())){
saveProjects(editDTO,user);
}

if(CollUtil.isNotEmpty(editDTO.getApplicationIds())){
if(StringUtils.isNotBlank(target) &&
target.contains(EvalObjectEnum.APP.getCode()) &&
CollUtil.isNotEmpty(editDTO.getApplicationIds())){
saveApplications(editDTO,user);
}



Loading…
Cancel
Save