| | |
| | | update_time datetime default current_timestamp, |
| | | traintime datetime, |
| | | primary key (id), |
| | | UNIQUE INDEX idx_moduletype (moduletype) |
| | | UNIQUE INDEX uk_modulename (modulename), |
| | | INDEX idx_moduletype (moduletype) |
| | | ) engine = innodb default character set utf8mb4 COMMENT = '管网表'; |
| | | |
| | | |
| | |
| | | itemname varchar(50), |
| | | caltypeid varchar(36), |
| | | itemtypeid varchar(36), |
| | | predictlength decimal(5, 0), |
| | | granularity decimal(5, 0), |
| | | status decimal(5, 0), |
| | | isfuse decimal(5, 0), |
| | | predictphase decimal(5, 0), |
| | | workchecked decimal(5, 0), |
| | | unittransfactor decimal(31, 6), |
| | | create_time datetime default current_timestamp, |
| | | update_time datetime default current_timestamp, |
| | | predictlength int, |
| | | granularity int, |
| | | status tinyint, |
| | | isfuse tinyint, |
| | | predictphase tinyint, |
| | | workchecked tinyint, |
| | | unittransfactor decimal(16, 6), |
| | | create_time datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间', |
| | | update_time datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间', |
| | | saveindex varchar(16), |
| | | primary key (id), |
| | | UNIQUE INDEX uk_itemno (itemno) |
| | | ) engine = innodb default character set utf8mb4 COMMENT = '预测模型结果字符串表'; |
| | | UNIQUE INDEX uk_itemno (itemno), |
| | | INDEX uk_itemtypeid (itemtypeid) |
| | | ) engine = innodb default character set utf8mb4 COMMENT = '预测项表'; |
| | | |
| | | create table |
| | | t_mm_predict_merge_item |