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

修改代码

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