From 53b5b24664aa8abf004771da64502fedf54da499 Mon Sep 17 00:00:00 2001 From: lizijie <lzjiiie@163.com> Date: Tue, 24 Aug 2021 15:02:38 +0800 Subject: [PATCH] 常熟环思平台数据转发到RabbitMQ --- src/main/resources/mapper/HistoryMapper.xml | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/HistoryMapper.xml b/src/main/resources/mapper/HistoryMapper.xml index 0b3770c..743b83f 100644 --- a/src/main/resources/mapper/HistoryMapper.xml +++ b/src/main/resources/mapper/HistoryMapper.xml @@ -259,4 +259,8 @@ KEY `_idx_time` (`time`) USING BTREE ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC </update> + + <delete id="dropHistoryTable" parameterType="String"> + drop table history_${yearMonthDay} + </delete> </mapper> \ No newline at end of file -- Gitblit v1.8.0