From b1de55eb9a514091f3c2f725a1bac05d15e8668e15e04adaca460441238c5065 Mon Sep 17 00:00:00 2001 From: yanglei Date: Wed, 7 Jan 2026 10:14:27 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BD=A6=E8=BE=86=E5=BC=80=E9=94=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/EbikeRegionMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ebike-operations/src/main/resources/mapper/EbikeRegionMapper.xml b/ebike-operations/src/main/resources/mapper/EbikeRegionMapper.xml index 3c87e98..d78b5b8 100644 --- a/ebike-operations/src/main/resources/mapper/EbikeRegionMapper.xml +++ b/ebike-operations/src/main/resources/mapper/EbikeRegionMapper.xml @@ -8,7 +8,7 @@ SELECT ST_Contains( r.region_polygon::geometry, - ST_MakePoint((b.location[0])::float, (b.location[1])::float)::geometry + ST_SetSRID(ST_MakePoint(ST_X(b.location), ST_Y(b.location)), 4326) ) as in_region FROM ebike_bike_info b