Commit 6520cfb5 authored by lixuan's avatar lixuan

feat: 房源

parent 34843d4d
Pipeline #144994 failed with stages
in 32 minutes and 25 seconds
...@@ -250,13 +250,14 @@ ...@@ -250,13 +250,14 @@
order by t1.house_area ${query.sortWay} order by t1.house_area ${query.sortWay}
</if> </if>
GROUP BY t1.id GROUP BY t1.id
<trim prefix="having" prefixOverrides="and"></trim> <trim prefix="having" prefixOverrides="and">
<if test="query.houseAreaMin != null and query.houseAreaMin != '' and query.houseAreaMax != null and query.houseAreaMax != ''"> <if test="query.houseAreaMin != null and query.houseAreaMin != '' and query.houseAreaMax != null and query.houseAreaMax != ''">
and t1.house_area <![CDATA[ >= ]]> #{query.houseAreaMin} and t1.house_area <![CDATA[ <= ]]> #{query.houseAreaMax} and t1.house_area <![CDATA[ >= ]]> #{query.houseAreaMin} and t1.house_area <![CDATA[ <= ]]> #{query.houseAreaMax}
</if> </if>
<if test="query.yearSellMin != null and query.yearSellMin != '' and query.yearSellMax != null and query.yearSellMax != ''"> <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} and t4.year_sell <![CDATA[ >= ]]> #{query.yearSellMin} and t4.year_sell <![CDATA[ <= ]]> #{query.yearSellMax}
</if> </if>
</trim>
</where> </where>
</select> </select>
<select id="selectAll" resultType="com.ruoyi.system.domain.house.HouseResource"> <select id="selectAll" resultType="com.ruoyi.system.domain.house.HouseResource">
......
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