Commit 1e402bed authored by 朱晨阳's avatar 朱晨阳

合同列表添加筛选条件

parent 8a4ce22b
......@@ -47,4 +47,5 @@ public class HouseholdContractPageDto extends Page<HouseholdContract> {
private String userId;
private String contractNumber;
private String regionalCompaniesName;
}
......@@ -42,6 +42,9 @@
<if test="dto.partyA != null and dto.partyA !=''">
and hygf_household_contract.party_a like concat('%',#{dto.partyA},'%')
</if>
<if test="dto.regionalCompaniesName != null and dto.regionalCompaniesName !=''">
and hygf_household_contract.regional_companies_name like concat('%',#{dto.regionalCompaniesName},'%')
</if>
</where>
<if test="dto.orderBy == null ">
ORDER BY hygf_household_contract.rec_date DESC
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment