From 6c1e7c5ac983301c34f003415cda2ef7c7e176a6 Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期四, 09 一月 2025 17:34:11 +0800 Subject: [PATCH] 1. 新增卫星遥测网格4个顶点坐标计算逻辑 --- src/main/resources/mapper/GridDataDetailMapper.xml | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/GridDataDetailMapper.xml b/src/main/resources/mapper/GridDataDetailMapper.xml index 6312fe3..7574d75 100644 --- a/src/main/resources/mapper/GridDataDetailMapper.xml +++ b/src/main/resources/mapper/GridDataDetailMapper.xml @@ -18,4 +18,15 @@ --> id, data_id, group_id, cell_id, PM25, rank </sql> + + <!-- 娣诲姞鎵归噺鏇存柊PM25鐨勫嚱鏁� --> + <update id="updatePM25Batch" parameterType="java.util.List"> + <foreach collection="list" item="item" separator=";"> + UPDATE grid_data_detail + SET PM25 = #{item.pm25} + WHERE data_id = #{item.dataId} + AND group_id = #{item.groupId} + AND cell_id = #{item.cellId} + </foreach> + </update> </mapper> \ No newline at end of file -- Gitblit v1.9.3