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

修改代码

parent e4818cfe
...@@ -133,7 +133,7 @@ ...@@ -133,7 +133,7 @@
, (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)) geoms_input , ( select 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
......
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