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

修改代码

parent 0ffaacb5
...@@ -133,13 +133,13 @@ ...@@ -133,13 +133,13 @@
, (select geojsontowkt(#{geom}, 'true') geom_input) temp , (select geojsontowkt(#{geom}, 'true') geom_input) temp
</if> </if>
<if test="geoms != null"> <if test="geoms != null">
, ( select st_asgeojson(st_union(item_geom) , ( select st_asgeojson(st_union(item_geom)) geoms_input
from from
<foreach collection="geoms" index="geomsIndex" item="geomsItem" open="(" close=")" separator=" UNION ALL "> <foreach collection="geoms" index="geomsIndex" item="geomsItem" open="(" close=")" separator=" UNION ALL ">
select geojsontowkt(#{geomsItem}, 'true') item_geom select geojsontowkt(#{geomsItem}, 'true') item_geom
</foreach> </foreach>
as item_temp as item_temp
) geoms_input ) temp ) temp
</if> </if>
<where> <where>
<if test="saSensor != null"> <if test="saSensor != null">
......
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