From 010dc15d38f1dfa50d8e57009b213bb5d8c6616f Mon Sep 17 00:00:00 2001
From: cjl <276999030@qq.com>
Date: Sun, 08 Oct 2023 14:11:29 +0800
Subject: [PATCH] fix:月数据修复

---
 screen-api/src/main/resources/mapper/HistoryHourlyMapper.xml |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/screen-api/src/main/resources/mapper/HistoryHourlyMapper.xml b/screen-api/src/main/resources/mapper/HistoryHourlyMapper.xml
index 42e5f83..a71e032 100644
--- a/screen-api/src/main/resources/mapper/HistoryHourlyMapper.xml
+++ b/screen-api/src/main/resources/mapper/HistoryHourlyMapper.xml
@@ -99,12 +99,9 @@
          <if test="mac != null and mac != ''">
             and mac = #{mac}
          </if>
-        <if test="startDate!=null and startDate!='' ">
-            and time BETWEEN #{startDate} and #{endDate}
-        </if>
-        <if test="time!=null and time!='' ">
-            and time =#{time} and limit 1
-        </if>
+
+         and time BETWEEN #{startDate} and #{endDate}
+
         order by time desc
     </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.8.0