haungxing
9 months ago
5 changed files with 1249 additions and 81 deletions
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,78 @@
|
||||
SET FOREIGN_KEY_CHECKS=0; |
||||
|
||||
ALTER TABLE `hzims_inspect`.`hz_st_ex_task` ADD COLUMN `push_status` bigint(1) NULL DEFAULT NULL COMMENT '推送状态' AFTER `message_template_id`; |
||||
|
||||
SET FOREIGN_KEY_CHECKS=1; |
||||
|
||||
-- 创建巡检内容定义表结构 |
||||
CREATE TABLE IF NOT EXISTS `hz_st_re_content_definition` ( |
||||
`ID` bigint(64) NOT NULL COMMENT 'ID', |
||||
`CODE` varchar(18) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '内容编码:由系统自动生成自动生成', |
||||
`NAME` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '内容名称', |
||||
`DESCRIPTION` varchar(512) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '内容描述', |
||||
`RECORD_TYPE` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '记录类型 0不记录 1仅选择 2仅记值 3选择并记值', |
||||
`CHECK_TYPE` char(2) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '检测类型 原来数据字典 暂时设计只支持99个类型', |
||||
`CREATE_USER` bigint(64) NULL DEFAULT NULL COMMENT '创建人', |
||||
`CREATE_DEPT` bigint(64) NULL DEFAULT NULL COMMENT '创建部门', |
||||
`CREATE_TIME` datetime NULL DEFAULT NULL COMMENT '创建时间', |
||||
`UPDATE_USER` bigint(64) NULL DEFAULT NULL COMMENT '修改人', |
||||
`UPDATE_TIME` datetime NULL DEFAULT NULL COMMENT '修改时间', |
||||
`STATUS` int(2) NULL DEFAULT 0 COMMENT '状态', |
||||
`IS_DELETED` int(2) NOT NULL DEFAULT 0 COMMENT '是否已删除', |
||||
`TENANT_ID` varchar(12) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '租户', |
||||
`CLOCK_ID` bigint(20) NULL DEFAULT NULL COMMENT '表针识别,表盘ID', |
||||
`CAMERA_ID` bigint(20) NULL DEFAULT NULL COMMENT '视频巡检摄像机ID', |
||||
`DICT_TYPE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '记值方式为选择时选择值', |
||||
`UP_LIMIT` double NULL DEFAULT NULL COMMENT '上限值', |
||||
`DOWN_LIMIT` double NULL DEFAULT NULL COMMENT '下限值', |
||||
`SUGGESTION` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '问题排除建议', |
||||
`SORT` int(11) NULL DEFAULT 0 COMMENT '排序', |
||||
`SUPPORT_AUTO_VIDEO` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '0' COMMENT '是支持的巡检类型 0普通巡检 1视频自动巡检 2机器人巡检', |
||||
`CHECK_TYPE_SON` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '存字典表key 检测类型子类 子类的子类通过-隔开例如:1-12', |
||||
`CAMERA_ADDR` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '开关/灯/表盘在摄像机可视面二维坐标位置 例如:2 1 表示第三行第二列 行列均从0开始记录 默认 0 0 如果有多张图则:0 0 1( 最后一位表示所在图片 最后一位1表示第二张图) 默认0 0 0', |
||||
`OTHER_PARAM` varchar(1024) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '其他参数 例如多联断路器内断路器的个数', |
||||
`CHECK_VAL` varchar(512) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '校验值 用来判断当前值是否正确:枚举数据通过 “ ”隔开 区间通过~隔开', |
||||
PRIMARY KEY (`ID`) USING BTREE, |
||||
UNIQUE INDEX `UK_OBJECT_CONTENT_CODE`(`CODE`) USING BTREE, |
||||
INDEX `idx_is_deleted_tenant_id`(`IS_DELETED`, `TENANT_ID`) USING BTREE |
||||
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '巡检对象内容' ROW_FORMAT = Dynamic; |
||||
SET FOREIGN_KEY_CHECKS = 1; |
||||
|
||||
-- 巡检内容定义添加物模型标识字段 |
||||
alter table hz_st_re_content_definition add COLUMN `model_signage` VARCHAR(64) comment '模型标识'; |
||||
-- 巡检内容定义添加物模型属性标识字段 |
||||
alter table hz_st_re_content_definition add COLUMN `attr_signage` VARCHAR(50) comment '属性标识'; |
||||
-- 巡检内容定义添加物模型属性名称字段 |
||||
alter table hz_st_re_content_definition add COLUMN `attr_name` VARCHAR(64) comment '属性名称'; |
||||
|
||||
-- 设备巡检内容添加物模型标识字段 |
||||
alter table hz_st_re_content add COLUMN `model_signage` VARCHAR(64) comment '模型标识'; |
||||
-- 设备巡检内容添加物模型属性标识字段 |
||||
alter table hz_st_re_content add COLUMN `attr_signage` VARCHAR(50) comment '属性标识'; |
||||
-- 设备巡检内容添加物模型属性名称字段 |
||||
alter table hz_st_re_content add COLUMN `attr_name` VARCHAR(64) comment '属性名称'; |
||||
-- 设备巡检内容添加采集点ID字段 |
||||
alter table hz_st_re_content add COLUMN `fac_device_id` VARCHAR(64) comment '关联的hz3000设备id'; |
||||
-- 设备巡检内容添加采集点名称字段 |
||||
alter table hz_st_re_content add COLUMN `fac_device_name` VARCHAR(64) comment '关联的hz3000设备名称'; |
||||
|
||||
-- 设备巡检项目添加设备编号字段 |
||||
alter table hz_st_re_project add COLUMN `em_code` VARCHAR(50) comment '设备编号'; |
||||
|
||||
-- 设备巡检对象添加设备字段 |
||||
alter table hz_st_re_object add COLUMN `em_codes` VARCHAR(255) comment '设备编号,按逗号分隔'; |
||||
|
||||
-- 巡检模板添加巡检对象 |
||||
alter table hz_st_re_template add COLUMN `object_id` BIGINT(20) comment '巡检对象ID'; |
||||
|
||||
-- 巡检任务中巡检内容执行情况添加模型属性标识、名称字段 |
||||
alter table hz_st_ex_object_project_content add COLUMN `attr_signage` VARCHAR(50) comment '属性标识'; |
||||
alter table hz_st_ex_object_project_content add COLUMN `attr_name` VARCHAR(64) comment '属性名称'; |
||||
|
||||
-- 巡检路径添加类型 |
||||
alter table hz_st_re_route add COLUMN `type` VARCHAR(2) comment '巡检路线 字典:routeType 1-值班 2-通用'; |
||||
|
||||
-- 巡检路径类型字典 |
||||
INSERT INTO `bladex`.`blade_dict` (`id`, `parent_id`, `code`, `dict_key`, `dict_value`, `sort`, `remark`, `is_sealed`, `is_deleted`, `dict_type`, `app_id`, `app_code`) VALUES (1684523371508834306, 0, 'routeType', '-1', '巡检路径类型', 23, '', 0, 0, 0, -1, 'inspect'); |
||||
INSERT INTO `bladex`.`blade_dict` (`id`, `parent_id`, `code`, `dict_key`, `dict_value`, `sort`, `remark`, `is_sealed`, `is_deleted`, `dict_type`, `app_id`, `app_code`) VALUES (1684523447710949377, 1684523371508834306, 'routeType', '1', '值班', 1, '', 0, 0, 0, -1, 'inspect'); |
||||
INSERT INTO `bladex`.`blade_dict` (`id`, `parent_id`, `code`, `dict_key`, `dict_value`, `sort`, `remark`, `is_sealed`, `is_deleted`, `dict_type`, `app_id`, `app_code`) VALUES (1684523498650771458, 1684523371508834306, 'routeType', '2', '计划', 2, '', 0, 0, 0, -1, 'inspect'); |
@ -0,0 +1,91 @@
|
||||
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_ACCESS_CONTENT` ADD COLUMN `STATION_CODE` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL AFTER `TICKET_TEMPLATE_ID`; |
||||
|
||||
ALTER TABLE `HZIMS_OPER_ACCESS_CONTENT` ADD COLUMN `STATION_NAME` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL 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 AFTER `STATION_NAME`; |
||||
|
||||
ALTER TABLE `HZIMS_OPER_ACCESS_CONTENT` MODIFY COLUMN `EM_CODE` VARCHAR(64) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT '' COMMENT '设备编码' AFTER `PLAN_ID`; |
||||
|
||||
ALTER TABLE `HZIMS_OPER_ACCESS_LIBRARY` 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_LIBRARY` MODIFY COLUMN `EM_CODE` VARCHAR(64) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '设备编码' AFTER `ID`; |
||||
|
||||
ALTER TABLE `HZIMS_OPER_ACCESS_LIBRARY` MODIFY COLUMN `PERIOD` INT(11) NULL DEFAULT NULL COMMENT '检修间隔' AFTER `GRADE_CODE`; |
||||
|
||||
ALTER TABLE `HZIMS_OPER_ACCESS_LIBRARY` MODIFY COLUMN `WORK_STANDARDS` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT '' COMMENT '操作规范' AFTER `PERIOD`; |
||||
|
||||
ALTER TABLE `HZIMS_OPER_ACCESS_LIBRARY` MODIFY COLUMN `SAFE_INFOS` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT '' COMMENT '安全警告' AFTER `WORK_STANDARDS`; |
||||
|
||||
ALTER TABLE `HZIMS_OPER_ACCESS_LIBRARY` MODIFY COLUMN `STOP_HOURS` INT(11) NULL DEFAULT NULL COMMENT '停用时间' AFTER `SAFE_INFOS`; |
||||
|
||||
ALTER TABLE `HZIMS_OPER_ACCESS_LIBRARY` MODIFY COLUMN `DESCRIPITON` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT '' COMMENT '描述' AFTER `LAST_SERVICE_TIME`; |
||||
|
||||
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`; |
@ -0,0 +1,37 @@
|
||||
CREATE TABLE `HZIMS_WORK_TASK` ( |
||||
`ID` BIGINT(20) NOT NULL COMMENT '主键', |
||||
`CODE` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '工作任务单编号', |
||||
`HEAD` BIGINT(20) NULL DEFAULT NULL COMMENT '工作负责人', |
||||
`HEAD_NAME` VARCHAR(64) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '工作负责人名称', |
||||
`HEAD_HANDLE_TIME` DATETIME NULL DEFAULT NULL COMMENT '工作负责人处理时间', |
||||
`GROUP_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '班组ID', |
||||
`GROUP_NAME` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '班组名称', |
||||
`MEMBER` VARCHAR(512) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '班组成员ID : 按 “,”分割', |
||||
`MEMBER_NAME` VARCHAR(1024) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '班组成员名称 : 按 “,”分割', |
||||
`PLAN_START_TIME` DATETIME NULL DEFAULT NULL COMMENT '工作计划开始时间', |
||||
`PLAN_END_TIME` DATETIME NULL DEFAULT NULL COMMENT '工作计划结束时间', |
||||
`WORK_TICKET_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '工作票ID', |
||||
`WORK_TASK` VARCHAR(2048) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '工作任务', |
||||
`SECURITY_MEASURES` VARCHAR(2048) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '现场安全措施', |
||||
`RISK_PRE_CONTROL` VARCHAR(2048) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '安全风险及预控措施', |
||||
`LICENSOR` BIGINT(20) NULL DEFAULT NULL COMMENT '许可人', |
||||
`LICENSOR_NAME` VARCHAR(64) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '许可人名称', |
||||
`LICENSOR_TIME` DATETIME NULL DEFAULT NULL COMMENT '许可时间', |
||||
`TERMINATOR` BIGINT(20) NULL DEFAULT NULL COMMENT '工作结束人', |
||||
`TERMINATOR_NAME` VARCHAR(64) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '工作结束人名称', |
||||
`WORK_END_TIME` DATETIME NULL DEFAULT NULL COMMENT '工作结束时间', |
||||
`MEMO` VARCHAR(2048) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '备注', |
||||
`PROCESS_INSTANCE_ID` VARCHAR(64) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '流程实例ID', |
||||
`TASK_NAME` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '流程环节名称', |
||||
`NEXT_STEP_OPERATOR` VARCHAR(512) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '流程环节处理人', |
||||
`DEPT_NAME` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '创建机构名称', |
||||
`TENANT_ID` VARCHAR(12) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '租户ID', |
||||
`CREATE_TIME` DATETIME NOT NULL COMMENT '创建时间', |
||||
`UPDATE_TIME` DATETIME 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 COMMENT '是否删除', |
||||
`STATUS` TINYINT(4) NULL DEFAULT NULL COMMENT '状态 ', |
||||
`CREATE_DEPT` BIGINT(20) NULL DEFAULT NULL COMMENT '创建部门', |
||||
PRIMARY KEY (`ID`) USING BTREE |
||||
) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI ROW_FORMAT = DYNAMIC; |
Loading…
Reference in new issue