|
@@ -292,12 +292,16 @@ public class PerformanceAppraisalPlanManage { |
|
|
pa.setUpdateOn(LocalDateTime.now()); |
|
|
pa.setUpdateOn(LocalDateTime.now()); |
|
|
pa.setUpdateBy(user.getUsername()); |
|
|
pa.setUpdateBy(user.getUsername()); |
|
|
performanceAppraisalService.updateById(pa); |
|
|
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); |
|
|
saveProjects(editDTO,user); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if(CollUtil.isNotEmpty(editDTO.getApplicationIds())){ |
|
|
|
|
|
|
|
|
if(StringUtils.isNotBlank(target) && |
|
|
|
|
|
target.contains(EvalObjectEnum.APP.getCode()) && |
|
|
|
|
|
CollUtil.isNotEmpty(editDTO.getApplicationIds())){ |
|
|
saveApplications(editDTO,user); |
|
|
saveApplications(editDTO,user); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|