ty
9 months ago
1 changed files with 0 additions and 224 deletions
@ -1,224 +0,0 @@
|
||||
alter table hzims_oper_maintenance_plan add column station_code varchar(60) comment '站点编码'; |
||||
alter table `hzims_oper_maintenance_task` add column `is_delay` tinyint(2) DEFAULT 0 COMMENT '是否逾期'; |
||||
|
||||
-- 补充执行人、创建人、更新人名称 |
||||
alter table `hzims_oper_maintenance_task` add column `disposer_name` varchar(255) comment '执行人姓名'; |
||||
alter table `hzims_oper_maintenance_task` add column `create_user_name` varchar(255) comment '创建人姓名'; |
||||
alter table `hzims_oper_maintenance_task` add column `update_user_name` varchar(255) comment '更新人姓名'; |
||||
alter table `hzims_oper_maintenance_plan` add column `disposer_name` varchar(255) comment '执行人姓名'; |
||||
alter table `hzims_oper_maintenance_plan` add column `create_user_name` varchar(255) comment '创建人姓名'; |
||||
alter table `hzims_oper_maintenance_plan` add column `update_user_name` varchar(255) comment '更新人姓名'; |
||||
-- 日常维护任务添加工作票名称 |
||||
alter table `hzims_oper_maintenance_task` add COLUMN `ticket_name` VARCHAR(255) comment '票据名称'; |
||||
|
||||
alter table hzims_oper_maintenance_plan add column station_code varchar(60) comment '站点编码'; |
||||
alter table `hzims_oper_maintenance_task` add column `is_delay` tinyint(2) DEFAULT 0 COMMENT '是否逾期'; |
||||
|
||||
-- 补充执行人、创建人、更新人名称 |
||||
alter table `hzims_oper_maintenance_task` add column `disposer_name` varchar(255) comment '执行人姓名'; |
||||
alter table `hzims_oper_maintenance_task` add column `create_user_name` varchar(255) comment '创建人姓名'; |
||||
alter table `hzims_oper_maintenance_task` add column `update_user_name` varchar(255) comment '更新人姓名'; |
||||
alter table `hzims_oper_maintenance_plan` add column `disposer_name` varchar(255) comment '执行人姓名'; |
||||
alter table `hzims_oper_maintenance_plan` add column `create_user_name` varchar(255) comment '创建人姓名'; |
||||
alter table `hzims_oper_maintenance_plan` add column `update_user_name` varchar(255) comment '更新人姓名'; |
||||
|
||||
-- 日常维护任务添加工作票名称 |
||||
alter table `hzims_oper_maintenance_task` add COLUMN `ticket_name` VARCHAR(255) comment '票据名称'; |
||||
|
||||
CREATE TABLE IF NOT EXISTS `hzims_operation`.`hz_ims_duty_log` ( |
||||
`id` bigint(20) NOT NULL, |
||||
`duty_id` bigint(20) NULL DEFAULT NULL, |
||||
`time` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, |
||||
`duty_time` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, |
||||
`class_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, |
||||
`operation_finish` tinyint(6) NULL DEFAULT NULL, |
||||
`operation_un_finish` tinyint(6) NULL DEFAULT NULL, |
||||
`operation_cancel` tinyint(6) NULL DEFAULT NULL, |
||||
`work_doing` tinyint(6) NULL DEFAULT NULL, |
||||
`work_un_finish` tinyint(6) NULL DEFAULT NULL, |
||||
`work_finish` tinyint(6) NULL DEFAULT NULL, |
||||
`work_cancel` tinyint(6) NULL DEFAULT NULL, |
||||
`hand_master` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, |
||||
`hand_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, |
||||
`hand_time` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, |
||||
`carry_master` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, |
||||
`carry_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, |
||||
`carry_time` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, |
||||
`duty_pic` varchar(1800) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, |
||||
`duty_status` varchar(1800) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, |
||||
`notice` varchar(1800) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, |
||||
`STATUS` tinyint(4) NULL DEFAULT NULL COMMENT '状态(1 未提交,2流程审核中,3已完成。)', |
||||
`CREATE_TIME` datetime(0) NOT NULL COMMENT '创建时间', |
||||
`UPDATE_TIME` datetime(0) NULL DEFAULT NULL COMMENT '更新时间', |
||||
`CREATE_USER` bigint(20) NOT NULL COMMENT '创建人', |
||||
`UPDATE_USER` bigint(20) NULL DEFAULT NULL COMMENT '更新人', |
||||
`IS_DELETED` tinyint(4) NOT NULL DEFAULT 0 COMMENT '是否删除', |
||||
`CREATE_DEPT` bigint(20) NULL DEFAULT NULL, |
||||
`TENANT_ID` varchar(12) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '租户ID', |
||||
PRIMARY KEY (`id`) USING BTREE |
||||
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic; |
||||
|
||||
ALTER TABLE `hzims_oper_access_content` ADD COLUMN `STATION_CODE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '站点编码' AFTER `PLAN_ID`; |
||||
|
||||
ALTER TABLE `hzims_oper_access_content` ADD COLUMN `STATION_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '站点名称' AFTER `STATION_CODE`; |
||||
|
||||
ALTER TABLE `hzims_oper_access_content` ADD COLUMN `EM_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '设备名称' AFTER `EM_CODE`; |
||||
|
||||
ALTER TABLE `hzims_oper_access_plan` ADD COLUMN `update_user_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '修改人名称' AFTER `NEXT_STEP_OPERATOR`; |
||||
|
||||
ALTER TABLE `hzims_oper_access_plan` ADD COLUMN `create_user_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称' AFTER `update_user_name`; |
||||
|
||||
ALTER TABLE `hzims_oper_access_plan` ADD COLUMN `manager_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL AFTER `create_user_name`; |
||||
|
||||
ALTER TABLE `hzims_oper_access_plan` ADD COLUMN `tech_lead_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL AFTER `manager_name`; |
||||
|
||||
ALTER TABLE `hzims_oper_access_statistics` ADD COLUMN `EM_CODE` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '设备编号' AFTER `TASK_ID`; |
||||
|
||||
ALTER TABLE `hzims_oper_access_statistics` ADD COLUMN `PLAN_HOURS` int(11) NULL DEFAULT NULL COMMENT '计划工时' AFTER `PLAN_END_TIME`; |
||||
|
||||
ALTER TABLE `hzims_oper_access_statistics` ADD COLUMN `update_user_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '修改人名称' AFTER `UPDATE_TIME`; |
||||
|
||||
ALTER TABLE `hzims_oper_access_statistics` ADD COLUMN `create_user_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称' AFTER `update_user_name`; |
||||
|
||||
ALTER TABLE `hzims_oper_access_statistics` ADD COLUMN `manager_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '负责人名称' AFTER `create_user_name`; |
||||
|
||||
ALTER TABLE `hzims_oper_access_statistics` ADD COLUMN `em_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '设备名称' AFTER `manager_name`; |
||||
|
||||
ALTER TABLE `hzims_oper_access_task` ADD COLUMN `STATION_CODE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '站点编码' AFTER `ID`; |
||||
|
||||
ALTER TABLE `hzims_oper_access_task` ADD COLUMN `STATION_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '站点名称' AFTER `STATION_CODE`; |
||||
|
||||
ALTER TABLE `hzims_oper_access_task` ADD COLUMN `EM_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '设备名称' AFTER `EM_CODE`; |
||||
|
||||
ALTER TABLE `hzims_oper_access_task` ADD COLUMN `PLAN_HOURS` int(11) NULL DEFAULT NULL COMMENT '计划工时' AFTER `PLAN_END_TIME`; |
||||
|
||||
ALTER TABLE `hzims_oper_access_task` ADD COLUMN `CONSTRUCTION_ID` bigint(20) NULL DEFAULT NULL COMMENT '施工日志Id' AFTER `NEXT_STEP_OPERATOR`; |
||||
|
||||
ALTER TABLE `hzims_oper_access_task` ADD COLUMN `UPDATE_USER_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '修改人名称' AFTER `CONSTRUCTION_ID`; |
||||
|
||||
ALTER TABLE `hzims_oper_access_task` ADD COLUMN `CREATE_USER_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称' AFTER `UPDATE_USER_NAME`; |
||||
|
||||
ALTER TABLE `hzims_oper_access_task` ADD COLUMN `HANDLER_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL AFTER `CREATE_USER_NAME`; |
||||
|
||||
ALTER TABLE `hzims_oper_access_task_detail` ADD COLUMN `update_user_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '修改人名称' AFTER `UPDATE_TIME`; |
||||
|
||||
ALTER TABLE `hzims_oper_access_task_detail` ADD COLUMN `create_user_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称' AFTER `update_user_name`; |
||||
|
||||
ALTER TABLE `hzims_oper_appearance` ADD COLUMN `FINDER_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '问题发现人' AFTER `EXIST_DEFECT_ID`; |
||||
|
||||
ALTER TABLE `hzims_oper_appearance` ADD COLUMN `DISCRIMINATOR_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '甄别人' AFTER `FINDER_NAME`; |
||||
|
||||
ALTER TABLE `hzims_oper_appearance` ADD COLUMN `CREATE_USER_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称' AFTER `DISCRIMINATOR_NAME`; |
||||
|
||||
ALTER TABLE `hzims_oper_appearance` ADD COLUMN `DEPT_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '机构名称' AFTER `CREATE_USER_NAME`; |
||||
|
||||
ALTER TABLE `hzims_oper_defect` ADD COLUMN `HANDLER_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '检修任务处理人' AFTER `CONCLUSION_TIME`; |
||||
|
||||
ALTER TABLE `hzims_oper_defect` ADD COLUMN `FINDER_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '发现人' AFTER `HANDLER_NAME`; |
||||
|
||||
ALTER TABLE `hzims_oper_defect` ADD COLUMN `CONCLUSION_PEOPLE_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '定论人' AFTER `FINDER_NAME`; |
||||
|
||||
ALTER TABLE `hzims_oper_defect` ADD COLUMN `CREATE_USER_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称' AFTER `CONCLUSION_PEOPLE_NAME`; |
||||
|
||||
ALTER TABLE `hzims_oper_defect` ADD COLUMN `DEPT_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '机构名称' AFTER `CREATE_USER_NAME`; |
||||
|
||||
ALTER TABLE `hzims_oper_defect` ADD COLUMN `PRINCIPAL_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '操作票负责人' AFTER `DEPT_NAME`; |
||||
|
||||
ALTER TABLE `hzims_oper_defect` ADD COLUMN `PLAN_HANDLER_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '消缺处理人' AFTER `PRINCIPAL_NAME`; |
||||
|
||||
ALTER TABLE `hzims_oper_defect_statistics` ADD COLUMN `DISCRIMINATOR_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '甄别人' AFTER `TICKET_ID`; |
||||
|
||||
ALTER TABLE `hzims_oper_defect_statistics` ADD COLUMN `FINDER_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '发现人' AFTER `DISCRIMINATOR_NAME`; |
||||
|
||||
ALTER TABLE `hzims_oper_defect_statistics` ADD COLUMN `HANDLER_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '检修任务处理人' AFTER `FINDER_NAME`; |
||||
|
||||
ALTER TABLE `hzims_oper_defect_statistics` ADD COLUMN `DISPOSER_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '处理人' AFTER `HANDLER_NAME`; |
||||
|
||||
ALTER TABLE `hzims_oper_defect_statistics` ADD COLUMN `CONCLUSION_PEOPLE_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '定论人' AFTER `DISPOSER_NAME`; |
||||
|
||||
ALTER TABLE `hzims_oper_defect_statistics` ADD COLUMN `CREATE_USER_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称' AFTER `CONCLUSION_PEOPLE_NAME`; |
||||
|
||||
ALTER TABLE `hzims_oper_defect_statistics` ADD COLUMN `DEPT_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '机构名称' AFTER `CREATE_USER_NAME`; |
||||
|
||||
ALTER TABLE `hzims_oper_defect_statistics` ADD COLUMN `PRINCIPAL_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '操作票负责人' AFTER `DEPT_NAME`; |
||||
|
||||
ALTER TABLE `hzims_oper_defect_statistics` ADD COLUMN `PLAN_HANDLER_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '消缺处理人' AFTER `PRINCIPAL_NAME`; |
||||
|
||||
ALTER TABLE `hzims_oper_maintenance_plan` ADD COLUMN `disposer_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '执行人姓名' AFTER `station_code`; |
||||
|
||||
ALTER TABLE `hzims_oper_maintenance_plan` ADD COLUMN `CREATE_USER_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL AFTER `disposer_name`; |
||||
|
||||
ALTER TABLE `hzims_oper_maintenance_plan` ADD COLUMN `UPDATE_USER_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL AFTER `CREATE_USER_NAME`; |
||||
|
||||
ALTER TABLE `hzims_oper_maintenance_task` DROP INDEX `idx_id`; |
||||
|
||||
ALTER TABLE `hzims_oper_maintenance_task` ADD COLUMN `is_delay` tinyint(2) NULL DEFAULT 0 COMMENT '是否逾期' AFTER `flow_description`; |
||||
|
||||
ALTER TABLE `hzims_oper_maintenance_task` ADD COLUMN `disposer_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '执行人姓名' AFTER `is_delay`; |
||||
|
||||
ALTER TABLE `hzims_oper_maintenance_task` ADD COLUMN `CREATE_USER_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL AFTER `disposer_name`; |
||||
|
||||
ALTER TABLE `hzims_oper_maintenance_task` ADD COLUMN `UPDATE_USER_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL AFTER `CREATE_USER_NAME`; |
||||
|
||||
ALTER TABLE `hzims_oper_maintenance_task` ADD COLUMN `ticket_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '票据名称' AFTER `UPDATE_USER_NAME`; |
||||
|
||||
ALTER TABLE `hzims_oper_phenomenon` ADD COLUMN `FINDER_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '问题发现人' AFTER `TICKET_ID`; |
||||
|
||||
ALTER TABLE `hzims_oper_phenomenon` ADD COLUMN `DISCRIMINATOR_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '甄别人' AFTER `FINDER_NAME`; |
||||
|
||||
ALTER TABLE `hzims_oper_phenomenon` ADD COLUMN `HANDLE_PROGRAMME_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '决策处理方案人' AFTER `DISCRIMINATOR_NAME`; |
||||
|
||||
ALTER TABLE `hzims_oper_phenomenon` ADD COLUMN `HANDLER_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '检修任务处理人' AFTER `HANDLE_PROGRAMME_NAME`; |
||||
|
||||
ALTER TABLE `hzims_oper_phenomenon` ADD COLUMN `CONCLUSION_PEOPLE_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '定论人' AFTER `HANDLER_NAME`; |
||||
|
||||
ALTER TABLE `hzims_oper_phenomenon` ADD COLUMN `CREATE_USER_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称' AFTER `CONCLUSION_PEOPLE_NAME`; |
||||
|
||||
ALTER TABLE `hzims_oper_phenomenon` ADD COLUMN `DEPT_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '机构名称' AFTER `CREATE_USER_NAME`; |
||||
|
||||
ALTER TABLE `hzims_oper_phenomenon` ADD COLUMN `PRINCIPAL_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '操作票负责人' AFTER `DEPT_NAME`; |
||||
|
||||
ALTER TABLE `hzims_oper_phenomenon` ADD COLUMN `PLAN_HANDLER_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '消缺处理人' AFTER `PRINCIPAL_NAME`; |
||||
|
||||
|
||||
-- ---------------------------- |
||||
-- TABLE STRUCTURE FOR HZIMS_OPER_CONSTRUCTION |
||||
-- ---------------------------- |
||||
CREATE TABLE IF NOT EXISTS `HZIMS_OPER_CONSTRUCTION` ( |
||||
`ID` BIGINT(20) NOT NULL COMMENT '主键ID', |
||||
`CODE` VARCHAR(255) CHARACTER SET UTF8MB4 COLLATE UTF8MB4_GENERAL_CI NULL DEFAULT NULL COMMENT '施工编号', |
||||
`CONSTRUCTION_TIME` DATETIME NULL DEFAULT NULL COMMENT '施工时间', |
||||
`OVERHAUL_NAME` VARCHAR(255) CHARACTER SET UTF8MB4 COLLATE UTF8MB4_GENERAL_CI NULL DEFAULT NULL COMMENT '检修名称', |
||||
`CONSTRUCTION_LOCATION` VARCHAR(1024) CHARACTER SET UTF8MB4 COLLATE UTF8MB4_GENERAL_CI NULL DEFAULT NULL COMMENT '施工地点', |
||||
`OVERHAUL_HEAD` BIGINT(20) NULL DEFAULT NULL COMMENT '检修负责人', |
||||
`OVERHAUL_HEAD_NAME` VARCHAR(255) CHARACTER SET UTF8MB4 COLLATE UTF8MB4_GENERAL_CI NULL DEFAULT NULL COMMENT '检修负责人名称', |
||||
`OVERHAUL_PERSONNEL` VARCHAR(255) CHARACTER SET UTF8MB4 COLLATE UTF8MB4_GENERAL_CI NULL DEFAULT NULL COMMENT '检修人员: 根据“,”分割', |
||||
`OVERHAUL_PERSONNEL_NAME` VARCHAR(255) CHARACTER SET UTF8MB4 COLLATE UTF8MB4_GENERAL_CI NULL DEFAULT NULL COMMENT '检修人员名称: 根据“,”分割', |
||||
`OVERHAUL_TIME` DATETIME NULL DEFAULT NULL COMMENT '检修时间', |
||||
`COMPLETE_WORK_DESC` VARCHAR(2048) CHARACTER SET UTF8MB4 COLLATE UTF8MB4_GENERAL_CI NOT NULL COMMENT '今日完成任务描述', |
||||
`PLAN_WORK_DESC` VARCHAR(2048) CHARACTER SET UTF8MB4 COLLATE UTF8MB4_GENERAL_CI NULL DEFAULT NULL COMMENT '明日工作计划描述', |
||||
`CONSTRUCTION_IMG` VARCHAR(512) CHARACTER SET UTF8MB4 COLLATE UTF8MB4_GENERAL_CI NULL DEFAULT NULL COMMENT '施工图片: 根据“,”分割', |
||||
`CONSTRUCTION_ATTACHMENT` VARCHAR(512) CHARACTER SET UTF8MB4 COLLATE UTF8MB4_GENERAL_CI NULL DEFAULT NULL COMMENT '施工附件', |
||||
`RECORDER` BIGINT(20) NULL DEFAULT NULL COMMENT '记录人', |
||||
`RECORDER_NAME` VARCHAR(255) CHARACTER SET UTF8MB4 COLLATE UTF8MB4_GENERAL_CI NULL DEFAULT NULL COMMENT '记录人名称', |
||||
`REVIEWER` BIGINT(20) NULL DEFAULT NULL COMMENT '审核人', |
||||
`REVIEWER_NAME` VARCHAR(255) CHARACTER SET UTF8MB4 COLLATE UTF8MB4_GENERAL_CI NULL DEFAULT NULL COMMENT '审核人名称', |
||||
`TENANT_ID` VARCHAR(12) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '租户ID', |
||||
`STATUS` TINYINT(4) NULL DEFAULT 0 COMMENT '业务状态', |
||||
`CREATE_DEPT` BIGINT(20) NULL DEFAULT NULL COMMENT '创建单位', |
||||
`IS_DELETED` TINYINT(4) NOT NULL DEFAULT 0 COMMENT '是否删除', |
||||
`CREATE_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '创建人', |
||||
`CREATE_TIME` DATETIME NOT NULL COMMENT '创建时间', |
||||
`UPDATE_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '修改人', |
||||
`UPDATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '修改时间', |
||||
PRIMARY KEY (`ID`) USING BTREE |
||||
) ENGINE = INNODB CHARACTER SET = UTF8MB4 COLLATE = UTF8MB4_GENERAL_CI ROW_FORMAT = DYNAMIC; |
||||
|
||||
alter table `hzims_oper_maintenance_library` add column `duty_class_tree` VARCHAR(100) NULL COMMENT '班次树,机构/班次类型/班次'; |
||||
alter table `hzims_station` add COLUMN `deleted_id` BIGINT(20) DEFAULT null COMMENT '删除记录ID'; |
||||
update `hzims_station` set `deleted_id` = id where `IS_DELETED` = 1; |
||||
ALTER TABLE `hzims_station` ADD CONSTRAINT index_code_deleted UNIQUE (`code`, `deleted_id`); |
||||
alter table `hzims_station` add column `is_push_project` tinyint(2) default 0 comment '是否推送数据平台'; |
||||
alter table `hzims_station` add column `is_push_fdp` tinyint(2) default 0 comment '是否推送FDP'; |
||||
|
||||
ALTER TABLE `hz_ims_duty_analyse_example` ADD COLUMN `name` varchar(255) NULL COMMENT '配置名称' AFTER `CREATE_DEPT`; |
Loading…
Reference in new issue