Commit 6c82069f authored by lixuan's avatar lixuan

feat: 房源

parent 7c6a70c9
Pipeline #145045 failed with stages
in 2 minutes and 40 seconds
...@@ -262,6 +262,8 @@ ...@@ -262,6 +262,8 @@
<if test="query.sortWay != null and query.sortWay != ''"> <if test="query.sortWay != null and query.sortWay != ''">
order by t1.house_area ${query.sortWay} order by t1.house_area ${query.sortWay}
</if> </if>
</where>
GROUP BY t1.id
<trim prefix="having" prefixOverrides="and"> <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}
...@@ -270,8 +272,6 @@ ...@@ -270,8 +272,6 @@
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> </trim>
</where>
GROUP BY t1.id
</select> </select>
<select id="selectAll" resultType="com.ruoyi.system.domain.house.HouseResource"> <select id="selectAll" resultType="com.ruoyi.system.domain.house.HouseResource">
SELECT * FROM house_resource SELECT * FROM house_resource
......
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