From 92e79d07c90c467d35d03b85aa80496b381500de Mon Sep 17 00:00:00 2001
From: lizijie <lzjiiie@163.com>
Date: Thu, 10 Sep 2020 14:52:36 +0800
Subject: [PATCH] 小时数据警报
---
src/main/resources/mapper/HistoryMapper.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/mapper/HistoryMapper.xml b/src/main/resources/mapper/HistoryMapper.xml
index b80dc89..6d16309 100644
--- a/src/main/resources/mapper/HistoryMapper.xml
+++ b/src/main/resources/mapper/HistoryMapper.xml
@@ -179,8 +179,8 @@
<delete id="deleteHistoryData" parameterType="java.lang.String">
delete from history where time < #{oldTime};
</delete>
+
<update id="deletePartition">
ALTER table history drop PARTITION ${p};
</update>
-
</mapper>
\ No newline at end of file
--
Gitblit v1.8.0