合同检索添加合同分类查询条件
This commit is contained in:
@@ -38,4 +38,7 @@ public class ContractPageReqVO extends PageParam {
|
|||||||
|
|
||||||
@Schema(description = "本币金额;与ERP(HTBWBZJE)对应")
|
@Schema(description = "本币金额;与ERP(HTBWBZJE)对应")
|
||||||
private BigDecimal basicAmount;
|
private BigDecimal basicAmount;
|
||||||
|
|
||||||
|
@Schema(description = "合同分类(字典:SPLY_BSN_TP)")
|
||||||
|
private String businessType;
|
||||||
}
|
}
|
||||||
@@ -23,6 +23,7 @@ public interface ContractMainMapper extends BaseMapperX<ContractMainDO> {
|
|||||||
.likeIfPresent(ContractMainDO::getPurchaseCompanyName, reqVO.getPurchaseCompanyName())
|
.likeIfPresent(ContractMainDO::getPurchaseCompanyName, reqVO.getPurchaseCompanyName())
|
||||||
.eqIfPresent(ContractMainDO::getBasicAmount, reqVO.getBasicAmount())
|
.eqIfPresent(ContractMainDO::getBasicAmount, reqVO.getBasicAmount())
|
||||||
.eqIfPresent(ContractMainDO::getStatus, reqVO.getStatus())
|
.eqIfPresent(ContractMainDO::getStatus, reqVO.getStatus())
|
||||||
|
.eqIfPresent(ContractMainDO::getBusinessType, reqVO.getBusinessType())
|
||||||
.orderByDesc(ContractMainDO::getCreateTime));
|
.orderByDesc(ContractMainDO::getCreateTime));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user