From bde043c8fd1a076f44c402dd56c62d401afbfb16 Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期四, 27 三月 2025 17:29:48 +0800 Subject: [PATCH] 1. 新增卫星遥测网格热力图计算逻辑 --- 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