Browse Source

评价计划列表区域修改

master
CMM 1 year ago
parent
commit
ec68c32a56
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/performance/manage/PerformanceAppraisalPlanManage.java

+ 2
- 1
pmapi/src/main/java/com/ningdatech/pmapi/performance/manage/PerformanceAppraisalPlanManage.java View File

@@ -102,8 +102,9 @@ public class PerformanceAppraisalPlanManage {
.like(StringUtils.isNotBlank(req.getPlanName()),PerformanceAppraisal::getName,req.getPlanName()) .like(StringUtils.isNotBlank(req.getPlanName()),PerformanceAppraisal::getName,req.getPlanName())
.ge(Objects.nonNull(req.getStart()),PerformanceAppraisal::getCreateOn,req.getStart()) .ge(Objects.nonNull(req.getStart()),PerformanceAppraisal::getCreateOn,req.getStart())
.le(Objects.nonNull(req.getEnd()),PerformanceAppraisal::getCreateOn,req.getEnd()) .le(Objects.nonNull(req.getEnd()),PerformanceAppraisal::getCreateOn,req.getEnd())
.eq(PerformanceAppraisal::getRegionCode,regionCode)
.eq(StringUtils.isNotBlank(regionCode), PerformanceAppraisal::getRegionCode,regionCode)
.orderByDesc(PerformanceAppraisal::getUpdateOn); .orderByDesc(PerformanceAppraisal::getUpdateOn);
// 如果登录用户是区域管理员,能看到本区域的评价计划
performanceAppraisalService.page(page,wrapper); performanceAppraisalService.page(page,wrapper);
if(0L == page.getTotal()){ if(0L == page.getTotal()){
return PageVo.empty(); return PageVo.empty();


Loading…
Cancel
Save