From 6d766eed50f34b102e607ea471f2ee565a8b9d30 Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期五, 17 一月 2025 16:15:43 +0800
Subject: [PATCH] 1. 修改融合数据逻辑中,融合数据id数组为先排序后转换为字符串,修复同一批原始数据因为id排序不一样被判定为不同的融合数据的问题;
---
src/main/resources/mapper/GridCellMapper.xml | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/src/main/resources/mapper/GridCellMapper.xml b/src/main/resources/mapper/GridCellMapper.xml
index 980c616..22c0623 100644
--- a/src/main/resources/mapper/GridCellMapper.xml
+++ b/src/main/resources/mapper/GridCellMapper.xml
@@ -7,22 +7,22 @@
-->
<id column="id" jdbcType="INTEGER" property="id" />
<result column="group_id" jdbcType="INTEGER" property="groupId" />
- <result column="latitude" jdbcType="DECIMAL" property="latitude" />
<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,
+ id, group_id, 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