| | |
| | | ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='KIO测点表'; |
| | | |
| | | CREATE TABLE t_da_point( |
| | | `id` VARCHAR(255) NOT NULL COMMENT 'ID' , |
| | | `id` VARCHAR(36) NOT NULL COMMENT 'ID' , |
| | | `point_no` VARCHAR(36) COMMENT '测点编码' , |
| | | `point_name` VARCHAR(36) COMMENT '测点名称' , |
| | | `point_type` VARCHAR(10) COMMENT '测点类型' , |
| | |
| | | CREATE TABLE t_da_math_point( |
| | | `id` VARCHAR(36) NOT NULL COMMENT 'ID' , |
| | | `point_id` VARCHAR(36) COMMENT '测点ID' , |
| | | `expression` VARCHAR(500) COMMENT '计算公式' , |
| | | `expression` VARCHAR(2000) COMMENT '计算公式' , |
| | | PRIMARY KEY (id) USING BTREE, |
| | | UNIQUE KEY `uk_point_id` (`point_id`) USING BTREE |
| | | ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT = '计算点表'; |