drone-service/drone-fw/src/main/java/org/sxkj/fw/device/mapper/FwDeviceMapper.xml
@@ -242,9 +242,9 @@ and ( <foreach collection="query.polygons" item="polygon" separator=" OR "> ST_Contains( ST_SRID(ST_GeomFromText(#{polygon}), 4326), ST_SRID(ST_GeometryFromText(#{polygon}), 4326), /* 注意:Kingbase/PostGIS 坐标顺序通常是 (经度, 纬度) 即 (longitude, latitude) */ ST_GeomFromText(CONCAT('POINT(', longitude, ' ', latitude, ')'), 4326) ST_GeometryFromText(CONCAT('POINT(', longitude, ' ', latitude, ')'), 4326) ) </foreach> )