From 769bcc6d9fea648012dfa7774b13041c3931abfe Mon Sep 17 00:00:00 2001 From: luyya Date: Wed, 20 Aug 2025 11:37:30 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9C=81=E5=8E=85=E4=BD=8D=E7=BD=AE=E6=B1=87?= =?UTF-8?q?=E8=81=9A=E6=B7=BB=E5=8A=A0=E7=82=B9=E7=BA=BF=E9=9D=A2=E5=91=A8?= =?UTF-8?q?=E8=BE=B9=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dromara/location/service/impl/CorrectGeoQueryService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stwzhj-modules/stwzhj-location/src/main/java/org/dromara/location/service/impl/CorrectGeoQueryService.java b/stwzhj-modules/stwzhj-location/src/main/java/org/dromara/location/service/impl/CorrectGeoQueryService.java index 0976b3da..6a1b24e2 100644 --- a/stwzhj-modules/stwzhj-location/src/main/java/org/dromara/location/service/impl/CorrectGeoQueryService.java +++ b/stwzhj-modules/stwzhj-location/src/main/java/org/dromara/location/service/impl/CorrectGeoQueryService.java @@ -105,7 +105,7 @@ public class CorrectGeoQueryService { // 4. 构建几何对象 try { - return QueryBuilders.geoShapeQuery("location_shape", polygonBuilder.buildGeometry()) + return QueryBuilders.geoShapeQuery("location", polygonBuilder.buildGeometry()) .relation(ShapeRelation.INTERSECTS); } catch (IOException e) { throw new RuntimeException(e);