Commit 11fbfe28 authored by yaobaizheng's avatar yaobaizheng

面积等筛选项左闭右开

parent dff0ff9b
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
AND a.area >=#{param.lowCarrierArea} AND a.area >=#{param.lowCarrierArea}
</if> </if>
<if test="param.highCarrierArea != null and param.highCarrierArea != ''"> <if test="param.highCarrierArea != null and param.highCarrierArea != ''">
AND a.area &lt;= #{param.highCarrierArea} AND a.area &lt; #{param.highCarrierArea}
</if> </if>
<if test="param.parkId != null and param.parkId != ''"> <if test="param.parkId != null and param.parkId != ''">
AND a.park_id = #{param.parkId} AND a.park_id = #{param.parkId}
......
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
and a.area &gt;= #{param.lowArea} and a.area &gt;= #{param.lowArea}
</if> </if>
<if test="param.highArea != null and param.highArea != ''"> <if test="param.highArea != null and param.highArea != ''">
and a.area &lt;= #{param.highArea} and a.area &lt; #{param.highArea}
</if> </if>
<if test="param.landType != null and param.landType != ''"> <if test="param.landType != null and param.landType != ''">
and a.type=#{param.landType} and a.type=#{param.landType}
......
...@@ -131,7 +131,7 @@ ...@@ -131,7 +131,7 @@
AND cover_area &gt;= #{param.coverAreaUp} AND cover_area &gt;= #{param.coverAreaUp}
</if> </if>
<if test="param.coverAreaUnder != null and param.coverAreaUnder != ''"> <if test="param.coverAreaUnder != null and param.coverAreaUnder != ''">
AND cover_area &lt;= #{param.coverAreaUnder} AND cover_area &lt; #{param.coverAreaUnder}
</if> </if>
<!-- <if test="param.parkResourcesList != null and param.parkResourcesList.size() > 0 ">--> <!-- <if test="param.parkResourcesList != null and param.parkResourcesList.size() > 0 ">-->
<!-- <foreach item="parkResources" collection="param.parkResourcesList" open=" and ( " separator="or" close=")">--> <!-- <foreach item="parkResources" collection="param.parkResourcesList" open=" and ( " separator="or" 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