Browse Source

增加是否临时增补字段

tags/24080901
WendyYang 1 year ago
parent
commit
63bb4f310a
2 changed files with 5 additions and 0 deletions
  1. +1
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/projectlib/helper/ProjectHelper.java
  2. +4
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/projectlib/model/req/ProjectListReq.java

+ 1
- 0
pmapi/src/main/java/com/ningdatech/pmapi/projectlib/helper/ProjectHelper.java View File

@@ -40,6 +40,7 @@ public class ProjectHelper {
query.le(req.getApproveAmountMax() != null, Project::getApprovalAmount, req.getApproveAmountMax()); query.le(req.getApproveAmountMax() != null, Project::getApprovalAmount, req.getApproveAmountMax());


query.like(req.getBuildOrg() != null, Project::getBuildOrgName, req.getBuildOrg()); query.like(req.getBuildOrg() != null, Project::getBuildOrgName, req.getBuildOrg());
query.eq(req.getIsTemporaryAugment() != null, Project::getIsTemporaryAugment, req.getIsTemporaryAugment());
return query; return query;
} }




+ 4
- 0
pmapi/src/main/java/com/ningdatech/pmapi/projectlib/model/req/ProjectListReq.java View File

@@ -66,4 +66,8 @@ public class ProjectListReq extends PagePo {


@ApiModelProperty("用户ID") @ApiModelProperty("用户ID")
private Long userId; private Long userId;

@ApiModelProperty("是否临时增补 0:否 1:是")
private Integer isTemporaryAugment;

} }

Loading…
Cancel
Save