|
|
@@ -112,7 +112,7 @@ public class RectifyManage { |
|
|
|
LambdaQueryWrapper<PerformanceAppraisal> wrapper = Wrappers.lambdaQuery(PerformanceAppraisal.class) |
|
|
|
.in(PerformanceAppraisal::getId, paIds).orderByDesc(PerformanceAppraisal::getUpdateOn); |
|
|
|
performanceAppraisalService.page(page, wrapper); |
|
|
|
if (0L == page.getTotal()) { |
|
|
|
if (CollUtil.isEmpty(page.getRecords())) { |
|
|
|
return PageVo.empty(); |
|
|
|
} |
|
|
|
|
|
|
@@ -168,7 +168,7 @@ public class RectifyManage { |
|
|
|
.like(StringUtils.isNotBlank(req.getProjectName()), Project::getProjectName, req.getProjectName()); |
|
|
|
projectService.page(page, wrapper); |
|
|
|
|
|
|
|
if (0L == page.getTotal()) { |
|
|
|
if (CollUtil.isEmpty(page.getRecords())) { |
|
|
|
return PageVo.empty(); |
|
|
|
} |
|
|
|
|
|
|
@@ -219,7 +219,7 @@ public class RectifyManage { |
|
|
|
.like(StringUtils.isNotBlank(req.getProjectName()), Project::getProjectName, req.getProjectName()); |
|
|
|
projectService.page(page, wrapper); |
|
|
|
|
|
|
|
if (0L == page.getTotal()) { |
|
|
|
if (CollUtil.isEmpty(page.getRecords())) { |
|
|
|
return PageVo.empty(); |
|
|
|
} |
|
|
|
List<PerformanceAppraisalProjectVO> res = page.getRecords().stream().map(p -> { |
|
|
|