From 2e0bf4423c235802791012e1fb0817d2c9156b2a Mon Sep 17 00:00:00 2001
From: cjl <276999030@qq.com>
Date: Wed, 30 Aug 2023 09:28:16 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/dev' into cjl

---
 screen-job/src/main/resources/mapper/HistoryHourlyMapper.xml |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/screen-job/src/main/resources/mapper/HistoryHourlyMapper.xml b/screen-job/src/main/resources/mapper/HistoryHourlyMapper.xml
index 56024a1..6818460 100644
--- a/screen-job/src/main/resources/mapper/HistoryHourlyMapper.xml
+++ b/screen-job/src/main/resources/mapper/HistoryHourlyMapper.xml
@@ -56,4 +56,14 @@
             (#{item.mac}, #{item.time}, #{item.value})
         </foreach>
     </insert>
+
+
+    <insert id="insertHistoryHourlyAvg">
+        INSERT INTO
+        history_hourly_${timeUnits}
+        VALUES
+        <foreach collection="list" item="item" separator=",">
+            (#{item.mac}, #{item.time}, #{item.value}, #{item.version})
+        </foreach>
+    </insert>
 </mapper>
\ No newline at end of file

--
Gitblit v1.8.0