| | |
| | | start_slot int DEFAULT '0' COMMENT '起始格子', |
| | | target_slot int DEFAULT '0' COMMENT '目标格子', |
| | | task_state int DEFAULT NULL COMMENT '任务状态 ' |
| | | ) |
| | | ); |
| | | -- rollback DROP TABLE big_storage_cage_in_one_task; |
| | | |
| | | -- changeset zsh:20241112003 |
| | |
| | | start_slot int DEFAULT '0' COMMENT '起始格子', |
| | | target_slot int DEFAULT '0' COMMENT '目标格子', |
| | | task_state int DEFAULT NULL COMMENT '任务状态 ' |
| | | ) |
| | | ); |
| | | -- rollback DROP TABLE big_storage_cage_out_one_task; |
| | | |
| | | -- changeset zsh:20241113002 |
| | |
| | | INSERT INTO big_storage_cage_out_two_task(glass_id, start_slot, target_slot, task_state) |
| | | VALUES (NULL, 0, 0, 0); |
| | | |
| | | |
| | | -- changeset zsh:20241126001 |
| | | -- preconditions onFail:CONTINUE onError:CONTINUE |
| | | -- precondition-sql-check expectedResult:0 SELECT COUNT(*) FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 'big_storage_glass_info' and table_schema = 'hangzhoumes'; |
| | | CREATE TABLE big_storage_glass_info |
| | | ( |
| | | id bigint NOT NULL AUTO_INCREMENT COMMENT '大理片笼信息表id', |
| | | glass_id varchar(20) DEFAULT NULL COMMENT '玻璃id', |
| | | flow_card_id varchar(20) DEFAULT NULL COMMENT '流程卡号', |
| | | glass_type int DEFAULT NULL COMMENT '玻璃类型', |
| | | width double DEFAULT NULL COMMENT '宽', |
| | | height double DEFAULT NULL COMMENT '高', |
| | | thickness double DEFAULT NULL COMMENT '厚度', |
| | | tempering_layout_id int DEFAULT NULL COMMENT '钢化版图id', |
| | | tempering_feed_sequence int DEFAULT NULL COMMENT '钢化版图片序', |
| | | x_coordinate int DEFAULT NULL COMMENT 'x坐标', |
| | | y_coordinate int DEFAULT NULL COMMENT 'y坐标', |
| | | engineer_id varchar(50) DEFAULT NULL, |
| | | layer int DEFAULT NULL COMMENT '层号', |
| | | virtual_slot int DEFAULT NULL COMMENT '虚拟格子号', |
| | | slot_sequence int DEFAULT NULL COMMENT '格子次序', |
| | | PRIMARY KEY (id) USING BTREE |
| | | ); |
| | | -- rollback DROP TABLE big_storage_glass_info; |
| | | |
| | | -- changeset zsh:20241126002 |
| | | -- preconditions onFail:CONTINUE onError:CONTINUE |
| | | -- precondition-sql-check expectedResult:0 SELECT COUNT(*) FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 'big_storage_glass_relation_info' and table_schema = 'hangzhoumes'; |
| | | CREATE TABLE big_storage_glass_relation_info |
| | | ( |
| | | id bigint NOT NULL AUTO_INCREMENT COMMENT '钢化玻璃关系表id', |
| | | engineer_id varchar(50) DEFAULT NULL, |
| | | glass_id varchar(20) DEFAULT NULL COMMENT '玻璃id', |
| | | tempering_layout_id int DEFAULT NULL COMMENT '钢化版图id', |
| | | tempering_feed_sequence int DEFAULT NULL COMMENT '钢化版图片序', |
| | | virtual_slot int DEFAULT NULL COMMENT '虚拟格子', |
| | | slot_sequence int DEFAULT NULL COMMENT '格子内次序', |
| | | slot int DEFAULT NULL COMMENT '实际格子号', |
| | | device_id int DEFAULT NULL COMMENT '实际笼子号', |
| | | PRIMARY KEY (id) USING BTREE |
| | | ); |
| | | -- rollback DROP TABLE big_storage_glass_relation_info; |
| | | |