feat: 合同[审批状态]条件筛选

This commit is contained in:
dhb52 2024-02-06 22:58:01 +08:00
parent bfe3dc95fe
commit 6fc8c4809f
2 changed files with 4 additions and 0 deletions

View File

@ -30,4 +30,7 @@ public class CrmContractPageReqVO extends PageParam {
@InEnum(CrmSceneTypeEnum.class)
private Integer sceneType; // 场景类型 null 时则表示全部
@Schema(description = "审批状态", example = "20")
private Integer auditStatus;
}

View File

@ -49,6 +49,7 @@ public interface CrmContractMapper extends BaseMapperX<CrmContractDO> {
.likeIfPresent(CrmContractDO::getName, pageReqVO.getName())
.eqIfPresent(CrmContractDO::getCustomerId, pageReqVO.getCustomerId())
.eqIfPresent(CrmContractDO::getBusinessId, pageReqVO.getBusinessId())
.eqIfPresent(CrmContractDO::getAuditStatus, pageReqVO.getAuditStatus())
.orderByDesc(CrmContractDO::getId);
return selectJoinPage(pageReqVO, CrmContractDO.class, mpjLambdaWrapperX);
}