From 93fe0b66e85e95e3a7e77a28504d6d289b6906b9 Mon Sep 17 00:00:00 2001
From: kaiyu <404897439@qq.com>
Date: Fri, 08 Oct 2021 13:11:22 +0800
Subject: [PATCH] screen-manage screen-api 更改拦截器逻辑,记录token无效的请求IP以及URL。 manage记录到数据库日志中 api记录在日志文件中
---
screen-job/src/main/resources/mapper/HistoryHourlyMapper.xml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/screen-job/src/main/resources/mapper/HistoryHourlyMapper.xml b/screen-job/src/main/resources/mapper/HistoryHourlyMapper.xml
index 6b4558a..88153ae 100644
--- a/screen-job/src/main/resources/mapper/HistoryHourlyMapper.xml
+++ b/screen-job/src/main/resources/mapper/HistoryHourlyMapper.xml
@@ -27,9 +27,9 @@
</select>
<select id="selectDailyData" resultType="java.util.Map">
- SELECT mac, `value`
+ SELECT mac, `time`, `value`
FROM history_hourly_${timeUnits}
WHERE `time` <![CDATA[>=]]> #{start}
- AND `time` <![CDATA[<]]> #{end}
+ AND `time` <![CDATA[<=]]> #{end}
</select>
</mapper>
\ No newline at end of file
--
Gitblit v1.8.0