|
|
@@ -476,6 +476,9 @@ public class PerformanceAppraisalPlanManage { |
|
|
|
List<PerformanceAppraisalApplication> paas = performanceAppraisalApplicationService.list(Wrappers.lambdaQuery(PerformanceAppraisalApplication.class) |
|
|
|
.eq(PerformanceAppraisalApplication::getAppraisalId, id)); |
|
|
|
performanceAppraisalApplicationService.removeBatchByIds(paas); |
|
|
|
// 删除评级计划关联的分组信息 |
|
|
|
groupService.remove(Wrappers.lambdaQuery(PerformanceAppraisalProjectGroup.class) |
|
|
|
.eq(PerformanceAppraisalProjectGroup::getAppraisalId,id)); |
|
|
|
return "删除成功"; |
|
|
|
} |
|
|
|
return "删除失败"; |
|
|
@@ -502,7 +505,11 @@ public class PerformanceAppraisalPlanManage { |
|
|
|
}); |
|
|
|
|
|
|
|
if(CollUtil.isNotEmpty(allEmployeeCodes)){ |
|
|
|
List<UserFullInfoDTO> users = userInfoHelper.getUserFullInfoByEmployeeCodes(allEmployeeCodes); |
|
|
|
List<UserFullInfoDTO> users = Lists.newArrayList(); |
|
|
|
for (String employeeCode : allEmployeeCodes) { |
|
|
|
UserFullInfoDTO userFullInfo = userInfoHelper.getUserFullInfoByEmployeeCode(employeeCode); |
|
|
|
users.add(userFullInfo); |
|
|
|
} |
|
|
|
if(CollUtil.isNotEmpty(users)){ |
|
|
|
userMap = users.stream().collect(Collectors.toMap(UserFullInfoDTO::getEmployeeCode,u -> u)); |
|
|
|
} |
|
|
|