| | |
| | | INDEX idx_itemid (itemid) |
| | | ) engine = innodb default character set utf8mb4 COMMENT = '预测项输出表'; |
| | | |
| | | create table t_mm_item_result |
| | | ( |
| | | id varchar(36) not null, |
| | | outputid varchar(36), |
| | | datatime datetime, |
| | | datavalue decimal(19, 3), |
| | | primary key (id), |
| | | UNIQUE KEY `unique_outputid_datatime` (`outputid`,`datatime`), |
| | | KEY `idx_outputid_datatime` (`outputid`,`datatime`) USING BTREE |
| | | ) engine = innodb |
| | | default character set utf8mb4 COMMENT = '预测结果表'; |
| | | |
| | | create table t_mm_item_type |
| | | ( |
| | | id varchar(36) not null, |
| | |
| | | INDEX idx_outputid (outputid), |
| | | INDEX idx_predicttime (predicttime) |
| | | ) engine = innodb default character set utf8mb4 COMMENT = '预测JSON数据表'; |
| | | |
| | | create table |
| | | t_mm_item_result_last_point |
| | | ( |
| | | id varchar(36) not null, |
| | | outputid varchar(36), |
| | | datatime datetime, |
| | | datavalue decimal(19, 3), |
| | | primary key (id), |
| | | INDEX idx_outputid (outputid), |
| | | INDEX idx_datatime (datatime) |
| | | ) engine = innodb default character set utf8mb4 COMMENT = '预测T+L数据表'; |
| | | |
| | | create table t_mm_item_accuracy_rate |
| | | ( |