From 28a6b840451aaf50d18c936f3aabf0d7f9da2028 Mon Sep 17 00:00:00 2001
From: cjl <276999030@qq.com>
Date: Wed, 19 Jul 2023 13:09:22 +0800
Subject: [PATCH] chore: 提交测试

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

diff --git a/screen-manage/src/main/resources/mapper/HistoryHourlyMapper.xml b/screen-manage/src/main/resources/mapper/HistoryHourlyMapper.xml
index 701b196..641794c 100644
--- a/screen-manage/src/main/resources/mapper/HistoryHourlyMapper.xml
+++ b/screen-manage/src/main/resources/mapper/HistoryHourlyMapper.xml
@@ -7,4 +7,12 @@
         VALUES (#{mac}, #{time}, #{value}, #{version})
     </insert>
 
+
+    <select id="selectHistoryHourly" resultType="java.util.Map">
+        SELECT `value`
+        FROM history_hourly_${timeUnits}
+        WHERE `time` = #{time}
+          and mac = #{mac}
+    </select>
+
 </mapper>
\ No newline at end of file

--
Gitblit v1.8.0