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

修改代码

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