Commit 26d2c15a authored by 周健威's avatar 周健威

修改代码

parent 963eb4ef
...@@ -149,19 +149,20 @@ ...@@ -149,19 +149,20 @@
<select id="queryDataList" resultMap="rscpImageCoverMap"> <select id="queryDataList" resultMap="rscpImageCoverMap">
select st_asgeojson(range,16,0) as range, * select st_asgeojson(range,16,0) as range, *
from rscp_image_cover ric
<where> <where>
and is_del = 0 and ric.is_del = 0
<if test="type != null"> <if test="type != null">
and type = #{type} and ric.type = #{type}
</if> </if>
<if test="dateYear != null"> <if test="dateYear != null">
and date_year = #{dateYear} and ric.date_year = #{dateYear}
</if> </if>
<if test="dateMonth != null"> <if test="dateMonth != null">
and date_month = #{dateMonth} and ric.date_month = #{dateMonth}
</if> </if>
<if test="areaCode != null"> <if test="areaCode != null">
and area_code = #{areaCode} and ric.area_code = #{areaCode}
</if> </if>
</where> </where>
</select> </select>
......
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