Prechádzať zdrojové kódy

新增门禁进出统计配置设备表

James 2 rokov pred
rodič
commit
5f85d356a0
1 zmenil súbory, kde vykonal 11 pridanie a 1 odobranie
  1. 11 1
      usky-park.md

+ 11 - 1
usky-park.md

@@ -2,4 +2,14 @@
 alter table data_ev_history add index index_data(device_id,attribute_name,data_time);
 alter table data_gr_history add index index_data(device_id,attribute_name,data_time);
 alter table data_lg_history add index index_data(device_id,attribute_name,data_time);
-alter table data_lg_history add index index_data1(attribute_name,data_time,attribute_data);
+alter table data_lg_history add index index_data1(attribute_name,data_time,attribute_data);
+
+
+#5月18日
+CREATE TABLE `eg_config` (
+  `id` INT(11) NOT NULL AUTO_INCREMENT COMMENT '主键ID',
+  `in_deviceids` TEXT NOT NULL COMMENT '进入统计设备ID汇总',
+  `out_deviceids` TEXT NOT NULL COMMENT '出去统计设备ID汇总',
+  `config_time` DATETIME DEFAULT NULL COMMENT '配置时间',
+  PRIMARY KEY (`id`)
+) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COMMENT='门禁进出统计配置设备表';