From c9f5a0a5f631fec7d66ab263d381bd09107d45c6 Mon Sep 17 00:00:00 2001
From: lizijie <lzjiiie@163.com>
Date: Mon, 29 Nov 2021 11:06:34 +0800
Subject: [PATCH] 龙腾特种钢数据发送到柏美迪康平台

---
 src/main/resources/mapper/HistoryFiveMinutelyMapper.xml |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/HistoryFiveMinutelyMapper.xml b/src/main/resources/mapper/HistoryFiveMinutelyMapper.xml
index 3cd8ad5..eadaddb 100644
--- a/src/main/resources/mapper/HistoryFiveMinutelyMapper.xml
+++ b/src/main/resources/mapper/HistoryFiveMinutelyMapper.xml
@@ -45,7 +45,9 @@
         CREATE TABLE  IF NOT EXISTS `history_five_minutely_${yearAndMonth}` (
         `mac` varchar(20) CHARACTER SET latin1 DEFAULT NULL,
         `time` datetime DEFAULT NULL,
-        `json` json DEFAULT NULL
+        `json` json DEFAULT NULL,
+         KEY `idx_time` (`time`),
+         KEY `idx_mac` (`mac`)
         ) ENGINE=INNODB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci
     </update>
 

--
Gitblit v1.8.0