From 275ad59f206d9bc1801b28daeb31b4207f609ce3 Mon Sep 17 00:00:00 2001 From: hcong <1050828145@qq.com> Date: 星期四, 02 一月 2025 09:10:09 +0800 Subject: [PATCH] 1. 修改网格组数据导入接口返回值为bool 2. 修改网格组数据批量更新 使用Transactional注解 --- src/main/resources/mapper/GridDataDetailMapper.xml | 11 ----------- 1 files changed, 0 insertions(+), 11 deletions(-) diff --git a/src/main/resources/mapper/GridDataDetailMapper.xml b/src/main/resources/mapper/GridDataDetailMapper.xml index 7574d75..6312fe3 100644 --- a/src/main/resources/mapper/GridDataDetailMapper.xml +++ b/src/main/resources/mapper/GridDataDetailMapper.xml @@ -18,15 +18,4 @@ --> 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