From a978b4279a12497d0b476b0df31b1c8409498676 Mon Sep 17 00:00:00 2001 From: jinpengyong <jpy123456> Date: Wed, 09 Sep 2020 10:43:53 +0800 Subject: [PATCH] update --- 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