|
|
@@ -1007,6 +1007,9 @@ public class PerformanceAppraisalPlanManage { |
|
|
|
List<PerformanceAppraisalProject> appraisalProjectList = performanceAppraisalProjectService.list(Wrappers.lambdaQuery(PerformanceAppraisalProject.class) |
|
|
|
.eq(PerformanceAppraisalProject::getAppraisalId, appraisalId)); |
|
|
|
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) |
|
|
|
.in(Project::getProjectCode, projectCodes) |
|
|
|
.eq(Project::getNewest, Boolean.TRUE); |
|
|
|