Commit c6f998e1 authored by 周健威's avatar 周健威

修改代码

parent 37b9519d
......@@ -129,6 +129,9 @@
<sql id="geomSelectSql" >
from rscp_image_data_total
<if test="geom != null">
, (select geojsontowkt(#{geom}, 'true') geom_input) temp
</if>
<where>
<if test="saSensor != null">
and
......@@ -155,7 +158,7 @@
and image_cloudage &lt;= #{cloud}
</if>
<if test="geom != null">
and ST_Intersects(geojsontowkt(#{geom}, 'true'),range)
and ST_Intersects(geojsontowkt(temp.geom_input, 'true'),range)
</if>
</where>
</sql>
......
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