Commit 82b85dec authored by lixuan's avatar lixuan

feat: 房源

parent a6698534
Pipeline #144905 failed with stages
in 7 minutes and 15 seconds
......@@ -69,4 +69,6 @@ public class HouseResourcePageQuery extends PageDomain {
private BigDecimal unitPriceMin;
private BigDecimal unitPriceMax;
private Boolean gsFlag;
}
......@@ -135,7 +135,7 @@
LEFT JOIN grid_region t2 ON t2.wg_code = t1.four
LEFT JOIN business_entity_info t3 ON t1.id = t3.house_resource_id
LEFT JOIN business_entity_sell t4 ON t4.business_entity_info_id = t3.id
where t1.rental_unit = 5 and t1.show_flag = 1
WHERE t1.rental_unit = 5
<if test="query.wgType != null">
and t1.type = #{query.wgType}
</if>
......@@ -169,6 +169,9 @@
<if test="query.yearSellMin != null and query.yearSellMin != '' and query.yearSellMax != null and query.yearSellMax != ''">
and t4.year_sell <![CDATA[ >= ]]> #{query.yearSellMin} and t4.year_sell <![CDATA[ <= ]]> #{query.yearSellMax}
</if>
<if test="query.gsFlag != null and query.gsFlag != ''">
and t3.gs = ${query.gsFlag}
</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