From 538ba7a3bbc682f4537f1dd34f93feb2cf56b08e Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期二, 14 十月 2025 17:32:04 +0800
Subject: [PATCH] 2025.10.14 1. 新增数据统计颗粒度选项,可选秒级数据、分钟数据进行数据统计 2. 典型隐患区域统计新增按照污染溯源区域进行分类统计的功能
---
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