Commit 447826a5 authored by 朱晨阳's avatar 朱晨阳

合同列表接口筛选条件修改

parent 26e5bf24
......@@ -38,6 +38,7 @@ public class HouseholdContractPageDto{
* 经销商id
*/
private Long dealerId;
private String dealerName;
/**
* 勘察状态
*/
......
......@@ -24,6 +24,9 @@
<if test="dto.endTime != null and dto.endTime !=''">
and hygf_household_contract.dzhtqy_create_time &lt;= #{dto.endTime}
</if>
<if test="dto.dealerName != null and dto.dealerName !=''">
and hygf_household_contract.dealer_name like concat('%',#{dto.dealerName},'%')
</if>
<if test="dto.projectAddress != null and dto.projectAddress != '' and dto.projectAddress.contains('/'.toString())">
AND hygf_household_contract.project_address_name LIKE CONCAT('%', #{dto.projectAddress}, '%')
</if>
......
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