Pārlūkot izejas kodu

评价计划编辑修改

tags/24080901
CMM pirms 1 gada
vecāks
revīzija
257448df0a
1 mainītis faili ar 7 papildinājumiem un 3 dzēšanām
  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 Parādīt failu

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



Notiek ielāde…
Atcelt
Saglabāt