From dacae5af651baa6ae102c8dd4350a7b8b7d86fe6 Mon Sep 17 00:00:00 2001 From: lizijie <lzjiiie@163.com> Date: Thu, 28 Apr 2022 16:16:40 +0800 Subject: [PATCH] 通过时间和mac集合查询数据接口,修改蜂窝图小时数据接口 --- screen-job/src/main/resources/mapper/HistoryFiveMinutelyMapper.xml | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/screen-job/src/main/resources/mapper/HistoryFiveMinutelyMapper.xml b/screen-job/src/main/resources/mapper/HistoryFiveMinutelyMapper.xml index 13de990..83f4b75 100644 --- a/screen-job/src/main/resources/mapper/HistoryFiveMinutelyMapper.xml +++ b/screen-job/src/main/resources/mapper/HistoryFiveMinutelyMapper.xml @@ -4,11 +4,9 @@ <update id="createTable" parameterType="String"> CREATE TABLE IF NOT EXISTS `history_five_minutely_${timeUnits}` ( - `mac` VARCHAR (20) DEFAULT NULL COMMENT '������mac', + `mac` VARCHAR (30) DEFAULT NULL COMMENT '������mac', `time` datetime DEFAULT NULL COMMENT '������������', `value` json DEFAULT NULL COMMENT '������', - KEY `idx_mac` (`mac`), - KEY `idx_time` (`time`), KEY `idx_mac_time` (`mac`,`time`) ) ENGINE=INNODB DEFAULT CHARSET=utf8 COMMENT '5���������������' </update> -- Gitblit v1.8.0