You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

1051 lines
98 KiB

CREATE TABLE IF NOT EXISTS DOCUMENT_MANAGEMENT
(
ID BIGINT PRIMARY KEY AUTO_INCREMENT,
DOCUMENT_NAME VARCHAR(100) COMMENT '文档名称',
DOCUMENT_URL VARCHAR(300) COMMENT '文档路径',
CREATOR_ID BIGINT COMMENT '创建人ID',
CREATOR_NAME VARCHAR(50) COMMENT '创建人名称',
CREATE_TIME DATETIME DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
UPDATE_TIME DATETIME DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
IS_DELETED TINYINT DEFAULT 0 COMMENT '逻辑删除'
) COMMENT '文档管理';
ALTER TABLE `HZIMS_SAFE_SAFETY_TOOL` ADD COLUMN `ADVANCE_NOTICE_DAYS` TINYINT(4) DEFAULT 0 COMMENT '安全工器具提前通知天数';
CREATE TABLE IF NOT EXISTS `HZIMS_REHEARSAL_PLAN` (
`ID` BIGINT(20) NOT NULL COMMENT '主键ID',
`UNIT` VARCHAR(50) NOT NULL COMMENT '单位',
`SUBJECT` VARCHAR(50) NOT NULL COMMENT '演练科目',
`SCHEDULED_START_TIME` DATE NOT NULL COMMENT '演练计划开始时间',
`SCHEDULED_END_TIME` DATE NOT NULL COMMENT '演练计划结束时间',
`LOCATION` VARCHAR(255) NOT NULL COMMENT '演练地点',
`COMMANDER` VARCHAR(10) NOT NULL COMMENT '总指挥',
`REHEARSAL_METHOD` VARCHAR(20) DEFAULT '' COMMENT '演练方式',
`REHEARSAL_STATUS` VARCHAR(20) NOT NULL DEFAULT 'WAITING' COMMENT '演练状态',
`CREATE_USER` BIGINT(20) NOT NULL DEFAULT '-1' COMMENT '创建人',
`CREATE_DEPT` BIGINT(20) NOT NULL DEFAULT '-1' COMMENT '创建部门',
`CREATE_TIME` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`UPDATE_USER` BIGINT(20) DEFAULT '-1' COMMENT '更新人',
`UPDATE_TIME` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '最后更新时间',
`STATUS` INT(2) NOT NULL DEFAULT '1' COMMENT '状态',
`IS_DELETED` INT(2) NOT NULL DEFAULT '0' COMMENT '逻辑删除状态:0-未删除,1-删除',
PRIMARY KEY (`ID`) USING BTREE
) ENGINE=INNODB CHARACTER SET=UTF8MB4 COLLATE=UTF8MB4_GENERAL_CI COMMENT='演练计划表' ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `HZIMS_REHEARSAL_RECORD` (
`ID` BIGINT(20) NOT NULL COMMENT '主键ID',
`REHEARSAL_PLAN_ID` BIGINT(20) NOT NULL COMMENT '演练计划ID',
`CODE` VARCHAR(50) NOT NULL COMMENT '编号',
`PEOPLE_NUM` INT(10) NOT NULL DEFAULT '0' COMMENT '参演人数',
`PEOPLE_NAME` VARCHAR(5000) DEFAULT '' COMMENT '参演人员',
`ACTUAL_START_TIME` DATETIME NOT NULL COMMENT '演练实际开始时间',
`ACTUAL_END_TIME` DATETIME NOT NULL COMMENT '演练实际结束时间',
`RECORD` VARCHAR(250) NOT NULL DEFAULT '' COMMENT '演练记录',
`COMMENT` VARCHAR(250) NOT NULL DEFAULT '' COMMENT '演练评价',
`IMG_PATH` VARCHAR(1000) NOT NULL DEFAULT '' COMMENT '演练图片',
`FILE_PATH` VARCHAR(1000) NOT NULL DEFAULT '' COMMENT '演练附件',
`CREATE_USER` BIGINT(20) NOT NULL DEFAULT '-1' COMMENT '创建人',
`CREATE_DEPT` BIGINT(20) NOT NULL DEFAULT '-1' COMMENT '创建部门',
`CREATE_TIME` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`UPDATE_USER` BIGINT(20) DEFAULT '-1' COMMENT '更新人',
`UPDATE_TIME` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '最后更新时间',
`STATUS` INT(2) NOT NULL DEFAULT '1' COMMENT '状态',
`IS_DELETED` INT(2) NOT NULL DEFAULT '0' COMMENT '逻辑删除状态:0-未删除,1-删除',
PRIMARY KEY (`ID`) USING BTREE
) ENGINE=INNODB CHARACTER SET=UTF8MB4 COLLATE=UTF8MB4_GENERAL_CI COMMENT='演练记录表' ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `HZIMS_TRAIN_PLAN` (
`ID` BIGINT(20) NOT NULL COMMENT '主键ID',
`UNIT` VARCHAR(50) NOT NULL COMMENT '单位',
`SCHEDULED_START_TIME` DATE NOT NULL COMMENT '计划培训开始时间',
`SCHEDULED_END_TIME` DATE NOT NULL COMMENT '计划培训结束时间',
`LESSON` VARCHAR(255) NOT NULL COMMENT '培训课程',
`LOCATION` VARCHAR(255) NOT NULL COMMENT '培训地点',
`TRAIN_METHOD` VARCHAR(20) DEFAULT '' COMMENT '培训方式',
`TEACHER` VARCHAR(20) NOT NULL DEFAULT '' COMMENT '培训讲师',
`TRAIN_STATUS` VARCHAR(20) NOT NULL DEFAULT 'WAITING' COMMENT '培训状态',
`IS_TEST` INT(2) NOT NULL DEFAULT '0' COMMENT '关联考试:0-否,1-是',
`CREATE_USER` BIGINT(20) NOT NULL DEFAULT '-1' COMMENT '创建人',
`CREATE_DEPT` BIGINT(20) NOT NULL DEFAULT '-1' COMMENT '创建部门',
`CREATE_TIME` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`UPDATE_USER` BIGINT(20) DEFAULT '-1' COMMENT '更新人',
`UPDATE_TIME` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '最后更新时间',
`STATUS` INT(2) NOT NULL DEFAULT '1' COMMENT '状态',
`IS_DELETED` INT(2) NOT NULL DEFAULT '0' COMMENT '逻辑删除状态:0-未删除,1-删除',
PRIMARY KEY (`ID`) USING BTREE
) ENGINE=INNODB CHARACTER SET=UTF8MB4 COLLATE=UTF8MB4_GENERAL_CI COMMENT='培训计划表' ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `HZIMS_TRAIN_RECORD` (
`ID` BIGINT(20) NOT NULL COMMENT '主键ID',
`TRAIN_PLAN_ID` BIGINT(20) DEFAULT NULL COMMENT '培训计划ID',
`TRAIN_RECORD_NAME` VARCHAR(50) NOT NULL DEFAULT '' COMMENT '培训记录名称',
`CODE` VARCHAR(50) NOT NULL COMMENT '编号',
`PEOPLE_NAME` VARCHAR(5000) DEFAULT '' COMMENT '培训学员',
`CONTENT` MEDIUMTEXT COMMENT '培训内容',
`ACTUAL_START_TIME` DATETIME DEFAULT NULL COMMENT '实际培训开始时间',
`ACTUAL_END_TIME` DATETIME DEFAULT NULL COMMENT '实际培训结束时间',
`COMMAND` VARCHAR(250) DEFAULT NULL COMMENT '培训评价',
`IMG_PATH` VARCHAR(1000) NOT NULL DEFAULT '' COMMENT '培训图片',
`FILE_PATH` VARCHAR(1000) NOT NULL DEFAULT '' COMMENT '培训附件',
`CREATE_USER` BIGINT(20) NOT NULL DEFAULT '-1' COMMENT '创建人',
`CREATE_DEPT` BIGINT(20) NOT NULL DEFAULT '-1' COMMENT '创建部门',
`CREATE_TIME` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`UPDATE_USER` BIGINT(20) DEFAULT '-1' COMMENT '更新人',
`UPDATE_TIME` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '最后更新时间',
`STATUS` INT(2) NOT NULL DEFAULT '1' COMMENT '状态',
`IS_DELETED` INT(2) NOT NULL DEFAULT '0' COMMENT '逻辑删除状态:0-未删除,1-删除',
PRIMARY KEY (`ID`) USING BTREE
) ENGINE=INNODB CHARACTER SET=UTF8MB4 COLLATE=UTF8MB4_GENERAL_CI COMMENT='培训记录表' ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `HZIMS_TEST` (
`ID` BIGINT(20) NOT NULL COMMENT '主键ID',
`TRAIN_PLAN_ID` BIGINT(20) DEFAULT NULL COMMENT '培训计划ID',
`TRAIN_RECORD_ID` BIGINT(20) DEFAULT NULL COMMENT '培训记录ID',
`TEST_NAME` VARCHAR(50) NOT NULL DEFAULT '' COMMENT '考试记录名称',
`CODE` VARCHAR(50) NOT NULL COMMENT '编号',
`UNIT` VARCHAR(50) NOT NULL COMMENT '单位',
`TEST_START_TIME` DATETIME NOT NULL COMMENT '考试开始时间',
`TEST_END_TIME` DATETIME NOT NULL COMMENT '考试结束时间',
`LOCATION` VARCHAR(255) NOT NULL COMMENT '考试地点',
`SUBJECT` VARCHAR(50) NOT NULL COMMENT '考试科目',
`PROCTOR` VARCHAR(20) NOT NULL COMMENT '监考人',
`PEOPLE_NAME` VARCHAR(1000) DEFAULT '' COMMENT '参考人员',
`TEST_METHOD` VARCHAR(50) NOT NULL COMMENT '考试方式',
`IMG_PATH` VARCHAR(1000) NOT NULL DEFAULT '' COMMENT '考试图片',
`FILE_PATH` VARCHAR(1000) NOT NULL DEFAULT '' COMMENT '考试附件',
`CREATE_USER` BIGINT(20) NOT NULL DEFAULT '-1' COMMENT '创建人',
`CREATE_DEPT` BIGINT(20) NOT NULL DEFAULT '-1' COMMENT '创建部门',
`CREATE_TIME` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`UPDATE_USER` BIGINT(20) DEFAULT '-1' COMMENT '更新人',
`UPDATE_TIME` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '最后更新时间',
`STATUS` INT(2) NOT NULL DEFAULT '1' COMMENT '状态',
`IS_DELETED` INT(2) NOT NULL DEFAULT '0' COMMENT '逻辑删除状态:0-未删除,1-删除',
PRIMARY KEY (`ID`) USING BTREE
) ENGINE=INNODB CHARACTER SET=UTF8MB4 COLLATE=UTF8MB4_GENERAL_CI COMMENT='考试记录表' ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `HZIMS_TEST_SCORE` (
`ID` BIGINT(20) NOT NULL COMMENT '主键ID',
`TEST_ID` BIGINT(20) DEFAULT NULL COMMENT '考试记录ID',
`NAME` VARCHAR(50) NOT NULL COMMENT '姓名',
`SCORE` INT(10) DEFAULT NULL COMMENT '成绩',
`CREATE_USER` BIGINT(20) NOT NULL DEFAULT '-1' COMMENT '创建人',
`CREATE_DEPT` BIGINT(20) NOT NULL DEFAULT '-1' COMMENT '创建部门',
`CREATE_TIME` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`UPDATE_USER` BIGINT(20) DEFAULT '-1' COMMENT '更新人',
`UPDATE_TIME` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '最后更新时间',
`STATUS` INT(2) NOT NULL DEFAULT '1' COMMENT '状态',
`IS_DELETED` INT(2) NOT NULL DEFAULT '0' COMMENT '逻辑删除状态:0-未删除,1-删除',
PRIMARY KEY (`ID`) USING BTREE
) ENGINE=INNODB CHARACTER SET=UTF8MB4 COLLATE=UTF8MB4_GENERAL_CI COMMENT='考试成绩表' ROW_FORMAT=DYNAMIC;
ALTER TABLE `hzims_test_score`
ADD COLUMN `user_id` bigint(20) NULL AFTER `is_deleted`,
ADD COLUMN `dept_name` varchar(255) NULL AFTER `user_id`,
ADD COLUMN `dept_id` bigint(20) NULL AFTER `dept_name`;
CREATE TABLE IF NOT EXISTS `HZIMS_CONFERENCE_PLAN` (
`ID` BIGINT(20) NOT NULL COMMENT '主键ID',
`UNIT` VARCHAR(50) NOT NULL COMMENT '单位',
`THEME` VARCHAR(50) NOT NULL COMMENT '会议主题',
`SCHEDULED_START_TIME` DATE NOT NULL COMMENT '会议计划开始时间',
`SCHEDULED_END_TIME` DATE NOT NULL COMMENT '会议计划结束时间',
`LOCATION` VARCHAR(255) NOT NULL COMMENT '会议地点',
`HOST` VARCHAR(10) NOT NULL COMMENT '主持人',
`CONFERENCE_METHOD` VARCHAR(20) DEFAULT '' COMMENT '会议方式',
`CONFERENCE_STATUS` VARCHAR(20) NOT NULL DEFAULT 'WAITING' COMMENT '会议状态',
`CREATE_USER` BIGINT(20) NOT NULL DEFAULT '-1' COMMENT '创建人',
`CREATE_DEPT` BIGINT(20) NOT NULL DEFAULT '-1' COMMENT '创建部门',
`CREATE_TIME` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`UPDATE_USER` BIGINT(20) DEFAULT '-1' COMMENT '更新人',
`UPDATE_TIME` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '最后更新时间',
`STATUS` INT(2) NOT NULL DEFAULT '1' COMMENT '状态',
`IS_DELETED` INT(2) NOT NULL DEFAULT '0' COMMENT '逻辑删除状态:0-未删除,1-删除',
PRIMARY KEY (`ID`) USING BTREE
) ENGINE=INNODB CHARACTER SET=UTF8MB4 COLLATE=UTF8MB4_GENERAL_CI COMMENT='会议计划表' ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `HZIMS_CONFERENCE_RECORD` (
`ID` BIGINT(20) NOT NULL COMMENT '主键ID',
`CONFERENCE_PLAN_ID` BIGINT(20) NOT NULL COMMENT '会议计划ID',
`CODE` VARCHAR(50) NOT NULL COMMENT '编号',
`PEOPLE_NAME` VARCHAR(5000) DEFAULT '' COMMENT '参会人员',
`ACTUAL_START_TIME` DATETIME DEFAULT NULL COMMENT '会议实际开始时间',
`ACTUAL_END_TIME` DATETIME DEFAULT NULL COMMENT '会议实际结束时间',
`RECORDER` VARCHAR(20) DEFAULT '' COMMENT '记录人',
`CONTENT` MEDIUMTEXT COMMENT '会议内容',
`IMG_PATH` VARCHAR(1000) NOT NULL DEFAULT '' COMMENT '会议图片',
`FILE_PATH` VARCHAR(1000) NOT NULL DEFAULT '' COMMENT '会议附件',
`CREATE_USER` BIGINT(20) NOT NULL DEFAULT '-1' COMMENT '创建人',
`CREATE_DEPT` BIGINT(20) NOT NULL DEFAULT '-1' COMMENT '创建部门',
`CREATE_TIME` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`UPDATE_USER` BIGINT(20) DEFAULT '-1' COMMENT '更新人',
`UPDATE_TIME` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '最后更新时间',
`STATUS` INT(2) NOT NULL DEFAULT '1' COMMENT '状态',
`IS_DELETED` INT(2) NOT NULL DEFAULT '0' COMMENT '逻辑删除状态:0-未删除,1-删除',
PRIMARY KEY (`ID`) USING BTREE
) ENGINE=INNODB CHARACTER SET=UTF8MB4 COLLATE=UTF8MB4_GENERAL_CI COMMENT='会议记录表' ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `HZIMS_HYGIENE_PLAN` (
`ID` BIGINT(20) NOT NULL COMMENT '主键ID',
`UNIT` VARCHAR(50) NOT NULL COMMENT '单位',
`NAME` VARCHAR(50) NOT NULL COMMENT '名称',
`STANDARD_SCORE` INT(10) NOT NULL DEFAULT '100' COMMENT '标准总分值',
`SCHEDULED_START_TIME` DATE NOT NULL COMMENT '计划开始时间',
`SCHEDULED_END_TIME` DATE NOT NULL COMMENT '计划结束时间',
`HYGIENE_PLAN_STATUS` VARCHAR(50) NOT NULL DEFAULT 'WAITING' COMMENT '自查计划状态',
`CREATE_USER` BIGINT(20) NOT NULL DEFAULT '-1' COMMENT '创建人',
`CREATE_DEPT` BIGINT(20) NOT NULL DEFAULT '-1' COMMENT '创建部门',
`CREATE_TIME` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`UPDATE_USER` BIGINT(20) DEFAULT '-1' COMMENT '更新人',
`UPDATE_TIME` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '最后更新时间',
`STATUS` INT(2) NOT NULL DEFAULT '1' COMMENT '状态',
`IS_DELETED` INT(2) NOT NULL DEFAULT '0' COMMENT '逻辑删除状态:0-未删除,1-删除',
PRIMARY KEY (`ID`) USING BTREE
) ENGINE=INNODB CHARACTER SET=UTF8MB4 COLLATE=UTF8MB4_GENERAL_CI COMMENT='卫生自查计划表' ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `HZIMS_HYGIENE_ZONE` (
`ID` BIGINT(20) NOT NULL COMMENT '主键ID',
`HYGIENE_PLAN_ID` BIGINT(20) NOT NULL COMMENT '卫生自查计划ID',
`ZONE` VARCHAR(50) NOT NULL COMMENT '责任区',
`PRINCIPAL` VARCHAR(20) NOT NULL COMMENT '责任人',
`CHECK_ITEM` MEDIUMTEXT NOT NULL COMMENT '检查项',
`CHECK_ITEM_SCORE` VARCHAR(255) NOT NULL COMMENT '检查项分值',
`CREATE_USER` BIGINT(20) NOT NULL DEFAULT '-1' COMMENT '创建人',
`CREATE_DEPT` BIGINT(20) NOT NULL DEFAULT '-1' COMMENT '创建部门',
`CREATE_TIME` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`UPDATE_USER` BIGINT(20) DEFAULT '-1' COMMENT '更新人',
`UPDATE_TIME` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '最后更新时间',
`STATUS` INT(2) NOT NULL DEFAULT '1' COMMENT '状态',
`IS_DELETED` INT(2) NOT NULL DEFAULT '0' COMMENT '逻辑删除状态:0-未删除,1-删除',
PRIMARY KEY (`ID`) USING BTREE
) ENGINE=INNODB CHARACTER SET=UTF8MB4 COLLATE=UTF8MB4_GENERAL_CI COMMENT='卫生自查区域表' ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `HZIMS_HYGIENE_RECORD` (
`ID` BIGINT(20) NOT NULL COMMENT '主键ID',
`HYGIENE_PLAN_ID` BIGINT(20) NOT NULL COMMENT '卫生自查计划ID',
`UNIT` VARCHAR(50) NOT NULL COMMENT '单位',
`CODE` VARCHAR(50) NOT NULL COMMENT '编号',
`ACTUAL_START_TIME` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '实际开始时间',
`ACTUAL_END_TIME` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '实际结束时间',
`CHECK_TIME` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '检查时间',
`CHECK_USER` VARCHAR(100) NOT NULL DEFAULT '' COMMENT '检查人',
`HYGIENE_ZONE_IDS` VARCHAR(1000) NOT NULL COMMENT '卫生自查区域ID',
`CHECK_RESULT` MEDIUMTEXT NOT NULL COMMENT '检查结果',
`COMPREHENSIVE_SCORE` VARCHAR(500) NOT NULL COMMENT '综合评分',
`WEEK_NUM` INT(10) NOT NULL COMMENT '周数',
`IMG_PATH` VARCHAR(1000) NOT NULL DEFAULT '' COMMENT '检查图片',
`CREATE_USER` BIGINT(20) NOT NULL DEFAULT '-1' COMMENT '创建人',
`CREATE_DEPT` BIGINT(20) NOT NULL DEFAULT '-1' COMMENT '创建部门',
`CREATE_TIME` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`UPDATE_USER` BIGINT(20) DEFAULT '-1' COMMENT '更新人',
`UPDATE_TIME` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '最后更新时间',
`STATUS` INT(2) NOT NULL DEFAULT '1' COMMENT '状态',
`IS_DELETED` INT(2) NOT NULL DEFAULT '0' COMMENT '逻辑删除状态:0-未删除,1-删除',
PRIMARY KEY (`ID`) USING BTREE
) ENGINE=INNODB CHARACTER SET=UTF8MB4 COLLATE=UTF8MB4_GENERAL_CI COMMENT='卫生自查记录表' ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `HZIMS_CAR` (
`ID` BIGINT(20) NOT NULL COMMENT '主键ID',
`UNIT` VARCHAR(50) NOT NULL COMMENT '单位',
`CAR_BRAND` VARCHAR(50) NOT NULL COMMENT '品牌',
`CAR_TYPE` VARCHAR(50) NOT NULL COMMENT '型号',
`PLATE_NUMBER` VARCHAR(50) NOT NULL COMMENT '车牌号',
`REGISTRATION_TIME` DATE NOT NULL COMMENT '上牌时间',
`INSURANCE_PAY_LAST_TIME` DATE DEFAULT NULL COMMENT '上期缴车保时间',
`INSURANCE_PAY_NEXT_TIME` DATE DEFAULT NULL COMMENT '下期缴车保时间',
`INSURANCE_STATUS` VARCHAR(50) NOT NULL DEFAULT 'UNINSURED' COMMENT '保险状态',
`LAST_ANNUAL_INSPECTION_TIME` DATE DEFAULT NULL COMMENT '上期年检时间',
`NEXT_ANNUAL_INSPECTION_TIME` DATE DEFAULT NULL COMMENT '下期年检时间',
`ANNUAL_INSPECTION_STATUS` VARCHAR(50) NOT NULL DEFAULT 'UNFINISHED' COMMENT '年检状态',
`MAINTENANCE_LAST_TIME` DATE DEFAULT NULL COMMENT '上期保养时间',
`MAINTENANCE_NEXT_TIME` DATE DEFAULT NULL COMMENT '下期保养时间',
`MAINTENANCE_MILEAGE` DECIMAL(10, 2) DEFAULT NULL COMMENT '保养里程',
`MAINTENANCE_STATUS` VARCHAR(50) NOT NULL DEFAULT 'UNMAINTAINED' COMMENT '保养状态',
`MANAGER_ID` BIGINT(20) DEFAULT NULL COMMENT '车辆管理人ID',
`MANAGER` VARCHAR(50) NOT NULL COMMENT '车辆管理人',
`IMG_PATH` VARCHAR(1000) NOT NULL DEFAULT '' COMMENT '车辆图片',
`FILE_PATH` VARCHAR(1000) NOT NULL DEFAULT '' COMMENT '车辆附件',
`CREATE_USER` BIGINT(20) NOT NULL DEFAULT '-1' COMMENT '创建人',
`CREATE_DEPT` BIGINT(20) NOT NULL DEFAULT '-1' COMMENT '创建部门',
`CREATE_TIME` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`UPDATE_USER` BIGINT(20) DEFAULT '-1' COMMENT '更新人',
`UPDATE_TIME` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '最后更新时间',
`STATUS` INT(2) NOT NULL DEFAULT '1' COMMENT '状态',
`IS_DELETED` INT(2) NOT NULL DEFAULT '0' COMMENT '逻辑删除状态:0-未删除,1-删除',
PRIMARY KEY (`ID`) USING BTREE
) ENGINE=INNODB CHARACTER SET=UTF8MB4 COLLATE=UTF8MB4_GENERAL_CI COMMENT='车辆台账表' ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `HZIMS_CAR_MAINTENANCE` (
`ID` BIGINT(20) NOT NULL COMMENT '主键ID',
`CAR_ID` BIGINT(20) NOT NULL COMMENT '车辆ID',
`CODE` VARCHAR(50) NOT NULL COMMENT '编号',
`MAINTENANCE_TYPE` VARCHAR(50) NOT NULL COMMENT '维保类型',
`CONTENT` MEDIUMTEXT NOT NULL COMMENT '维保内容',
`START_TIME` DATE NOT NULL COMMENT '维保开始时间',
`LOCATION` VARCHAR(255) NOT NULL COMMENT '维保地点',
`COST` BIGINT(20) NOT NULL COMMENT '维保费用',
`MAINTAINER` VARCHAR(20) NOT NULL COMMENT '维保人',
`MANAGER_ADVICE` VARCHAR(500) DEFAULT NULL COMMENT '车辆管理人意见',
`MAINTENANCE_STATUS` VARCHAR(50) DEFAULT NULL COMMENT '维保状态',
`CONFIRMATION_TIME` DATETIME DEFAULT NULL COMMENT '确认时间',
`IMG_PATH` VARCHAR(1000) NOT NULL DEFAULT '' COMMENT '维保图片',
`FILE_PATH` VARCHAR(1000) NOT NULL DEFAULT '' COMMENT '维保附件',
`CREATE_USER` BIGINT(20) NOT NULL DEFAULT '-1' COMMENT '创建人',
`CREATE_DEPT` BIGINT(20) NOT NULL DEFAULT '-1' COMMENT '创建部门',
`CREATE_TIME` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`UPDATE_USER` BIGINT(20) DEFAULT '-1' COMMENT '更新人',
`UPDATE_TIME` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '最后更新时间',
`STATUS` INT(2) NOT NULL DEFAULT '1' COMMENT '状态',
`IS_DELETED` INT(2) NOT NULL DEFAULT '0' COMMENT '逻辑删除状态:0-未删除,1-删除',
PRIMARY KEY (`ID`) USING BTREE
) ENGINE=INNODB CHARACTER SET=UTF8MB4 COLLATE=UTF8MB4_GENERAL_CI COMMENT='车辆维保记录表' ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `HZIMS_CAR_USED_RECORD` (
`ID` BIGINT(20) NOT NULL COMMENT '主键ID',
`CAR_ID` BIGINT(20) NOT NULL COMMENT '车辆ID',
`CODE` VARCHAR(50) NOT NULL COMMENT '编号',
`UNIT` VARCHAR(50) NOT NULL COMMENT '用车单位',
`USED_LOCATION` VARCHAR(255) NOT NULL COMMENT '使用地点',
`USER` VARCHAR(20) NOT NULL COMMENT '使用人',
`REMARK` MEDIUMTEXT COMMENT '使用详情',
`START_TIME` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '使用时间',
`END_TIME` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '收车时间',
`START_MILES` DECIMAL(10, 2) NOT NULL COMMENT '出车公里数',
`END_MILES` DECIMAL(10, 2) NOT NULL COMMENT '收车公里数',
`MILES` DECIMAL(10, 2) NOT NULL COMMENT '行驶公里数',
`USED_STATUS` VARCHAR(50) DEFAULT NULL COMMENT '用车状态',
`CONFIRMATION_TIME` DATETIME DEFAULT NULL COMMENT '确认时间',
`IMG_PATH` VARCHAR(1000) NOT NULL DEFAULT '' COMMENT '里程图片',
`CREATE_USER` BIGINT(20) NOT NULL DEFAULT '-1' COMMENT '创建人',
`CREATE_DEPT` BIGINT(20) NOT NULL DEFAULT '-1' COMMENT '创建部门',
`CREATE_TIME` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`UPDATE_USER` BIGINT(20) DEFAULT '-1' COMMENT '更新人',
`UPDATE_TIME` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '最后更新时间',
`STATUS` INT(2) NOT NULL DEFAULT '1' COMMENT '状态',
`IS_DELETED` INT(2) NOT NULL DEFAULT '0' COMMENT '逻辑删除状态:0-未删除,1-删除',
PRIMARY KEY (`ID`) USING BTREE
) ENGINE=INNODB CHARACTER SET=UTF8MB4 COLLATE=UTF8MB4_GENERAL_CI COMMENT='用车记录表' ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `HZIMS_CAR_CHECK_RECORD` (
`ID` BIGINT(20) NOT NULL COMMENT '主键ID',
`CAR_ID` BIGINT(20) NOT NULL COMMENT '车辆ID',
`CODE` VARCHAR(50) NOT NULL COMMENT '编号',
`CHECKER` VARCHAR(50) NOT NULL COMMENT '检查人',
`CHECK_TIME` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '检查时间',
`CONCLUSION` MEDIUMTEXT NOT NULL COMMENT '检查结论',
`REMARK` VARCHAR(500) NOT NULL DEFAULT '' COMMENT '填报备注',
`CREATE_USER` BIGINT(20) NOT NULL DEFAULT '-1' COMMENT '创建人',
`CREATE_DEPT` BIGINT(20) NOT NULL DEFAULT '-1' COMMENT '创建部门',
`CREATE_TIME` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`UPDATE_USER` BIGINT(20) DEFAULT '-1' COMMENT '更新人',
`UPDATE_TIME` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '最后更新时间',
`STATUS` INT(2) NOT NULL DEFAULT '1' COMMENT '状态',
`IS_DELETED` INT(2) NOT NULL DEFAULT '0' COMMENT '逻辑删除状态:0-未删除,1-删除',
PRIMARY KEY (`ID`) USING BTREE
) ENGINE=INNODB CHARACTER SET=UTF8MB4 COLLATE=UTF8MB4_GENERAL_CI COMMENT='车检记录表' ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `HZIMS_CAR_CHECK_ITEM` (
`ID` BIGINT(20) NOT NULL COMMENT '主键ID',
`CAR_CHECK_RECORD_ID` BIGINT(20) NOT NULL COMMENT '车检记录ID',
`CHECK_ITEM` VARCHAR(500) NOT NULL COMMENT '检查项目',
`CHECK_CONTENT` MEDIUMTEXT NOT NULL COMMENT '检查内容',
`CHECK_RESULT` MEDIUMTEXT NOT NULL COMMENT '检查结果',
`CREATE_USER` BIGINT(20) NOT NULL DEFAULT '-1' COMMENT '创建人',
`CREATE_DEPT` BIGINT(20) NOT NULL DEFAULT '-1' COMMENT '创建部门',
`CREATE_TIME` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`UPDATE_USER` BIGINT(20) DEFAULT '-1' COMMENT '更新人',
`UPDATE_TIME` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '最后更新时间',
`STATUS` INT(2) NOT NULL DEFAULT '1' COMMENT '状态',
`IS_DELETED` INT(2) NOT NULL DEFAULT '0' COMMENT '逻辑删除状态:0-未删除,1-删除',
PRIMARY KEY (`ID`) USING BTREE
) ENGINE=INNODB CHARACTER SET=UTF8MB4 COLLATE=UTF8MB4_GENERAL_CI COMMENT='车检项表' ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `HZIMS_CAR_ANNUAL_INSPECTION` (
`ID` BIGINT(20) NOT NULL COMMENT '主键ID',
`CAR_ID` BIGINT(20) NOT NULL COMMENT '车辆ID',
`CODE` VARCHAR(50) NOT NULL COMMENT '编号',
`ANNUAL_INSPECTION_TIME` DATE NOT NULL COMMENT '年检时间',
`NEXT_ANNUAL_INSPECTION_TIME` DATE NOT NULL COMMENT '下次年检时间',
`LOCATION` VARCHAR(255) NOT NULL DEFAULT '' COMMENT '年检地点',
`IMG_PATH` VARCHAR(1000) NOT NULL DEFAULT '' COMMENT '年检图片',
`CREATE_USER` BIGINT(20) NOT NULL DEFAULT '-1' COMMENT '创建人',
`CREATE_DEPT` BIGINT(20) NOT NULL DEFAULT '-1' COMMENT '创建部门',
`CREATE_TIME` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`UPDATE_USER` BIGINT(20) DEFAULT '-1' COMMENT '更新人',
`UPDATE_TIME` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '最后更新时间',
`STATUS` INT(2) NOT NULL DEFAULT '1' COMMENT '状态',
`IS_DELETED` INT(2) NOT NULL DEFAULT '0' COMMENT '逻辑删除状态:0-未删除,1-删除',
PRIMARY KEY (`ID`) USING BTREE
) ENGINE=INNODB CHARACTER SET=UTF8MB4 COLLATE=UTF8MB4_GENERAL_CI COMMENT='车辆年检记录表' ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `HZIMS_CAR_INSURANCE` (
`ID` BIGINT(20) NOT NULL COMMENT '主键ID',
`CAR_ID` BIGINT(20) NOT NULL COMMENT '车辆ID',
`CODE` VARCHAR(50) NOT NULL COMMENT '编号',
`INSURANCE_TIME` DATE NOT NULL COMMENT '车保时间',
`NEXT_INSURANCE_TIME` DATE NOT NULL COMMENT '下次车保时间',
`LOCATION` VARCHAR(255) NOT NULL DEFAULT '' COMMENT '车保地点',
`IMG_PATH` VARCHAR(1000) NOT NULL DEFAULT '' COMMENT '车保图片',
`CREATE_USER` BIGINT(20) NOT NULL DEFAULT '-1' COMMENT '创建人',
`CREATE_DEPT` BIGINT(20) NOT NULL DEFAULT '-1' COMMENT '创建部门',
`CREATE_TIME` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`UPDATE_USER` BIGINT(20) DEFAULT '-1' COMMENT '更新人',
`UPDATE_TIME` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '最后更新时间',
`STATUS` INT(2) NOT NULL DEFAULT '1' COMMENT '状态',
`IS_DELETED` INT(2) NOT NULL DEFAULT '0' COMMENT '逻辑删除状态:0-未删除,1-删除',
PRIMARY KEY (`ID`) USING BTREE
) ENGINE=INNODB CHARACTER SET=UTF8MB4 COLLATE=UTF8MB4_GENERAL_CI COMMENT='车保记录表' ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `HZIMS_DEVICE` (
`ID` BIGINT(20) NOT NULL COMMENT '主键ID',
`NAME` VARCHAR(50) NOT NULL COMMENT '设备名称',
`TYPE` VARCHAR(50) NOT NULL DEFAULT '' COMMENT '规格型号',
`CODE` VARCHAR(50) NOT NULL COMMENT '编码',
`QUALITY_CERTIFICATE_NO` VARCHAR(255) NOT NULL DEFAULT '' COMMENT '产品合格证号',
`PRODUCTION_TIME` DATE DEFAULT NULL COMMENT '生产日期',
`USED_TIME` DATE DEFAULT NULL COMMENT '使用日期',
`USED_LOCATION` VARCHAR(255) NOT NULL DEFAULT '' COMMENT '使用地点',
`INSPECTION_PERIOD` INT(10) DEFAULT NULL COMMENT '检验周期',
`INSPECTION_CURRENT_TIME` DATE DEFAULT NULL COMMENT '本次检验日期',
`INSPECTION_NEXT_TIME` DATE DEFAULT NULL COMMENT '下次检验日期',
`INSPECTION_LAST_TIME` DATE DEFAULT NULL COMMENT '上次检验日期',
`MANAGER_ID` BIGINT(20) DEFAULT NULL COMMENT '设备管理人ID',
`MANAGER` VARCHAR(50) NOT NULL DEFAULT '' COMMENT '设备管理人',
`DEVICE_STATUS` VARCHAR(20) NOT NULL DEFAULT 'EXPIRED' COMMENT '设备状态',
`CREATE_USER` BIGINT(20) NOT NULL DEFAULT '-1' COMMENT '创建人',
`CREATE_DEPT` BIGINT(20) NOT NULL DEFAULT '-1' COMMENT '创建部门',
`CREATE_TIME` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`UPDATE_USER` BIGINT(20) DEFAULT '-1' COMMENT '更新人',
`UPDATE_TIME` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '最后更新时间',
`STATUS` INT(2) NOT NULL DEFAULT '1' COMMENT '状态',
`IS_DELETED` INT(2) NOT NULL DEFAULT '0' COMMENT '逻辑删除状态:0-未删除,1-删除',
PRIMARY KEY (`ID`) USING BTREE
) ENGINE=INNODB CHARACTER SET=UTF8MB4 COLLATE=UTF8MB4_GENERAL_CI COMMENT='特种设备表' ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `HZIMS_DEVICE_INSPECTION` (
`ID` BIGINT(20) NOT NULL COMMENT '主键ID',
`DEVICE_ID` BIGINT(20) NOT NULL COMMENT '设备ID',
`INSPECTION_TIME` DATE NOT NULL COMMENT '设备检验时间',
`LAST_INSPECTION_TIME` DATE NOT NULL COMMENT '上次检验时间',
`NEXT_INSPECTION_TIME` DATE NOT NULL COMMENT '下次检验时间',
`LOCATION` VARCHAR(255) NOT NULL DEFAULT '' COMMENT '设备检验地点',
`IMG_PATH` VARCHAR(1000) NOT NULL DEFAULT '' COMMENT '设备检验图片',
`CREATE_USER` BIGINT(20) NOT NULL DEFAULT '-1' COMMENT '创建人',
`CREATE_DEPT` BIGINT(20) NOT NULL DEFAULT '-1' COMMENT '创建部门',
`CREATE_TIME` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`UPDATE_USER` BIGINT(20) DEFAULT '-1' COMMENT '更新人',
`UPDATE_TIME` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '最后更新时间',
`STATUS` INT(2) NOT NULL DEFAULT '1' COMMENT '状态',
`IS_DELETED` INT(2) NOT NULL DEFAULT '0' COMMENT '逻辑删除状态:0-未删除,1-删除',
PRIMARY KEY (`ID`) USING BTREE
) ENGINE=INNODB CHARACTER SET=UTF8MB4 COLLATE=UTF8MB4_GENERAL_CI COMMENT='特种设备表' ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `HZIMS_HAZARD_LIBRARY` (
`ID` BIGINT(20) NOT NULL,
`STATION_TYPE` TINYINT(4) NOT NULL COMMENT '站点类型',
`STATION_TYPE_NAME` VARCHAR(25) NOT NULL COMMENT '站点类型名称',
`NAME` VARCHAR(255) NOT NULL COMMENT '危险源名称',
`POSITION` VARCHAR(255) COMMENT '所在部位',
`DANGER_ELE` VARCHAR(255) NOT NULL COMMENT '危险因素',
`CAUSE` TEXT NOT NULL COMMENT '可能导致的事故',
`MEASURES` TEXT COMMENT '措施',
`LEVEL` TINYINT(4) NOT NULL COMMENT '风险等级',
`TYPE` TINYINT(4) NOT NULL COMMENT '危险源类型',
`STATUS` TINYINT(4) DEFAULT NULL COMMENT '业务状态',
`TENANT_ID` VARCHAR(12) NOT NULL COMMENT '租户ID',
`CREATE_DEPT` BIGINT(20) DEFAULT NULL COMMENT '创建单位',
`CREATE_USER` BIGINT(20) NOT NULL COMMENT '创建人',
`CREATE_TIME` DATETIME NOT NULL COMMENT '创建时间',
`UPDATE_USER` BIGINT(20) DEFAULT NULL COMMENT '修改人',
`UPDATE_TIME` DATETIME DEFAULT NULL COMMENT '修改时间',
`IS_DELETED` TINYINT(4) NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`) USING BTREE
) ENGINE=INNODB DEFAULT CHARSET=UTF8 COMMENT='危险源库';
ALTER TABLE `HZIMS_SAFE_DANGER_SOURCE` ADD COLUMN `REF_DEPT` BIGINT(20) NOT NULL COMMENT '所属机构';
ALTER TABLE `HZIMS_SAFE_DANGER_SOURCE` CHANGE COLUMN `REF_DEPT` `REF_DEPT` BIGINT(20) COMMENT '所属机构';
ALTER TABLE `HZIMS_SAFE_DANGER_SOURCE` ADD COLUMN `REF_DEPT_NAME` VARCHAR(100) COMMENT '所属机构名称';
ALTER TABLE `HZIMS_SAFE_DANGER_SOURCE` ADD COLUMN `LIBRARY_ID` BIGINT(20) COMMENT '危险源库ID';
ALTER TABLE `HZIMS_SAFE_DANGER_SOURCE` ADD COLUMN `EM_CODE` VARCHAR(50) COMMENT '设备编号';
ALTER TABLE `HZIMS_SAFE_DANGER_SOURCE` ADD COLUMN `EM_NAME` VARCHAR(100) COMMENT '设备名称';
-- 风险隐患排查字典
INSERT IGNORE 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 (1528555588564525057, 0, 'REVIEWSTANDARD', '-1', '评审标准', 6, '', 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1528555683292880897, 1528555588564525057, 'REVIEWSTANDARD', '1', '目标职责', 1, '', 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1528555739014209537, 1528555588564525057, 'REVIEWSTANDARD', '2', '制度化管理', 2, '', 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1528555790390239233, 1528555588564525057, 'REVIEWSTANDARD', '3', '教育培训', 3, '', 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1528555914126401538, 1528555588564525057, 'REVIEWSTANDARD', '4', '现场管理', 4, '', 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1528555992996093953, 1528555588564525057, 'REVIEWSTANDARD', '5', '安全风险管控及隐患排查治理', 5, '', 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1528556127964602370, 1528555588564525057, 'REVIEWSTANDARD', '6', '应急管理', 6, '', 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1528556183560101890, 1528555588564525057, 'REVIEWSTANDARD', '7', '事故管理', 7, '', 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1528556264795381761, 1528555588564525057, 'REVIEWSTANDARD', '8', '持续改进', 8, '', 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1531454728936071170, 0, 'STANDARDSTATUS', '-1', '电站安全标准状态', 7, '', 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1531454996817879042, 1531454728936071170, 'STANDARDSTATUS', '0', '草稿', 1, '', 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1531455057266188290, 1531454728936071170, 'STANDARDSTATUS', '1', '已提交', 2, '', 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1531455122147876865, 1531454728936071170, 'STANDARDSTATUS', '2', '已评审', 3, '', 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1531455234970460161, 1531454728936071170, 'STANDARDSTATUS', '3', '不通过', 4, '', 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1531958665853087745, 0, 'ACCIDENTTYPE', '-1', '事故类型', 20, '事故管理-事故类型', 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1531958809264730113, 1531958665853087745, 'ACCIDENTTYPE', '1', '一般质量事故', 1, '', 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1531958998432034818, 1531958665853087745, 'ACCIDENTTYPE', '2', '较大质量事故', 2, '', 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1531959051192184833, 1531958665853087745, 'ACCIDENTTYPE', '3', '重大质量事故', 3, '', 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1531959109291683842, 1531958665853087745, 'ACCIDENTTYPE', '4', '特大质量事故', 4, '', 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1704015701951483906, 0, 'HD_CHECK_TYPE', '-1', '隐患排查类型', 13, '', 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1704016050250682369, 1704015701951483906, 'HD_CHECK_TYPE', '1', '专项隐患排查', 1, '', 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1704016775433261057, 0, 'HD_CHECK_CYCLE', '-1', '隐患排查周期', 14, '', 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1704016894522134529, 1704016775433261057, 'HD_CHECK_CYCLE', '1', '每天一次', 1, '', 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1704016959059890177, 1704016775433261057, 'HD_CHECK_CYCLE', '2', '每周一次', 2, '', 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1704017012960890882, 1704016775433261057, 'HD_CHECK_CYCLE', '3', '每月一次', 3, '', 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1704017591875506177, 0, 'HD_PLAN_TYPE', '-1', '隐患计划类型', 15, '', 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1704017674230665217, 1704017591875506177, 'HD_PLAN_TYPE', '1', '定时计划', 1, '', 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1704017745496084482, 1704017591875506177, 'HD_PLAN_TYPE', '2', '临时计划', 2, '', 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1711657244147339266, 1704016775433261057, 'HD_CHECK_CYCLE', '4', '每季度一次', 4, '', 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1711657301072433154, 1704016775433261057, 'HD_CHECK_CYCLE', '5', '每年一次', 5, '', 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1810401848933404697, 0, 'INNER_DANGER_LEVEL', '-1', '隐患等级', 4, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1810401848933404895, 0, 'RECTIFIER_TYPE', '-1', '整改类型', 4, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1811421133117767366, 1810401848933404895, 'RECTIFIER_TYPE', '3', '限期整改', 5, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1811421133117767733, 1810401848933404895, 'RECTIFIER_TYPE', '2', '停产停业整改', 5, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1811421133117767756, 1810401848933404895, 'RECTIFIER_TYPE', '1', '立即整改', 5, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1811421133117767760, 1810401848933404697, 'INNER_DANGER_LEVEL', '3', '较大风险', 5, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1811421133117767777, 1810401848933404697, 'INNER_DANGER_LEVEL', '4', '重大风险', 5, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1811421133117767798, 1810401848933404697, 'INNER_DANGER_LEVEL', '1', '低风险', 5, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1811421133117767799, 1810401848933404697, 'INNER_DANGER_LEVEL', '2', '一般风险', 5, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1468129281301524482, 0, 'RISKLEVEL', '-1', '风险等级', 2, '', 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1468129396317728770, 1468129281301524482, 'RISKLEVEL', '10', '稍有危险', 1, '', 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1468129468874993665, 1468129281301524482, 'RISKLEVEL', '20', '一般危险', 2, '', 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1468129620985622530, 1468129281301524482, 'RISKLEVEL', '30', '显著危险', 3, '', 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1468129679554883585, 1468129281301524482, 'RISKLEVEL', '40', '高度危险', 4, '', 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1630129576354127811, 0, 'EVALUATE_METHOD', '-1', '评价方法', 3, NULL, 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1630129576354127822, 1630129576354127811, 'EVALUATE_METHOD', '1', 'LS', 2, NULL, 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1630129576354127823, 1630129576354127811, 'EVALUATE_METHOD', '2', 'LEC', 4, NULL, 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1701401848933404697, 0, 'HAZARD_LEVEL', '-1', '风险等级', 1, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1701414151353540610, 0, 'HIDDEN_DANGER_PROJECTS_TYPE', '-1', '风险隐患项目类别', 0, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1701414510251745282, 1701414151353540610, 'HIDDEN_DANGER_PROJECTS_TYPE', '01', '构(建)筑物类', 1, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1701414641034338305, 1701414151353540610, 'HIDDEN_DANGER_PROJECTS_TYPE', '02', '金属结构类', 2, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1701414730322681858, 1701414151353540610, 'HIDDEN_DANGER_PROJECTS_TYPE', '03', '设备设施类', 3, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1701414848933404673, 1701414151353540610, 'HIDDEN_DANGER_PROJECTS_TYPE', '04', '作业活动类', 4, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1701414913311776770, 1701414151353540610, 'HIDDEN_DANGER_PROJECTS_TYPE', '05', '管理类', 5, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1701414974804467714, 1701414151353540610, 'HIDDEN_DANGER_PROJECTS_TYPE', '06', '环境类', 6, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1702421133117767760, 1701401848933404697, 'HAZARD_LEVEL', '1', '低风险', 2, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1703421133117767777, 1701401848933404697, 'HAZARD_LEVEL', '2', '一般风险', 3, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1704421133117767798, 1701401848933404697, 'HAZARD_LEVEL', '3', '较大风险', 4, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1705421133117767799, 1701401848933404697, 'HAZARD_LEVEL', '4', '重大风险', 5, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1810401848933404671, 0, 'HAZARD_TYPE', '-1', '项目类别', 0, NULL, 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1810414848933404673, 0, 'HAZARD_STATION_TYPE', '-1', '站点分类', 0, NULL, 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1811421133117767702, 1810401848933404671, 'HAZARD_TYPE', '1', '构筑物类', 1, NULL, 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1812297148044677143, 1810401848933404671, 'HAZARD_TYPE', '2', '金属结构类', 2, NULL, 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1812297688044677144, 1810401848933404671, 'HAZARD_TYPE', '3', '设备设施类', 3, NULL, 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1812297688044677145, 1810401848933404671, 'HAZARD_TYPE', '4', '作业活动类', 4, NULL, 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1812297688044677146, 1810401848933404671, 'HAZARD_TYPE', '5', '管理类', 5, NULL, 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1812297688044677147, 1810401848933404671, 'HAZARD_TYPE', '6', '环境类', 6, NULL, 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1812414874722367716, 1810414848933404673, 'HAZARD_STATION_TYPE', '3', '水电站', 3, NULL, 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1812414974824267715, 1810414848933404673, 'HAZARD_STATION_TYPE', '2', '闸门', 1, NULL, 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1812414974824467714, 1810414848933404673, 'HAZARD_STATION_TYPE', '1', '水库', 2, NULL, 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1468129281301524482, 0, 'RISKLEVEL', '-1', '风险等级', 2, '', 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1468129396317728770, 1468129281301524482, 'RISKLEVEL', '10', '稍有危险', 1, '', 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1468129468874993665, 1468129281301524482, 'RISKLEVEL', '20', '一般危险', 2, '', 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1468129620985622530, 1468129281301524482, 'RISKLEVEL', '30', '显著危险', 3, '', 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1468129679554883585, 1468129281301524482, 'RISKLEVEL', '40', '高度危险', 4, '', 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1630129576354127811, 0, 'EVALUATE_METHOD', '-1', '评价方法', 3, NULL, 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1630129576354127822, 1630129576354127811, 'EVALUATE_METHOD', '1', 'LS', 2, NULL, 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1630129576354127823, 1630129576354127811, 'EVALUATE_METHOD', '2', 'LEC', 4, NULL, 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1701401848933404697, 0, 'HAZARD_LEVEL', '-1', '风险等级', 1, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1701414151353540610, 0, 'HIDDEN_DANGER_PROJECTS_TYPE', '-1', '风险隐患项目类别', 0, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1701414510251745282, 1701414151353540610, 'HIDDEN_DANGER_PROJECTS_TYPE', '01', '构(建)筑物类', 1, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1701414641034338305, 1701414151353540610, 'HIDDEN_DANGER_PROJECTS_TYPE', '02', '金属结构类', 2, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1701414730322681858, 1701414151353540610, 'HIDDEN_DANGER_PROJECTS_TYPE', '03', '设备设施类', 3, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1701414848933404673, 1701414151353540610, 'HIDDEN_DANGER_PROJECTS_TYPE', '04', '作业活动类', 4, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1701414913311776770, 1701414151353540610, 'HIDDEN_DANGER_PROJECTS_TYPE', '05', '管理类', 5, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1701414974804467714, 1701414151353540610, 'HIDDEN_DANGER_PROJECTS_TYPE', '06', '环境类', 6, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1702421133117767760, 1701401848933404697, 'HAZARD_LEVEL', '1', '低风险', 2, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1703421133117767777, 1701401848933404697, 'HAZARD_LEVEL', '2', '一般风险', 3, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1704421133117767798, 1701401848933404697, 'HAZARD_LEVEL', '3', '较大风险', 4, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1705421133117767799, 1701401848933404697, 'HAZARD_LEVEL', '4', '重大风险', 5, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1810401848933404671, 0, 'HAZARD_TYPE', '-1', '项目类别', 0, NULL, 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1810414848933404673, 0, 'HAZARD_STATION_TYPE', '-1', '站点分类', 0, NULL, 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1811421133117767702, 1810401848933404671, 'HAZARD_TYPE', '1', '构筑物类', 1, NULL, 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1812297148044677143, 1810401848933404671, 'HAZARD_TYPE', '2', '金属结构类', 2, NULL, 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1812297688044677144, 1810401848933404671, 'HAZARD_TYPE', '3', '设备设施类', 3, NULL, 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1812297688044677145, 1810401848933404671, 'HAZARD_TYPE', '4', '作业活动类', 4, NULL, 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1812297688044677146, 1810401848933404671, 'HAZARD_TYPE', '5', '管理类', 5, NULL, 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1812297688044677147, 1810401848933404671, 'HAZARD_TYPE', '6', '环境类', 6, NULL, 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1812414874722367716, 1810414848933404673, 'HAZARD_STATION_TYPE', '3', '水电站', 3, NULL, 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1812414974824267715, 1810414848933404673, 'HAZARD_STATION_TYPE', '2', '闸门', 1, NULL, 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1812414974824467714, 1810414848933404673, 'HAZARD_STATION_TYPE', '1', '水库', 2, NULL, 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1468129281301524482, 0, 'RISKLEVEL', '-1', '风险等级', 2, '', 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1468129396317728770, 1468129281301524482, 'RISKLEVEL', '10', '稍有危险', 1, '', 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1468129468874993665, 1468129281301524482, 'RISKLEVEL', '20', '一般危险', 2, '', 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1468129620985622530, 1468129281301524482, 'RISKLEVEL', '30', '显著危险', 3, '', 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1468129679554883585, 1468129281301524482, 'RISKLEVEL', '40', '高度危险', 4, '', 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1630129576354127811, 0, 'EVALUATE_METHOD', '-1', '评价方法', 3, NULL, 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1630129576354127822, 1630129576354127811, 'EVALUATE_METHOD', '1', 'LS', 2, NULL, 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1630129576354127823, 1630129576354127811, 'EVALUATE_METHOD', '2', 'LEC', 4, NULL, 0, 0, 0, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1701401848933404697, 0, 'HAZARD_LEVEL', '-1', '风险等级', 1, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1701414151353540610, 0, 'HIDDEN_DANGER_PROJECTS_TYPE', '-1', '风险隐患项目类别', 0, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1701414510251745282, 1701414151353540610, 'HIDDEN_DANGER_PROJECTS_TYPE', '01', '构(建)筑物类', 1, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1701414641034338305, 1701414151353540610, 'HIDDEN_DANGER_PROJECTS_TYPE', '02', '金属结构类', 2, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1701414730322681858, 1701414151353540610, 'HIDDEN_DANGER_PROJECTS_TYPE', '03', '设备设施类', 3, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1701414848933404673, 1701414151353540610, 'HIDDEN_DANGER_PROJECTS_TYPE', '04', '作业活动类', 4, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1701414913311776770, 1701414151353540610, 'HIDDEN_DANGER_PROJECTS_TYPE', '05', '管理类', 5, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1701414974804467714, 1701414151353540610, 'HIDDEN_DANGER_PROJECTS_TYPE', '06', '环境类', 6, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1702421133117767760, 1701401848933404697, 'HAZARD_LEVEL', '1', '低风险', 2, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1703421133117767777, 1701401848933404697, 'HAZARD_LEVEL', '2', '一般风险', 3, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1704421133117767798, 1701401848933404697, 'HAZARD_LEVEL', '3', '较大风险', 4, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1705421133117767799, 1701401848933404697, 'HAZARD_LEVEL', '4', '重大风险', 5, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1810401848933404671, 0, 'HAZARD_TYPE', '-1', '项目类别', 0, NULL, 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1810414848933404673, 0, 'HAZARD_STATION_TYPE', '-1', '站点分类', 0, NULL, 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1811421133117767702, 1810401848933404671, 'HAZARD_TYPE', '1', '构筑物类', 1, NULL, 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1812297148044677143, 1810401848933404671, 'HAZARD_TYPE', '2', '金属结构类', 2, NULL, 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1812297688044677144, 1810401848933404671, 'HAZARD_TYPE', '3', '设备设施类', 3, NULL, 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1812297688044677145, 1810401848933404671, 'HAZARD_TYPE', '4', '作业活动类', 4, NULL, 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1812297688044677146, 1810401848933404671, 'HAZARD_TYPE', '5', '管理类', 5, NULL, 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1812297688044677147, 1810401848933404671, 'HAZARD_TYPE', '6', '环境类', 6, NULL, 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1812414874722367716, 1810414848933404673, 'HAZARD_STATION_TYPE', '3', '水电站', 3, NULL, 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1812414974824267715, 1810414848933404673, 'HAZARD_STATION_TYPE', '2', '闸门', 1, NULL, 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1812414974824467714, 1810414848933404673, 'HAZARD_STATION_TYPE', '1', '水库', 2, NULL, 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1810401848933404699, 0, 'INNER_DANGER_TYPE', '-1', '隐患类别', 4, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1811421133117767766, 1810401848933404699, 'INNER_DANGER_TYPE', '1', '人的不安全行为', 5, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1811421133117767767, 1810401848933404699, 'INNER_DANGER_TYPE', '2', '环境的不安全行为', 5, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1811421133117767768, 1810401848933404699, 'INNER_DANGER_TYPE', '3', '物的不安全行为', 5, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1811421133117767769, 1810401848933404699, 'INNER_DANGER_TYPE', '4', '管理因素', 5, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
INSERT IGNORE 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 (1811421133117767770, 1810401848933404699, 'INNER_DANGER_TYPE', '5', '其他', 5, '', 0, 0, 1, -1, 'HZIMS_SAFEPRODUCT');
CREATE TABLE IF NOT EXISTS `HZIMS_INNER_DANGER_INFO` (
`ID` BIGINT(20) NOT NULL,
`CODE` VARCHAR(255) NOT NULL COMMENT '隐患编码',
`STATION_CODE` VARCHAR(255) DEFAULT NULL COMMENT '站点编码',
`PROCESS_INSTANCE_ID` VARCHAR(64) DEFAULT NULL COMMENT '流程实例',
`RISK_POINT_ID` VARCHAR(20) DEFAULT NULL COMMENT '风险点ID',
`RISK_POINT_NAME` VARCHAR(255) DEFAULT NULL COMMENT '风险点名称',
`INVESTIGATION` VARCHAR(255) DEFAULT NULL COMMENT '排查项目',
`RISK_POINT_TYPE` VARCHAR(255) DEFAULT NULL COMMENT '风险点类型',
`HIDDEN_DANGER_DEPT` BIGINT(20) DEFAULT NULL COMMENT '隐患责任部门',
`HIDDEN_DANGER_DEPT_NAME` VARCHAR(255) DEFAULT NULL COMMENT '隐患责任部门名称',
`HIDDEN_DANGER_ADDR` VARCHAR(255) DEFAULT NULL COMMENT '隐患地点',
`HIDDEN_DANGER_NAME` VARCHAR(255) DEFAULT NULL COMMENT '隐患名称',
`HIDDEN_DANGER_TYPE` VARCHAR(255) DEFAULT NULL COMMENT '隐患类别',
`HIDDEN_DANGER_PIC` VARCHAR(2048) DEFAULT NULL COMMENT '隐患照片地址',
`REGISTRANT` BIGINT(20) DEFAULT NULL COMMENT '登记人',
`REGISTRANT_NAME` VARCHAR(255) DEFAULT NULL COMMENT '登记人姓名',
`REGISTRANT_TIME` DATETIME DEFAULT NULL COMMENT '登记时间',
`CURRENT_LINK_HANDLER` VARCHAR(255) DEFAULT NULL COMMENT '当前环节处理人',
`CURRENT_OPERATOR` VARCHAR(255) DEFAULT NULL COMMENT '当前环节',
`JUDGE` BIGINT(20) DEFAULT NULL COMMENT '判定人',
`JUDGE_NAME` VARCHAR(255) DEFAULT NULL COMMENT '判定人姓名',
`JUDGE_RES` BIGINT(4) DEFAULT NULL COMMENT '判定结果(0不是隐患,1是隐患)',
`JUDGE_CONTEXT` VARCHAR(255) DEFAULT NULL COMMENT '判定内容',
`HIDDEN_DANGER_LEVEL` INT(4) DEFAULT NULL COMMENT '隐患等级(核查)(1.低风险;2一般风险;3较大风险;4重大风险)',
`CHECK_VIEW` VARCHAR(255) DEFAULT NULL COMMENT '核查意见',
`MEASURES` VARCHAR(255) DEFAULT NULL COMMENT '核查治理措施',
`CHECK_PEOPLE` BIGINT(20) DEFAULT NULL COMMENT '核查人',
`CHECK_PEOPLE_NAME` VARCHAR(255) DEFAULT NULL COMMENT '核查人姓名',
`CHECK_TIME` DATETIME DEFAULT NULL COMMENT '核查时间',
`RECTIFIER` BIGINT(20) DEFAULT NULL COMMENT '整改责任人',
`RECTIFIER_NAME` VARCHAR(255) DEFAULT NULL COMMENT '整改责任人姓名',
`RECTIFIER_DEPT` BIGINT(20) DEFAULT NULL COMMENT '整改责任部门ID',
`RECTIFIER_DEPT_NAME` VARCHAR(255) DEFAULT NULL COMMENT '整改责任部门名称',
`RECTIFIER_TYPE` TINYINT(4) DEFAULT NULL COMMENT '整改类型:1立即整改、2停产停业整改、3限期整改',
`DEAD_LINE` VARCHAR(255) DEFAULT NULL COMMENT '完成期限',
`RECTIFIER_ID` BIGINT(20) DEFAULT NULL COMMENT '整改通知单号',
`RECTIFIER_REASON` VARCHAR(255) DEFAULT NULL COMMENT '隐患存在原因',
`RECTIFIER_PIC` VARCHAR(4096) DEFAULT NULL COMMENT '治理后的效果图',
`RECTIFIER_TIME` DATETIME DEFAULT NULL COMMENT '反馈时间',
`CONCLUSION_RES` TINYINT(4) DEFAULT NULL COMMENT '验收结果(1完成,0未完成)',
`CONCLUSION_PEOPLE` BIGINT(20) DEFAULT NULL COMMENT '验收人',
`CONCLUSION_PEOPLE_NAME` VARCHAR(255) DEFAULT NULL COMMENT '验收人姓名',
`CONCLUSION_VIEW` VARCHAR(255) DEFAULT NULL COMMENT '验收意见',
`CONCLUSION_TIME` DATETIME DEFAULT NULL COMMENT '验收时间',
`TENANT_ID` VARCHAR(12) CHARACTER SET UTF8 DEFAULT NULL COMMENT '租户ID',
`CREATE_TIME` DATETIME NOT NULL COMMENT '创建时间',
`UPDATE_TIME` DATETIME DEFAULT NULL COMMENT '更新时间',
`CREATE_USER` BIGINT(20) DEFAULT NULL COMMENT '创建人',
`UPDATE_USER` BIGINT(20) DEFAULT NULL COMMENT '更新人',
`IS_DELETED` TINYINT(4) NOT NULL COMMENT '是否删除',
`STATUS` TINYINT(4) DEFAULT NULL COMMENT '状态 ',
`CREATE_DEPT` BIGINT(20) DEFAULT NULL COMMENT '创建部门',
`TASK_ID` VARCHAR(255) DEFAULT NULL COMMENT '任务ID',
PRIMARY KEY (`ID`) USING BTREE
) ENGINE=INNODB DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `HZIMS_RISK_HAZARD_CATEGORY` (
`ID` BIGINT(20) NOT NULL COMMENT '主键ID',
`STATION_TYPE` TINYINT(4) DEFAULT NULL COMMENT '站点类别 :闸门、水库',
`CATEGORY` TINYINT(4) DEFAULT NULL COMMENT '类别 :构筑物类、金属结构类、设备设施类',
`PERIL_POINT` VARCHAR(255) DEFAULT NULL COMMENT '危险点',
`STATUS` TINYINT(4) DEFAULT '0' COMMENT '状态',
`CREATE_DEPT` BIGINT(20) DEFAULT NULL COMMENT '创建机构',
`CREATE_USER` BIGINT(20) NOT NULL COMMENT '创建人',
`CREATE_TIME` DATETIME NOT NULL COMMENT '创建时间',
`UPDATE_USER` BIGINT(20) DEFAULT NULL COMMENT '修改人',
`UPDATE_TIME` DATETIME DEFAULT NULL COMMENT '修改时间',
`IS_DELETED` TINYINT(4) NOT NULL COMMENT '是否删除 1-删除 0-未删除',
`TENANT_ID` VARCHAR(12) CHARACTER SET UTF8 DEFAULT NULL COMMENT '租户ID',
PRIMARY KEY (`ID`) USING BTREE
) ENGINE=INNODB DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `HZIMS_HIDDEN_DANGER_PLAN` (
`ID` BIGINT(20) NOT NULL,
`PLAN_NAME` VARCHAR(50) NOT NULL COMMENT '计划名称',
`CHECK_TYPE` VARCHAR(2) DEFAULT NULL COMMENT '排查类型,字典:HD_CHECK_TYPE',
`CHECK_START_DATE` DATETIME NOT NULL COMMENT '排查日期(开始日期)',
`CHECK_END_DATE` DATETIME NOT NULL COMMENT '排查日期(结束日期)',
`CYCLE` VARCHAR(2) DEFAULT NULL COMMENT '排查周期,字典:HD_CHECK_CYCLE',
`CATEGORY_ID` BIGINT(20) NOT NULL COMMENT '风险点ID',
`CATEGORY_NAME` VARCHAR(50) DEFAULT NULL COMMENT '风险点名称',
`PLAN_TYPE` VARCHAR(50) NOT NULL COMMENT '计划类型:1为定时计划,2为临时计划,字典:HD_PLAN_TYPE',
`ENABLE` TINYINT(4) DEFAULT NULL COMMENT '是否启用:0为停用,1为启用',
`LAST_GENERATE_TASK_TIME` DATETIME DEFAULT NULL COMMENT '计划近期生成任务最后时间',
`STATUS` TINYINT(4) DEFAULT '1',
`TENANT_ID` VARCHAR(12) DEFAULT NULL,
`CREATE_DEPT` BIGINT(20) DEFAULT NULL,
`IS_DELETED` TINYINT(4) DEFAULT NULL,
`CREATE_USER` BIGINT(20) NOT NULL,
`CREATE_TIME` DATETIME NOT NULL,
`UPDATE_USER` BIGINT(20) DEFAULT NULL,
`UPDATE_TIME` DATETIME DEFAULT NULL,
`CHECK_USER_ID` BIGINT(20) DEFAULT NULL COMMENT '排查人员ID',
`NEXT_GENERATE_TASK_TIME` DATETIME DEFAULT NULL COMMENT '下一次任务生成时间',
`STATION_CODE` VARCHAR(20) NOT NULL DEFAULT '' COMMENT '站点编号',
PRIMARY KEY (`ID`) USING BTREE
) ENGINE=INNODB DEFAULT CHARSET=UTF8 ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `HZIMS_HIDDEN_DANGER_PLAN_ITEM` (
`ID` BIGINT(20) NOT NULL,
`PLAN_ID` BIGINT(20) NOT NULL COMMENT '隐患排查计划ID',
`AREA_ID` BIGINT(20) DEFAULT NULL COMMENT '区域/位置ID',
`AREA_NAME` VARCHAR(50) DEFAULT NULL COMMENT '区域/位置',
`CATEGORY_ID` BIGINT(20) DEFAULT NULL COMMENT '风险点ID',
`CATEGORY_NAME` VARCHAR(50) DEFAULT NULL COMMENT '风险点名称',
`RISK_TYPE` VARCHAR(50) DEFAULT NULL COMMENT '风险点类型',
`CHECK_ITEM_ID` BIGINT(20) DEFAULT NULL COMMENT '检查项ID',
`CHECK_ITEM_NAME` VARCHAR(50) NOT NULL COMMENT '检查项',
`STATUS` TINYINT(4) DEFAULT NULL,
`TENANT_ID` VARCHAR(12) DEFAULT NULL,
`CREATE_DEPT` BIGINT(20) DEFAULT NULL,
`IS_DELETED` TINYINT(4) DEFAULT NULL,
`CREATE_USER` BIGINT(20) NOT NULL,
`CREATE_TIME` DATETIME NOT NULL,
`UPDATE_USER` BIGINT(20) DEFAULT NULL,
`UPDATE_TIME` DATETIME DEFAULT NULL,
`ACCIDENT_INCENTIVE` VARCHAR(255) DEFAULT NULL COMMENT '事故诱因',
`CAUSE_CONSEQUENCE` VARCHAR(255) DEFAULT NULL COMMENT '导致后果',
PRIMARY KEY (`ID`) USING BTREE
) ENGINE=INNODB DEFAULT CHARSET=UTF8 ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `HZIMS_RISK_HAZARD_ESTIMATE` (
`ID` BIGINT(20) NOT NULL COMMENT '主键ID',
`TASK_ID` BIGINT(20) DEFAULT NULL COMMENT '风险任务排查ID',
`CATEGORY_ID` BIGINT(20) DEFAULT NULL COMMENT '风险点ID',
`LEVEL_ID` BIGINT(20) DEFAULT NULL COMMENT '风险等级ID',
`LEVEL_DESC` VARCHAR(255) DEFAULT NULL COMMENT '等级描述',
`SOURCE_ID` BIGINT(20) DEFAULT NULL COMMENT '危险源ID',
`HAZARD_NAME` VARCHAR(255) DEFAULT NULL COMMENT '危险源',
`ACCIDENT_INCENTIVE` VARCHAR(1024) DEFAULT NULL COMMENT '事故诱因',
`CAUSE_CONSEQUENCE` VARCHAR(1024) DEFAULT NULL COMMENT '导致后果',
`EVALUATION_METHOD` TINYINT(4) DEFAULT NULL COMMENT '评价方法 :LS、LEC',
`L_VALUE` DOUBLE(10,2) DEFAULT NULL COMMENT 'L值',
`E_VALUE` DOUBLE(10,2) DEFAULT NULL COMMENT 'E值',
`C_S_VALUE` DOUBLE(10,2) DEFAULT NULL COMMENT 'C/S值',
`R_D_VALUE` DOUBLE(10,2) DEFAULT NULL COMMENT 'R/D计算值',
`LEVEL` TINYINT(4) DEFAULT NULL COMMENT '风险等级',
`RECTIFICATION_DESC` VARCHAR(1024) DEFAULT NULL COMMENT '整改描述',
`RECTIFICATION_ATTACHMENT` VARCHAR(1024) DEFAULT NULL COMMENT '整改附件',
`STATUS` TINYINT(4) DEFAULT '0' COMMENT '状态',
`CREATE_DEPT` BIGINT(20) DEFAULT NULL COMMENT '创建机构',
`CREATE_USER` BIGINT(20) NOT NULL COMMENT '创建人',
`CREATE_TIME` DATETIME NOT NULL COMMENT '创建时间',
`UPDATE_USER` BIGINT(20) DEFAULT NULL COMMENT '修改人',
`UPDATE_TIME` DATETIME DEFAULT NULL COMMENT '修改时间',
`IS_DELETED` TINYINT(4) NOT NULL COMMENT '是否删除 1-删除 0-未删除',
`TENANT_ID` VARCHAR(12) CHARACTER SET UTF8 DEFAULT NULL COMMENT '租户ID',
PRIMARY KEY (`ID`) USING BTREE
) ENGINE=INNODB DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `HZIMS_RISK_HAZARD_LEVEL` (
`ID` BIGINT(20) NOT NULL COMMENT '主键ID',
`CATEGORY_ID` BIGINT(20) DEFAULT NULL COMMENT '风险点编号',
`SOURCE_ID` BIGINT(20) DEFAULT NULL COMMENT '危险源编号',
`HAZARD_NAME` VARCHAR(255) DEFAULT NULL COMMENT '危险源名称',
`R_MAX_VALUE` DOUBLE(10,2) DEFAULT NULL COMMENT 'R值上限值',
`R_MIN_VALUE` DOUBLE(10,2) DEFAULT NULL COMMENT 'R值下限值',
`RISK` TINYINT(4) DEFAULT NULL COMMENT '危险程度 : 极其危险、高度危险、中度危险、轻度危险',
`RISK_LEVEL` TINYINT(4) DEFAULT NULL COMMENT '风险等级 : 重大风险、较大风险、一般风险、低风险',
`COLOUR` TINYINT(4) DEFAULT NULL COMMENT '颜色标识 : 红、橙、黄、蓝',
`STATUS` TINYINT(4) DEFAULT '0' COMMENT '状态',
`CREATE_DEPT` BIGINT(20) DEFAULT NULL COMMENT '创建机构',
`CREATE_USER` BIGINT(20) NOT NULL COMMENT '创建人',
`CREATE_TIME` DATETIME NOT NULL COMMENT '创建时间',
`UPDATE_USER` BIGINT(20) DEFAULT NULL COMMENT '修改人',
`UPDATE_TIME` DATETIME DEFAULT NULL COMMENT '修改时间',
`IS_DELETED` TINYINT(4) NOT NULL COMMENT '是否删除 1-删除 0-未删除',
`TENANT_ID` VARCHAR(12) CHARACTER SET UTF8 DEFAULT NULL COMMENT '租户ID',
PRIMARY KEY (`ID`) USING BTREE
) ENGINE=INNODB DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `HZIMS_RISK_HAZARD_SOURCE` (
`ID` BIGINT(20) NOT NULL COMMENT '主键ID',
`CATEGORY_ID` BIGINT(20) DEFAULT NULL COMMENT '危险源项目类别ID',
`HAZARD_NAME` VARCHAR(255) DEFAULT NULL COMMENT '危险源',
`ACCIDENT_INCENTIVE` VARCHAR(1024) DEFAULT NULL COMMENT '事故诱因',
`CAUSE_CONSEQUENCE` VARCHAR(1024) DEFAULT NULL COMMENT '导致后果',
`EVALUATION_METHOD` TINYINT(4) DEFAULT NULL COMMENT '评价方法 :LS、LEC',
`L_UP_LIMIT` DOUBLE(10,2) DEFAULT NULL COMMENT 'L上限值',
`L_DOWN_LIMIT` DOUBLE(10,2) DEFAULT NULL COMMENT 'L下限值',
`E_UP_LIMIT` DOUBLE(10,2) DEFAULT NULL COMMENT 'E上限值',
`E_DOWN_LIMIT` DOUBLE(10,2) DEFAULT NULL COMMENT 'E下限值',
`C_S_UP_LIMIT` DOUBLE(10,2) DEFAULT NULL COMMENT 'C/S上限值',
`C_S_DOWN_LIMIT` DOUBLE(10,2) DEFAULT NULL COMMENT 'C/S下限值',
`STATUS` TINYINT(4) DEFAULT NULL COMMENT '状态',
`CREATE_DEPT` BIGINT(20) DEFAULT NULL COMMENT '创建机构',
`CREATE_USER` BIGINT(20) NOT NULL COMMENT '创建人',
`CREATE_TIME` DATETIME NOT NULL COMMENT '创建时间',
`UPDATE_USER` BIGINT(20) DEFAULT NULL COMMENT '修改人',
`UPDATE_TIME` DATETIME DEFAULT NULL COMMENT '修改时间',
`IS_DELETED` TINYINT(4) NOT NULL COMMENT '是否删除 1-删除 0-未删除',
`TENANT_ID` VARCHAR(12) CHARACTER SET UTF8 DEFAULT NULL COMMENT '租户ID',
PRIMARY KEY (`ID`) USING BTREE
) ENGINE=INNODB DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `HZIMS_RISK_HAZARD_TASK` (
`ID` BIGINT(20) NOT NULL COMMENT '主键ID',
`PROCESS_INSTANCE_ID` VARCHAR(64) CHARACTER SET UTF8 DEFAULT '' COMMENT '工作流实例',
`STATION_CODE` VARCHAR(64) DEFAULT NULL COMMENT '站点编码',
`STATION_NAME` VARCHAR(255) DEFAULT NULL COMMENT '站点名称',
`TASK_NAME` VARCHAR(255) DEFAULT NULL COMMENT '任务名称',
`WORK_ID` BIGINT(20) DEFAULT NULL COMMENT '作业区域',
`HEAD` BIGINT(20) DEFAULT NULL COMMENT '任务排查负责人',
`PLAN_START_TIME` DATETIME DEFAULT NULL COMMENT '排查任务计划开始时间',
`PLAN_END_TIME` DATETIME DEFAULT NULL COMMENT '排查任务计划完成时间',
`ACT_START_TIME` DATETIME DEFAULT NULL COMMENT '任务实际开始时间',
`ACT_END_TIME` DATETIME DEFAULT NULL COMMENT '任务实际完成时间',
`PROCESS_STEPS` VARCHAR(500) DEFAULT NULL COMMENT '流程步骤名称',
`NEXT_STEP_OPERATOR` VARCHAR(255) DEFAULT NULL COMMENT '流程步骤人员名称',
`STATUS` TINYINT(4) DEFAULT '0' COMMENT '状态',
`CREATE_DEPT` BIGINT(20) DEFAULT NULL COMMENT '创建机构',
`CREATE_USER` BIGINT(20) NOT NULL COMMENT '创建人',
`CREATE_TIME` DATETIME NOT NULL COMMENT '创建时间',
`UPDATE_USER` BIGINT(20) DEFAULT NULL COMMENT '修改人',
`UPDATE_TIME` DATETIME DEFAULT NULL COMMENT '修改时间',
`IS_DELETED` TINYINT(4) NOT NULL COMMENT '是否删除 1-删除 0-未删除',
`TENANT_ID` VARCHAR(12) CHARACTER SET UTF8 DEFAULT NULL COMMENT '租户ID',
PRIMARY KEY (`ID`) USING BTREE
) ENGINE=INNODB DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `HZIMS_RISK_HAZARD_WORK` (
`ID` BIGINT(20) NOT NULL COMMENT '主键ID',
`STATION_CODE` VARCHAR(64) DEFAULT NULL COMMENT '站点编码',
`STATION_NAME` VARCHAR(612) DEFAULT NULL COMMENT '站点名称',
`REGION_NAME` VARCHAR(255) DEFAULT NULL COMMENT '作业区域名称',
`LONGITUDE` DOUBLE(15,6) DEFAULT NULL COMMENT '经度',
`LATITUDE` DOUBLE(15,6) DEFAULT NULL COMMENT '纬度',
`HEAD` BIGINT(20) DEFAULT NULL COMMENT '负责人',
`REGULATOR` VARCHAR(64) DEFAULT NULL COMMENT '监管部门',
`MANAGE` BIGINT(20) DEFAULT NULL COMMENT '分管领导',
`STATUS` TINYINT(4) DEFAULT '0' COMMENT '状态',
`CREATE_DEPT` BIGINT(20) DEFAULT NULL COMMENT '创建机构',
`CREATE_USER` BIGINT(20) NOT NULL COMMENT '创建人',
`CREATE_TIME` DATETIME NOT NULL COMMENT '创建时间',
`UPDATE_USER` BIGINT(20) DEFAULT NULL COMMENT '修改人',
`UPDATE_TIME` DATETIME DEFAULT NULL COMMENT '修改时间',
`IS_DELETED` TINYINT(4) NOT NULL COMMENT '是否删除 1-删除 0-未删除',
`TENANT_ID` VARCHAR(12) CHARACTER SET UTF8 DEFAULT NULL COMMENT '租户ID',
PRIMARY KEY (`ID`) USING BTREE
) ENGINE=INNODB DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `HZIMS_RISK_WORK_SOURCE_CORRELATION` (
`ID` BIGINT(20) NOT NULL COMMENT '主键ID',
`WORK_ID` BIGINT(20) DEFAULT NULL COMMENT '作业区域ID',
`CATEGORY_ID` BIGINT(20) DEFAULT NULL COMMENT '风险点ID',
`SOURCE_ID` BIGINT(20) DEFAULT NULL COMMENT '危险源ID',
`STATUS` TINYINT(4) DEFAULT '0' COMMENT '状态',
`CREATE_DEPT` BIGINT(20) DEFAULT NULL COMMENT '创建机构',
`CREATE_USER` BIGINT(20) NOT NULL COMMENT '创建人',
`CREATE_TIME` DATETIME NOT NULL COMMENT '创建时间',
`UPDATE_USER` BIGINT(20) DEFAULT NULL COMMENT '修改人',
`UPDATE_TIME` DATETIME DEFAULT NULL COMMENT '修改时间',
`IS_DELETED` TINYINT(4) NOT NULL COMMENT '是否删除 1-删除 0-未删除',
`TENANT_ID` VARCHAR(12) CHARACTER SET UTF8 DEFAULT NULL COMMENT '租户ID',
PRIMARY KEY (`ID`) USING BTREE
) ENGINE=INNODB DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `HZIMS_SAFE_CHECK_COMPANY` (
`ID` BIGINT(20) NOT NULL,
`TENANT_ID` VARCHAR(12) NOT NULL COMMENT '租户ID',
`START_TIME` DATETIME DEFAULT NULL COMMENT '开始时间',
`END_TIME` DATETIME DEFAULT NULL COMMENT '结束时间',
`PROBLEM` TEXT COMMENT '检查问题补充',
`ORG_ID` VARCHAR(500) DEFAULT NULL COMMENT '检查机构',
`STATUS` TINYINT(4) DEFAULT NULL COMMENT '业务状态',
`CREATE_DEPT` BIGINT(20) DEFAULT NULL COMMENT '创建单位',
`CREATE_USER` BIGINT(20) NOT NULL COMMENT '创建人',
`CREATE_TIME` DATETIME NOT NULL COMMENT '创建时间',
`UPDATE_USER` BIGINT(20) DEFAULT NULL COMMENT '修改人',
`UPDATE_TIME` DATETIME DEFAULT NULL COMMENT '修改时间',
`IS_DELETED` TINYINT(4) NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`) USING BTREE
) ENGINE=INNODB DEFAULT CHARSET=UTF8 ROW_FORMAT=DYNAMIC COMMENT='公司检查';
CREATE TABLE IF NOT EXISTS `HZIMS_SAFE_CHECK_ITEM` (
`ID` BIGINT(20) NOT NULL,
`TENANT_ID` VARCHAR(12) NOT NULL COMMENT '租户ID',
`PARENT_ITEM` BIGINT(20) DEFAULT NULL COMMENT '父级检查项',
`ITEM` VARCHAR(255) DEFAULT NULL COMMENT '检查项',
`TOTAL_SCORE` DOUBLE(5,1) DEFAULT NULL COMMENT '总分',
`SORT` VARCHAR(20) DEFAULT NULL COMMENT '排序',
`FIXED` TINYINT(4) DEFAULT NULL COMMENT '是否为固定检查项',
`STATUS` TINYINT(4) DEFAULT NULL COMMENT '业务状态(启用/停用)',
`CREATE_DEPT` BIGINT(20) DEFAULT NULL COMMENT '创建单位',
`CREATE_USER` BIGINT(20) NOT NULL COMMENT '创建人',
`CREATE_TIME` DATETIME NOT NULL COMMENT '创建时间',
`UPDATE_USER` BIGINT(20) DEFAULT NULL COMMENT '修改人',
`UPDATE_TIME` DATETIME DEFAULT NULL COMMENT '修改时间',
`IS_DELETED` TINYINT(4) NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`) USING BTREE
) ENGINE=INNODB DEFAULT CHARSET=UTF8 ROW_FORMAT=DYNAMIC COMMENT='检查项管理';
CREATE TABLE IF NOT EXISTS `HZIMS_SAFE_CHECK_ITEM_INSTANCE` (
`ID` BIGINT(20) NOT NULL,
`TENANT_ID` VARCHAR(12) NOT NULL COMMENT '租户ID',
`OID` BIGINT(20) DEFAULT NULL COMMENT '原始ID,用于维持父子结构',
`PARENT_ITEM` BIGINT(20) DEFAULT NULL COMMENT '父级检查项',
`ITEM` VARCHAR(255) DEFAULT NULL COMMENT '检查项',
`TOTAL_SCORE` DOUBLE(5,1) DEFAULT NULL COMMENT '总分',
`SORT` VARCHAR(20) DEFAULT NULL COMMENT '排序',
`SYSTEM_SITUATION` VARCHAR(800) DEFAULT NULL COMMENT '系统检查情况',
`SITUATION` VARCHAR(800) DEFAULT NULL COMMENT '检查情况',
`SCORE` DOUBLE(5,1) DEFAULT NULL COMMENT '评分',
`CHECK_ID` BIGINT(20) DEFAULT NULL COMMENT '检查ID',
`ORG_ID` BIGINT(20) DEFAULT NULL COMMENT '机构ID',
`FIXED` TINYINT(4) DEFAULT NULL COMMENT '是否为固定检查项',
`STATUS` TINYINT(4) DEFAULT NULL COMMENT '业务状态',
`CREATE_DEPT` BIGINT(20) DEFAULT NULL COMMENT '创建单位',
`CREATE_USER` BIGINT(20) NOT NULL COMMENT '创建人',
`CREATE_TIME` DATETIME NOT NULL COMMENT '创建时间',
`UPDATE_USER` BIGINT(20) DEFAULT NULL COMMENT '修改人',
`UPDATE_TIME` DATETIME DEFAULT NULL COMMENT '修改时间',
`IS_DELETED` TINYINT(4) NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`) USING BTREE
) ENGINE=INNODB DEFAULT CHARSET=UTF8 ROW_FORMAT=DYNAMIC COMMENT='检查项实例';
CREATE TABLE IF NOT EXISTS `HZIMS_HIDDEN_DANGER_TASK` (
`ID` BIGINT(20) NOT NULL,
`PLAN_ID` BIGINT(20) NOT NULL COMMENT '隐患排查计划ID',
`PLAN_NAME` VARCHAR(50) NOT NULL COMMENT '计划名称',
`CATEGORY_ID` BIGINT(20) NOT NULL COMMENT '风险点ID',
`CATEGORY_NAME` VARCHAR(50) DEFAULT NULL COMMENT '风险点名称',
`PLAN_TYPE` VARCHAR(50) NOT NULL COMMENT '计划类型:1为定时计划,2为临时计划,字典:HD_PLAN_TYPE',
`CYCLE` VARCHAR(2) DEFAULT NULL COMMENT '排查周期,字典:HD_CHECK_CYCLE',
`START_TIME` DATETIME NOT NULL COMMENT '开始时间',
`END_TIME` DATETIME NOT NULL COMMENT '结束时间',
`PROCESS_INSTANCE_ID` VARCHAR(50) DEFAULT NULL COMMENT '流程ID',
`CHECK_USER_ID` BIGINT(20) NOT NULL COMMENT '排查人员ID',
`STATUS` TINYINT(4) DEFAULT NULL,
`TENANT_ID` VARCHAR(12) DEFAULT NULL,
`CREATE_DEPT` BIGINT(20) DEFAULT NULL,
`IS_DELETED` TINYINT(4) DEFAULT NULL,
`CREATE_USER` BIGINT(20) NOT NULL,
`CREATE_TIME` DATETIME NOT NULL,
`UPDATE_USER` BIGINT(20) DEFAULT NULL,
`UPDATE_TIME` DATETIME DEFAULT NULL,
`STATION_CODE` VARCHAR(20) NOT NULL DEFAULT '' COMMENT '站点编号',
`CATEGORY_TYPE` TINYINT(2) DEFAULT NULL COMMENT '风险点类别',
PRIMARY KEY (`ID`) USING BTREE
) ENGINE=INNODB DEFAULT CHARSET=UTF8 ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `HZIMS_HIDDEN_DANGER_TASK_ITEM` (
`ID` BIGINT(20) NOT NULL,
`TASK_ID` BIGINT(20) NOT NULL COMMENT '隐患排查任务ID',
`CATEGORY_ID` BIGINT(20) DEFAULT NULL COMMENT '风险点ID',
`CATEGORY_NAME` VARCHAR(50) DEFAULT NULL COMMENT '风险点名称',
`RISK_TYPE` VARCHAR(50) DEFAULT NULL COMMENT '风险点类型',
`CHECK_ITEM_ID` BIGINT(20) DEFAULT NULL COMMENT '检查项ID',
`CHECK_ITEM_NAME` VARCHAR(50) NOT NULL COMMENT '检查项',
`AREA_ID` BIGINT(20) DEFAULT NULL COMMENT '区域/位置ID',
`AREA_NAME` VARCHAR(50) DEFAULT NULL COMMENT '区域/位置',
`CHECK_USER_ID` BIGINT(20) DEFAULT NULL COMMENT '排查人ID',
`CHECK_TIME` DATETIME DEFAULT NULL COMMENT '排查时间',
`ACCIDENT_INCENTIVE` VARCHAR(255) DEFAULT NULL COMMENT '事故诱因',
`CAUSE_CONSEQUENCE` VARCHAR(255) DEFAULT NULL COMMENT '导致后果',
`STATUS` TINYINT(4) DEFAULT NULL,
`TENANT_ID` VARCHAR(12) DEFAULT NULL,
`CREATE_DEPT` BIGINT(20) DEFAULT NULL,
`IS_DELETED` TINYINT(4) DEFAULT NULL,
`CREATE_USER` BIGINT(20) NOT NULL,
`CREATE_TIME` DATETIME NOT NULL,
`UPDATE_USER` BIGINT(20) DEFAULT NULL,
`UPDATE_TIME` DATETIME DEFAULT NULL,
`REMARK` VARCHAR(255) DEFAULT NULL COMMENT '排查备注',
`ATTACHMENT` VARCHAR(255) DEFAULT NULL COMMENT '上传附件',
PRIMARY KEY (`ID`) USING BTREE
) ENGINE=INNODB DEFAULT CHARSET=UTF8 ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `HZIMS_RISK_ESTIMATE` (
`ID` BIGINT(20) NOT NULL COMMENT '主键ID',
`STATION_CODE` VARCHAR(64) DEFAULT NULL COMMENT '站点编码',
`STATION_NAME` VARCHAR(255) DEFAULT NULL COMMENT '站点名称',
`STATION_TYPE` TINYINT(4) DEFAULT NULL COMMENT '站点类别 :闸门、水库',
`ESTIMATE_YEAR` VARCHAR(10) DEFAULT NULL COMMENT '风险评估年度',
`STATUS` TINYINT(4) DEFAULT '0' COMMENT '状态',
`CREATE_DEPT` BIGINT(20) DEFAULT NULL COMMENT '创建机构',
`CREATE_USER` BIGINT(20) NOT NULL COMMENT '创建人',
`CREATE_TIME` DATETIME NOT NULL COMMENT '创建时间',
`UPDATE_USER` BIGINT(20) DEFAULT NULL COMMENT '修改人',
`UPDATE_TIME` DATETIME DEFAULT NULL COMMENT '修改时间',
`IS_DELETED` TINYINT(4) NOT NULL COMMENT '是否删除 1-删除 0-未删除',
`TENANT_ID` VARCHAR(12) CHARACTER SET UTF8 DEFAULT NULL COMMENT '租户ID',
PRIMARY KEY (`ID`) USING BTREE
) ENGINE=INNODB DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `HZIMS_RISK_ESTIMATE_POINT` (
`ID` BIGINT(20) NOT NULL COMMENT '主键ID',
`ESTIMATE_ID` BIGINT(20) DEFAULT NULL COMMENT '风险评估ID',
`CATEGORY_ID` BIGINT(20) DEFAULT NULL COMMENT '风险点ID',
`CATEGORY` TINYINT(4) DEFAULT NULL COMMENT '风险点类别',
`PERIL_POINT` VARCHAR(255) DEFAULT NULL COMMENT '危险点',
`LEVEL_ID` BIGINT(20) DEFAULT NULL COMMENT '风险等级ID',
`LEVEL_DESC` VARCHAR(255) DEFAULT NULL COMMENT '等级描述',
`SOURCE_ID` BIGINT(20) DEFAULT NULL COMMENT '危险源ID',
`HAZARD_NAME` VARCHAR(255) DEFAULT NULL COMMENT '危险源',
`ACCIDENT_INCENTIVE` VARCHAR(1024) DEFAULT NULL COMMENT '事故诱因',
`CAUSE_CONSEQUENCE` VARCHAR(1024) DEFAULT NULL COMMENT '导致后果',
`EVALUATION_METHOD` TINYINT(4) DEFAULT NULL COMMENT '评价方法 :LS、LEC',
`L_UP_LIMIT` DOUBLE(10,2) DEFAULT NULL COMMENT 'L上限值',
`L_DOWN_LIMIT` DOUBLE(10,2) DEFAULT NULL COMMENT 'L下限值',
`E_UP_LIMIT` DOUBLE(10,2) DEFAULT NULL COMMENT 'E上限值',
`E_DOWN_LIMIT` DOUBLE(10,2) DEFAULT NULL COMMENT 'E下限值',
`C_S_UP_LIMIT` DOUBLE(10,2) DEFAULT NULL COMMENT 'C/S上限值',
`C_S_DOWN_LIMIT` DOUBLE(10,2) DEFAULT NULL COMMENT 'C/S下限值',
`L_VALUE` DOUBLE(10,2) DEFAULT NULL COMMENT 'L值',
`E_VALUE` DOUBLE(10,2) DEFAULT NULL COMMENT 'E值',
`C_S_VALUE` DOUBLE(10,2) DEFAULT NULL COMMENT 'C/S值',
`R_D_VALUE` DOUBLE(10,2) DEFAULT NULL COMMENT 'R/D计算值',
`LEVEL` TINYINT(4) DEFAULT NULL COMMENT '风险等级',
`STATUS` TINYINT(4) DEFAULT '0' COMMENT '状态',
`CREATE_DEPT` BIGINT(20) DEFAULT NULL COMMENT '创建机构',
`CREATE_USER` BIGINT(20) NOT NULL COMMENT '创建人',
`CREATE_TIME` DATETIME NOT NULL COMMENT '创建时间',
`UPDATE_USER` BIGINT(20) DEFAULT NULL COMMENT '修改人',
`UPDATE_TIME` DATETIME DEFAULT NULL COMMENT '修改时间',
`IS_DELETED` TINYINT(4) NOT NULL COMMENT '是否删除 1-删除 0-未删除',
`TENANT_ID` VARCHAR(12) CHARACTER SET UTF8 DEFAULT NULL COMMENT '租户ID',
PRIMARY KEY (`ID`) USING BTREE
) ENGINE=INNODB DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `HZIMS_RISK_CHECK` (
`ID` BIGINT(20) NOT NULL,
`CATEGORY_ID` BIGINT(20) NOT NULL COMMENT '风险点ID',
`CATEGORY_NAME` VARCHAR(50) NOT NULL COMMENT '风险点名称',
`CHECK_ITEM` VARCHAR(255) NOT NULL COMMENT '检查项',
`STATUS` TINYINT(4) DEFAULT NULL,
`TENANT_ID` VARCHAR(12) DEFAULT NULL,
`CREATE_DEPT` BIGINT(20) DEFAULT NULL,
`IS_DELETED` TINYINT(4) DEFAULT NULL,
`CREATE_USER` BIGINT(20) NOT NULL,
`CREATE_TIME` DATETIME NOT NULL,
`UPDATE_USER` BIGINT(20) DEFAULT NULL,
`UPDATE_TIME` DATETIME DEFAULT NULL,
`TYPE` VARCHAR(2) DEFAULT NULL COMMENT '排查项类型',
PRIMARY KEY (`ID`) USING BTREE
) ENGINE=INNODB DEFAULT CHARSET=UTF8 ROW_FORMAT=DYNAMIC;
-- 电站安全标准附件字段长度限制
ALTER TABLE HZIMS_REVIEW MODIFY COLUMN FILE_NAME VARCHAR(2048) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '附件文件名称' AFTER REVIEW_TIME;
ALTER TABLE HZIMS_REVIEW MODIFY COLUMN FILE_URL VARCHAR(1024) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '附件文件URL' AFTER FILE_NAME;