From ed91204e6b70b3d295bc5aecb5ae45dd2a1a2a45 Mon Sep 17 00:00:00 2001 From: jinpengyong <jpy123456> Date: Fri, 15 Oct 2021 09:26:24 +0800 Subject: [PATCH] 国控站aqi数据为空时不insert --- 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