From 8ba6add88e9d5c408110dfcf80bf14e8d8df7c79 Mon Sep 17 00:00:00 2001 From: lizijie <lzjiiie@163.com> Date: Fri, 07 Jan 2022 09:15:13 +0800 Subject: [PATCH] 修改污染警报定时任务,实现数据分表 --- screen-job/src/main/resources/mapper/HistoryMonthlyMapper.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/screen-job/src/main/resources/mapper/HistoryMonthlyMapper.xml b/screen-job/src/main/resources/mapper/HistoryMonthlyMapper.xml index 344a208..42db576 100644 --- a/screen-job/src/main/resources/mapper/HistoryMonthlyMapper.xml +++ b/screen-job/src/main/resources/mapper/HistoryMonthlyMapper.xml @@ -10,7 +10,7 @@ </resultMap> <insert id="insertHistoryMonthly"> - INSERT INTO history_weekly + INSERT INTO history_monthly VALUES <foreach collection="list" item="item" separator=","> (#{item.mac},#{item.time},#{item.value}) -- Gitblit v1.8.0