From 53857f42f777e2b9753b8f00cce1a60ce3dcb8fd Mon Sep 17 00:00:00 2001
From: Riku <risaku@163.com>
Date: 星期三, 15 十月 2025 22:42:29 +0800
Subject: [PATCH] 2025.10.15 修改高德地图地理逆编码结果,让地理位置信息更加详细
---
src/main/resources/mapper/GridCellMapper.xml | 24 +++++++++++++-----------
1 files changed, 13 insertions(+), 11 deletions(-)
diff --git a/src/main/resources/mapper/GridCellMapper.xml b/src/main/resources/mapper/GridCellMapper.xml
index 980c616..1b176c4 100644
--- a/src/main/resources/mapper/GridCellMapper.xml
+++ b/src/main/resources/mapper/GridCellMapper.xml
@@ -6,23 +6,25 @@
WARNING - @mbg.generated
-->
<id column="id" jdbcType="INTEGER" property="id" />
+ <result column="cell_index" jdbcType="INTEGER" property="cellIndex" />
<result column="group_id" jdbcType="INTEGER" property="groupId" />
- <result column="latitude" jdbcType="DECIMAL" property="latitude" />
+ <result column="father_cell_index" jdbcType="INTEGER" property="fatherCellIndex" />
<result column="longitude" jdbcType="DECIMAL" property="longitude" />
- <result column="point1_lon" jdbcType="VARCHAR" property="point1Lon" />
- <result column="point1_lat" jdbcType="VARCHAR" property="point1Lat" />
- <result column="point2_lon" jdbcType="VARCHAR" property="point2Lon" />
- <result column="point2_lat" jdbcType="VARCHAR" property="point2Lat" />
- <result column="point3_lon" jdbcType="VARCHAR" property="point3Lon" />
- <result column="point3_lat" jdbcType="VARCHAR" property="point3Lat" />
- <result column="point4_lon" jdbcType="VARCHAR" property="point4Lon" />
- <result column="point4_lat" jdbcType="VARCHAR" property="point4Lat" />
+ <result column="latitude" jdbcType="DECIMAL" property="latitude" />
+ <result column="point1_lon" jdbcType="DECIMAL" property="point1Lon" />
+ <result column="point1_lat" jdbcType="DECIMAL" property="point1Lat" />
+ <result column="point2_lon" jdbcType="DECIMAL" property="point2Lon" />
+ <result column="point2_lat" jdbcType="DECIMAL" property="point2Lat" />
+ <result column="point3_lon" jdbcType="DECIMAL" property="point3Lon" />
+ <result column="point3_lat" jdbcType="DECIMAL" property="point3Lat" />
+ <result column="point4_lon" jdbcType="DECIMAL" property="point4Lon" />
+ <result column="point4_lat" jdbcType="DECIMAL" property="point4Lat" />
</resultMap>
<sql id="Base_Column_List">
<!--
WARNING - @mbg.generated
-->
- id, group_id, latitude, longitude, point1_lon, point1_lat, point2_lon, point2_lat,
- point3_lon, point3_lat, point4_lon, point4_lat
+ id, cell_index, group_id, father_cell_index, longitude, latitude, point1_lon, point1_lat,
+ point2_lon, point2_lat, point3_lon, point3_lat, point4_lon, point4_lat
</sql>
</mapper>
\ No newline at end of file
--
Gitblit v1.9.3