|
|
|
@ -63,3 +63,23 @@ CREATE TABLE IF NOT EXISTS `device_project_set`
|
|
|
|
|
ROW_FORMAT = Dynamic;
|
|
|
|
|
|
|
|
|
|
SET FOREIGN_KEY_CHECKS = 1;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CALL Pro_Temp_ColumnWork('device_repair_order', 'repairType', 'varchar(255)', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('device_repair_order', 'urgencyType', 'tinyint', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('device_repair_order', 'planTime', 'datetime', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('device_repair_order', 'uploadImage', 'varchar(255)', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('device_repair_order', 'repariName', 'varchar(255)', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('device_repair_order', 'reparistartTime', 'varchar(255)', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('device_repair_order', 'repariEndTime', 'varchar(255)', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('device_repair_order', 'repariRemark', 'varchar(255)', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('device_repair_order', 'repariImage', 'varchar(255)', 1);
|
|
|
|
|
|
|
|
|
|
CALL Pro_Temp_ColumnWork('device_inspect_plan', 'startTime', 'datetime', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('device_inspect_plan', 'endTime', 'datetime', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('device_inspect_plan', 'frequency', 'varchar(255)', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('device_inspect_plan', 'frequencyUnit', 'tinyint', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('device_inspect_plan', 'planStatus', 'tinyint', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('device_inspect_plan', 'inspectUser', 'varchar(255)', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('device_inspect_plan', 'lastTime', 'datetime', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('device_inspect_plan', 'nextTime', 'datetime', 1);
|