瀏覽代碼

IRS档案

tags/24080901
PoffyZhang 1 年之前
父節點
當前提交
3846e57dbf
共有 1 個檔案被更改,包括 3 行新增0 行删除
  1. +3
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/irs/manage/IrsProjectManage.java

+ 3
- 0
pmapi/src/main/java/com/ningdatech/pmapi/irs/manage/IrsProjectManage.java 查看文件

@@ -6,6 +6,7 @@ import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ningdatech.basic.model.PageVo;
import com.ningdatech.pmapi.common.enumeration.CommonEnum;
import com.ningdatech.pmapi.projectlib.enumeration.ProjectStatusEnum;
import com.ningdatech.pmapi.projectlib.model.entity.Project;
import com.ningdatech.pmapi.projectlib.model.req.ProjectListReq;
@@ -56,6 +57,8 @@ public class IrsProjectManage {
.like(StringUtils.isNotBlank(req.getProjectName()),Project::getProjectName,req.getProjectName())
.like(StringUtils.isNotBlank(req.getBuildOrgName()),Project::getBuildOrgName,req.getBuildOrgName())
.gt(Project::getStatus, ProjectStatusEnum.UNDER_CONSTRUCTION.getCode())
.eq(Project::getNewest,Boolean.TRUE)
.eq(Project::getIncludeApplication, CommonEnum.YES.getCode())
.orderByDesc(Project::getUpdateOn);
buildPermission(wrapper,user);
projectService.page(page,wrapper);


Loading…
取消
儲存