Browse Source

评价计划编辑修改

master
CMM 1 year ago
parent
commit
257448df0a
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