Commit f14dbfda authored by lixuan's avatar lixuan

feat: 房源

parent 1c88526e
Pipeline #145476 failed with stages
......@@ -80,6 +80,24 @@ public class HouseResourcePageQuery extends PageDomain {
private Integer registrationPlaceFlag;
private String address;
private String ownership;
private String houseResourceEquityTel;
private String principal;
private String principalTel;
private String business;
private Integer workerNumber;
private String registeredAddress;
private String nature;
private List<AiQuery> aiQueries;
@Data
......
......@@ -200,6 +200,33 @@
<if test="query.registrationPlaceFlag != null">
and t3.registration_place_flag = #{query.registrationPlaceFlag}
</if>
<if test="query.address != null and query.address != ''">
and t1.address like concat('%', #{query.address}, '%')
</if>
<if test="query.ownership != null and query.ownership != ''">
and t1.ownership like concat('%', #{query.ownership}, '%')
</if>
<if test="query.houseResourceEquityTel != null and query.houseResourceEquityTel != ''">
and t1.house_resource_equity_tel like concat('%', #{query.houseResourceEquityTel}, '%')
</if>
<if test="query.principal != null and query.principal != ''">
and t3.principal like concat('%', #{query.principal}, '%')
</if>
<if test="query.principalTel != null and query.principalTel != ''">
and t3.principalTel like concat('%', #{query.principalTel}, '%')
</if>
<if test="query.business != null and query.business != ''">
and t3.business like concat('%', #{query.business}, '%')
</if>
<if test="query.workerNumber != null">
and t3.worker_number = #{query.workerNumber}
</if>
<if test="query.registeredAddress != null and query.registeredAddress != ''">
and t3.registered_address like concat('%', #{query.registeredAddress}, '%')
</if>
<if test="query.nature != null and query.nature != ''">
and t3.nature = #{query.nature}
</if>
<if test="query.wgCodes != null and query.wgCodes.size() > 0">
and t1.two in
<foreach item="item" index="index" collection="query.wgCodes" open="(" separator="," close=")">
......@@ -363,6 +390,33 @@
<if test="query.registrationPlaceFlag != null">
and t3.registration_place_flag = #{query.registrationPlaceFlag}
</if>
<if test="query.address != null and query.address != ''">
and t1.address like concat('%', #{query.address}, '%')
</if>
<if test="query.ownership != null and query.ownership != ''">
and t1.ownership like concat('%', #{query.ownership}, '%')
</if>
<if test="query.houseResourceEquityTel != null and query.houseResourceEquityTel != ''">
and t1.house_resource_equity_tel like concat('%', #{query.houseResourceEquityTel}, '%')
</if>
<if test="query.principal != null and query.principal != ''">
and t3.principal like concat('%', #{query.principal}, '%')
</if>
<if test="query.principalTel != null and query.principalTel != ''">
and t3.principalTel like concat('%', #{query.principalTel}, '%')
</if>
<if test="query.business != null and query.business != ''">
and t3.business like concat('%', #{query.business}, '%')
</if>
<if test="query.workerNumber != null">
and t3.worker_number = #{query.workerNumber}
</if>
<if test="query.registeredAddress != null and query.registeredAddress != ''">
and t3.registered_address like concat('%', #{query.registeredAddress}, '%')
</if>
<if test="query.nature != null and query.nature != ''">
and t3.nature = #{query.nature}
</if>
<if test="query.wgCodes != null and query.wgCodes.size() > 0">
and t1.two in
<foreach item="item" index="index" collection="query.wgCodes" open="(" separator="," close=")">
......@@ -515,6 +569,33 @@
<if test="query.registrationPlaceFlag != null">
and t3.registration_place_flag = #{query.registrationPlaceFlag}
</if>
<if test="query.address != null and query.address != ''">
and t1.address like concat('%', #{query.address}, '%')
</if>
<if test="query.ownership != null and query.ownership != ''">
and t1.ownership like concat('%', #{query.ownership}, '%')
</if>
<if test="query.houseResourceEquityTel != null and query.houseResourceEquityTel != ''">
and t1.house_resource_equity_tel like concat('%', #{query.houseResourceEquityTel}, '%')
</if>
<if test="query.principal != null and query.principal != ''">
and t3.principal like concat('%', #{query.principal}, '%')
</if>
<if test="query.principalTel != null and query.principalTel != ''">
and t3.principalTel like concat('%', #{query.principalTel}, '%')
</if>
<if test="query.business != null and query.business != ''">
and t3.business like concat('%', #{query.business}, '%')
</if>
<if test="query.workerNumber != null">
and t3.worker_number = #{query.workerNumber}
</if>
<if test="query.registeredAddress != null and query.registeredAddress != ''">
and t3.registered_address like concat('%', #{query.registeredAddress}, '%')
</if>
<if test="query.nature != null and query.nature != ''">
and t3.nature = #{query.nature}
</if>
<if test="query.wgCodes != null and query.wgCodes.size() > 0">
and t1.two in
<foreach item="item" index="index" collection="query.wgCodes" open="(" separator="," close=")">
......
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