|
@@ -1007,6 +1007,9 @@ public class PerformanceAppraisalPlanManage { |
|
|
List<PerformanceAppraisalProject> appraisalProjectList = performanceAppraisalProjectService.list(Wrappers.lambdaQuery(PerformanceAppraisalProject.class) |
|
|
List<PerformanceAppraisalProject> appraisalProjectList = performanceAppraisalProjectService.list(Wrappers.lambdaQuery(PerformanceAppraisalProject.class) |
|
|
.eq(PerformanceAppraisalProject::getAppraisalId, appraisalId)); |
|
|
.eq(PerformanceAppraisalProject::getAppraisalId, appraisalId)); |
|
|
List<String> projectCodes = appraisalProjectList.stream().map(PerformanceAppraisalProject::getProjectCode).collect(Collectors.toList()); |
|
|
List<String> projectCodes = appraisalProjectList.stream().map(PerformanceAppraisalProject::getProjectCode).collect(Collectors.toList()); |
|
|
|
|
|
if (CollUtil.isEmpty(projectCodes)){ |
|
|
|
|
|
return PageVo.empty(); |
|
|
|
|
|
} |
|
|
LambdaQueryWrapper<Project> wrapper = Wrappers.lambdaQuery(Project.class) |
|
|
LambdaQueryWrapper<Project> wrapper = Wrappers.lambdaQuery(Project.class) |
|
|
.in(Project::getProjectCode, projectCodes) |
|
|
.in(Project::getProjectCode, projectCodes) |
|
|
.eq(Project::getNewest, Boolean.TRUE); |
|
|
.eq(Project::getNewest, Boolean.TRUE); |
|
|