|
@@ -95,16 +95,16 @@
|
|
|
</select>
|
|
|
|
|
|
|
|
|
- <select id="containsTableWkt" resultType="String">
|
|
|
+ <select id="containsTableWkt" resultType="Integer">
|
|
|
SELECT id
|
|
|
FROM "${tableName}" inTbale
|
|
|
where public.st_contains(
|
|
|
public.st_geomfromewkt(#{ewkt}),
|
|
|
inTbale.geom
|
|
|
)
|
|
|
- <if test="tableIds != null and inputIds.size()>0 ">
|
|
|
+ <if test="tableIds != null and tableIds.size()>0 ">
|
|
|
and (inTbale.id)::VARCHAR in
|
|
|
- <foreach collection="tableIds" item="id" open="(" close=")" separator=",">#{id}</foreach>
|
|
|
+ <foreach collection="tableIds" item="tableId" open="(" close=")" separator=",">#{tableId}</foreach>
|
|
|
</if>
|
|
|
</select>
|
|
|
|