diff --git a/hzims-service-api/alarm-api/src/main/java/com/hnac/hzims/alarm/config/entity/AlarmHandleEntity.java b/hzims-service-api/alarm-api/src/main/java/com/hnac/hzims/alarm/config/entity/AlarmHandleEntity.java index 6bcdb09..fda07e8 100644 --- a/hzims-service-api/alarm-api/src/main/java/com/hnac/hzims/alarm/config/entity/AlarmHandleEntity.java +++ b/hzims-service-api/alarm-api/src/main/java/com/hnac/hzims/alarm/config/entity/AlarmHandleEntity.java @@ -1,5 +1,6 @@ package com.hnac.hzims.alarm.config.entity; +import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; @@ -39,7 +40,4 @@ public class AlarmHandleEntity extends BaseEntity { @ApiModelProperty("处理方式") private Long handleWay; - - @ApiModelProperty("处理详情ID") - private Long detailId; } diff --git a/hzims-service/equipment/src/main/resources/db/1.0.0.sql b/hzims-service/equipment/src/main/resources/db/1.0.0.sql index 3321415..8d1b707 100644 --- a/hzims-service/equipment/src/main/resources/db/1.0.0.sql +++ b/hzims-service/equipment/src/main/resources/db/1.0.0.sql @@ -1,89 +1,771 @@ -SET FOREIGN_KEY_CHECKS=0; - -CREATE TABLE `equipment`.`hzims_em_association` ( - `ID` bigint(20) NOT NULL COMMENT '主键Id', - `EM_ID` bigint(20) NULL DEFAULT NULL COMMENT '设备Id', - `FDP_EM_ID` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'FDP设备Id', - `FDP_EM_NAME` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'PDF设备名称', - `TENANT_ID` varchar(12) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '租户ID', - `CREATE_TIME` datetime NULL DEFAULT NULL COMMENT '创建时间', - `UPDATE_TIME` datetime NULL DEFAULT NULL COMMENT '更新时间', - `CREATE_USER` bigint(64) NULL DEFAULT NULL COMMENT '创建人', - `UPDATE_USER` bigint(64) NULL DEFAULT NULL COMMENT '修改人', - `CREATE_DEPT` bigint(64) NULL DEFAULT NULL COMMENT '创建部门', - `STATUS` int(2) NULL DEFAULT 0 COMMENT '状态', - `IS_DELETED` int(2) NULL DEFAULT 0 COMMENT '是否已删除: 0、否; 1、是', - PRIMARY KEY (`ID`) USING BTREE -) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '设备关联表' ROW_FORMAT = Dynamic; - -CREATE TABLE `equipment`.`hzims_em_association_detail` ( - `PID` bigint(20) NOT NULL COMMENT '父id', - `ID` bigint(20) NOT NULL COMMENT '主键Id', - `EM_POINT_ID` bigint(20) NOT NULL COMMENT '设备点Id', - `FDP_EM_POINT_ID` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'FDP点Id', - `FDP_EM_POINT_NAME` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'FDP监测点名称', - `FDP_EM_POINT_ORD` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'FDP监测点位置', - `PRO_TYPE` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '属性类型:yc、yx、soe', - `TENANT_ID` varchar(12) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '租户ID', - `CREATE_TIME` datetime NULL DEFAULT NULL COMMENT '创建时间', - `UPDATE_TIME` datetime NULL DEFAULT NULL COMMENT '更新时间', - `CREATE_USER` bigint(64) NULL DEFAULT NULL COMMENT '创建人', - `UPDATE_USER` bigint(64) NULL DEFAULT NULL COMMENT '修改人', - `CREATE_DEPT` bigint(64) NULL DEFAULT NULL COMMENT '创建部门', - `STATUS` int(2) NULL DEFAULT 0 COMMENT '状态', - `IS_DELETED` int(2) NULL DEFAULT 0 COMMENT '是否已删除: 0、否; 1、是', - PRIMARY KEY (`ID`) USING BTREE -) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '设备关联明细表' ROW_FORMAT = Dynamic; - -ALTER TABLE `equipment`.`hzims_em_info` ADD COLUMN `em_index` tinyint(4) NULL DEFAULT NULL COMMENT '设备序号' AFTER `CREATE_DEPT`; - -ALTER TABLE `equipment`.`hzims_em_info` ADD COLUMN `DEVICE_INSTANCE_ID` bigint(20) NULL DEFAULT NULL COMMENT '设备实例化Id' AFTER `em_index`; - -ALTER TABLE `equipment`.`hzims_em_info` ADD COLUMN `em_type` varchar(2) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '设备类型' AFTER `DEVICE_INSTANCE_ID`; - -ALTER TABLE `equipment`.`hzims_em_info` ADD COLUMN `set_type` varchar(2) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '机组类型' AFTER `em_type`; - -ALTER TABLE `equipment`.`hzims_em_info` MODIFY COLUMN `NUMBER` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '设备编号' AFTER `ID`; - -ALTER TABLE `equipment`.`hzims_em_info` MODIFY COLUMN `HOME_PAGE_DISPLAY` char(2) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '0' COMMENT '首页展示' AFTER `LINKER_PHONE`; - -ALTER TABLE `equipment`.`hzims_em_info` MODIFY COLUMN `GRADE_CODE` varchar(2) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '设备等级' AFTER `MANAGER`; - -ALTER TABLE `equipment`.`hzims_em_info` MODIFY COLUMN `RUN_STATUS` varchar(2) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '2' COMMENT '运行状态' AFTER `INS_LOCATION`; - -CREATE TABLE `equipment`.`hzims_workshop_equipment` ( - `ID` bigint(20) NOT NULL COMMENT '主键ID', - `WORKSHOP_ID` bigint(20) NOT NULL COMMENT '厂房ID', - `WORKSHOP_NAME` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '厂房名称', - `EM_ID` bigint(20) NOT NULL COMMENT '设备ID', - `EM_NAME` varchar(100) 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 '状态 0-启用 1-停用', - `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; - -CREATE ALGORITHM = UNDEFINED DEFINER = `root`@`%` SQL SECURITY DEFINER VIEW `equipment`.`v_hzims_fdp_fualt` AS (select `t1`.`ID` AS `ID`,`t1`.`FDP_ID` AS `FDP_ID`,`t1`.`NAME` AS `NAME`,`t1`.`INFO` AS `INFO`,`t1`.`EM_CODE` AS `EM_CODE`,`t1`.`DETECTABILITY` AS `DETECTABILITY`,`t1`.`SEVERITY` AS `SEVERITY`,`t1`.`FDP_DEVICE_ID` AS `FDP_DEVICE_ID`,`t1`.`FDP_DEVICE_NAME` AS `FDP_DEVICE_NAME`,`t1`.`ORD` AS `ORD`,`t1`.`DISPLAY` AS `DISPLAY`,`t1`.`TENANT_ID` AS `TENANT_ID`,`t1`.`CREATE_TIME` AS `CREATE_TIME`,`t1`.`UPDATE_TIME` AS `UPDATE_TIME`,`t1`.`CREATE_USER` AS `CREATE_USER`,`t1`.`UPDATE_USER` AS `UPDATE_USER`,`t1`.`IS_DELETED` AS `IS_DELETED`,`t1`.`STATUS` AS `STATUS`,`t1`.`CREATE_DEPT` AS `CREATE_DEPT`,`t2`.`FAULT_AMOUNT` AS `FAULT_AMOUNT` from (`equipment`.`hzims_fdp_fault` `t1` join (select `t`.`NAME` AS `name`,count(`t`.`NAME`) AS `FAULT_AMOUNT` from `equipment`.`hzims_fdp_fault` `t` group by `t`.`NAME` order by count(`t`.`NAME`) desc) `t2`) where (`t1`.`NAME` = `t2`.`name`) order by `t2`.`FAULT_AMOUNT` desc); - -SET FOREIGN_KEY_CHECKS=1; - --- 设备信息字典添加 -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 (1633016108671905794, 0, 'deviceType', '-1', '设备类型', 10, '', 0, 0, 0, -1, 'hzims-equipment'); -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 (1633016255816478722, 1633016108671905794, 'deviceType', '1', '公用', 1, '', 0, 0, 0, -1, 'hzims-equipment'); -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 (1633016338171637761, 1633016108671905794, 'deviceType', '2', '机组', 2, '', 0, 0, 0, -1, 'hzims-equipment'); -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 (1638000391480205313, 1633016338171637761, 'deviceType', '3', '立式机组', 1, '', 0, 1, 0, -1, 'hzims-equipment'); -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 (1638000491426275330, 1633016338171637761, 'deviceType', '4', '卧式机组', 2, '', 0, 1, 0, -1, 'hzims-equipment'); -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 (1638000590814502914, 1633016338171637761, 'deviceType', '5', '灯泡贯流式', 3, '', 0, 1, 0, -1, 'hzims-equipment'); -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 (1638020338327543810, 1633016108671905794, 'deviceType', '3', '其他', 3, '', 0, 0, 0, -1, 'hzims-equipment'); - -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 (1638020560906674177, 0, 'setType', '-1', '机组类型', 7, '', 0, 0, 0, -1, 'hzims-equipment'); -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 (1638020669019054082, 1638020560906674177, 'setType', '1', '立式机组', 1, '', 0, 0, 0, -1, 'hzims-equipment'); -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 (1638020767178350594, 1638020560906674177, 'setType', '2', '卧式机组', 2, '', 0, 0, 0, -1, 'hzims-equipment'); -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 (1638020840851300353, 1638020560906674177, 'setType', '3', '其他', 3, '', 0, 1, 0, -1, 'hzims-equipment'); -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 (1645258692320387074, 1638020560906674177, 'setType', '3', '灯泡贯流式机组', 3, '', 0, 0, 0, -1, 'hzims-equipment'); -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 (1645258829365075970, 1638020560906674177, 'setType', '4', '其他', 4, '', 0, 0, 0, -1, 'hzims-equipment'); +-- ---------------------------- +-- TABLE STRUCTURE FOR BLADE_MODULE_VERSION +-- ---------------------------- +DROP TABLE IF EXISTS `BLADE_MODULE_VERSION`; +CREATE TABLE `BLADE_MODULE_VERSION` ( + `MODULE_NAME` VARCHAR(64) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL, + `VERSION` VARCHAR(8) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL, + `HISTORY` VARCHAR(300) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL, + PRIMARY KEY (`MODULE_NAME`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZ_IMS_PLAN_GENERATION +-- ---------------------------- +DROP TABLE IF EXISTS `HZ_IMS_PLAN_GENERATION`; +CREATE TABLE `HZ_IMS_PLAN_GENERATION` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键', + `TENANT_ID` VARCHAR(30) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '租户ID', + `STATION_ID` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '站点ID', + `STATION_DEPT_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '站点所属机构ID', + `PLAN_GENERATION` FLOAT NULL DEFAULT NULL COMMENT '计划发电量', + `PRACTICAL_GENERATION` FLOAT NULL DEFAULT NULL COMMENT '实际发电量', + `DATE_TIME` VARCHAR(20) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '日期时间', + `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 COMMENT = '站点计划发电量' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_EM_ASSOCIATION +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_EM_ASSOCIATION`; +CREATE TABLE `HZIMS_EM_ASSOCIATION` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `EM_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '设备ID', + `FDP_EM_ID` VARCHAR(64) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT 'FDP设备ID', + `FDP_EM_NAME` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT 'PDF设备名称', + `TENANT_ID` VARCHAR(12) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '租户ID', + `CREATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '创建时间', + `UPDATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '更新时间', + `CREATE_USER` BIGINT(64) NULL DEFAULT NULL COMMENT '创建人', + `UPDATE_USER` BIGINT(64) NULL DEFAULT NULL COMMENT '修改人', + `CREATE_DEPT` BIGINT(64) NULL DEFAULT NULL COMMENT '创建部门', + `STATUS` INT(2) NULL DEFAULT 0 COMMENT '状态', + `IS_DELETED` INT(2) NULL DEFAULT 0 COMMENT '是否已删除: 0、否; 1、是', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '设备关联表' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_EM_ASSOCIATION_DETAIL +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_EM_ASSOCIATION_DETAIL`; +CREATE TABLE `HZIMS_EM_ASSOCIATION_DETAIL` ( + `PID` BIGINT(20) NOT NULL COMMENT '父ID', + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `EM_POINT_ID` BIGINT(20) NOT NULL COMMENT '设备点ID', + `FDP_EM_POINT_ID` VARCHAR(64) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT 'FDP点ID', + `FDP_EM_POINT_NAME` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT 'FDP监测点名称', + `FDP_EM_POINT_ORD` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT 'FDP监测点位置', + `PRO_TYPE` VARCHAR(10) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '属性类型:YC、YX、SOE', + `TENANT_ID` VARCHAR(12) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '租户ID', + `CREATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '创建时间', + `UPDATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '更新时间', + `CREATE_USER` BIGINT(64) NULL DEFAULT NULL COMMENT '创建人', + `UPDATE_USER` BIGINT(64) NULL DEFAULT NULL COMMENT '修改人', + `CREATE_DEPT` BIGINT(64) NULL DEFAULT NULL COMMENT '创建部门', + `STATUS` INT(2) NULL DEFAULT 0 COMMENT '状态', + `IS_DELETED` INT(2) NULL DEFAULT 0 COMMENT '是否已删除: 0、否; 1、是', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '设备关联明细表' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_EM_ATTACH +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_EM_ATTACH`; +CREATE TABLE `HZIMS_EM_ATTACH` ( + `ID` BIGINT(20) NOT NULL AUTO_INCREMENT COMMENT '主键ID', + `TENANT_ID` VARCHAR(12) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '租户ID', + `EM_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '设备ID', + `FILE_LINK` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '文件路径,HTTP路径', + `FILE_NAME` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '文件名称', + `FILE_TYPE` TINYINT(4) NULL DEFAULT NULL COMMENT '文件类型(01 标准规范 02 技术规范 03)', + `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 AUTO_INCREMENT = 3 CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '设备附件表(1对多)一个设备可以有多个附件' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_EM_DEFINITION +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_EM_DEFINITION`; +CREATE TABLE `HZIMS_EM_DEFINITION` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `STATION_TYPE` VARCHAR(2) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '站点类型', + `TYPE` VARCHAR(2) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '类型', + `NAME` VARCHAR(80) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '设备定义名称', + `MODEL_SIGNAGE` VARCHAR(64) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '模型标识', + `MODEL_NAME` VARCHAR(64) 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 DEFAULT 0 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 COMMENT = '设备定义表' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_EM_INFO +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_EM_INFO`; +CREATE TABLE `HZIMS_EM_INFO` ( + `GPID` BIGINT(20) NOT NULL DEFAULT 0 COMMENT '父ID', + `REF_OREANIZATION` BIGINT(20) NULL DEFAULT NULL COMMENT '所属组织', + `REF_MODEL_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '所属母版', + `MODEL_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '设备模型ID来源于数据平台的设备模型作为设备类型', + `INSTANCE_ID` BIGINT(32) NULL DEFAULT NULL COMMENT '实例ID', + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `NUMBER` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT '设备编号', + `NAME` VARCHAR(80) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '设备名称', + `MANUFACUTURER` VARCHAR(200) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '生产厂家', + `LINKER_NAME` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '名称', + `LINKER_POSITION` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '职位', + `LINKER_PHONE` VARCHAR(20) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '手机号码', + `HOME_PAGE_DISPLAY` CHAR(2) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT '1' COMMENT '首页展示', + `MODEL` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '型号', + `DEPARTMENT` BIGINT(20) NULL DEFAULT NULL COMMENT '设备负责部门', + `MANAGER` BIGINT(20) NULL DEFAULT NULL COMMENT '设备负责人', + `GRADE_CODE` VARCHAR(2) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '设备等级', + `INSTALL_TIME` DATETIME NULL DEFAULT NULL COMMENT '安装时间', + `INS_LOCATION` VARCHAR(150) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '安装位置', + `RUN_STATUS` VARCHAR(2) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT '2' COMMENT '运行状态', + `RUN_DATE` DATETIME NULL DEFAULT NULL COMMENT '投运时间', + `REF_PROJECT` VARCHAR(200) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '所属项目', + `PROJECT_NAME` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '项目联系人', + `PROJECT_PHONE` VARCHAR(20) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '项目联系方式', + `LGTD` DECIMAL(13, 10) NULL DEFAULT NULL COMMENT '经度(东经)', + `LTTD` DECIMAL(12, 10) NULL DEFAULT NULL COMMENT '纬度(北纬)', + `PARTS` TEXT CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL COMMENT '主要部件及附属设备', + `DESCRIPITON` LONGTEXT CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI 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 '创建部门', + `EM_INDEX` TINYINT(4) NULL DEFAULT NULL COMMENT '设备序号', + `DEVICE_INSTANCE_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '设备实例化ID', + `EM_TYPE` VARCHAR(2) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '设备类型', + `SET_TYPE` VARCHAR(2) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '机组类型', + `TREE_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '设备树ID', + `PATH` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '设备编号路径', + `EM_GRADE` INT(2) NULL DEFAULT 0 COMMENT '设备等级', + `MODEL_SIGNAGE` VARCHAR(64) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '模型标识', + `STATION_CODE` VARCHAR(200) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '站点编号', + `LAST_DISTRIBUTE_TIME` DATETIME NULL DEFAULT NULL COMMENT '最后下发时间', + `SET_CATEGORY` VARCHAR(2) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '机组类别', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '设备信息来源于固定资产,初始导入后需要完善设备的组织信息,设备负责管理信息,设备投入时间、主要部件及附属设备,设备的安装' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_EM_LINKMAN +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_EM_LINKMAN`; +CREATE TABLE `HZIMS_EM_LINKMAN` ( + `ID` BIGINT(20) NOT NULL AUTO_INCREMENT COMMENT '主键ID', + `SOURCE_ID` CHAR(10) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '源ID', + `NAME` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '名称', + `POSITION` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '职位', + `PHONE` VARCHAR(20) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '手机号码', + `REMARK` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '备注', + `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 AUTO_INCREMENT = 1 CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '联系人' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_EM_MANUFACUTURER +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_EM_MANUFACUTURER`; +CREATE TABLE `HZIMS_EM_MANUFACUTURER` ( + `ID` BIGINT(20) NOT NULL AUTO_INCREMENT COMMENT '主键ID', + `NAME` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '名称', + `STAGE` BIGINT(20) NULL DEFAULT NULL COMMENT '等级', + `ADDRESS` CHAR(10) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL, + `URL` CHAR(10) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL, + `PHONE` CHAR(10) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL, + `REMARK` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '备注', + `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 AUTO_INCREMENT = 1 CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '生产厂家' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_EM_MODEL +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_EM_MODEL`; +CREATE TABLE `HZIMS_EM_MODEL` ( + `GPID` BIGINT(20) NULL DEFAULT NULL COMMENT '父ID', + `ID` BIGINT(20) NOT NULL AUTO_INCREMENT COMMENT '主键ID', + `MODEL_NAME` VARCHAR(200) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '母版名称(默认为设备模型名)', + `NAME` VARCHAR(80) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '设备名称', + `TYPE` TINYINT(4) NULL DEFAULT NULL COMMENT '母版类型', + `MODEL_ID` VARCHAR(200) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '设备模型ID来源于数据平台的设备模型作为设备类型', + `INSTANCE_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '设备实例ID来源于数据平台的设备实例作为设备类型', + `MANUFACUTURER` VARCHAR(200) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '生产厂家', + `LINKER_NAME` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '名称', + `LINKER_POSITION` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '职位', + `LINKER_PHONE` VARCHAR(20) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '手机号码', + `MODEL` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '型号', + `PARTS` VARCHAR(200) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '主要部件及附属设备', + `REF_OREANIZATION` BIGINT(20) NULL DEFAULT NULL COMMENT '所属组织', + `RUN_STATUS` VARCHAR(2) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '运行状态(备用)', + `DESCRIPITON` LONGTEXT CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL COMMENT '描述', + `DEPARTMENT` BIGINT(20) NULL DEFAULT NULL COMMENT '设备负责部门', + `MANAGER` BIGINT(20) NULL DEFAULT NULL COMMENT '设备负责人', + `GRADE_CODE` VARCHAR(2) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '设备等级(01:一类设备,02:二类设备,03:三类设备)', + `REF_PROJECT` VARCHAR(200) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '所属项目', + `PROJECT_NAME` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '项目联系人', + `PROJECT_PHONE` VARCHAR(20) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '项目联系方式', + `RUN_DATE` DATETIME NULL DEFAULT NULL COMMENT '投运时间', + `INSTALL_TIME` DATETIME NULL DEFAULT NULL COMMENT '安装时间', + `INS_LOCATION` VARCHAR(150) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '设备安装位置', + `LGTD` DECIMAL(13, 10) NULL DEFAULT NULL COMMENT '经度(东经)', + `LTTD` DECIMAL(12, 10) 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 AUTO_INCREMENT = 1750851108558913538 CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '设备母版,设备母版为两类,一类为自定义母版,一类为系统母版' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_EM_MODEL_PARAM +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_EM_MODEL_PARAM`; +CREATE TABLE `HZIMS_EM_MODEL_PARAM` ( + `ID` BIGINT(20) NOT NULL AUTO_INCREMENT COMMENT '主键ID', + `MODEL_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '设备ID', + `PARAM_NAME` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '参数名称', + `SORT` INT(11) NULL DEFAULT NULL COMMENT '排序', + `PARAM_VALUE` VARCHAR(200) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '参数值', + `UNIT` VARCHAR(40) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '单位', + `DESCRIPTION` VARCHAR(100) 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 AUTO_INCREMENT = 1750851108600856579 CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '设备母版参数' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_EM_OREANIZATION +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_EM_OREANIZATION`; +CREATE TABLE `HZIMS_EM_OREANIZATION` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `PID` BIGINT(20) NULL DEFAULT 0 COMMENT '父组织', + `NAME` VARCHAR(20) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '名称', + `TYPE_CODE` INT(11) NULL DEFAULT NULL COMMENT '类型(客户、电站、大坝)', + `SORT` INT(11) UNSIGNED NOT NULL AUTO_INCREMENT, + `REMARK` VARCHAR(500) 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, + INDEX `SORT`(`SORT`) USING BTREE +) ENGINE = INNODB AUTO_INCREMENT = 374 CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '设备组织' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_EM_PARAM +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_EM_PARAM`; +CREATE TABLE `HZIMS_EM_PARAM` ( + `ID` BIGINT(20) NOT NULL AUTO_INCREMENT COMMENT '主键ID', + `INFO_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '设备ID', + `PARAM_NAME` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '参数名称', + `SORT` INT(11) NULL DEFAULT NULL COMMENT '排序', + `PARAM_VALUE` VARCHAR(200) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '参数值', + `UNIT` VARCHAR(40) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '单位', + `DESCRIPTION` VARCHAR(100) 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 '创建部门', + `NAME` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '参数名称', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = INNODB AUTO_INCREMENT = 1754669786123493379 CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '设备参数类型' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_EM_REAL_ID_ERROR +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_EM_REAL_ID_ERROR`; +CREATE TABLE `HZIMS_EM_REAL_ID_ERROR` ( + `ID` BIGINT(30) NOT NULL COMMENT '主键', + `INSTANCE_ID` BIGINT(30) NULL DEFAULT NULL COMMENT '实例ID', + `INSTANCE_PRO_ID` BIGINT(30) NULL DEFAULT NULL COMMENT '实例属性ID', + `INSTANCE_PRO_NAME` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '实例属性名称', + `TYPE` INT(2) NULL DEFAULT NULL COMMENT '类型', + `ERROR_REAL_ID` VARCHAR(30) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '错误REALID', + `ERROR_INFO` VARCHAR(500) 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_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 '状态:0未解决、1已解决', + `IS_DELETED` INT(2) NULL DEFAULT 0 COMMENT '是否已删除: 0、否; 1、是', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = 'REALID错误信息表' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_EM_TREE +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_EM_TREE`; +CREATE TABLE `HZIMS_EM_TREE` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `DEFINITION_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '设备定义ID', + `PID` BIGINT(20) NULL DEFAULT 0 COMMENT '父ID', + `PATH` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '设备树标识路径', + `GRADE_CODE` VARCHAR(2) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '设备类别', + `EM_TYPE` VARCHAR(2) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '设备类型', + `SET_TYPE` VARCHAR(2) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '机组类型', + `NAME` VARCHAR(80) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '设备名称', + `SIGNAGE` VARCHAR(64) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '设备标识', + `SORT` INT(11) NULL DEFAULT NULL COMMENT '排序', + `REF_OREANIZATION` BIGINT(20) NULL DEFAULT NULL COMMENT '所属组织', + `EM_GRADE` INT(2) NULL DEFAULT NULL COMMENT '设备等级', + `INSPECT_STANDARD` 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 DEFAULT 0 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 COMMENT = '设备定义设备树' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_EM_TREE_BASIC +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_EM_TREE_BASIC`; +CREATE TABLE `HZIMS_EM_TREE_BASIC` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键', + `TREE_ID` BIGINT(20) NOT NULL DEFAULT 0 COMMENT '设备树ID', + `BASIC_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '物资ID', + `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 DEFAULT 0 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 COMMENT = '设备树和物资台账关联表' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_EM_TREE_INSPECT +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_EM_TREE_INSPECT`; +CREATE TABLE `HZIMS_EM_TREE_INSPECT` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `TREE_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '设备树ID', + `CONTENT_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '巡检内容编号', + `CONTENT_NAME` VARCHAR(64) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '巡检内容名称', + `MODEL_SIGNAGE` VARCHAR(64) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '模型标识', + `MODEL_NAME` VARCHAR(64) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '模型名称', + `MODEL_ATTR_SIGNAGE` VARCHAR(64) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '模型属性标识', + `MODEL_ATTR_NAME` VARCHAR(64) 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 DEFAULT 0 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 COMMENT = '设备定义中设备树绑定的巡检' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_EM_TREE_PARAM +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_EM_TREE_PARAM`; +CREATE TABLE `HZIMS_EM_TREE_PARAM` ( + `ID` BIGINT(20) NOT NULL AUTO_INCREMENT COMMENT '主键ID', + `TREE_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '设备树ID', + `PARAM_NAME` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '参数标识', + `NAME` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '参数名称', + `SORT` INT(11) NULL DEFAULT NULL COMMENT '排序', + `UNIT` VARCHAR(40) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '单位', + `DESCRIPTION` VARCHAR(100) 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 DEFAULT 0 COMMENT '是否删除', + `STATUS` TINYINT(4) NULL DEFAULT NULL COMMENT '状态 ', + `CREATE_DEPT` BIGINT(20) NULL DEFAULT NULL COMMENT '创建部门', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = INNODB AUTO_INCREMENT = 1698708553029660674 CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '设备定义中设备树绑定的参数表' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_FDP_DEVICE +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_FDP_DEVICE`; +CREATE TABLE `HZIMS_FDP_DEVICE` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `FDP_ID` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '设备ID', + `FATHER_ID` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '智能诊断-父ID', + `EM_CODE` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT 'IMS设备编码', + `NAME` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '设备名称', + `ORD` 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 NULL DEFAULT NULL COMMENT '创建时间', + `UPDATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '更新时间', + `CREATE_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '创建人', + `UPDATE_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '更新人', + `IS_DELETED` TINYINT(4) NOT NULL DEFAULT 0 COMMENT '是否删除', + `STATUS` TINYINT(4) NULL DEFAULT NULL COMMENT '任务状态:1未开始,2进行中,3完成', + `CREATE_DEPT` BIGINT(20) NULL DEFAULT NULL COMMENT '创建部门', + `INSTANCE_DEVICE_CODE` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL, + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '智能诊断设备表' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_FDP_FAULT +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_FDP_FAULT`; +CREATE TABLE `HZIMS_FDP_FAULT` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `FDP_ID` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT 'FDP故障ID', + `FDP_PARTITION` BIGINT(20) NULL DEFAULT NULL COMMENT '分区号', + `NAME` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '故障名称', + `INFO` TEXT CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL COMMENT '故障描述', + `EM_CODE` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT 'IMS设备编码', + `DETECTABILITY` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '故障检测难易程度,1为易、2为中、3为难', + `SEVERITY` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '严重度', + `FDP_DEVICE_ID` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '所属设备ID', + `FDP_DEVICE_NAME` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '所属设备名称', + `ORD` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '位置', + `DISPLAY` BIGINT(20) NULL DEFAULT NULL COMMENT '意义:1显示', + `STATION_ID` VARCHAR(40) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '站点ID', + `TENANT_ID` VARCHAR(12) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '租户ID', + `CREATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '创建时间', + `UPDATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '更新时间', + `CREATE_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '创建人', + `UPDATE_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '更新人', + `IS_DELETED` TINYINT(4) NOT NULL DEFAULT 0 COMMENT '是否删除', + `STATUS` TINYINT(4) NULL DEFAULT NULL COMMENT '任务状态:1未开始,2进行中,3完成', + `CREATE_DEPT` BIGINT(20) NULL DEFAULT NULL COMMENT '创建部门', + `INSTANCE_DEVICE_CODE` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL, + `FIELD` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '专业', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '智能诊断故障表' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_FDP_FAULT0908 +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_FDP_FAULT0908`; +CREATE TABLE `HZIMS_FDP_FAULT0908` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `FDP_ID` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT 'FDP故障ID', + `FDP_PARTITION` BIGINT(20) NULL DEFAULT NULL COMMENT '分区号', + `NAME` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '故障名称', + `INFO` TEXT CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL COMMENT '故障描述', + `EM_CODE` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT 'IMS设备编码', + `DETECTABILITY` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '故障检测难易程度,1为易、2为中、3为难', + `SEVERITY` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '严重度', + `FDP_DEVICE_ID` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '所属设备ID', + `FDP_DEVICE_NAME` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '所属设备名称', + `ORD` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '位置', + `DISPLAY` BIGINT(20) NULL DEFAULT NULL COMMENT '意义:1显示', + `STATION_ID` VARCHAR(40) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '站点ID', + `TENANT_ID` VARCHAR(12) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '租户ID', + `CREATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '创建时间', + `UPDATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '更新时间', + `CREATE_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '创建人', + `UPDATE_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '更新人', + `IS_DELETED` TINYINT(4) NOT NULL DEFAULT 0 COMMENT '是否删除', + `STATUS` TINYINT(4) NULL DEFAULT NULL COMMENT '任务状态:1未开始,2进行中,3完成', + `CREATE_DEPT` BIGINT(20) NULL DEFAULT NULL COMMENT '创建部门', + `INSTANCE_DEVICE_CODE` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL, + `FIELD` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '专业', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '智能诊断故障表' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_FDP_FAULT_INFO +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_FDP_FAULT_INFO`; +CREATE TABLE `HZIMS_FDP_FAULT_INFO` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `TASK_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '任务ID', + `FAULT_ID` VARCHAR(200) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '故障ID', + `FAULT_NAME` VARCHAR(200) 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; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_FDP_MONITOR +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_FDP_MONITOR`; +CREATE TABLE `HZIMS_FDP_MONITOR` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `FDP_ID` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '监测点ID', + `FDP_PARTITION` BIGINT(20) NULL DEFAULT NULL COMMENT '分区号', + `NAME` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '监测点名称', + `MONITOR_STYLE` VARCHAR(40) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '数据来源,YC,YX,SOE分别为遥测、遥信、事件', + `INFO` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '描述', + `ORD` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '监测点位置(1#推力轴承,表示1号机组推力轴承)', + `FDP_DEVICE_ID` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '所属设备ID', + `FDP_DEVICE_NAME` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '所属设备名称', + `EM_CODE` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT 'IMS设备编码', + `IMS_SIGNAGES` VARCHAR(1000) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '标识,多个以逗号隔开', + `IMS_REAL_IDS` VARCHAR(1000) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT 'REALID,多个以逗号隔开', + `CALLBACK_TYPE` VARCHAR(40) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '传递该数据点数据的数据类型;有“BOOL”、“FLOAT”、“FLOAT[]”', + `CALLBACK_HISTORY_TYPE` TEXT CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL COMMENT '传递该数据点历史数据的数据格式', + `TENANT_ID` VARCHAR(12) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '租户ID', + `CREATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '创建时间', + `UPDATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '更新时间', + `CREATE_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '创建人', + `UPDATE_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '更新人', + `IS_DELETED` TINYINT(4) NOT NULL DEFAULT 0 COMMENT '是否删除', + `STATUS` TINYINT(4) NULL DEFAULT NULL COMMENT '任务状态:1未开始,2进行中,3完成', + `CREATE_DEPT` BIGINT(20) UNSIGNED ZEROFILL NULL DEFAULT NULL COMMENT '创建部门', + `INSTANCE_DEVICE_CODE` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL, + `STATION_ID` VARCHAR(40) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '站点ID', + `CALLBACK_REAL_TYPE` TEXT CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL COMMENT '传递该数据点实时数据', + `REMARK` VARCHAR(2000) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '备注', + `BANDING_STATUS` VARCHAR(2) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT '3' COMMENT '绑定状态', + `REAL_NAMES` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT 'IMS监测点名称', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '智能诊断监测点表' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_FDP_TASK +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_FDP_TASK`; +CREATE TABLE `HZIMS_FDP_TASK` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `TYPE` VARCHAR(4) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '1:手动创建;2:自动创建', + `NAME` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '任务名称', + `EM_CODE` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT 'IMS设备编号', + `DEFECT_CODE` VARCHAR(40) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '缺陷编码', + `FDP_DEVICE_NAME` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '设备名称', + `FDP_ORD` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '所在位置', + `REAL_ID` VARCHAR(64) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '平台REALID', + `FAULT_ID` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '当前任务需要诊断的故障ID', + `MANUAL_FAULTS` VARCHAR(3000) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '人工排查故障', + `AUTO_FAULTS` VARCHAR(3000) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '自动排查故障', + `AUTO_CONFIDENCES` VARCHAR(3000) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '自动排查故障可信度', + `REASON_OBJECT` TEXT CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL COMMENT '告警推送返回根因对象', + `REASON_ID` VARCHAR(400) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '根因ID', + `CONFIDENCE` VARCHAR(400) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '原因可信度', + `SATISFACTION` INT(11) NULL DEFAULT NULL COMMENT '满意度(0~100)', + `COMMENT` 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 '任务状态:1未开始,2进行中,3完成', + `CREATE_DEPT` BIGINT(20) NULL DEFAULT NULL COMMENT '创建部门', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '故障诊断任务表' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_PARAM_BACKUPS +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_PARAM_BACKUPS`; +CREATE TABLE `HZIMS_PARAM_BACKUPS` ( + `ID` BIGINT(20) NOT NULL, + `NAME` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL, + `STATION_CODE` VARCHAR(64) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL, + `EM_CODE` VARCHAR(64) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL, + `DELAY` TINYINT(1) NULL DEFAULT NULL, + `MACHINE_CODE` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL, + `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 DEFAULT 0 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; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_PARAM_BACKUPS_DETAIL +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_PARAM_BACKUPS_DETAIL`; +CREATE TABLE `HZIMS_PARAM_BACKUPS_DETAIL` ( + `ID` BIGINT(20) NOT NULL, + `BACKUPS_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '备份主表ID', + `NAME` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '参数名称', + `SIGNAGE` VARCHAR(128) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '标识', + `FAC_DEVICE_ID` VARCHAR(64) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '关联设备', + `FAC_DEVICE_FUNC_ID` VARCHAR(64) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT 'HZ3000关联ID', + `PARAMETER_TAG` VARCHAR(128) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '参数标识', + `PARAMETER_NAME` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '参数名称', + `VALUE` VARCHAR(16) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '值', + `MAX_VALUE` VARCHAR(16) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '最大值', + `MIN_VALUE` VARCHAR(16) 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 DEFAULT 0 COMMENT '是否删除', + `STATUS` TINYINT(4) NULL DEFAULT NULL COMMENT '状态 ', + `CREATE_DEPT` BIGINT(20) NULL DEFAULT NULL COMMENT '创建部门', + `KEEP_FIGURES` INT(11) NULL DEFAULT NULL COMMENT '小数点位数', + `DESCS` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '描述', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_WORKSHOP_EQUIPMENT +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_WORKSHOP_EQUIPMENT`; +CREATE TABLE `HZIMS_WORKSHOP_EQUIPMENT` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `WORKSHOP_ID` BIGINT(20) NOT NULL COMMENT '厂房ID', + `WORKSHOP_NAME` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '厂房名称', + `EM_ID` BIGINT(20) NOT NULL COMMENT '设备ID', + `EM_NAME` VARCHAR(100) 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 '状态 0-启用 1-停用', + `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; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_WORKSHOP_INFO +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_WORKSHOP_INFO`; + CREATE TABLE `HZIMS_WORKSHOP_INFO` ( + `GPID` BIGINT(20) NOT NULL DEFAULT 0 COMMENT '父ID', + `REF_OREANIZATION` BIGINT(20) NULL DEFAULT NULL COMMENT '所属组织', + `REF_MODEL_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '所属母版', + `MODEL_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '设备模型ID来源于数据平台的设备模型作为设备类型', + `INSTANCE_ID` BIGINT(32) NULL DEFAULT NULL COMMENT '实例ID', + `ID` BIGINT(20) NOT NULL AUTO_INCREMENT COMMENT '主键ID', + `NUMBER` VARCHAR(20) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT '设备编号', + `NAME` VARCHAR(80) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '设备名称', + `MANUFACUTURER` VARCHAR(200) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '生产厂家', + `LINKER_NAME` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '名称', + `LINKER_POSITION` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '职位', + `LINKER_PHONE` VARCHAR(20) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '手机号码', + `HOME_PAGE_DISPLAY` CHAR(2) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT '0' COMMENT '首页展示:0否,1是', + `DEPARTMENT` BIGINT(20) NULL DEFAULT NULL COMMENT '设备负责部门', + `MANAGER` BIGINT(20) NULL DEFAULT NULL COMMENT '设备负责人', + `RUN_STATUS` VARCHAR(2) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT '2' COMMENT '运行状态 (0-检修 1-运行 2-备用)', + `RUN_DATE` DATETIME NULL DEFAULT NULL COMMENT '投运时间', + `REF_PROJECT` VARCHAR(200) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '所属项目', + `PROJECT_NAME` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '项目联系人', + `PROJECT_PHONE` VARCHAR(20) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '项目联系方式', + `LGTD` DECIMAL(13, 10) NULL DEFAULT NULL COMMENT '经度(东经)', + `LTTD` DECIMAL(12, 10) NULL DEFAULT NULL COMMENT '纬度(北纬)', + `PARTS` TEXT CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL COMMENT '主要部件及附属设备', + `DESCRIPITON` LONGTEXT CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI 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 AUTO_INCREMENT = 1602638370981396483 CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '厂房信息' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- VIEW STRUCTURE FOR V_HZIMS_FDP_FUALT +-- ---------------------------- +DROP VIEW IF EXISTS `V_HZIMS_FDP_FUALT`; +CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `V_HZIMS_FDP_FUALT` AS (SELECT `T1`.`ID` AS `ID`,`T1`.`FDP_ID` AS `FDP_ID`,`T1`.`NAME` AS `NAME`,`T1`.`INFO` AS `INFO`,`T1`.`EM_CODE` AS `EM_CODE`,`T1`.`DETECTABILITY` AS `DETECTABILITY`,`T1`.`SEVERITY` AS `SEVERITY`,`T1`.`FDP_DEVICE_ID` AS `FDP_DEVICE_ID`,`T1`.`FDP_DEVICE_NAME` AS `FDP_DEVICE_NAME`,`T1`.`ORD` AS `ORD`,`T1`.`DISPLAY` AS `DISPLAY`,`T1`.`TENANT_ID` AS `TENANT_ID`,`T1`.`CREATE_TIME` AS `CREATE_TIME`,`T1`.`UPDATE_TIME` AS `UPDATE_TIME`,`T1`.`CREATE_USER` AS `CREATE_USER`,`T1`.`UPDATE_USER` AS `UPDATE_USER`,`T1`.`IS_DELETED` AS `IS_DELETED`,`T1`.`STATUS` AS `STATUS`,`T1`.`CREATE_DEPT` AS `CREATE_DEPT`,`T2`.`FAULT_AMOUNT` AS `FAULT_AMOUNT` FROM (`EQUIPMENT`.`HZIMS_FDP_FAULT` `T1` JOIN (SELECT `T`.`NAME` AS `NAME`,COUNT(`T`.`NAME`) AS `FAULT_AMOUNT` FROM `EQUIPMENT`.`HZIMS_FDP_FAULT` `T` GROUP BY `T`.`NAME` ORDER BY COUNT(`T`.`NAME`) DESC) `T2`) WHERE (`T1`.`NAME` = `T2`.`NAME`) ORDER BY `T2`.`FAULT_AMOUNT` DESC); + +-- ---------------------------- +-- FUNCTION STRUCTURE FOR GET_NUMBER +-- ---------------------------- +DROP FUNCTION IF EXISTS `GET_NUMBER`; +DELIMITER ;; +CREATE FUNCTION `GET_NUMBER`(PARAM VARCHAR(50)) + RETURNS VARCHAR(30) CHARSET UTF8 +BEGIN + DECLARE LENGTH INT DEFAULT 0; + + DECLARE TEMP_STR VARCHAR(50) DEFAULT ''; + + SET LENGTH=CHAR_LENGTH(PARAM); + + WHILE LENGTH > 0 DO + + IF (ASCII(MID(PARAM,LENGTH,1))>47 AND ASCII(MID(PARAM,LENGTH,1))<58 )THEN + + SET TEMP_STR = CONCAT(TEMP_STR,MID(PARAM,LENGTH,1)); + + END IF; + + SET LENGTH = LENGTH - 1; + + END WHILE; + + RETURN REVERSE(TEMP_STR); + +END +;; +DELIMITER ; \ No newline at end of file diff --git a/hzims-service/equipment/src/main/resources/dict/dict.sql b/hzims-service/equipment/src/main/resources/dict/dict.sql new file mode 100644 index 0000000..73b8fc8 --- /dev/null +++ b/hzims-service/equipment/src/main/resources/dict/dict.sql @@ -0,0 +1,31 @@ +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 (1379281147378315265, 0, 'EM_MODEL_TYPE', '-1', '模板类型', 1, '', 0, 1, 0, -1, 'HZIMS-EQUIPMENT'); +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 (1379281706982354945, 0, 'EM_MODEL_TYPE', '-1', '模板类型', 1, '', 0, 0, 0, -1, 'HZIMS-EQUIPMENT'); +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 (1379281813949689857, 1379281706982354945, 'EM_MODEL_TYPE', '1', '模板类型一', 1, '', 0, 0, 0, -1, 'HZIMS-EQUIPMENT'); +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 (1379281872602836993, 1379281706982354945, 'EM_MODEL_TYPE', '2', '模板类型二', 2, '', 0, 0, 0, -1, 'HZIMS-EQUIPMENT'); +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 (1402533771560910850, 0, 'FDP_FAULT_DETECTABILITY', '-1', '故障检测难易程度', 1, '', 0, 0, 0, -1, 'HZIMS-EQUIPMENT'); +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 (1402533860534681602, 1402533771560910850, 'FDP_FAULT_DETECTABILITY', '1', '易', 1, '', 0, 0, 0, -1, 'HZIMS-EQUIPMENT'); +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 (1402533893644517378, 1402533771560910850, 'FDP_FAULT_DETECTABILITY', '2', '中', 2, '', 0, 0, 0, -1, 'HZIMS-EQUIPMENT'); +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 (1402533929371598850, 1402533771560910850, 'FDP_FAULT_DETECTABILITY', '3', '难', 3, '', 0, 0, 0, -1, 'HZIMS-EQUIPMENT'); +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 (1463031084514267137, 0, 'FDP_TASK_TYPE', '-1', '智能诊断任务类型', 3, '', 0, 0, 0, -1, 'HZIMS-EQUIPMENT'); +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 (1463031405428854785, 1463031084514267137, 'FDP_TASK_TYPE', '1', '手动', 1, '', 0, 0, 0, -1, 'HZIMS-EQUIPMENT'); +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 (1463031450081415169, 1463031084514267137, 'FDP_TASK_TYPE', '2', '自动', 2, '', 0, 0, 0, -1, 'HZIMS-EQUIPMENT'); +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 (1619897172690534402, 0, 'FDP_MONITOR_BINDING_STATUS', '-1', '监测点绑定状态', 4, '', 0, 0, 0, -1, 'HZIMS-EQUIPMENT'); +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 (1619897279343296514, 1619897172690534402, 'FDP_MONITOR_BINDING_STATUS', '1', '绑定成功', 1, '', 0, 0, 0, -1, 'HZIMS-EQUIPMENT'); +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 (1619897321756098562, 1619897172690534402, 'FDP_MONITOR_BINDING_STATUS', '2', '绑定失败', 2, '', 0, 0, 0, -1, 'HZIMS-EQUIPMENT'); +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 (1619897388072239105, 1619897172690534402, 'FDP_MONITOR_BINDING_STATUS', '3', '未绑定', 3, '', 0, 0, 0, -1, 'HZIMS-EQUIPMENT'); +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 (1633016108671905794, 0, 'DEVICETYPE', '-1', '设备类型', 10, '', 0, 0, 0, -1, 'HZIMS-EQUIPMENT'); +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 (1633016255816478722, 1633016108671905794, 'DEVICETYPE', '1', '公用', 1, '', 0, 0, 0, -1, 'HZIMS-EQUIPMENT'); +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 (1633016338171637761, 1633016108671905794, 'DEVICETYPE', '2', '机组', 2, '', 0, 0, 0, -1, 'HZIMS-EQUIPMENT'); +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 (1638000391480205313, 1633016338171637761, 'DEVICETYPE', '3', '立式机组', 1, '', 0, 1, 0, -1, 'HZIMS-EQUIPMENT'); +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 (1638000491426275330, 1633016338171637761, 'DEVICETYPE', '4', '卧式机组', 2, '', 0, 1, 0, -1, 'HZIMS-EQUIPMENT'); +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 (1638000590814502914, 1633016338171637761, 'DEVICETYPE', '5', '灯泡贯流式', 3, '', 0, 1, 0, -1, 'HZIMS-EQUIPMENT'); +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 (1638020338327543810, 1633016108671905794, 'DEVICETYPE', '3', '其他', 3, '', 0, 0, 0, -1, 'HZIMS-EQUIPMENT'); +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 (1638020560906674177, 0, 'SETTYPE', '-1', '机组类型', 7, '', 0, 0, 0, -1, 'HZIMS-EQUIPMENT'); +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 (1638020669019054082, 1638020560906674177, 'SETTYPE', '1', '立式机组', 1, '', 0, 0, 0, -1, 'HZIMS-EQUIPMENT'); +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 (1638020767178350594, 1638020560906674177, 'SETTYPE', '2', '卧式机组', 2, '', 0, 0, 0, -1, 'HZIMS-EQUIPMENT'); +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 (1638020840851300353, 1638020560906674177, 'SETTYPE', '3', '其他', 3, '', 0, 1, 0, -1, 'HZIMS-EQUIPMENT'); +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 (1645258692320387074, 1638020560906674177, 'SETTYPE', '3', '灯泡贯流式机组', 3, '', 0, 0, 0, -1, 'HZIMS-EQUIPMENT'); +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 (1645258829365075970, 1638020560906674177, 'SETTYPE', '4', '其他', 4, '', 0, 0, 0, -1, 'HZIMS-EQUIPMENT'); +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 (1675697704419729410, 0, 'DEVICE_MACHINE_TYPE', '-1', '设备机组类型', 1, '', 0, 0, 0, -1, 'HZIMS-EQUIPMENT'); +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 (1675699613977288706, 1675697704419729410, 'DEVICE_MACHINE_TYPE', '0', '低压机组', 1, '', 0, 0, 0, -1, 'HZIMS-EQUIPMENT'); +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 (1675699674580787201, 1675697704419729410, 'DEVICE_MACHINE_TYPE', '1', '高压机组', 2, '', 0, 0, 0, -1, 'HZIMS-EQUIPMENT'); diff --git a/hzims-service/hzims-alarm/src/main/java/com/hnac/hzims/alarm/show/service/impl/AlarmHandleServiceImpl.java b/hzims-service/hzims-alarm/src/main/java/com/hnac/hzims/alarm/show/service/impl/AlarmHandleServiceImpl.java index b2d0169..f9ad280 100644 --- a/hzims-service/hzims-alarm/src/main/java/com/hnac/hzims/alarm/show/service/impl/AlarmHandleServiceImpl.java +++ b/hzims-service/hzims-alarm/src/main/java/com/hnac/hzims/alarm/show/service/impl/AlarmHandleServiceImpl.java @@ -77,7 +77,6 @@ public class AlarmHandleServiceImpl extends BaseServiceImplString.valueOf(o.getId())).distinct().collect(Collectors.joining(","))); // 创建用户 message.setCreateUser(result.getData().get(0).getId()); + // 租户Id message.setTenantId("200000"); messageClient.sendWxMessage(message); diff --git a/hzims-service/hzims-alarm/src/main/java/com/hnac/hzims/business/interruption/service/impl/InterruptionServiceImpl.java b/hzims-service/hzims-alarm/src/main/java/com/hnac/hzims/business/interruption/service/impl/InterruptionServiceImpl.java index 23ec52d..beb586a 100644 --- a/hzims-service/hzims-alarm/src/main/java/com/hnac/hzims/business/interruption/service/impl/InterruptionServiceImpl.java +++ b/hzims-service/hzims-alarm/src/main/java/com/hnac/hzims/business/interruption/service/impl/InterruptionServiceImpl.java @@ -67,7 +67,9 @@ public class InterruptionServiceImpl extends BaseServiceImpl o.getStatus().equals(0)).count()); - long time = innterruptionTime(entry.getValue().stream().sorted(Comparator.comparing(InterruptionEntity::getAlarmTime)).collect(Collectors.toList()), DateUtil.parse(param.getStartTime(),DateUtil.PATTERN_DATETIME),DateUtil.parse(param.getEndTime(),DateUtil.PATTERN_DATETIME)); + // 去重 + List deduplications = this.deduplication(entry.getValue());; + long time = innterruptionTime(deduplications, DateUtil.parse(param.getStartTime(),DateUtil.PATTERN_DATETIME),DateUtil.parse(param.getEndTime(),DateUtil.PATTERN_DATETIME)); interruption.setDuration(BigDecimal.valueOf(time / (1000 * 60 * 60.00)).setScale(2, RoundingMode.HALF_UP).doubleValue()); return interruption; }).collect(Collectors.toList()); @@ -144,23 +146,7 @@ public class InterruptionServiceImpl extends BaseServiceImpl collation(List interruptions,String startTime,String endTime) { - List collations = new ArrayList<>(); - // 遍历数据 - for(int i = 0; i< interruptions.size() ; i++){ - // 第一个数据保存下来 - if(i == 0){ - collations.add(interruptions.get(i)); - continue; - } - // 遍历数据状态 - Integer status = interruptions.get(i).getStatus(); - // 上一条数据状态 - Integer up_status = interruptions.get(i-1).getStatus(); - if(status.equals(up_status)){ - continue; - } - collations.add(interruptions.get(i)); - } + List collations = this.deduplication(interruptions); // 返回数据集合 List details = new ArrayList<>(); int j = 0; @@ -205,4 +191,30 @@ public class InterruptionServiceImpl extends BaseServiceImpl deduplication(List interruptions) { + List collations = new ArrayList<>(); + // 遍历数据 + for(int i = 0; i< interruptions.size() ; i++){ + // 第一个数据保存下来 + if(i == 0){ + collations.add(interruptions.get(i)); + continue; + } + // 遍历数据状态 + Integer status = interruptions.get(i).getStatus(); + // 上一条数据状态 + Integer up_status = interruptions.get(i-1).getStatus(); + if(status.equals(up_status)){ + continue; + } + collations.add(interruptions.get(i)); + } + return collations.stream().sorted(Comparator.comparing(InterruptionEntity::getAlarmTime)).collect(Collectors.toList()); + } + } diff --git a/hzims-service/operational/src/main/resources/db/1.0.0.sql b/hzims-service/operational/src/main/resources/db/1.0.0.sql index 1baa1d9..072a4e2 100644 --- a/hzims-service/operational/src/main/resources/db/1.0.0.sql +++ b/hzims-service/operational/src/main/resources/db/1.0.0.sql @@ -1,367 +1,1993 @@ -SET FOREIGN_KEY_CHECKS=0; - -ALTER TABLE `hzims_operation`.`hy_st_alarm_record` MODIFY COLUMN `PROCESS_TIME` datetime(0) NULL DEFAULT NULL COMMENT '处理时间' AFTER `PROCESSOR`; - -ALTER TABLE `hzims_operation`.`hy_st_alarm_record` MODIFY COLUMN `CREATE_TIME` datetime(0) NULL DEFAULT NULL COMMENT '创建时间' AFTER `TENANT_ID`; - -ALTER TABLE `hzims_operation`.`hy_st_alarm_record` MODIFY COLUMN `UPDATE_TIME` datetime(0) NULL DEFAULT NULL COMMENT '更新时间' AFTER `CREATE_TIME`; - -CREATE TABLE `hzims_operation`.`hz_ims_duty_analyse_example` ( - `ID` bigint(20) NOT NULL, - `SITE_ID` bigint(22) NULL DEFAULT NULL COMMENT '站点ID', - `SITE_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '站点名称', - `EQUIPMENT_ID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '设备ID', - `EQUIPMENT_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '设备名称', - `DEVICE_CODE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '分析实例ID', - `ANALYSE_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '分析实例名称', - `PROPERTY_IDS` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '属性ID以^隔开', - `TENANT_ID` int(11) NULL DEFAULT NULL COMMENT '租户ID', - `STATUS` tinyint(4) NULL DEFAULT NULL COMMENT '状态(0 待值班 1 值班中 2 已完成)', - `CREATE_TIME` datetime(0) NOT NULL COMMENT '创建时间', - `UPDATE_TIME` datetime(0) NULL DEFAULT NULL COMMENT '更新时间', - `CREATE_USER` bigint(20) NULL DEFAULT NULL COMMENT '创建人', - `UPDATE_USER` bigint(20) NULL DEFAULT NULL COMMENT '更新人', - `IS_DELETED` tinyint(4) NULL DEFAULT 0 COMMENT '是否删除', - `CREATE_DEPT` bigint(20) NULL DEFAULT NULL COMMENT '创建部门ID', - PRIMARY KEY (`ID`) USING BTREE, - INDEX `CLASS_ID_INDEX`(`SITE_ID`) USING BTREE, - INDEX `EQUIPMENT_ID_INDEX`(`EQUIPMENT_ID`) USING BTREE -) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic; - -CREATE TABLE `hzims_operation`.`hz_ims_duty_emergency` ( - `ID` bigint(20) NOT NULL COMMENT '突发事件登记表', - `DUTY_TIME` datetime(0) NOT NULL COMMENT '值班日期', - `DUTY_CLASS` bigint(20) NOT NULL COMMENT '班次', - `REGISTRANT` bigint(20) NOT NULL COMMENT '登记人', - `CHARGE_PERSON` bigint(20) NULL DEFAULT NULL COMMENT '值班长', - `REGISTER_TIME` datetime(0) NULL DEFAULT NULL COMMENT '登记时间', - `EVENT_TITLE` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '事件主题', - `EVENT_INFO` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '事件内容', - `EVENT_TYPE` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '事件方式', - `STATUS` tinyint(4) NULL DEFAULT NULL COMMENT '状态(1 未提交,2流程审核中,3已完成。)', - `CREATE_TIME` datetime(0) NOT NULL COMMENT '创建时间', - `UPDATE_TIME` datetime(0) NULL DEFAULT NULL COMMENT '更新时间', - `CREATE_USER` bigint(20) NOT NULL COMMENT '创建人', - `UPDATE_USER` bigint(20) NULL DEFAULT NULL COMMENT '更新人', - `IS_DELETED` tinyint(4) NOT NULL DEFAULT 0 COMMENT '是否删除', - `CREATE_DEPT` bigint(20) UNSIGNED NULL DEFAULT NULL, - `TENANT_ID` varchar(12) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '租户ID', - PRIMARY KEY (`ID`) USING BTREE -) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic; - -ALTER TABLE `hzims_operation`.`hz_ims_duty_main` MODIFY COLUMN `DUTY_PERSON_IDS` varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '值班人IDS, ID之间用^隔开' AFTER `CLASS_ID`; - -ALTER TABLE `hzims_operation`.`hz_ims_duty_main` MODIFY COLUMN `TENANT_ID` varchar(12) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '租户ID' AFTER `REMARK`; - -CREATE TABLE `hzims_operation`.`hz_ims_duty_main_person` ( - `ID` bigint(20) NOT NULL COMMENT '主键ID(排班计划-人员表)', - `DUTY_MAIN_ID` bigint(20) NULL DEFAULT NULL COMMENT '值班-班组表ID', - `DUTY_GROUP_ID` bigint(20) NULL DEFAULT NULL COMMENT '值班组id(灵活排版无ID)', - `DUTY_GROUP_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '值班班组名称', - `DUTY_DATE` date NOT NULL COMMENT '值班日期', - `CLASS_ID` bigint(20) NOT NULL COMMENT '班次ID', - `DUTY_PERSON` bigint(20) NULL DEFAULT NULL COMMENT '值班人ID(一个值班人对应一条)', - `DUTY_CHARGE_PERSON` bigint(20) NULL DEFAULT NULL COMMENT '值班负责人', - `STATUS` tinyint(4) NULL DEFAULT NULL COMMENT '状态(0 待值班 1 值班中 2 已完成)', - `REMARK` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '备注', - `TENANT_ID` varchar(12) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '租户ID', - `CREATE_TIME` datetime(0) NULL DEFAULT NULL COMMENT '创建时间', - `UPDATE_TIME` datetime(0) NULL DEFAULT NULL COMMENT '更新时间', - `CREATE_USER` bigint(20) NULL DEFAULT NULL COMMENT '创建人', - `UPDATE_USER` bigint(20) NULL DEFAULT NULL COMMENT '更新人', - `IS_DELETED` tinyint(4) NULL DEFAULT 0 COMMENT '是否删除', - `CREATE_DEPT` bigint(20) NULL DEFAULT NULL COMMENT '创建部门ID', - PRIMARY KEY (`ID`) USING BTREE, - INDEX `index_person`(`DUTY_PERSON`) USING BTREE -) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic; - -ALTER TABLE `hzims_operation`.`hz_ims_duty_main_template` ADD COLUMN `TYPE` tinyint(4) NOT NULL DEFAULT 1 COMMENT '1 班组,2灵活排班' AFTER `TEMPLATE_NAME`; - -ALTER TABLE `hzims_operation`.`hz_ims_duty_main_template` ADD COLUMN `FLEXIBLE` varchar(5000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '灵活排班人员ID' AFTER `DUTY_ARR_IDS`; - -ALTER TABLE `hzims_operation`.`hz_ims_duty_main_template` MODIFY COLUMN `DUTY_ORDER_IDS` varchar(5000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '班组值班周期id' AFTER `TYPE`; - -ALTER TABLE `hzims_operation`.`hz_ims_duty_rec` MODIFY COLUMN `STATUS` tinyint(4) NULL DEFAULT NULL COMMENT '状态(1 未提交,2流程审核中,3已完成。)' AFTER `DELAY_STATUS`; - -ALTER TABLE `hzims_operation`.`hzims_alarm_handle` ADD COLUMN `ALARM_ID` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '告警主键ID' AFTER `ID`; - -ALTER TABLE `hzims_operation`.`hzims_alarm_handle` ADD COLUMN `TYPE` tinyint(1) NULL DEFAULT NULL COMMENT '类型:0-系统告警 1-智能告警' AFTER `ALARM_CONTENT`; - -ALTER TABLE `hzims_operation`.`hzims_alarm_handle_detail` ADD COLUMN `HANDLE_USER` bigint(20) NULL DEFAULT NULL COMMENT '通知处理人' AFTER `ID`; - -ALTER TABLE `hzims_operation`.`hzims_app_version` MODIFY COLUMN `CREATE_TIME` datetime(0) NULL DEFAULT NULL COMMENT '修改时间' AFTER `IS_DELETED`; - -CREATE TABLE `hzims_operation`.`hzims_fill_generate` ( - `ID` bigint(20) NOT NULL COMMENT '主键ID', - `STATION_CODE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '站点编号', - `STATION_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '站点名称', - `DATA_ORIGIN` varchar(4) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '站点数据类型: 0 - 接入站点 1 - 未接入站点', - `FILL_DATE` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '填报日期', - `GENERATE` decimal(15, 2) NULL DEFAULT NULL COMMENT '发电量', - `TENANT_ID` varchar(12) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '租户ID', - `CREATE_TIME` datetime(0) NOT NULL COMMENT '创建时间', - `UPDATE_TIME` datetime(0) NULL DEFAULT NULL COMMENT '更新时间', - `CREATE_USER` bigint(20) NOT NULL COMMENT '创建人', - `UPDATE_USER` bigint(20) NULL DEFAULT NULL COMMENT '更新人', - `IS_DELETED` tinyint(4) NOT NULL COMMENT '是否删除', - `STATUS` tinyint(4) NULL DEFAULT NULL COMMENT '状态 0-启用 1-停用', - `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; - -ALTER TABLE `hzims_operation`.`hzims_fill_over` MODIFY COLUMN `ENCL_NAME` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '附件名称' AFTER `ENCL_PATH`; - -ALTER TABLE `hzims_operation`.`hzims_fill_over_config` MODIFY COLUMN `SORT` tinyint(4) NOT NULL COMMENT '排序' AFTER `UNIT_PRICE`; - -ALTER TABLE `hzims_operation`.`hzims_fill_over_config` ADD UNIQUE INDEX `OVER_NAME`(`OVER_NAME`) USING BTREE; - -ALTER TABLE `hzims_operation`.`hzims_fill_power` MODIFY COLUMN `POWER_MON` double(20, 2) NULL DEFAULT 0.00 COMMENT '月发电量' AFTER `PLANNED_POWER_MON`; - -CREATE TABLE `hzims_operation`.`hzims_fill_rainfall` ( - `ID` bigint(20) NOT NULL COMMENT '主键ID', - `STATION_CODE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '站点编号', - `STATION_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '站点名称', - `RAIN` decimal(15, 2) NULL DEFAULT NULL COMMENT '降雨量', - `FILL_DATE` varchar(50) 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(0) NOT NULL COMMENT '创建时间', - `UPDATE_TIME` datetime(0) NULL DEFAULT NULL COMMENT '更新时间', - `CREATE_USER` bigint(20) NOT NULL COMMENT '创建人', - `UPDATE_USER` bigint(20) NULL DEFAULT NULL COMMENT '更新人', - `IS_DELETED` tinyint(4) NOT NULL COMMENT '是否删除', - `STATUS` tinyint(4) NULL DEFAULT NULL COMMENT '状态 0-启用 1-停用', - `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; - -CREATE TABLE `hzims_operation`.`hzims_fill_storage` ( - `ID` bigint(20) NOT NULL COMMENT '主键ID', - `STATION_CODE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '站点编号', - `STATION_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '站点名称', - `POWER` decimal(15, 2) NULL DEFAULT NULL COMMENT '发电量', - `FILL_DATE` varchar(50) 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(0) NOT NULL COMMENT '创建时间', - `UPDATE_TIME` datetime(0) NULL DEFAULT NULL COMMENT '更新时间', - `CREATE_USER` bigint(20) NOT NULL COMMENT '创建人', - `UPDATE_USER` bigint(20) NULL DEFAULT NULL COMMENT '更新人', - `IS_DELETED` tinyint(4) NOT NULL COMMENT '是否删除', - `STATUS` tinyint(4) NULL DEFAULT NULL COMMENT '状态 0-启用 1-停用', - `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; - -CREATE TABLE `hzims_operation`.`hzims_fill_use` ( - `ID` bigint(20) NOT NULL COMMENT '主键ID', - `STATION_CODE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '站点编号', - `STATION_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '站点名称', - `DATA_ORIGIN` varchar(4) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '站点数据类型: 0 - 接入站点 1 - 未接入站点', - `FILL_DATE` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '填报日期', - `EMPLOY` decimal(15, 2) NULL DEFAULT NULL COMMENT '发电量', - `TENANT_ID` varchar(12) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '租户ID', - `CREATE_TIME` datetime(0) NOT NULL COMMENT '创建时间', - `UPDATE_TIME` datetime(0) NULL DEFAULT NULL COMMENT '更新时间', - `CREATE_USER` bigint(20) NOT NULL COMMENT '创建人', - `UPDATE_USER` bigint(20) NULL DEFAULT NULL COMMENT '更新人', - `IS_DELETED` tinyint(4) NOT NULL COMMENT '是否删除', - `STATUS` tinyint(4) NULL DEFAULT NULL COMMENT '状态 0-启用 1-停用', - `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; - -ALTER TABLE `hzims_operation`.`hzims_history_abnormal_alarm` ADD COLUMN `ALARM_ID` bigint(20) NULL DEFAULT NULL COMMENT '告警编号' AFTER `STATION_NAME`; - -ALTER TABLE `hzims_operation`.`hzims_history_abnormal_alarm` ADD COLUMN `TENANT_ID` varchar(12) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '租户ID' AFTER `SOE_EXPLAIN`; - -ALTER TABLE `hzims_operation`.`hzims_history_abnormal_alarm` ADD COLUMN `CREATE_DEPT` bigint(20) NULL DEFAULT NULL COMMENT '创建单位' AFTER `STATUS`; - -ALTER TABLE `hzims_operation`.`hzims_history_abnormal_alarm` ADD COLUMN `CREATE_USER` bigint(20) NULL DEFAULT NULL COMMENT '创建人' AFTER `CREATE_DEPT`; - -ALTER TABLE `hzims_operation`.`hzims_history_abnormal_alarm` ADD COLUMN `UPDATE_USER` bigint(20) NULL DEFAULT NULL COMMENT '修改人' AFTER `CREATE_TIME`; - -ALTER TABLE `hzims_operation`.`hzims_history_abnormal_alarm` MODIFY COLUMN `SOE_EXPLAIN` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '告警原因' AFTER `TYPE`; - -ALTER TABLE `hzims_operation`.`hzims_history_abnormal_alarm` MODIFY COLUMN `STATUS` tinyint(4) NULL DEFAULT NULL COMMENT '业务状态' AFTER `TENANT_ID`; - -ALTER TABLE `hzims_operation`.`hzims_history_abnormal_alarm` MODIFY COLUMN `UPDATE_TIME` datetime(0) NULL DEFAULT NULL COMMENT '修改时间' AFTER `UPDATE_USER`; - -ALTER TABLE `hzims_operation`.`hzims_history_abnormal_alarm` MODIFY COLUMN `IS_DELETED` tinyint(4) NOT NULL DEFAULT 0 COMMENT '是否删除' AFTER `UPDATE_TIME`; - -CREATE TABLE `hzims_operation`.`hzims_history_level_alarm` ( - `ID` bigint(20) NOT NULL COMMENT '主键ID', - `STATION_ID` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '站点ID', - `STATION_NAME` varchar(168) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '站点名称', - `DEVICE_CODE` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '设备编码', - `DEVICE_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '设备名称', - `ALARM_LEVEL` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '告警等级', - `ALARM_ID` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '告警编号', - `REAL_ID` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '告警点位', - `ALARM_TIME` datetime(0) NULL DEFAULT NULL COMMENT '告警开始时间', - `TYPE` varchar(16) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '告警类型 13-连接中断 14-数据异常', - `SOE_EXPLAIN` varchar(500) 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', - `STATUS` tinyint(4) NULL DEFAULT NULL COMMENT '业务状态', - `CREATE_DEPT` bigint(20) NULL DEFAULT NULL COMMENT '创建单位', - `CREATE_USER` bigint(20) NULL DEFAULT NULL COMMENT '创建人', - `CREATE_TIME` datetime(0) NULL DEFAULT NULL COMMENT '创建时间', - `UPDATE_USER` bigint(20) NULL DEFAULT NULL COMMENT '修改人', - `UPDATE_TIME` datetime(0) NULL DEFAULT NULL COMMENT '修改时间', - `IS_DELETED` tinyint(4) NOT NULL DEFAULT 0 COMMENT '是否删除', - PRIMARY KEY (`ID`) USING BTREE -) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic; - -ALTER TABLE `hzims_operation`.`hzims_main_work_bench` MODIFY COLUMN `ORD` int(11) NULL DEFAULT NULL COMMENT '排序' AFTER `ENABLE_FLAG`; - -ALTER TABLE `hzims_operation`.`hzims_main_work_bench` MODIFY COLUMN `REF_DEPT` varchar(2048) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属机构' AFTER `ORD`; - -ALTER TABLE `hzims_operation`.`hzims_month_report` MODIFY COLUMN `OBJECT` blob NULL COMMENT '报表保存对象' AFTER `TYPE`; - -ALTER TABLE `hzims_operation`.`hzims_oper_access_plan` MODIFY COLUMN `PHENOMENON_ID` bigint(20) NULL DEFAULT NULL COMMENT '现象ID' AFTER `DESCRIPITON`; - -ALTER TABLE `hzims_operation`.`hzims_oper_access_task` ADD COLUMN `MESSAGE_TEMPLATE_ID` bigint(20) NULL DEFAULT NULL COMMENT '模板id' AFTER `phenomenon_id`; - -ALTER TABLE `hzims_operation`.`hzims_oper_access_task` MODIFY COLUMN `PROCESS_INSTANCE_ID` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '工作流实例' AFTER `EM_CODE`; - -ALTER TABLE `hzims_operation`.`hzims_oper_access_task` MODIFY COLUMN `ticket_id` bigint(20) NULL DEFAULT NULL AFTER `UPDATE_TIME`; - -ALTER TABLE `hzims_operation`.`hzims_oper_access_task` MODIFY COLUMN `delay_date` datetime(0) NULL DEFAULT NULL AFTER `ticket_id`; - -ALTER TABLE `hzims_operation`.`hzims_oper_access_task` MODIFY COLUMN `DELAY_STATUS` tinyint(4) NULL DEFAULT NULL AFTER `delay_date`; - -ALTER TABLE `hzims_operation`.`hzims_oper_fault` MODIFY COLUMN `FAULT_TYPE` tinyint(4) NULL DEFAULT NULL COMMENT '0- 标准;1 - 非标准' AFTER `FAULT_NAME`; - -ALTER TABLE `hzims_operation`.`hzims_oper_maintenance_library` ADD COLUMN `MESSAGE_TEMPLATE_ID` bigint(20) NULL DEFAULT NULL COMMENT '消息推送模板ID' AFTER `UPDATE_TIME`; - -ALTER TABLE `hzims_operation`.`hzims_oper_maintenance_library` MODIFY COLUMN `em_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '设备编码' AFTER `PROC_DEF_ID`; - -ALTER TABLE `hzims_operation`.`hzims_oper_maintenance_plan` ADD COLUMN `MESSAGE_TEMPLATE_ID` bigint(20) NULL DEFAULT NULL COMMENT '消息推送模板ID' AFTER `TASK_TYPE`; - -ALTER TABLE `hzims_operation`.`hzims_oper_maintenance_plan` MODIFY COLUMN `em_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '设备编码' AFTER `ID`; - -ALTER TABLE `hzims_operation`.`hzims_oper_maintenance_plan` MODIFY COLUMN `TASK_TYPE` varchar(2) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '0' COMMENT '0:系统生成任务,1:临时任务' AFTER `UPDATE_TIME`; - -ALTER TABLE `hzims_operation`.`hzims_oper_maintenance_task` ADD COLUMN `MESSAGE_TEMPLATE_ID` bigint(20) NULL DEFAULT NULL COMMENT '消息推送模板ID' AFTER `plan_id`; - -ALTER TABLE `hzims_operation`.`hzims_oper_maintenance_task` MODIFY COLUMN `em_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '设备编码' AFTER `ID`; - -ALTER TABLE `hzims_operation`.`hzims_oper_maintenance_task` MODIFY COLUMN `TASK_CODE` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL AFTER `TYPE_CODE`; - -ALTER TABLE `hzims_operation`.`hzims_oper_maintenance_task` MODIFY COLUMN `DISPOSER` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '执行人(按,分隔)' AFTER `PROCESS_INSTANCE_ID`; - -ALTER TABLE `hzims_operation`.`hzims_oper_maintenance_task` MODIFY COLUMN `DISPOSE_TIME` datetime(0) NOT NULL COMMENT '任务按周期生成计划开始时间' AFTER `DISPOSER`; - -ALTER TABLE `hzims_operation`.`hzims_oper_maintenance_task` MODIFY COLUMN `EXECUTE_TIME` datetime(0) NULL DEFAULT NULL COMMENT '任务执行日期' AFTER `DISPOSE_TIME`; - -ALTER TABLE `hzims_operation`.`hzims_oper_maintenance_task` MODIFY COLUMN `PUSH_MSG_STATUS` tinyint(4) NULL DEFAULT 0 COMMENT '消息推送状态 0=未推送 1=已推送' AFTER `DESCRIPTION`; - -ALTER TABLE `hzims_operation`.`hzims_oper_maintenance_task` MODIFY COLUMN `TASK_TYPE` varchar(2) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '0' COMMENT '0:系统生成任务,1:临时任务' AFTER `UPDATE_TIME`; - -ALTER TABLE `hzims_operation`.`hzims_oper_maintenance_task` MODIFY COLUMN `DELAY_STATUS` tinyint(4) NULL DEFAULT NULL AFTER `TASK_TYPE`; - -ALTER TABLE `hzims_operation`.`hzims_oper_maintenance_task` MODIFY COLUMN `DELAY_DATE` datetime(0) NULL DEFAULT NULL AFTER `DELAY_STATUS`; - -ALTER TABLE `hzims_operation`.`hzims_oper_maintenance_task` MODIFY COLUMN `TICKET_ID` bigint(20) NULL DEFAULT NULL AFTER `DELAY_DATE`; - -ALTER TABLE `hzims_operation`.`hzims_oper_maintenance_task` MODIFY COLUMN `PLAN_END_TIME` datetime(0) NULL DEFAULT NULL AFTER `TICKET_ID`; - -ALTER TABLE `hzims_operation`.`hzims_oper_phenomenon` MODIFY COLUMN `EM_CODE` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '设备编号' AFTER `NAME`; - -ALTER TABLE `hzims_operation`.`hzims_oper_phenomenon` MODIFY COLUMN `HANDLE_TASK_ID` bigint(20) NULL DEFAULT NULL COMMENT '处理任务ID' AFTER `HANDLE_TYPE`; - -ALTER TABLE `hzims_operation`.`hzims_oper_phenomenon` MODIFY COLUMN `HANDLER` bigint(20) NULL DEFAULT NULL COMMENT '处理人,处理工作流的第一个处理人' AFTER `HANDLE_TASK_ID`; - -ALTER TABLE `hzims_operation`.`hzims_oper_phenomenon` MODIFY COLUMN `CREATE_USER` bigint(20) NOT NULL COMMENT '创建人' AFTER `UPDATE_TIME`; - -CREATE TABLE `hzims_operation`.`hzims_review_standard` ( - `id` bigint(20) NOT NULL COMMENT '主键ID', - `review_id` bigint(20) NOT NULL COMMENT '评审ID', - `standard_id` tinyint(4) NOT NULL COMMENT '标准ID', - `standard_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '标准名称', - `score` tinyint(4) NULL DEFAULT NULL COMMENT '分数', - `status` tinyint(4) NULL DEFAULT NULL COMMENT '业务状态', - `CREATE_DEPT` bigint(20) NULL DEFAULT NULL COMMENT '创建单位', - `CREATE_USER` bigint(20) NULL DEFAULT NULL COMMENT '创建人', - `CREATE_TIME` datetime(0) NULL DEFAULT NULL COMMENT '创建时间', - `UPDATE_USER` bigint(20) NULL DEFAULT NULL COMMENT '修改人', - `UPDATE_TIME` datetime(0) NULL DEFAULT NULL COMMENT '修改时间', - `IS_DELETED` tinyint(4) NULL DEFAULT NULL, - `TENANT_ID` varchar(12) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, - PRIMARY KEY (`id`) USING BTREE -) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic; - -ALTER TABLE `hzims_operation`.`hzims_station` ADD COLUMN `SEND_MESSAGE_FLAG` tinyint(4) NULL DEFAULT NULL COMMENT '0-不推送告警短信 1-推送告警短信' AFTER `CONTACTOR`; - -ALTER TABLE `hzims_operation`.`hzims_station` ADD COLUMN `DATA_ORIGIN` varchar(4) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '数据来源: 0 - 数据采集 1 - 数据填报' AFTER `HIGHER_DEPT`; - -ALTER TABLE `hzims_operation`.`hzims_station` ADD COLUMN `DATA_SOURCE` varchar(4) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '数据采集方式' AFTER `DATA_ORIGIN`; - -ALTER TABLE `hzims_operation`.`hzims_station` ADD COLUMN `SECRET_KEY` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '实时画面绑定账号秘钥' AFTER `DATA_SOURCE`; - -ALTER TABLE `hzims_operation`.`hzims_station` ADD COLUMN `SIGNAGE` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '站点标识-两票编码' AFTER `SECRET_KEY`; - -ALTER TABLE `hzims_operation`.`hzims_station` MODIFY COLUMN `REF_DOMAIN` smallint(6) NULL DEFAULT 1 COMMENT '所属行业(来源于字典表如水电)' AFTER `ID`; - -ALTER TABLE `hzims_operation`.`hzims_station` MODIFY COLUMN `SERVE_TYPE` varchar(4) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '站点服务类型:1、云服务; 2、运维服务' AFTER `NAME`; - -ALTER TABLE `hzims_operation`.`hzims_station` MODIFY COLUMN `WATER_LEVEL_MAX` decimal(6, 2) NULL COMMENT '前池最高水位' AFTER `TYPE`; - -ALTER TABLE `hzims_operation`.`hzims_station` MODIFY COLUMN `LIMIT_WATER_LEVEL` decimal(6, 2) NULL COMMENT '限制水位' AFTER `WATER_LEVEL_MAX`; - -ALTER TABLE `hzims_operation`.`hzims_station` ADD UNIQUE INDEX `hzims_station_pk`(`SIGNAGE`) USING BTREE; - -ALTER TABLE `hzims_operation`.`hzims_station_attribute` ADD COLUMN `SIGNAGE` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '加物模型属性标识' AFTER `monitor_station_code`; - -ALTER TABLE `hzims_operation`.`hzims_station_attribute` ADD COLUMN `SIGNAGE_NAME` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '加物模型属性标识名称' AFTER `SIGNAGE`; - -ALTER TABLE `hzims_operation`.`hzims_station_attribute` MODIFY COLUMN `GROUP_ID` tinyint(4) NULL DEFAULT NULL COMMENT '属性分组ID' AFTER `EM_NAME`; - -ALTER TABLE `hzims_operation`.`hzims_station_user` COMMENT = '站点-用户关系绑定表'; - -ALTER TABLE `hzims_operation`.`hzims_station_user` MODIFY COLUMN `ID` bigint(20) NOT NULL COMMENT '主键' FIRST; - -ALTER TABLE `hzims_operation`.`hzims_station_user` MODIFY COLUMN `STATION_ID` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '站点编码' AFTER `ID`; - -ALTER TABLE `hzims_operation`.`hzims_station_user` MODIFY COLUMN `USER_ID` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '用户ID' AFTER `STATION_ID`; - -ALTER TABLE `hzims_operation`.`hzims_station_user` MODIFY COLUMN `CREATE_TIME` datetime(0) NOT NULL COMMENT '创建时间' AFTER `TENANT_ID`; - -ALTER TABLE `hzims_operation`.`hzims_station_user` MODIFY COLUMN `CREATE_USER` bigint(20) NOT NULL COMMENT '创建人' AFTER `UPDATE_TIME`; - -ALTER TABLE `hzims_operation`.`hzims_station_user` MODIFY COLUMN `STATUS` tinyint(4) NULL DEFAULT NULL COMMENT '状态 ' AFTER `IS_DELETED`; - -ALTER TABLE `hzims_operation`.`hzims_station_video_type` ADD COLUMN `STATION_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '站点名称' AFTER `video_type`; - -ALTER TABLE `hzims_operation`.`hzims_station_video_type` MODIFY COLUMN `video_type` tinyint(4) NULL DEFAULT NULL COMMENT '视频类型;默认为1:清污机类型' AFTER `SORT`; - -ALTER TABLE `hzims_operation`.`hzims_unit_running_time` MODIFY COLUMN `DATE_TIME` varchar(12) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '年月' AFTER `EM_CODE`; - -CREATE TABLE `hzims_operation`.`hzims_user_feedback` ( - `ID` bigint(20) NOT NULL COMMENT '主键', - `TENANT_ID` varchar(12) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '租户ID', - `PHONE` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '联系电话', - `CONTENT` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '反馈内容', - `FILE_NAME` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '附件名称', - `FILE_URL` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '附件地址', - `REPLY_CONTENT` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '回复内容', - `REPLY_USER` bigint(20) NULL DEFAULT NULL COMMENT '回复人', - `STATUS` tinyint(4) NULL DEFAULT NULL COMMENT '状态 ', - `CREATE_TIME` datetime(0) NOT NULL COMMENT '创建时间', - `UPDATE_TIME` datetime(0) NULL DEFAULT NULL COMMENT '更新时间', - `CREATE_USER` bigint(20) NOT NULL COMMENT '创建人', - `UPDATE_USER` bigint(20) NULL DEFAULT NULL COMMENT '更新人', - `IS_DELETED` tinyint(4) NOT NULL COMMENT '是否删除', - `CREATE_DEPT` bigint(20) NULL DEFAULT NULL COMMENT '创建部门', - PRIMARY KEY (`ID`) USING BTREE -) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '用户反馈表' ROW_FORMAT = Dynamic; - -SET FOREIGN_KEY_CHECKS=1; - --- 字典 -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 (1645274950860365825, 0, 'data_origin', '-1', '数据来源类型', 10, '', 0, 0, 0, -1, 'operational'); -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 (1645275156549033986, 1645274950860365825, 'data_origin', '0', '数据采集', 0, '', 0, 0, 0, -1, 'operational'); -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 (1645275327714385922, 1645274950860365825, 'data_origin', '1', '数据填报', 1, '', 0, 0, 0, -1, 'operational'); - -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 (1630129576353242344, 1630129576354127875, 'project_kind', '4S', 'HZ3000 v4.0.0.6以上', 3, NULL, 0, 0, 0, -1, 'hzinfo-data-config'); -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 (1630129576354126893, 1630129576354127875, 'project_kind', '4', 'HZ3000 v4.0.0.6以下', 2, NULL, 0, 0, 0, -1, 'hzinfo-data-config'); -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 (1630129576354127867, 1630129576354127875, 'project_kind', '3', 'HZ3000 v3.0', 1, NULL, 0, 0, 0, -1, 'hzinfo-data-config'); -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 (1630129576354127875, 0, 'project_kind', '-1', '项目-数据来源', 0, NULL, 0, 0, 0, -1, 'hzinfo-data-config'); \ No newline at end of file +-- ---------------------------- +-- TABLE STRUCTURE FOR BLADE_MODULE_VERSION +-- ---------------------------- +DROP TABLE IF EXISTS `BLADE_MODULE_VERSION`; +CREATE TABLE `BLADE_MODULE_VERSION` ( + `MODULE_NAME` VARCHAR(64) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL, + `VERSION` VARCHAR(8) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL, + `HISTORY` VARCHAR(300) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL, + PRIMARY KEY (`MODULE_NAME`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR ECOLOGY_FLOW_DATA +-- ---------------------------- +DROP TABLE IF EXISTS `ECOLOGY_FLOW_DATA`; +CREATE TABLE `ECOLOGY_FLOW_DATA` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `STATION_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '站点编号', + `STATION_NAME` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '站点名称', + `MON` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '月份', + `ON_LINE` DECIMAL(15, 2) NULL DEFAULT NULL COMMENT '在线率', + `DEMONSTRATE` DECIMAL(15, 2) NULL DEFAULT NULL COMMENT '达标率', + `TIMELY` DECIMAL(15, 2) NULL DEFAULT NULL COMMENT '及时率', + `COMPLETE` DECIMAL(15, 2) 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) NOT 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; + +-- ---------------------------- +-- TABLE STRUCTURE FOR ECOLOGY_FLOW_MAP +-- ---------------------------- +DROP TABLE IF EXISTS `ECOLOGY_FLOW_MAP`; +CREATE TABLE `ECOLOGY_FLOW_MAP` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `AREA_CODE` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT '区域编码:地图展示使用', + `AREA_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) NOT 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; + +-- ---------------------------- +-- TABLE STRUCTURE FOR ECOLOGY_FLOW_STATION +-- ---------------------------- +DROP TABLE IF EXISTS `ECOLOGY_FLOW_STATION`; +CREATE TABLE `ECOLOGY_FLOW_STATION` ( + `ID` BIGINT(20) NOT NULL AUTO_INCREMENT COMMENT '主键ID', + `STATION_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '站点编号', + `STATION_NAME` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '站点名称', + `IS_ON_LINE` BIGINT(1) NULL DEFAULT NULL COMMENT '是否在线:0-离线 1-在线', + `IS_DEMONSTRATE` BIGINT(1) NULL DEFAULT NULL COMMENT '是否达标:0-不达标 1-达标', + `IS_TIMELY` BIGINT(1) NULL DEFAULT NULL COMMENT '是否及时:0-不及时 1-及时', + `IS_COMPLETE` BIGINT(1) NULL DEFAULT NULL COMMENT '是否完整:0-不完整 1-完整', + `CITY` VARCHAR(1) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '城市: 0-黔东南 1-广宁', + `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) NOT NULL COMMENT '状态', + `CREATE_DEPT` BIGINT(20) NULL DEFAULT NULL COMMENT '创建部门', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = INNODB AUTO_INCREMENT = 1475632999299153922 CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HY_ST_ALARM_RECORD +-- ---------------------------- +DROP TABLE IF EXISTS `HY_ST_ALARM_RECORD`; +CREATE TABLE `HY_ST_ALARM_RECORD` ( + `ID` BIGINT(20) NOT NULL AUTO_INCREMENT, + `STATION_ID` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '站点ID', + `REAL_ID` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '告警点号', + `STATUS` TINYINT(4) NULL DEFAULT NULL COMMENT '状态,0-为处理,1-已处理', + `PHONE_RECORD` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '电话记录', + `PROCESS_DESC` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '处理过程', + `PROCESSOR` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '处理人', + `PROCESS_TIME` DATETIME NULL DEFAULT NULL COMMENT '处理时间', + `REMARK` TEXT CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL COMMENT '备注', + `TENANT_ID` VARCHAR(12) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '租户ID', + `CREATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '创建时间', + `UPDATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '更新时间', + `CREATE_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '创建人', + `UPDATE_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '更新人', + `IS_DELETED` TINYINT(4) NULL DEFAULT 0 COMMENT '是否删除', + `CREATE_DEPT` BIGINT(20) NULL DEFAULT NULL COMMENT '创建部门ID', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = MYISAM AUTO_INCREMENT = 1759102152111833090 CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '告警记录表' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HY_ST_FOCUS_PROPERTIES +-- ---------------------------- +DROP TABLE IF EXISTS `HY_ST_FOCUS_PROPERTIES`; +CREATE TABLE `HY_ST_FOCUS_PROPERTIES` ( + `ID` BIGINT(20) NOT NULL AUTO_INCREMENT, + `TENANT_ID` VARCHAR(12) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '租户ID', + `STATION_ID` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '站点ID', + `PROPERTY_TYPE` TINYINT(4) NULL DEFAULT NULL COMMENT '类型,1-遥信;2-遥测', + `PROPERTY_NAME` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '属性名', + `GROUP_ID` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '分组ID', + `REAL_ID` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '关联实时点位', + `UPPER_LIMIT` DOUBLE NULL DEFAULT NULL COMMENT '上限值', + `UPPER_UPPER_LIMIT` DOUBLE NULL DEFAULT NULL COMMENT '上上限值', + `LOWER_LIMIT` DOUBLE NULL DEFAULT NULL COMMENT '下限值', + `LOWER_LOWER_LIMIT` DOUBLE NULL DEFAULT NULL COMMENT '下下限值', + `STATUS` TINYINT(4) NULL DEFAULT 0 COMMENT '状态', + `REMARK` TEXT CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL COMMENT '备注', + `CREATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '创建时间', + `UPDATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '更新时间', + `CREATE_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '创建人', + `UPDATE_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '更新人', + `IS_DELETED` TINYINT(4) NULL DEFAULT 0 COMMENT '是否删除', + `CREATE_DEPT` BIGINT(20) NULL DEFAULT NULL COMMENT '创建部门ID', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = MYISAM AUTO_INCREMENT = 1724585695361662978 CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '重点关注属性表' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZ_IMS_DUTY_ANALYSE_EXAMPLE +-- ---------------------------- +DROP TABLE IF EXISTS `HZ_IMS_DUTY_ANALYSE_EXAMPLE`; +CREATE TABLE `HZ_IMS_DUTY_ANALYSE_EXAMPLE` ( + `ID` BIGINT(20) NOT NULL, + `SITE_ID` BIGINT(22) NULL DEFAULT NULL COMMENT '站点ID', + `SITE_NAME` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '站点名称', + `EQUIPMENT_ID` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '设备ID', + `EQUIPMENT_NAME` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '设备名称', + `DEVICE_CODE` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '分析实例ID', + `ANALYSE_NAME` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '分析实例名称', + `PROPERTY_IDS` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '属性ID以^隔开', + `TENANT_ID` INT(11) NULL DEFAULT NULL COMMENT '租户ID', + `STATUS` TINYINT(4) NULL DEFAULT NULL COMMENT '状态(0 待值班 1 值班中 2 已完成)', + `CREATE_TIME` DATETIME NOT NULL COMMENT '创建时间', + `UPDATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '更新时间', + `CREATE_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '创建人', + `UPDATE_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '更新人', + `IS_DELETED` TINYINT(4) NULL DEFAULT 0 COMMENT '是否删除', + `CREATE_DEPT` BIGINT(20) NULL DEFAULT NULL COMMENT '创建部门ID', + PRIMARY KEY (`ID`) USING BTREE, + INDEX `CLASS_ID_INDEX`(`SITE_ID`) USING BTREE, + INDEX `EQUIPMENT_ID_INDEX`(`EQUIPMENT_ID`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZ_IMS_DUTY_CHANGE +-- ---------------------------- +DROP TABLE IF EXISTS `HZ_IMS_DUTY_CHANGE`; +CREATE TABLE `HZ_IMS_DUTY_CHANGE` ( + `ID` BIGINT(20) NOT NULL AUTO_INCREMENT COMMENT '主键ID', + `TENANT_ID` VARCHAR(12) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '租户ID', + `CLASS_ID` BIGINT(20) NOT NULL COMMENT '班次ID', + `APPLY_PERSON_ID` BIGINT(20) NOT NULL COMMENT '调班申请人用户ID', + `APPLY_DATE` DATE NOT NULL COMMENT '申请人值班日期', + `APPLY_DUTY_ID` BIGINT(20) NOT NULL COMMENT '申请人值班ID', + `ACCEPT_PERSON_ID` BIGINT(20) NOT NULL COMMENT '调班人用户ID', + `ACCEPT_DATE` DATE NOT NULL COMMENT '调班人值班日期', + `ACCEPT_DUTY_ID` BIGINT(20) NOT NULL COMMENT '调班人值班ID', + `MANAGER` BIGINT(20) NULL DEFAULT NULL COMMENT '审批主管用户ID', + `PROCESS_DEFINITION_KEY` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '流程定义KEY', + `PROCESS_INSTANCE_ID` VARCHAR(255) 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 DEFAULT 0 COMMENT '是否删除', + `STATUS` TINYINT(4) NULL DEFAULT NULL COMMENT '状态(1 未提交,2流程审核中,3已完成。)', + `CREATE_DEPT` BIGINT(20) NULL DEFAULT NULL COMMENT '创建部门', + `REASON` TEXT CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL COMMENT '调班原因', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = INNODB AUTO_INCREMENT = 1421001731929542659 CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '调班表' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZ_IMS_DUTY_CLASS +-- ---------------------------- +DROP TABLE IF EXISTS `HZ_IMS_DUTY_CLASS`; +CREATE TABLE `HZ_IMS_DUTY_CLASS` ( + `ID` BIGINT(64) NOT NULL COMMENT '主键ID', + `TENANT_ID` VARCHAR(12) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '租户ID', + `CLASS_TYPE_ID` BIGINT(20) NOT NULL COMMENT '班次类型ID', + `CLASS_NAME` VARCHAR(60) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT '班次名称', + `START_TIME` TIME NOT NULL COMMENT '开始时间', + `END_TIME` TIME NOT NULL COMMENT '结束时间 ', + `CREATE_TIME` DATETIME NOT NULL COMMENT '创建时间', + `UPDATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '更新时间', + `CREATE_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '创建人', + `UPDATE_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '更新人', + `IS_DELETED` TINYINT(4) NULL DEFAULT 0 COMMENT '是否删除', + `STATUS` TINYINT(4) NULL DEFAULT NULL COMMENT '业务状态', + `CREATE_DEPT` BIGINT(20) NULL DEFAULT NULL COMMENT '创建部门ID', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '班次表' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZ_IMS_DUTY_CLASS_TYPE +-- ---------------------------- +DROP TABLE IF EXISTS `HZ_IMS_DUTY_CLASS_TYPE`; +CREATE TABLE `HZ_IMS_DUTY_CLASS_TYPE` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `TENANT_ID` VARCHAR(12) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '租户ID', + `DEPT_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '部门ID', + `CLASS_TYPE_NAME` VARCHAR(60) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT '班次类型名称', + `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 '创建部门ID', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '班次类型表' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZ_IMS_DUTY_EMERGENCY +-- ---------------------------- +DROP TABLE IF EXISTS `HZ_IMS_DUTY_EMERGENCY`; +CREATE TABLE `HZ_IMS_DUTY_EMERGENCY` ( + `ID` BIGINT(20) NOT NULL COMMENT '突发事件登记表', + `DUTY_TIME` DATETIME NOT NULL COMMENT '值班日期', + `DUTY_CLASS` BIGINT(20) NOT NULL COMMENT '班次', + `REGISTRANT` BIGINT(20) NOT NULL COMMENT '登记人', + `CHARGE_PERSON` BIGINT(20) NULL DEFAULT NULL COMMENT '值班长', + `REGISTER_TIME` DATETIME NULL DEFAULT NULL COMMENT '登记时间', + `EVENT_TITLE` TEXT CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL COMMENT '事件主题', + `EVENT_INFO` LONGTEXT CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL COMMENT '事件内容', + `EVENT_TYPE` TEXT CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL COMMENT '事件方式', + `STATUS` TINYINT(4) NULL DEFAULT NULL COMMENT '状态(1 未提交,2流程审核中,3已完成。)', + `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 DEFAULT 0 COMMENT '是否删除', + `CREATE_DEPT` BIGINT(20) UNSIGNED NULL DEFAULT NULL, + `TENANT_ID` VARCHAR(12) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '租户ID', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZ_IMS_DUTY_GROUP +-- ---------------------------- +DROP TABLE IF EXISTS `HZ_IMS_DUTY_GROUP`; +CREATE TABLE `HZ_IMS_DUTY_GROUP` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `TENANT_ID` VARCHAR(12) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '租户ID', + `MANAGER_ID` VARCHAR(32) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '负责人ID', + `GROUP_NAME` VARCHAR(60) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT '班组名称', + `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 DEFAULT 0 COMMENT '是否删除', + `STATUS` TINYINT(4) NULL DEFAULT 0 COMMENT '业务状态', + `CREATE_DEPT` BIGINT(20) NULL DEFAULT NULL COMMENT '创建部门ID', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '值班小组信息' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZ_IMS_DUTY_GROUP_P +-- ---------------------------- +DROP TABLE IF EXISTS `HZ_IMS_DUTY_GROUP_P`; +CREATE TABLE `HZ_IMS_DUTY_GROUP_P` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `TENANT_ID` VARCHAR(12) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '租户ID', + `GROUP_ID` BIGINT(20) NOT NULL COMMENT '班组ID', + `PERSON_ID` BIGINT(20) NOT NULL COMMENT '值班人员ID', + PRIMARY KEY (`GROUP_ID`, `PERSON_ID`, `ID`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '值班小组人员关联表' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZ_IMS_DUTY_MAIN +-- ---------------------------- +DROP TABLE IF EXISTS `HZ_IMS_DUTY_MAIN`; +CREATE TABLE `HZ_IMS_DUTY_MAIN` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `PRE_DUTY_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '上一班值班ID', + `DUTY_GROUP_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '值班组ID', + `DUTY_DATE` DATE NOT NULL COMMENT '值班日期', + `CLASS_ID` BIGINT(20) NOT NULL COMMENT '班次ID', + `DUTY_PERSON_IDS` VARCHAR(1000) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '值班人IDS, ID之间用^隔开', + `STATUS` TINYINT(4) NULL DEFAULT NULL COMMENT '状态(0 待值班 1 值班中 2 已完成)', + `REMARK` TEXT CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL COMMENT '备注', + `TENANT_ID` VARCHAR(12) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '租户ID', + `CREATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '创建时间', + `UPDATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '更新时间', + `CREATE_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '创建人', + `UPDATE_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '更新人', + `IS_DELETED` TINYINT(4) NULL DEFAULT 0 COMMENT '是否删除', + `CREATE_DEPT` BIGINT(20) NULL DEFAULT NULL COMMENT '创建部门ID', + PRIMARY KEY (`ID`) USING BTREE, + INDEX `INDEX_PRE_DUTY_ID`(`PRE_DUTY_ID`) USING BTREE, + INDEX `INDEX_DUTY_DATE`(`DUTY_DATE`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '值班信息主表' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZ_IMS_DUTY_MAIN_PERSON +-- ---------------------------- +DROP TABLE IF EXISTS `HZ_IMS_DUTY_MAIN_PERSON`; +CREATE TABLE `HZ_IMS_DUTY_MAIN_PERSON` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键ID(排班计划-人员表)', + `DUTY_MAIN_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '值班-班组表ID', + `DUTY_GROUP_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '值班组ID(灵活排版无ID)', + `DUTY_GROUP_NAME` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '值班班组名称', + `DUTY_DATE` DATE NOT NULL COMMENT '值班日期', + `CLASS_ID` BIGINT(20) NOT NULL COMMENT '班次ID', + `DUTY_PERSON` BIGINT(20) NULL DEFAULT NULL COMMENT '值班人ID(一个值班人对应一条)', + `DUTY_CHARGE_PERSON` BIGINT(20) NULL DEFAULT NULL COMMENT '值班负责人', + `STATUS` TINYINT(4) NULL DEFAULT NULL COMMENT '状态(0 待值班 1 值班中 2 已完成)', + `REMARK` TEXT CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL COMMENT '备注', + `TENANT_ID` VARCHAR(12) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '租户ID', + `CREATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '创建时间', + `UPDATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '更新时间', + `CREATE_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '创建人', + `UPDATE_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '更新人', + `IS_DELETED` TINYINT(4) NULL DEFAULT 0 COMMENT '是否删除', + `CREATE_DEPT` BIGINT(20) NULL DEFAULT NULL COMMENT '创建部门ID', + PRIMARY KEY (`ID`) USING BTREE, + INDEX `INDEX_PERSON`(`DUTY_PERSON`) USING BTREE, + INDEX `INDEX_DUTY_MAIN_ID`(`DUTY_MAIN_ID`) USING BTREE, + INDEX `INDEX_DUTY_DATE`(`DUTY_DATE`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZ_IMS_DUTY_MAIN_TEMPLATE +-- ---------------------------- +DROP TABLE IF EXISTS `HZ_IMS_DUTY_MAIN_TEMPLATE`; +CREATE TABLE `HZ_IMS_DUTY_MAIN_TEMPLATE` ( + `ID` BIGINT(20) NOT NULL AUTO_INCREMENT COMMENT '主键ID', + `TENANT_ID` VARCHAR(12) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '租户ID', + `TEMPLATE_NAME` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '排班模版名称', + `TYPE` TINYINT(4) NOT NULL DEFAULT 1 COMMENT '1 班组,2灵活排班', + `DUTY_ORDER_IDS` VARCHAR(10000) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT '班组值班周期ID', + `DUTY_ARR_IDS` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT '班组ID', + `FLEXIBLE` VARCHAR(5000) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '灵活排班人员ID', + `DUTY_CLASS_TYPE_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '班次类型ID', + `DUTY_NUM` INT(2) NOT NULL COMMENT '值班周期天数', + `STATUS` TINYINT(4) NULL DEFAULT NULL COMMENT '状态(1 未提交,2流程审核中,3已完成。)', + `CREATE_TIME` DATETIME NOT NULL COMMENT '创建时间', + `UPDATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '更新时间', + `CREATE_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '创建人', + `UPDATE_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '更新人', + `IS_DELETED` TINYINT(4) NOT NULL DEFAULT 0 COMMENT '是否删除', + `CREATE_DEPT` BIGINT(20) NULL DEFAULT NULL, + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = INNODB AUTO_INCREMENT = 1741373050537918467 CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '排班模版' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZ_IMS_DUTY_REC +-- ---------------------------- +DROP TABLE IF EXISTS `HZ_IMS_DUTY_REC`; +CREATE TABLE `HZ_IMS_DUTY_REC` ( + `ID` BIGINT(20) NOT NULL AUTO_INCREMENT COMMENT '主键ID', + `TENANT_ID` VARCHAR(12) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT '租户ID', + `DUTY_ID` BIGINT(20) NOT NULL COMMENT '值班ID', + `EXEC_TIME` DATETIME NULL DEFAULT NULL COMMENT '交班时间', + `ACCEPT_TIME` DATETIME NULL DEFAULT NULL COMMENT '接班时间', + `DUTY_INFO` TEXT CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL COMMENT '交班情况', + `LEFT_PROBLEM` TEXT CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL COMMENT '遗留问题', + `ACCEPT_INFO` TEXT CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL COMMENT '接班情况', + `PROCESS_INSTANCE_ID` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '流程实例ID', + `QR_CODE_CONTENT` VARCHAR(60) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '二维码内容', + `INSPECT_TASK_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '巡检任务ID', + `DELAY_STATUS` TINYINT(4) NULL DEFAULT 0 COMMENT '交接班延时状态:0 未延时 1 延时', + `STATUS` TINYINT(4) NULL DEFAULT NULL COMMENT '状态(1 未提交,2流程审核中,3已完成。)', + `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 DEFAULT 0 COMMENT '是否删除', + `CREATE_DEPT` BIGINT(20) NULL DEFAULT NULL, + `DEAL_CHAIN` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '当前处理环节', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = INNODB AUTO_INCREMENT = 1759731801909227522 CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZ_IMS_DUTY_REC_QR_RECORD +-- ---------------------------- +DROP TABLE IF EXISTS `HZ_IMS_DUTY_REC_QR_RECORD`; +CREATE TABLE `HZ_IMS_DUTY_REC_QR_RECORD` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键', + `TENANT_ID` VARCHAR(12) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT '租户ID', + `DUTY_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '值班ID', + `PERSON_ID` BIGINT(20) 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`, `TENANT_ID`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '交接班扫码记录' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_ABNORMAL_ALARM +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_ABNORMAL_ALARM`; +CREATE TABLE `HZIMS_ABNORMAL_ALARM` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `STATION_ID` VARCHAR(64) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '站点ID', + `STATION_NAME` VARCHAR(168) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '站点名称', + `REAL_ID` VARCHAR(64) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '告警点位', + `START_TIME` DATETIME NULL DEFAULT NULL COMMENT '告警开始时间', + `END_TIME` DATETIME NULL DEFAULT NULL COMMENT '告警结束时间', + `TYPE` VARCHAR(16) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '告警类型 13-连接中断 14-数据异常', + `SOE_EXPLAIN` VARCHAR(500) 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 NULL DEFAULT NULL COMMENT '创建时间', + `UPDATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '更新时间', + `CREATE_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '创建人', + `UPDATE_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '更新人', + `IS_DELETED` TINYINT(4) NULL DEFAULT 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; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_ALARM_HANDLE +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_ALARM_HANDLE`; +CREATE TABLE `HZIMS_ALARM_HANDLE` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `ALARM_ID` VARCHAR(200) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '告警主键ID', + `STATION_CODE` VARCHAR(200) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '站点编号', + `ALARM_TYPE` SMALLINT(6) NULL DEFAULT NULL COMMENT '告警类型', + `ALARM_TIME` DATETIME NULL DEFAULT NULL COMMENT '告警时间', + `ALARM_CONTENT` VARCHAR(1024) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '告警内容', + `TYPE` TINYINT(1) NULL DEFAULT NULL COMMENT '类型:0-系统告警 1-智能告警', + `HANDLE_WAY` SMALLINT(6) NULL DEFAULT NULL COMMENT '处理方式', + `DETAIL_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '处理详情ID', + `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) NOT 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; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_ALARM_HANDLE_DETAIL +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_ALARM_HANDLE_DETAIL`; +CREATE TABLE `HZIMS_ALARM_HANDLE_DETAIL` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `HANDLE_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '通知处理人', + `PHENOMENON_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '现象ID', + `ACCESS_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '检修ID', + `DELAY_TIME` DATETIME NULL DEFAULT NULL COMMENT '延后时间', + `DELAY_CAUSE` VARCHAR(1024) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '延后原因', + `FALSE_ALARM_DESC` VARCHAR(1024) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '误报描述', + `FILE_PATH` 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) NOT 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; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_ALERT_DEFECT_CONFIG +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_ALERT_DEFECT_CONFIG`; +CREATE TABLE `HZIMS_ALERT_DEFECT_CONFIG` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `ALERT_TYPE` BIGINT(4) NULL DEFAULT NULL COMMENT '告警类型', + `IS_OPEN` BIGINT(1) NULL DEFAULT NULL COMMENT '是否开启缺陷保存 : 0-关闭 1 - 开启', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_ANALYZE_MODEL_STATION +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_ANALYZE_MODEL_STATION`; +CREATE TABLE `HZIMS_ANALYZE_MODEL_STATION` ( + `ID` BIGINT(64) NOT NULL COMMENT '主键ID', + `TENANT_ID` VARCHAR(12) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '租户ID', + `STATION_ID` VARCHAR(30) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT '站点ID', + `INSTANCE_CODE` VARCHAR(32) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT '实例编码', + `REMARK` VARCHAR(200) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '备注', + `CREATE_TIME` DATETIME NOT NULL COMMENT '创建时间', + `UPDATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '更新时间', + `CREATE_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '创建人', + `UPDATE_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '更新人', + `IS_DELETED` TINYINT(4) NULL DEFAULT 0 COMMENT '是否删除', + `STATUS` TINYINT(4) NULL DEFAULT NULL COMMENT '业务状态', + `CREATE_DEPT` BIGINT(20) NULL DEFAULT NULL COMMENT '创建部门ID', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '分析模型站点' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_APP_VERSION +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_APP_VERSION`; +CREATE TABLE `HZIMS_APP_VERSION` ( + `ID` VARCHAR(64) CHARACTER SET UTF8MB4 COLLATE UTF8MB4_GENERAL_CI NOT NULL COMMENT '主键', + `VERSION_NAME` VARCHAR(64) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT '版本名称', + `VERSION_CODE` INT(11) NOT NULL COMMENT '版本号', + `APK_FILE_URL` VARCHAR(2000) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT 'APK存放地址', + `UPDATE_LOG` TEXT CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT '更新日志', + `TARGET_SIZE` VARCHAR(64) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL, + `CONSTRAINT` TINYINT(4) NULL DEFAULT 0 COMMENT '强制更新', + `PACKAGE_NAME` VARCHAR(40) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL, + `CREATE_USER` BIGINT(64) NULL DEFAULT NULL COMMENT '创建人', + `CREATE_DEPT` BIGINT(64) 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 '是否已删除', + `CREATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '修改时间', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_CONTROL_USERS +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_CONTROL_USERS`; +CREATE TABLE `HZIMS_CONTROL_USERS` ( + `STATION_ID` VARCHAR(64) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT '站点ID', + `USER_IDS` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT '人员ID', + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `TENANT_ID` VARCHAR(12) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '租户ID', + `CREATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '创建时间', + `UPDATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '更新时间', + `CREATE_USER` BIGINT(20) NULL DEFAULT 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; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_DUTY_GROUP_GENERATING_CAPACITY +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_DUTY_GROUP_GENERATING_CAPACITY`; +CREATE TABLE `HZIMS_DUTY_GROUP_GENERATING_CAPACITY` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `DUTY_DEPT` BIGINT(20) NULL DEFAULT NULL COMMENT '班组机构', + `DATE_TIME` VARCHAR(20) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '年月', + `GROUP_ID` BIGINT(20) NOT NULL COMMENT '班组ID', + `EM_CODE` VARCHAR(30) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '设备CODE', + `START_TIME` TIME NOT NULL COMMENT '开始时间', + `END_TIME` TIME NOT NULL COMMENT '结束时间', + `GENERATING_CAPACITY` DOUBLE 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) NULL DEFAULT NULL COMMENT '创建人', + `UPDATE_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '更新人', + `IS_DELETED` TINYINT(4) NOT NULL DEFAULT 0 COMMENT '是否删除', + `STATUS` TINYINT(4) NULL DEFAULT 0 COMMENT '业务状态', + `CREATE_DEPT` BIGINT(20) NULL DEFAULT NULL COMMENT '创建部门ID', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '班组发电量' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_FILL_GENERATE +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_FILL_GENERATE`; +CREATE TABLE `HZIMS_FILL_GENERATE` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `STATION_CODE` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '站点编号', + `STATION_NAME` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '站点名称', + `DATA_ORIGIN` VARCHAR(4) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '站点数据类型: 0 - 接入站点 1 - 未接入站点', + `FILL_DATE` VARCHAR(20) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '填报日期', + `GENERATE` DECIMAL(15, 2) 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 '状态 0-启用 1-停用', + `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; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_FILL_OTHER +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_FILL_OTHER`; +CREATE TABLE `HZIMS_FILL_OTHER` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `START_DATE` DATE NULL DEFAULT NULL COMMENT '工作开始日期', + `END_DATE` DATE NULL DEFAULT NULL COMMENT '工作结束日期', + `FA_QUANTITY` TINYINT(10) NULL DEFAULT 0 COMMENT 'FA投入条数', + `ONLINE_RATE` VARCHAR(10) 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 '状态 0-启用 1-停用', + `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; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_FILL_OVER +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_FILL_OVER`; +CREATE TABLE `HZIMS_FILL_OVER` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `START_DATE` DATE NULL DEFAULT NULL COMMENT '工作开始日期', + `END_DATE` DATE NULL DEFAULT NULL COMMENT '工作结束日期', + `TOTAL_PRICE` DECIMAL(10, 2) NULL DEFAULT 0.00 COMMENT '总价', + `ENCL_PATH` VARCHAR(1000) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '附件路径', + `ENCL_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) NOT 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; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_FILL_OVER_CONFIG +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_FILL_OVER_CONFIG`; +CREATE TABLE `HZIMS_FILL_OVER_CONFIG` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `OVER_NAME` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT '检修类型名称', + `UNIT_PRICE` DECIMAL(10, 2) NOT NULL DEFAULT 0.00 COMMENT '单价', + `SORT` INT(11) NOT 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 0 COMMENT '状态 0-启用 1-停用', + `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; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_FILL_OVER_DETAILS +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_FILL_OVER_DETAILS`; +CREATE TABLE `HZIMS_FILL_OVER_DETAILS` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `OVER_ID` BIGINT(20) NOT NULL COMMENT '检修填报ID', + `OVER_CONFIG_ID` BIGINT(20) NOT NULL COMMENT '检修分类配置ID', + `PRICE` DECIMAL(10, 2) NULL DEFAULT 0.00 COMMENT '单价', + `QUANTITY` TINYINT(10) NULL DEFAULT 0 COMMENT '数量', + `TOTAL_PRICE` DECIMAL(10, 2) NULL DEFAULT 0.00 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 '状态 0-启用 1-停用', + `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; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_FILL_POWER +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_FILL_POWER`; +CREATE TABLE `HZIMS_FILL_POWER` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `MON` VARCHAR(12) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT '月份', + `INSTALLED_CAPACITY` BIGINT(10) NULL DEFAULT 0 COMMENT '装机容量', + `PLANNED_POWER_YEAR` DOUBLE(20, 2) NULL DEFAULT 0.00 COMMENT '年计划发电量', + `PLANNED_POWER_MON` DOUBLE(20, 2) NULL DEFAULT 0.00 COMMENT '月计划发电量', + `POWER_MON` BIGINT(20) NULL DEFAULT 0 COMMENT '月发电量', + `POWER_RATE_MON` VARCHAR(12) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '月发电完成率', + `POWER_YEAR` DOUBLE(20, 2) NULL DEFAULT 0.00 COMMENT '年发电量', + `POWER_RATE_YEAR` VARCHAR(12) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT '0' COMMENT '年发电量完成率', + `DOUBLE_QUALIFY_RATE` VARCHAR(12) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT '0' COMMENT '双票合格率', + `TYPE` TINYINT(4) NULL DEFAULT NULL COMMENT '类型 0-风电 1-光伏', + `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; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_FILL_RAINFALL +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_FILL_RAINFALL`; +CREATE TABLE `HZIMS_FILL_RAINFALL` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `STATION_CODE` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '站点编号', + `STATION_NAME` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '站点名称', + `RAIN` DECIMAL(15, 2) NULL DEFAULT NULL COMMENT '降雨量', + `FILL_DATE` VARCHAR(50) 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 '状态 0-启用 1-停用', + `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; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_FILL_SOLVE +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_FILL_SOLVE`; +CREATE TABLE `HZIMS_FILL_SOLVE` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `SOLVE_DATE` DATE NULL DEFAULT NULL COMMENT '消缺日期', + `SOLVE_QUANTITY` BIGINT(10) NULL DEFAULT NULL COMMENT '消缺数量', + `SOLVE_SUC_QUANTITY` BIGINT(10) 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; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_FILL_STORAGE +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_FILL_STORAGE`; +CREATE TABLE `HZIMS_FILL_STORAGE` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `STATION_CODE` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '站点编号', + `STATION_NAME` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '站点名称', + `POWER` DECIMAL(15, 2) NULL DEFAULT NULL COMMENT '发电量', + `FILL_DATE` VARCHAR(50) 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 '状态 0-启用 1-停用', + `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; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_FILL_USE +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_FILL_USE`; +CREATE TABLE `HZIMS_FILL_USE` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `STATION_CODE` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '站点编号', + `STATION_NAME` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '站点名称', + `DATA_ORIGIN` VARCHAR(4) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '站点数据类型: 0 - 接入站点 1 - 未接入站点', + `FILL_DATE` VARCHAR(20) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '填报日期', + `EMPLOY` DECIMAL(15, 2) 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 '状态 0-启用 1-停用', + `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; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_FILL_WIND +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_FILL_WIND`; +CREATE TABLE `HZIMS_FILL_WIND` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `STATION_CODE` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '站点编号', + `STATION_NAME` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '站点名称', + `FILL_DATE` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '填报日期', + `POWER` DECIMAL(15, 2) NULL DEFAULT NULL COMMENT '发电量', + `SPEED` DECIMAL(15, 2) NULL DEFAULT NULL COMMENT '平均风速', + `SURF_POWER` DECIMAL(15, 2) NULL DEFAULT NULL COMMENT '上网电量', + `BELOW_POWER` DECIMAL(15, 2) NULL DEFAULT NULL COMMENT '下网电量', + `AVAILABLE` DECIMAL(15, 2) NULL DEFAULT NULL COMMENT '可用时长', + `COMPREHENSIVE_POWER` DECIMAL(15, 2) NULL DEFAULT NULL COMMENT '综合用电量', + `PEAK_POWER` DECIMAL(15, 2) NULL DEFAULT NULL COMMENT '峰值功率', + `FAULT_HOURS` DECIMAL(15, 2) NULL DEFAULT NULL COMMENT '故障时间', + `ACCURACY` DECIMAL(15, 2) NULL DEFAULT NULL COMMENT '短期预测准确率', + `ULTRA_SHORT_ACCURACY` DECIMAL(15, 2) 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_DEPT` BIGINT(20) NULL DEFAULT NULL COMMENT '创建部门', + `CREATE_USER` BIGINT(20) NOT NULL COMMENT '创建人', + `UPDATE_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '更新人', + `STATUS` TINYINT(4) NULL DEFAULT NULL COMMENT '状态', + `IS_DELETED` TINYINT(4) NOT NULL COMMENT '是否删除', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_FLV_VIDEO_CONFIG +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_FLV_VIDEO_CONFIG`; +CREATE TABLE `HZIMS_FLV_VIDEO_CONFIG` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `NAME` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '视频源名称', + `TIME` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '时间间隔', + `CONFIG_ENTITY` VARCHAR(1000) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '配置JSON', + `TYPE` TINYINT(4) NULL DEFAULT 1 COMMENT '类型', + `SAVE_PEOPLE` VARCHAR(100) 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 DEFAULT 0 COMMENT '是否删除', + `STATUS` TINYINT(4) NULL DEFAULT NULL COMMENT '状态 ', + `CREATE_DEPT` BIGINT(20) NULL DEFAULT NULL COMMENT '创建部门', + PRIMARY KEY (`ID`) USING BTREE, + INDEX ```XCONFIG_ENTITY```(`CONFIG_ENTITY`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_FOCUS_ATTRIBUTE +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_FOCUS_ATTRIBUTE`; +CREATE TABLE `HZIMS_FOCUS_ATTRIBUTE` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `GROUP_ID` TINYINT(4) NOT NULL COMMENT '属性分组ID', + `GROUP_NAME` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT '属性分组名称', + `DOMAIN_ID` TINYINT(4) NULL DEFAULT NULL COMMENT '厂站类型', + `DOMAIN_NAME` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '厂站名称', + `ATTRIBUTES` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '属性名称', + `ATTRIBUTE_TYPE` TINYINT(4) NULL DEFAULT NULL COMMENT '属性类型(1:遥信;2:遥测)', + `UP_LIMIT` DOUBLE NULL DEFAULT NULL COMMENT '上限值', + `DOWN_LIMIT` DOUBLE NULL DEFAULT NULL COMMENT '下限值', + `UP_UP_LIMIT` DOUBLE NULL DEFAULT NULL COMMENT '上上限值', + `DOWN_DOWN_LIMIT` DOUBLE NULL DEFAULT NULL COMMENT '下下限值', + `REMARK` VARCHAR(1000) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '备注', + `CREATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '创建时间', + `UPDATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '更新时间', + `CREATE_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '创建人', + `UPDATE_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '更新人', + `IS_DELETED` TINYINT(4) NULL DEFAULT 0 COMMENT '是否删除', + `CREATE_DEPT` BIGINT(20) NULL DEFAULT NULL COMMENT '创建部门ID', + `SORT` TINYINT(4) 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 NULL, + `UNIT` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '单位', + `SIGNAGE` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '监测点标识', + `SIGNAGE_NAME` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '物模型属性名称', + `MODEL_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '模型名称ID', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_HISTORY_ABNORMAL_ALARM +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_HISTORY_ABNORMAL_ALARM`; +CREATE TABLE `HZIMS_HISTORY_ABNORMAL_ALARM` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `STATION_ID` VARCHAR(64) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '站点ID', + `STATION_NAME` VARCHAR(168) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '站点名称', + `ALARM_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '告警编号', + `REAL_ID` VARCHAR(64) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '告警点位', + `START_TIME` DATETIME NULL DEFAULT NULL COMMENT '告警开始时间', + `END_TIME` DATETIME NULL DEFAULT NULL COMMENT '告警结束时间', + `TYPE` VARCHAR(16) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '告警类型 13-连接中断 14-数据异常', + `SOE_EXPLAIN` VARCHAR(500) 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', + `STATUS` BIGINT(1) NULL DEFAULT NULL COMMENT '状态', + `CREATE_DEPT` BIGINT(20) NULL DEFAULT NULL COMMENT '创建单位', + `CREATE_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '创建人', + `CREATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '创建时间', + `UPDATE_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '修改人', + `UPDATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '更新时间', + `IS_DELETED` TINYINT(4) NOT NULL COMMENT '是否删除', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_HISTORY_LEVEL_ALARM +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_HISTORY_LEVEL_ALARM`; +CREATE TABLE `HZIMS_HISTORY_LEVEL_ALARM` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `STATION_ID` VARCHAR(64) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '站点ID', + `STATION_NAME` VARCHAR(168) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '站点名称', + `DEVICE_CODE` VARCHAR(64) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '设备编码', + `DEVICE_NAME` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '设备名称', + `ALARM_LEVEL` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '告警等级', + `ALARM_ID` VARCHAR(20) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '告警编号', + `REAL_ID` VARCHAR(64) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '告警点位', + `ALARM_TIME` DATETIME NULL DEFAULT NULL COMMENT '告警开始时间', + `TYPE` VARCHAR(16) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '告警类型 13-连接中断 14-数据异常', + `SOE_EXPLAIN` VARCHAR(500) 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', + `STATUS` TINYINT(4) NULL DEFAULT NULL COMMENT '业务状态', + `CREATE_DEPT` BIGINT(20) NULL DEFAULT NULL COMMENT '创建单位', + `CREATE_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '创建人', + `CREATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '创建时间', + `UPDATE_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '修改人', + `UPDATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '修改时间', + `IS_DELETED` TINYINT(4) NOT NULL DEFAULT 0 COMMENT '是否删除', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_MAIN_WORK_BENCH +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_MAIN_WORK_BENCH`; +CREATE TABLE `HZIMS_MAIN_WORK_BENCH` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键', + `TYPE` SMALLINT(6) NULL DEFAULT NULL COMMENT '首页分类', + `REF_DOMAIN` SMALLINT(6) NULL DEFAULT NULL COMMENT '所属行业', + `NAME` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '页面名称', + `REF_TERMINAL` VARCHAR(2) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '所属终端', + `STATION_TYPE` SMALLINT(6) NULL DEFAULT NULL COMMENT '站点分类', + `ROUTER` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT '页面路由', + `APPLICATION_CODE` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT '应用编码', + `ENABLE_FLAG` SMALLINT(6) NULL DEFAULT NULL COMMENT '是否启用', + `REF_DEPT` VARCHAR(2048) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '归属机构', + `ORD` INT(11) 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 '创建部门', + `EXCLUDE_DEPT` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '排除机构', + `ASCRIPTION_USER` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '归属用户', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '首页工作台表' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_MONTH_REPORT +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_MONTH_REPORT`; +CREATE TABLE `HZIMS_MONTH_REPORT` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键', + `MONTH` VARCHAR(20) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '报表月份', + `STATION_CODE` VARCHAR(32) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '站点编码', + `USER_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '个人ID', + `TYPE` VARCHAR(2) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '报表类型', + `OBJECT` MEDIUMBLOB NULL COMMENT '报表保存对象', + `CREATE_TIME` DATETIME NOT NULL COMMENT '创建时间', + `UPDATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '更新时间', + `CREATE_USER` BIGINT(20) NULL DEFAULT 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 COMMENT = '月报表' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_OPER_ACCESS_BASE_MATERIAL +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_OPER_ACCESS_BASE_MATERIAL`; +CREATE TABLE `HZIMS_OPER_ACCESS_BASE_MATERIAL` ( + `ID` BIGINT(20) NOT NULL, + `NAME` VARCHAR(200) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT '名称', + `TYPE_CODE` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT '类型', + `MODEL` VARCHAR(200) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT '规格型号', + `UNIT` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT '单位', + `PRICE` DECIMAL(11, 3) 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 NULL COMMENT '业务状态', + `CREATE_DEPT` BIGINT(20) NULL DEFAULT NULL COMMENT '创建单位', + `IS_DELETED` TINYINT(4) NOT NULL DEFAULT 0, + `CREATE_USER` BIGINT(20) NOT 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 = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '材料基础表' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_OPER_ACCESS_CONTENT +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_OPER_ACCESS_CONTENT`; +CREATE TABLE `HZIMS_OPER_ACCESS_CONTENT` ( + `ID` BIGINT(20) NOT NULL, + `LIBRARY_ID` BIGINT(20) NOT NULL DEFAULT 0 COMMENT '库ID', + `PLAN_ID` BIGINT(20) NOT NULL COMMENT '计划ID', + `EM_CODE` VARCHAR(64) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL DEFAULT '' COMMENT '设备编码', + `NAME` VARCHAR(200) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT '名称', + `TYPE_CODE` TINYINT(4) NULL DEFAULT NULL COMMENT '类型', + `GRADE_CODE` VARCHAR(40) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT '检修等级', + `PLAN_START_TIME` DATETIME NOT NULL COMMENT '计划开始时间', + `PLAN_END_TIME` DATETIME NOT NULL COMMENT '计划结束时间', + `WORK_STANDARDS` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL DEFAULT '' COMMENT '操作规范', + `SAFE_INFOS` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL DEFAULT '' COMMENT '安全警告', + `ACT_HOURS` INT(11) NULL DEFAULT NULL COMMENT '实际工时', + `MANAGER` BIGINT(20) NOT NULL COMMENT '负责人', + `DESCRIPITON` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL DEFAULT '' COMMENT '描述', + `TENANT_ID` VARCHAR(12) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '租户ID', + `STATUS` TINYINT(4) NULL DEFAULT NULL COMMENT '业务状态', + `CREATE_DEPT` BIGINT(20) NULL DEFAULT NULL COMMENT '创建单位', + `IS_DELETED` TINYINT(4) NOT NULL DEFAULT 0, + `CREATE_USER` BIGINT(20) NOT NULL COMMENT '创建人', + `CREATE_TIME` DATETIME NOT NULL COMMENT '创建时间', + `UPDATE_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '修改人', + `UPDATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '修改时间', + `TICKET_TEMPLATE_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '工作票模板ID', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '检修项目' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_OPER_ACCESS_CONTENT_DETAIL +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_OPER_ACCESS_CONTENT_DETAIL`; +CREATE TABLE `HZIMS_OPER_ACCESS_CONTENT_DETAIL` ( + `ID` BIGINT(20) NOT NULL, + `LIBRARY_DETAIL_ID` BIGINT(20) NOT NULL DEFAULT 0 COMMENT '检修库明细ID', + `CONTENT_ID` BIGINT(20) NOT NULL COMMENT '项目ID', + `NAME` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT '检修项目', + `CONTENT` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL DEFAULT '' COMMENT '项目内容', + `TENANT_ID` VARCHAR(12) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '租户ID', + `STATUS` TINYINT(4) NULL DEFAULT NULL COMMENT '业务状态', + `CREATE_DEPT` BIGINT(20) NULL DEFAULT NULL COMMENT '创建单位', + `IS_DELETED` TINYINT(4) NOT NULL DEFAULT 0, + `CREATE_USER` BIGINT(20) NOT 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 = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '检修项目明细' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_OPER_ACCESS_LIBRARY +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_OPER_ACCESS_LIBRARY`; +CREATE TABLE `HZIMS_OPER_ACCESS_LIBRARY` ( + `ID` BIGINT(20) NOT NULL, + `EM_CODE` VARCHAR(64) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT '设备编码', + `GRADE_CODE` VARCHAR(40) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT '检修等级', + `PERIOD` INT(11) NOT NULL COMMENT '检修间隔', + `WORK_STANDARDS` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL DEFAULT '' COMMENT '操作规范', + `SAFE_INFOS` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL DEFAULT '' COMMENT '安全警告', + `STOP_HOURS` INT(11) NOT NULL COMMENT '停用时间', + `LAST_SERVICE_TIME` DATETIME NULL DEFAULT NULL COMMENT '上一次检修时间', + `DESCRIPITON` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL DEFAULT '' COMMENT '描述', + `TENANT_ID` VARCHAR(12) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '租户ID', + `STATUS` TINYINT(4) NOT NULL DEFAULT 1, + `CREATE_DEPT` BIGINT(20) NULL DEFAULT NULL COMMENT '创建单位', + `IS_DELETED` TINYINT(4) NOT NULL DEFAULT 0, + `CREATE_USER` BIGINT(20) NOT NULL COMMENT '创建人', + `CREATE_TIME` DATETIME NOT NULL COMMENT '创建时间', + `UPDATE_USER` BIGINT(20) NOT NULL COMMENT '修改人', + `UPDATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '修改时间', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '检修库' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_OPER_ACCESS_LIBRARY_DETAIL +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_OPER_ACCESS_LIBRARY_DETAIL`; +CREATE TABLE `HZIMS_OPER_ACCESS_LIBRARY_DETAIL` ( + `ID` BIGINT(20) NOT NULL, + `PID` BIGINT(20) NOT NULL COMMENT '库ID', + `NAME` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT '检修项目', + `CONTENT` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL DEFAULT '' COMMENT '检修内容', + `TENANT_ID` VARCHAR(12) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '租户ID', + `STATUS` TINYINT(4) NULL DEFAULT NULL COMMENT '业务状态', + `CREATE_DEPT` BIGINT(20) NULL DEFAULT NULL COMMENT '创建单位', + `IS_DELETED` TINYINT(4) NOT NULL DEFAULT 0, + `CREATE_USER` BIGINT(20) NOT 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 = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '检修库明细' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_OPER_ACCESS_MATERIAL +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_OPER_ACCESS_MATERIAL`; +CREATE TABLE `HZIMS_OPER_ACCESS_MATERIAL` ( + `ID` BIGINT(20) NOT NULL, + `MATERIAL_ID` BIGINT(20) NOT NULL DEFAULT 0 COMMENT '材料ID', + `SP_BASIC_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '台账ID', + `PLAN_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '计划ID', + `TASK_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '任务ID', + `NUMBER` INT(11) NOT NULL COMMENT '数量', + `PRICE` DECIMAL(11, 3) NULL DEFAULT NULL COMMENT '参考价', + `NAME` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '材料名称', + `TYPE_NAME` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '类型', + `SPECIFICATIONS` VARCHAR(20) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '规格', + `UNIT` VARCHAR(20) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '单位', + `WAREHOUSE_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '仓库ID', + `WAREHOUSE_NAME` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '仓库', + `ACT_PRICE` DECIMAL(11, 3) NULL DEFAULT NULL COMMENT '实价', + `DESCRIPITON` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL DEFAULT '' COMMENT '描述', + `TENANT_ID` VARCHAR(12) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '租户ID', + `STATUS` TINYINT(4) NULL DEFAULT NULL COMMENT '业务状态', + `CREATE_DEPT` BIGINT(20) NULL DEFAULT NULL COMMENT '创建单位', + `IS_DELETED` TINYINT(4) NOT NULL DEFAULT 0, + `CREATE_USER` BIGINT(20) NOT 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 = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '检修材料' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_OPER_ACCESS_PLAN +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_OPER_ACCESS_PLAN`; +CREATE TABLE `HZIMS_OPER_ACCESS_PLAN` ( + `ID` BIGINT(20) NOT NULL, + `PROC_DEF_ID` VARCHAR(64) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT '工作流KEY', + `PROCESS_INSTANCE_ID` VARCHAR(64) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT '' COMMENT '工作流实例', + `CODE` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT '项目编码', + `NAME` VARCHAR(200) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT '计划名称', + `GRADE_CODE` VARCHAR(40) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT '检修等级', + `PLAN_START_TIME` DATETIME NOT NULL COMMENT '计划开始时间', + `PLAN_END_TIME` DATETIME NOT NULL COMMENT '计划结束时间', + `ACT_START_TIME` DATETIME NULL DEFAULT NULL COMMENT '实际开始时间', + `ACT_END_TIME` DATETIME NULL DEFAULT NULL COMMENT '实际结束时间', + `TOTAL` DECIMAL(11, 3) NULL DEFAULT NULL COMMENT '材料合计', + `MANAGER` BIGINT(20) NULL DEFAULT NULL COMMENT '管理负责人', + `TECH_LEAD` BIGINT(20) NULL DEFAULT NULL COMMENT '技术负责人', + `SAFETY_PRECAUTIONS` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '安全措施', + `ENVIRONMENTAL_PROTECTION` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '环境保护', + `HANDLE_STATUS` CHAR(2) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '处理状态', + `DESCRIPITON` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL DEFAULT '' COMMENT '描述', + `TENANT_ID` VARCHAR(12) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '租户ID', + `STATUS` TINYINT(4) NOT NULL DEFAULT 1 COMMENT '业务状态 1=待审核 2=审核不通过 3=审核通过', + `CREATE_DEPT` BIGINT(20) NULL DEFAULT NULL COMMENT '创建单位', + `IS_DELETED` TINYINT(4) NOT NULL DEFAULT 0, + `CREATE_USER` BIGINT(20) NOT NULL COMMENT '创建人', + `CREATE_TIME` DATETIME NOT NULL COMMENT '创建时间', + `UPDATE_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '修改人', + `UPDATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '修改时间', + `DEFECT_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '缺陷ID', + `TICKET_TEMPLATE_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '票据模板ID', + `PHENOMENON_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '现象ID', + `TASK_NAME` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '当前步骤任务名称', + `NEXT_STEP_OPERATOR` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '当前环节处理人', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '检修计划' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_OPER_ACCESS_STATISTICS +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_OPER_ACCESS_STATISTICS`; +CREATE TABLE `HZIMS_OPER_ACCESS_STATISTICS` ( + `ID` BIGINT(20) NOT NULL, + `PID` BIGINT(20) NULL DEFAULT NULL COMMENT '库ID', + `TASK_ID` BIGINT(20) NOT NULL COMMENT '任务ID', + `MANAGER` BIGINT(20) NOT NULL COMMENT '负责人', + `PLAN_START_TIME` DATETIME NOT NULL COMMENT '计划开始时间', + `PLAN_END_TIME` DATETIME NOT NULL COMMENT '计划结束时间', + `ACT_START_TIME` DATETIME NULL DEFAULT NULL COMMENT '实际开始时间', + `ACT_END_TIME` DATETIME NULL DEFAULT NULL COMMENT '实际结束时间', + `HOURS` INT(11) NULL DEFAULT NULL COMMENT '标准工时', + `ACT_HOURS` INT(11) NULL DEFAULT NULL COMMENT '实际工时', + `DESCRIPITON` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL DEFAULT '' COMMENT '描述', + `TENANT_ID` VARCHAR(12) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '租户ID', + `STATUS` TINYINT(4) NULL DEFAULT NULL COMMENT '业务状态', + `CREATE_DEPT` BIGINT(20) NULL DEFAULT NULL COMMENT '创建单位', + `IS_DELETED` TINYINT(4) NOT NULL DEFAULT 0, + `CREATE_USER` BIGINT(20) NOT 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 = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '检修台账' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_OPER_ACCESS_TASK +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_OPER_ACCESS_TASK`; +CREATE TABLE `HZIMS_OPER_ACCESS_TASK` ( + `ID` BIGINT(20) NOT NULL, + `EM_CODE` VARCHAR(64) 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 '工作流实例', + `CODE` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT '任务编码', + `NAME` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT '任务名称', + `WORK_STANDARDS` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL DEFAULT '' COMMENT '操作规范', + `SAFE_INFOS` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL DEFAULT '' COMMENT '安全警告', + `PLAN_START_TIME` DATETIME NOT NULL COMMENT '计划开始时间', + `PLAN_END_TIME` DATETIME NOT NULL COMMENT '计划结束时间', + `ACT_START_TIME` DATETIME NULL DEFAULT NULL COMMENT '实际开始时间', + `ACT_END_TIME` DATETIME NULL DEFAULT NULL COMMENT '实际结束时间', + `ACT_HOURS` INT(11) NULL DEFAULT NULL COMMENT '实际工时', + `HANDLER` BIGINT(20) NOT NULL COMMENT '任务执行人', + `PLAN_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '检修计划ID', + `CONTENT_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '检修库ID', + `DESCRIPITON` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL DEFAULT '' COMMENT '描述', + `TENANT_ID` VARCHAR(12) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '租户ID', + `STATUS` TINYINT(4) NULL DEFAULT NULL COMMENT '业务状态', + `CREATE_DEPT` BIGINT(20) NULL DEFAULT NULL COMMENT '创建单位', + `IS_DELETED` TINYINT(4) NOT NULL DEFAULT 0, + `CREATE_USER` BIGINT(20) NOT NULL COMMENT '创建人', + `CREATE_TIME` DATETIME NOT NULL COMMENT '创建时间', + `UPDATE_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '修改人', + `UPDATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '修改时间', + `TICKET_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '票据ID', + `DELAY_DATE` DATETIME NULL DEFAULT NULL COMMENT '延期时间', + `DELAY_STATUS` TINYINT(4) NULL DEFAULT NULL COMMENT '是否延期', + `PHENOMENON_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '现象ID', + `TASK_NAME` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '当前任务名称', + `NEXT_STEP_OPERATOR` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '当前步骤任务处理人员名称', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '检修任务' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_OPER_ACCESS_TASK_DETAIL +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_OPER_ACCESS_TASK_DETAIL`; +CREATE TABLE `HZIMS_OPER_ACCESS_TASK_DETAIL` ( + `ID` BIGINT(20) NOT NULL, + `TASK_ID` BIGINT(20) NOT NULL COMMENT '任务ID', + `NAME` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT '任务名称', + `CONTENT` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL DEFAULT '' COMMENT '任务内容', + `CONTENT_DETAIL_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '检修库明细ID', + `TENANT_ID` VARCHAR(12) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '租户ID', + `STATUS` TINYINT(4) NULL DEFAULT NULL COMMENT '业务状态', + `CREATE_DEPT` BIGINT(20) NULL DEFAULT NULL COMMENT '创建单位', + `IS_DELETED` TINYINT(4) NOT NULL DEFAULT 0, + `CREATE_USER` BIGINT(20) NOT 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 = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '检修任务明细' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_OPER_APPEARANCE +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_OPER_APPEARANCE`; +CREATE TABLE `HZIMS_OPER_APPEARANCE` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `DEFECT_CODE` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '缺陷编码', + `SOURCE_CODE` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '问题来源:01:值班管理,02:日常维护,03:巡检管理,04:检修管理,05:智能诊断', + `FINDER` BIGINT(20) NULL DEFAULT NULL COMMENT '问题发现人', + `TYPE_CODE` CHAR(2) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '问题类型', + `FIND_TIME` DATETIME NULL DEFAULT NULL COMMENT '发现时间', + `NAME` VARCHAR(200) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '名称,有设备时是设备名称,没设备时用户自定义', + `EM_CODE` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '设备编号', + `FAULT_NAME` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '故障名称', + `DESCRIPITON` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '现象描述', + `FILE_URLS` VARCHAR(2048) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '故障文件附件,多个文件URL通过,隔开', + `DISCRIMINATOR` BIGINT(20) NULL DEFAULT NULL COMMENT '甄别人', + `DISCRIMINATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '甄别时间', + `IS_DEFECT` TINYINT(4) NULL DEFAULT NULL COMMENT '是否为缺陷', + `DISCRIMINATE_DESC` VARCHAR(500) 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) NULL DEFAULT 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 '创建部门', + `IS_DIAGNOSIS` TINYINT(4) NULL DEFAULT NULL COMMENT '是否参加智能诊断 参加1,没参加0', + `DIAGNOSIS_ID` BIGINT(50) NULL DEFAULT NULL COMMENT '智能诊断任务ID', + `REMARK` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '备注(冗余字段)', + `EXIST_DEFECT_ID` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '已有缺陷编码', + PRIMARY KEY (`ID`) USING BTREE, + UNIQUE INDEX `INDEX_DEFECT_CODE`(`DEFECT_CODE`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '问题现象' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_OPER_DEFECT +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_OPER_DEFECT`; +CREATE TABLE `HZIMS_OPER_DEFECT` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `DEFECT_CODE` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '缺陷编码', + `PROC_DEF_ID` VARCHAR(64) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '处理流程KEY', + `PROCESS_INSTANCE_ID` VARCHAR(64) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '处理工作流实例ID', + `HANDLE_STATUS` CHAR(2) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT '0' COMMENT '处理状态', + `HANDLE_TYPE` TINYINT(4) NULL DEFAULT NULL COMMENT '处理类型', + `ACT_START_TIME` DATETIME NULL DEFAULT NULL COMMENT '实际开始时间', + `ACT_END_TIME` DATETIME NULL DEFAULT NULL COMMENT '实际结束时间', + `ACT_HOURS` VARCHAR(1024) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '核算工时', + `DEFECT_GRADING` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '定论等级', + `CONCLUSION_LABEL` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '定论词条', + `IS_DIAGNOSIS` TINYINT(4) NULL DEFAULT NULL COMMENT '是否参加智能诊断 参加1,没参加0', + `DIAGNOSIS_ID` BIGINT(50) NULL DEFAULT NULL COMMENT '智能诊断任务ID', + `EXIST_DEFECT_ID` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '已有缺陷编码', + `REMARK` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '冗余字段', + `PLAN_HANDLER` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '处理人-消缺', + `FINDER` BIGINT(20) NULL DEFAULT NULL COMMENT '缺陷发现人', + `FAULT_NAME` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '故障名称', + `NAME` VARCHAR(200) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '名称,有设备时是设备名称,没设备时用户自定义', + `PRINCIPAL` BIGINT(20) NULL DEFAULT NULL COMMENT '负责人', + `PRINCIPAL_MANUAL` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '负责人手填', + `TICKET_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '工作票ID', + `HANDLE_TASK_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '处理任务ID', + `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 '创建部门', + `DISPOSE_DESC` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '处理描述', + `HANDLER` BIGINT(20) NULL DEFAULT NULL COMMENT '计划处理人', + `PLAN_HOURS` INT(11) NULL DEFAULT NULL COMMENT '计划工时', + `CONCLUSION` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '定论描述', + `CONCLUSION_PEOPLE` BIGINT(20) NULL DEFAULT NULL COMMENT '定论人', + `CONCLUSION_TIME` DATETIME NULL DEFAULT NULL COMMENT '定论时间', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '缺陷台账' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_OPER_DEFECT_STATISTICS +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_OPER_DEFECT_STATISTICS`; +CREATE TABLE `HZIMS_OPER_DEFECT_STATISTICS` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `DEFECT_CODE` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '缺陷编码', + `SOURCE_CODE` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '问题来源:01:值班管理,02:日常维护,03:巡检管理,04:检修管理,05:智能诊断', + `FAULT_CODE` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '故障编码', + `FAULT_NAME` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '故障名称', + `FINDER` BIGINT(20) NULL DEFAULT NULL COMMENT '问题发现人', + `TYPE_CODE` CHAR(2) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '问题类型', + `FIND_TIME` DATETIME NULL DEFAULT NULL COMMENT '发现时间', + `NAME` VARCHAR(200) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '名称,有设备时是设备名称,没设备时用户自定义', + `EM_CODE` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '设备编号', + `DESCRIPITON` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '现象描述', + `FILE_URLS` VARCHAR(2048) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '故障文件附件,多个文件URL通过,隔开', + `DEFECT_LEVEL` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '问题等级', + `DISCRIMINATOR` BIGINT(20) NULL DEFAULT NULL COMMENT '甄别人', + `DISCRIMINATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '甄别时间', + `DISCRIMINATE_DESC` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '甄别描述', + `HANDLER` BIGINT(20) NULL DEFAULT NULL COMMENT '处理人,处理工作流的第一个处理人', + `PLAN_HOURS` INT(11) NULL DEFAULT NULL COMMENT '计划工时', + `PLAN_START_TIME` DATETIME NULL DEFAULT NULL COMMENT '计划开始时间', + `PLAN_END_TIME` DATETIME NULL DEFAULT NULL COMMENT '计划结束时间', + `CHECK_HOURS` INT(11) NULL DEFAULT NULL COMMENT '核算工时', + `DISPOSER` BIGINT(20) NULL DEFAULT NULL COMMENT '处理人', + `DISPOSE_DESC` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '处理描述', + `ACT_START_TIME` DATETIME NULL DEFAULT NULL COMMENT '实际开始时间', + `ACT_END_TIME` DATETIME NULL DEFAULT NULL COMMENT '实际结束时间', + `CONCLUSION` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '定论描述', + `CONCLUSION_PEOPLE` BIGINT(20) NULL DEFAULT NULL COMMENT '定论人', + `CONCLUSION_TIME` DATETIME 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) NULL DEFAULT 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 '创建部门', + `CURRENT_OPERATOR` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '当前处理环节', + `CURRENT_LINK_HANDLER` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '当前环节处理人', + `IS_DIAGNOSIS` TINYINT(4) NULL DEFAULT NULL COMMENT '是否参加智能诊断 参加1,没参加0', + `DIAGNOSIS_ID` BIGINT(50) NULL DEFAULT NULL COMMENT '智能诊断任务ID', + `EXIST_DEFECT_ID` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '已有缺陷编码', + `REMARK` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '冗余字段', + `IS_WAREHOUSING` TINYINT(4) NULL DEFAULT NULL COMMENT '是否入库 入库1 没入库0', + `PLAN_HANDLER` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '计划处理人', + `PRINCIPAL` BIGINT(20) NULL DEFAULT NULL COMMENT '处理方案人', + `IS_DEFECT` TINYINT(4) NULL DEFAULT NULL COMMENT '是否为缺陷', + `CHECK_PROCESS_INSTANCE_ID` VARCHAR(64) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '甄别流程实例', + `HANDLE_STATUS` CHAR(2) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT '0' COMMENT '处理状态:已处理1,未处理0,默认0', + `HANDLE_TASK_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '处理任务ID', + `PRINCIPAL_MANUAL` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '负责人手填', + `TICKET_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '工作票ID', + PRIMARY KEY (`ID`) USING BTREE, + UNIQUE INDEX `INDEX_DEFECT_CODE`(`DEFECT_CODE`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '问题现象' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_OPER_FAULT +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_OPER_FAULT`; +CREATE TABLE `HZIMS_OPER_FAULT` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `MODEL_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '设备模型ID来源于数据平台的设备模型作为设备类型', + `FAULT_CODE` VARCHAR(40) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT '故障编号', + `FAULT_NAME` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '故障名称', + `FAULT_TYPE` TINYINT(4) NULL DEFAULT NULL COMMENT '0:标准;1非标准', + `DESCRIPITON` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '描述', + `FAULT_LEVEL` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '问题等级', + `PLAN_HOURS` INT(11) NULL DEFAULT NULL COMMENT '计划工时', + `SOLUTION` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '故障解决方法', + `WORK_STANDARDS` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '操作规范', + `SAFE_INFOS` VARCHAR(500) 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, + UNIQUE INDEX `INDEX_FAULT_CODE`(`FAULT_CODE`) USING BTREE, + UNIQUE INDEX `INDEX_MODEL_NAME`(`MODEL_ID`, `FAULT_NAME`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_OPER_MAINTENANCE_LIBRARY +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_OPER_MAINTENANCE_LIBRARY`; +CREATE TABLE `HZIMS_OPER_MAINTENANCE_LIBRARY` ( + `ID` BIGINT(20) NOT NULL, + `LIBRARY_CODE` VARCHAR(20) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL, + `PROC_DEF_ID` VARCHAR(64) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT '流程KEY', + `EM_CODE` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT '设备编码', + `TYPE_CODE` CHAR(2) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT '维护类型 01=定期试验 02=定期保养 03=定期操作 04=其他', + `PERIOD` INT(11) NOT NULL COMMENT '周期(单位:小时)', + `MAINTENANCE_MODEL` TINYINT(4) NULL DEFAULT NULL COMMENT '维护模式(1:人员、2:值班)', + `IMS_DUTY_GROUP_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '班组ID', + `IMS_DUTY_CLASS_ID` BIGINT(64) NULL DEFAULT NULL COMMENT '班次ID', + `RULE_TYPE` CHAR(2) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL DEFAULT '01' COMMENT '过滤类型 01=不过滤 02=日期 03=星期', + `RULE` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL DEFAULT '' COMMENT '过滤规则', + `HOURS` INT(11) NOT NULL COMMENT '标准工时', + `CONTENT` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '维护内容', + `WORK_STANDARDS` LONGTEXT CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL COMMENT '操作规范', + `SAFO` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '安全警告', + `DISPOSERS` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT '执行人员,多个人员之间用英文逗号分隔', + `CREATE_PLAN_TIME` DATETIME NULL DEFAULT NULL COMMENT '生成计划时间', + `CREATE_PLAN_START_DISPOSER` BIGINT(20) 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 NULL COMMENT '业务状态', + `CREATE_DEPT` BIGINT(20) NULL DEFAULT NULL COMMENT '创建单位', + `IS_DELETED` TINYINT(4) NOT NULL DEFAULT 0, + `CREATE_USER` BIGINT(20) NOT NULL COMMENT '创建人', + `CREATE_TIME` DATETIME NOT NULL COMMENT '创建时间', + `UPDATE_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '修改人', + `UPDATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '修改时间', + `MESSAGE_TEMPLATE_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '消息推送模板ID', + PRIMARY KEY (`ID`) USING BTREE, + UNIQUE INDEX `IDX_LIBRARY_CODE`(`LIBRARY_CODE`) USING BTREE, + INDEX `IDX_EM_CODE`(`EM_CODE`) USING BTREE, + INDEX `IDX_TYPE_CODE`(`TYPE_CODE`) USING BTREE, + INDEX `IDX_RULE_TYPE`(`RULE_TYPE`) USING BTREE, + INDEX `IDX_IS_DELETED_CREATE_TIME`(`IS_DELETED`, `CREATE_TIME`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '日常维护库' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_OPER_MAINTENANCE_PARAMETER +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_OPER_MAINTENANCE_PARAMETER`; +CREATE TABLE `HZIMS_OPER_MAINTENANCE_PARAMETER` ( + `ID` BIGINT(20) NOT NULL, + `EM_CODE` VARCHAR(20) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL DEFAULT '' COMMENT '设备编码', + `REF_LIBRARY_ID` BIGINT(20) NOT NULL COMMENT '维护项目', + `TYPE_CODE` CHAR(2) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT '维护类型 01=定期试验 02=定期保养 03=定期操作 04=其他', + `DISPOSER` BIGINT(20) NOT NULL COMMENT '执行人', + `DISPOSE_TIME` DATETIME NOT NULL COMMENT '执行日期', + `HOURS` INT(11) NOT NULL COMMENT '标准工时', + `ACT_HOURS` INT(11) NOT NULL COMMENT '实际工时', + `CONTENT` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL DEFAULT '' COMMENT '维护内容', + `TENANT_ID` VARCHAR(12) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '租户ID', + `STATUS` TINYINT(4) NULL DEFAULT NULL COMMENT '业务状态', + `CREATE_DEPT` BIGINT(20) NULL DEFAULT NULL COMMENT '创建单位', + `IS_DELETED` TINYINT(4) NOT NULL DEFAULT 0, + `CREATE_USER` BIGINT(20) NOT 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, + INDEX `IDX_EM_CODE`(`EM_CODE`) USING BTREE, + INDEX `IDX_TYPE_CODE`(`TYPE_CODE`) USING BTREE, + INDEX `IDX_REF_LIBRARY_ID`(`REF_LIBRARY_ID`) USING BTREE, + INDEX `IDX_DISPOSER`(`DISPOSER`) USING BTREE, + INDEX `IDX_DISPOSE_TIME`(`DISPOSE_TIME`) USING BTREE, + INDEX `IDX_IS_DELETED_CREATE_TIME`(`IS_DELETED`, `CREATE_TIME`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '日常维护台账' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_OPER_MAINTENANCE_PLAN +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_OPER_MAINTENANCE_PLAN`; +CREATE TABLE `HZIMS_OPER_MAINTENANCE_PLAN` ( + `ID` BIGINT(20) NOT NULL, + `EM_CODE` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL DEFAULT '' COMMENT '设备编码', + `TYPE_CODE` CHAR(2) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT '维护类型 01=定期试验 02=定期保养 03=定期操作 04=其他', + `MAINTENANCE_MODEL` TINYINT(4) NULL DEFAULT NULL COMMENT '维护模式 01=人员 02=值班', + `IMS_DUTY_GROUP_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '班组', + `IMS_DUTY_CLASS_ID` BIGINT(64) NULL DEFAULT NULL COMMENT '班次', + `REF_LIBRARY_ID` BIGINT(20) NOT NULL DEFAULT 0 COMMENT '维护项目', + `TITLE` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '维护标题', + `PROC_DEF_ID` VARCHAR(64) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT '流程KEY', + `DISPOSER` BIGINT(20) NULL DEFAULT NULL COMMENT '执行人', + `DISPOSE_TIME` DATETIME NOT NULL COMMENT '执行日期', + `HOURS` INT(11) NOT NULL COMMENT '标准工时', + `CONTENT` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL DEFAULT '' COMMENT '维护内容', + `WORK_STANDARDS` LONGTEXT CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL COMMENT '操作规范', + `SAFO` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '安全警告', + `CREATE_TASK_TIME` DATETIME 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 NULL COMMENT '业务状态', + `CREATE_DEPT` BIGINT(20) NULL DEFAULT NULL COMMENT '创建单位', + `IS_DELETED` TINYINT(4) NOT NULL DEFAULT 0, + `CREATE_USER` BIGINT(20) NOT NULL COMMENT '创建人', + `CREATE_TIME` DATETIME NOT NULL COMMENT '创建时间', + `UPDATE_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '修改人', + `UPDATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '修改时间', + `TASK_TYPE` VARCHAR(2) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT '0' COMMENT '0:计划任务,1:临时任务', + `MESSAGE_TEMPLATE_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '消息推送模板ID', + `STATION_CODE` VARCHAR(60) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '站点编码', + INDEX `IDX_REF_LIBRARY_ID`(`REF_LIBRARY_ID`) USING BTREE, + INDEX `IDX_IS_DELETED_CREATE_TIME`(`IS_DELETED`, `CREATE_TIME`) USING BTREE, + INDEX `IDX_DISPOSE_TIME`(`DISPOSE_TIME`) USING BTREE, + INDEX `IDX_DISPOSER`(`DISPOSER`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '日常维护计划' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_OPER_MAINTENANCE_TASK +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_OPER_MAINTENANCE_TASK`; +CREATE TABLE `HZIMS_OPER_MAINTENANCE_TASK` ( + `ID` BIGINT(20) NOT NULL, + `EM_CODE` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL DEFAULT '' COMMENT '设备编码', + `TYPE_CODE` CHAR(2) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT '维护类型 01=定期试验 02=定期保养 03=定期操作 04=其他', + `TASK_CODE` VARCHAR(64) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '任务编码', + `REF_LIBRARY_ID` BIGINT(20) NOT NULL COMMENT '维护项目', + `TITLE` VARCHAR(100) 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', + `DISPOSER` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '执行人', + `DISPOSE_TIME` DATETIME NOT NULL COMMENT '执行日期', + `EXECUTE_TIME` DATETIME NULL DEFAULT NULL COMMENT '完成日期', + `HOURS` INT(11) NOT NULL COMMENT '标准工时', + `ACT_HOURS` INT(11) NULL DEFAULT NULL COMMENT '实际工时', + `CONTENT` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL DEFAULT '' COMMENT '维护内容', + `WORK_STANDARDS` LONGTEXT CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL COMMENT '操作规范', + `SAFO` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '安全警告', + `IS_ANOMALY` TINYINT(4) NOT NULL DEFAULT 1 COMMENT '是否异常 1=否 2=是', + `LEGACY` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL DEFAULT '' COMMENT '遗留问题', + `DESCRIPTION` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '问题描述', + `PUSH_MSG_STATUS` TINYINT(4) NULL DEFAULT 0 COMMENT '短信推送状态 1=是 0=否', + `TENANT_ID` VARCHAR(12) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '租户ID', + `STATUS` TINYINT(4) NULL DEFAULT NULL COMMENT '业务状态', + `CREATE_DEPT` BIGINT(20) NULL DEFAULT NULL COMMENT '创建单位', + `IS_DELETED` TINYINT(4) NOT NULL DEFAULT 0, + `CREATE_USER` BIGINT(20) NOT NULL COMMENT '创建人', + `CREATE_TIME` DATETIME NOT NULL COMMENT '创建时间', + `UPDATE_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '修改人', + `UPDATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '修改时间', + `TASK_TYPE` VARCHAR(2) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT '0' COMMENT '0:计划任务,1:临时任务', + `TICKET_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '票据ID', + `DELAY_STATUS` TINYINT(4) NULL DEFAULT NULL COMMENT '是否延期', + `DELAY_DATE` DATETIME NULL DEFAULT NULL COMMENT '延期时间', + `PLAN_END_TIME` DATETIME NULL DEFAULT NULL COMMENT '计划结束日期', + `PLAN_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '计划ID', + `MESSAGE_TEMPLATE_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '消息推送模板ID', + `NEXT_STEP_OPERATOR` VARCHAR(2000) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '下一个审批人', + `FLOW_USER_ID` VARCHAR(5000) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '用户ID', + `FLOW_TASK_ID` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '当前任务ID', + `FLOW_TASK_NAME` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '当前任务名称', + `FLOW_STATUS` INT(11) NULL DEFAULT NULL COMMENT '流程状态', + `FLOW_DESCRIPTION` VARCHAR(6000) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '流程描述', + UNIQUE INDEX `IDX_TASK_CODE`(`TASK_CODE`) USING BTREE, + INDEX `IDX_REF_LIBRARY_ID`(`REF_LIBRARY_ID`) USING BTREE, + INDEX `IDX_PROCESS_INSTANCE_ID`(`PROCESS_INSTANCE_ID`) USING BTREE, + INDEX `IDX_DISPOSER`(`DISPOSER`) USING BTREE, + INDEX `IDX_DISPOSE_TIME`(`DISPOSE_TIME`) USING BTREE, + INDEX `IDX_IS_DELETED_CREATE_TIME`(`IS_DELETED`, `CREATE_TIME`) USING BTREE, + INDEX `IDX_ID`(`ID`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '日常维护任务' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_OPER_PHENOMENON +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_OPER_PHENOMENON`; +CREATE TABLE `HZIMS_OPER_PHENOMENON` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `DEFECT_CODE` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '缺陷编码', + `SOURCE_CODE` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '问题来源:01:值班管理,02:日常维护,03:巡检管理,04:检修管理,05:智能诊断', + `SOURCE_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '来源业务ID', + `CHECK_PROCESS_INSTANCE_ID` VARCHAR(64) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '甄别流程实例', + `FINDER` BIGINT(20) NULL DEFAULT NULL COMMENT '问题发现人', + `TYPE_CODE` CHAR(2) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '问题类型', + `FIND_TIME` DATETIME NULL DEFAULT NULL COMMENT '发现时间', + `NAME` VARCHAR(200) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '名称,有设备时是设备名称,没设备时用户自定义', + `EM_CODE` VARCHAR(64) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '设备编号', + `FAULT_CODE` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '故障编码', + `FAULT_NAME` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '故障名称', + `DESCRIPITON` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '现象描述', + `FILE_URLS` VARCHAR(2048) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '故障文件附件,多个文件URL通过,隔开', + `INIT_RESULT` VARCHAR(1024) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '初步分析结果', + `DEFECT_LEVEL` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '问题等级', + `WORK_STANDARDS` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '操作规范', + `SAFE_INFOS` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '安全告警', + `DISCRIMINATOR` BIGINT(20) NULL DEFAULT NULL COMMENT '甄别人', + `DISCRIMINATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '甄别时间', + `DISCRIMINATE_STATUS` CHAR(2) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT '0' COMMENT '甄别状态:已甄别 1 和未甄别 0 ,默认0', + `IS_DEFECT` TINYINT(4) NULL DEFAULT NULL COMMENT '是否为缺陷', + `DISCRIMINATE_DESC` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '甄别描述', + `HANDLER` BIGINT(20) NULL DEFAULT NULL COMMENT '处理人,处理工作流的第一个处理人', + `HANDLE_TASK_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '处理任务ID', + `HANDLE_PROGRAMME` BIGINT(20) NULL DEFAULT NULL COMMENT '处理方案人', + `HANDLE_TYPE` CHAR(2) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '处理方案', + `HANDLE_STATUS` CHAR(2) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT '0' COMMENT '处理状态:已处理1,未处理0,默认0', + `PLAN_HOURS` INT(11) NULL DEFAULT NULL COMMENT '计划工时', + `PLAN_START_TIME` DATETIME NULL DEFAULT NULL COMMENT '计划开始时间', + `PLAN_END_TIME` DATETIME NULL DEFAULT NULL COMMENT '计划结束时间', + `CONCLUSION` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '定论描述', + `CONCLUSION_PEOPLE` BIGINT(20) NULL DEFAULT NULL COMMENT '定论人', + `CONCLUSION_STATUS` CHAR(2) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT '0' COMMENT '定论状态:已定论1,未定论0,默认0', + `CONCLUSION_TIME` DATETIME NULL DEFAULT NULL COMMENT '定论时间', + `CHECK_HOURS` INT(11) 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) NULL DEFAULT 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 '创建部门', + `DISCRIMINATE_DEADLINE` DATETIME NULL DEFAULT NULL COMMENT '甄别最后期限', + `AUTO_DISCRIMINATE_STATUS` CHAR(2) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '甄别状态:自动甄别 1 和普通甄别 0 ', + `PLAN_HANDLER` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '计划处理人', + `ACT_START_TIME` DATETIME NULL DEFAULT NULL COMMENT '实际开始时间', + `ACT_END_TIME` DATETIME NULL DEFAULT NULL COMMENT '实际结束时间\r\n', + `IS_WAREHOUSING` TINYINT(4) NULL DEFAULT NULL COMMENT '是否入库 入库1 没入库 0', + `DEFECT_GRADING` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '缺陷等级', + `CONCLUSION_LABEL` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '定论词条', + `CURRENT_OPERATOR` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '当前处理环节', + `CURRENT_LINK_HANDLER` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '当前环节处理人', + `IS_DIAGNOSIS` TINYINT(4) NULL DEFAULT NULL COMMENT '是否参加智能诊断 参加1,没参加0', + `DIAGNOSIS_ID` BIGINT(50) NULL DEFAULT NULL COMMENT '智能诊断任务ID', + `EXIST_DEFECT_ID` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '已有缺陷编码', + `REMARK` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '冗余字段', + `DISPOSE_DESC` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '处理结论', + `PRINCIPAL` BIGINT(20) NULL DEFAULT NULL COMMENT '负责人', + `PRINCIPAL_MANUAL` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '负责人手填', + `TICKET_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '工作票ID', + PRIMARY KEY (`ID`) USING BTREE, + UNIQUE INDEX `INDEX_DEFECT_CODE`(`DEFECT_CODE`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '问题现象' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_STATION +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_STATION`; +CREATE TABLE `HZIMS_STATION` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键', + `REF_DOMAIN` SMALLINT(6) NULL DEFAULT 1 COMMENT '所属行业(来源于字典表如水电)', + `REF_BASIN` SMALLINT(6) NULL DEFAULT NULL COMMENT '所属流域(来源于字典表如长江流域)', + `REF_AREA` SMALLINT(6) NULL DEFAULT NULL COMMENT '所属区域(来源于字典表如华北区)', + `AREA_CODE` VARCHAR(20) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '行政区划(来源于平台的行政区划表)', + `REF_DEPT` BIGINT(20) NULL DEFAULT NULL COMMENT '所属机构', + `CODE` VARCHAR(200) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '编号(原站点ID)', + `NAME` VARCHAR(200) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '名称', + `SERVE_TYPE` VARCHAR(4) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '站点服务类型:1、云服务; 2、运维服务', + `COMMISSION_TIME` DATETIME NULL DEFAULT NULL COMMENT '投运时间,用于计算安全运行天数', + `PIC` VARCHAR(200) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '站点图片,用于展示', + `TYPE` SMALLINT(6) NULL DEFAULT NULL COMMENT '类型(1电站2泵站3水厂)', + `WATER_LEVEL_MAX` DECIMAL(6, 2) NULL DEFAULT NULL COMMENT '前池最高水位', + `LIMIT_WATER_LEVEL` DECIMAL(6, 2) NULL DEFAULT NULL COMMENT '限制水位', + `LGTD` DECIMAL(13, 10) NULL DEFAULT NULL COMMENT '经度(东经)', + `LTTD` DECIMAL(12, 10) NULL DEFAULT NULL COMMENT '纬度(北纬)', + `ENABLE_CONTROL` TINYINT(4) NULL DEFAULT NULL COMMENT '允许监控,1时为允许,其它为不允许', + `REMARK` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '备注', + `CONTACT` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '联系方式', + `ADDRESS` VARCHAR(1000) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '详细地址', + `COMPANY` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '公司名字', + `CONTACTOR` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '联系人', + `SEND_MESSAGE_FLAG` TINYINT(4) NULL DEFAULT NULL COMMENT '0-不推送告警短信 1-推送告警短信', + `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 0 COMMENT '状态 ', + `CREATE_DEPT` BIGINT(20) NULL DEFAULT NULL COMMENT '创建部门', + `SORT` SMALLINT(6) NULL DEFAULT NULL COMMENT '排序', + `HIGHER_DEPT` BIGINT(20) NULL DEFAULT NULL COMMENT '上属机构', + `DATA_ORIGIN` VARCHAR(4) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '数据来源: 0 - 数据采集 1 - 数据填报', + `DATA_SOURCE` VARCHAR(4) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '数据采集方式', + `SECRET_KEY` VARCHAR(64) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '实时画面绑定账号秘钥', + `SIGNAGE` VARCHAR(20) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '站点标识-两票编码', + `REF_COUNTRY` VARCHAR(64) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '所属国家', + `IS_ABROAD` TINYINT(1) NULL DEFAULT NULL COMMENT '站点是否为国外 1:是;0:否', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '站点表' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_STATION_ATTRIBUTE +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_STATION_ATTRIBUTE`; +CREATE TABLE `HZIMS_STATION_ATTRIBUTE` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `STATION_ID` VARCHAR(200) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '站点ID', + `STATION_NAME` VARCHAR(200) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '站点名称', + `EM_CODE` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '设备编码', + `EM_NAME` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '设备名称', + `GROUP_ID` TINYINT(4) NULL DEFAULT NULL COMMENT '属性分组ID', + `GROUP_NAME` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '属性分组名称', + `MONITOR_ID` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '监测点ID', + `MONITOR_GROUP_ID` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '监测点分组ID', + `DOMAIN_ID` TINYINT(4) NULL DEFAULT NULL COMMENT '厂站类型', + `DOMAIN_NAME` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '厂站名称', + `ATTRIBUTES` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '属性名称', + `ATTRIBUTE_TYPE` TINYINT(4) NULL DEFAULT NULL COMMENT '属性类型', + `UP_LIMIT` DOUBLE NULL DEFAULT NULL COMMENT '上限值', + `DOWN_LIMIT` DOUBLE NULL DEFAULT NULL COMMENT '下限值', + `UP_UP_LIMIT` DOUBLE NULL DEFAULT NULL COMMENT '上上限值', + `DOWN_DOWN_LIMIT` DOUBLE NULL DEFAULT NULL COMMENT '下下限值', + `REMARK` VARCHAR(1000) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '备注', + `CREATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '创建时间', + `UPDATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '更新时间', + `CREATE_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '创建人', + `UPDATE_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '更新人', + `IS_DELETED` TINYINT(4) NULL DEFAULT 0 COMMENT '是否删除', + `CREATE_DEPT` BIGINT(20) NULL DEFAULT NULL COMMENT '创建部门ID', + `SORT` TINYINT(4) 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 NULL, + `MONITOR_NAME` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '检测点名称', + `MONITOR_GROUP_NAME` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '检测点分组名称', + `UNIT` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '单位', + `MONITOR_STATION_CODE` VARCHAR(20) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '检测点分组厂站编码', + `SIGNAGE` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '加物模型属性标识', + `SIGNAGE_NAME` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '加物模型属性标识名称', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '站点属性配置表' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_STATION_ATTRIBUTE_CONFIG +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_STATION_ATTRIBUTE_CONFIG`; +CREATE TABLE `HZIMS_STATION_ATTRIBUTE_CONFIG` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `STATION_ID` VARCHAR(200) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '站点ID', + `STATION_NAME` VARCHAR(200) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '站点名称', + `EM_CODE` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '设备编码', + `EM_NAME` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '设备名称', + `GROUP_ID` TINYINT(4) NOT NULL COMMENT '属性分组ID', + `GROUP_NAME` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '属性分组名称', + `DOMAIN_ID` TINYINT(4) NULL DEFAULT NULL COMMENT '厂站类型', + `DOMAIN_NAME` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '厂站名称', + `ENABLE_SHOW` TINYINT(4) NULL DEFAULT NULL COMMENT '是否在集中监控页面显示', + `CREATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '创建时间', + `UPDATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '更新时间', + `CREATE_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '创建人', + `UPDATE_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '更新人', + `IS_DELETED` TINYINT(4) NULL DEFAULT 0 COMMENT '是否删除', + `CREATE_DEPT` BIGINT(20) NULL DEFAULT NULL COMMENT '创建部门ID', + `SORT` TINYINT(4) 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 NULL, + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '站点属性配置页面展示情况配置表' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_STATION_PUSH_CONFIGURATION +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_STATION_PUSH_CONFIGURATION`; +CREATE TABLE `HZIMS_STATION_PUSH_CONFIGURATION` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `STATION_TYPE` TINYINT(2) NULL DEFAULT NULL COMMENT '站点类型', + `STATION_TYPE_NAME` VARCHAR(12) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '站点类型名称', + `IS_PUSH` TINYINT(2) NULL DEFAULT NULL COMMENT '是否推送至FDP', + `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 '创建部门', + `FDP_STATION_TYPE` TINYINT(4) NULL DEFAULT NULL COMMENT 'FDP站点类型', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '站点类型推送FDP配置表' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_STATION_USER +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_STATION_USER`; +CREATE TABLE `HZIMS_STATION_USER` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键', + `STATION_ID` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT '站点编码', + `USER_ID` VARCHAR(200) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT '用户ID', + `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) NULL DEFAULT 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 COMMENT = '站点-用户关系绑定表' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_STATION_VIDEO_TYPE +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_STATION_VIDEO_TYPE`; +CREATE TABLE `HZIMS_STATION_VIDEO_TYPE` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `NAME` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '视频源名称', + `STATION_ID` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '站点ID', + `DEPT_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '机构ID', + `IS_HIKVIDEO` TINYINT(4) NULL DEFAULT NULL COMMENT '是否平台接入 1=是 0=否(关联HZNET.HZNET`.`SYS_STATION_VIDEO_SET;ISC为平台接入)', + `ADDRESS` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '地址', + `TYPE` VARCHAR(20) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '类型', + `LIVE_SOURCE_ADDRESS` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '数据源地址', + `POINT_CODE` VARCHAR(100) 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 '创建部门', + `VIDEO_HOST` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '代理API网关NGINX服务器IP端口', + `APP_KEY` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '秘钥APPKEY', + `APP_SECRET` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '秘钥APPSECRET', + `SORT` SMALLINT(6) NULL DEFAULT 999 COMMENT '排序', + `VIDEO_TYPE` VARCHAR(4) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '视频类型;默认为1:清污机类型', + `STATION_NAME` VARCHAR(255) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '站点名称', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_UNIT_RUNNING_TIME +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_UNIT_RUNNING_TIME`; +CREATE TABLE `HZIMS_UNIT_RUNNING_TIME` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `STATION_ID` VARCHAR(50) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '站点ID', + `EM_CODE` VARCHAR(20) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '设备CODE', + `DATE_TIME` VARCHAR(12) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '年月日', + `SEC_TIME` INT(10) 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) NULL DEFAULT NULL COMMENT '创建人', + `UPDATE_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '更新人', + `IS_DELETED` TINYINT(4) NOT NULL DEFAULT 0 COMMENT '是否删除', + `STATUS` TINYINT(4) NULL DEFAULT 0 COMMENT '业务状态', + `CREATE_DEPT` BIGINT(20) NULL DEFAULT NULL COMMENT '创建部门ID', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '机组运行时长' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_USER_DEPT +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_USER_DEPT`; +CREATE TABLE `HZIMS_USER_DEPT` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键ID', + `USER_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '用户ID', + `DEPT_ID` BIGINT(20) NULL DEFAULT NULL COMMENT '机构ID', + `TENANT_ID` VARCHAR(12) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '租户ID', + `STATUS` TINYINT(4) NULL DEFAULT NULL COMMENT '业务状态', + `CREATE_DEPT` BIGINT(20) NULL DEFAULT NULL COMMENT '创建单位', + `IS_DELETED` TINYINT(4) NOT NULL DEFAULT 0 COMMENT '是否删除', + `CREATE_USER` BIGINT(20) NOT 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 = UTF8 COLLATE = UTF8_GENERAL_CI ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR HZIMS_USER_FEEDBACK +-- ---------------------------- +DROP TABLE IF EXISTS `HZIMS_USER_FEEDBACK`; +CREATE TABLE `HZIMS_USER_FEEDBACK` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键', + `TENANT_ID` VARCHAR(12) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '租户ID', + `PHONE` VARCHAR(20) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '联系电话', + `CONTENT` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '反馈内容', + `FILE_NAME` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '附件名称', + `FILE_URL` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '附件地址', + `REPLY_CONTENT` VARCHAR(500) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '回复内容', + `REPLY_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '回复人', + `STATUS` TINYINT(4) NULL DEFAULT NULL COMMENT '状态 ', + `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 '是否删除', + `CREATE_DEPT` BIGINT(20) NULL DEFAULT NULL COMMENT '创建部门', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '用户反馈表' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR IMS_DEPT +-- ---------------------------- +DROP TABLE IF EXISTS `IMS_DEPT`; +CREATE TABLE `IMS_DEPT` ( + `ID` BIGINT(64) NOT NULL COMMENT '主键', + `TENANT_ID` VARCHAR(12) CHARACTER SET UTF8MB4 COLLATE UTF8MB4_GENERAL_CI NULL DEFAULT '200000' COMMENT '租户ID', + `DEPT_TYPE` SMALLINT(6) NULL DEFAULT NULL COMMENT '机构类型', + `SERVE_TYPE` VARCHAR(4) CHARACTER SET UTF8MB4 COLLATE UTF8MB4_GENERAL_CI NULL DEFAULT NULL COMMENT '站点服务类型:1、云服务; 2、运维服务', + `PARENT_ID` BIGINT(64) NULL DEFAULT 0 COMMENT '父主键', + `ANCESTORS` VARCHAR(2000) CHARACTER SET UTF8MB4 COLLATE UTF8MB4_GENERAL_CI NULL DEFAULT NULL COMMENT '祖级列表', + `DEPT_CATEGORY` INT(2) NULL DEFAULT NULL COMMENT '部门类型', + `DEPT_NAME` VARCHAR(45) CHARACTER SET UTF8MB4 COLLATE UTF8MB4_GENERAL_CI NULL DEFAULT NULL COMMENT '部门名', + `SORT` INT(11) NULL DEFAULT NULL COMMENT '排序', + `STATION_ID` VARCHAR(50) CHARACTER SET UTF8MB4 COLLATE UTF8MB4_GENERAL_CI NULL DEFAULT NULL COMMENT '站点ID', + `CREATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '创建时间', + `UPDATE_TIME` DATETIME NULL DEFAULT NULL COMMENT '更新时间', + `CREATE_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '创建人', + `UPDATE_USER` BIGINT(20) NULL DEFAULT NULL COMMENT '更新人', + `IS_DELETED` TINYINT(4) NOT NULL DEFAULT 0 COMMENT '是否删除', + `STATUS` TINYINT(4) NULL DEFAULT 0 COMMENT '任务状态:1未开始,2进行中,3完成', + `CREATE_DEPT` BIGINT(20) UNSIGNED ZEROFILL NULL DEFAULT NULL COMMENT '创建部门', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8MB4 COLLATE = UTF8MB4_GENERAL_CI COMMENT = '机构表' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR RUN_MONTH_REPORT +-- ---------------------------- +DROP TABLE IF EXISTS `RUN_MONTH_REPORT`; +CREATE TABLE `RUN_MONTH_REPORT` ( + `ID` BIGINT(20) NOT NULL AUTO_INCREMENT COMMENT '主键', + `STATION_ID` VARCHAR(64) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '站点ID', + `PARAM` LONGTEXT CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL COMMENT '数据内容', + `DATE_MONTH` VARCHAR(20) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '时间月份', + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = INNODB AUTO_INCREMENT = 1752811079194427395 CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '运行月报告表' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR SCREEN_MAIN_PAGE_CONFIGURE +-- ---------------------------- +DROP TABLE IF EXISTS `SCREEN_MAIN_PAGE_CONFIGURE`; +CREATE TABLE `SCREEN_MAIN_PAGE_CONFIGURE` ( + `ID` BIGINT(20) NOT NULL COMMENT '主键', + `NAME` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NOT NULL COMMENT '首页名称', + `PATH` VARCHAR(1000) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '页面路径', + `ORD` INT(11) NULL DEFAULT NULL COMMENT '排序', + `REF_DEPT` VARCHAR(2048) 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 '创建部门', + `CONTENT` VARCHAR(10000) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL COMMENT '内容', + `DEFAULT_ROUTE` TINYINT(1) NULL DEFAULT 0, + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = INNODB CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI COMMENT = '大屏首页配置' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- TABLE STRUCTURE FOR TEMP_HIK_POINT +-- ---------------------------- +DROP TABLE IF EXISTS `TEMP_HIK_POINT`; +CREATE TABLE `TEMP_HIK_POINT` ( + `ID` BIGINT(20) NOT NULL AUTO_INCREMENT COMMENT '主键ID', + `POINTCODE` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL, + `POINTNAME` VARCHAR(100) CHARACTER SET UTF8 COLLATE UTF8_GENERAL_CI NULL DEFAULT NULL, + `SORTNO` BIGINT(10) NULL DEFAULT NULL, + PRIMARY KEY (`ID`) USING BTREE +) ENGINE = INNODB AUTO_INCREMENT = 292 CHARACTER SET = UTF8 COLLATE = UTF8_GENERAL_CI ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- FUNCTION STRUCTURE FOR GETUSERNAMEBYUSERIDS +-- ---------------------------- +DROP FUNCTION IF EXISTS `GETUSERNAMEBYUSERIDS`; +DELIMITER ;; +CREATE FUNCTION `GETUSERNAMEBYUSERIDS`(USERIDS VARCHAR(255)) + RETURNS VARCHAR(255) CHARSET UTF8 + READS SQL DATA +BEGIN + DECLARE RESULT VARCHAR(255) DEFAULT ''; + SELECT GROUP_CONCAT(`NAME`) INTO RESULT FROM `BLADEX`.BLADE_USER WHERE FIND_IN_SET(`ID`,USERIDS) AND IS_DELETED = 0; + RETURN RESULT; +END +;; +DELIMITER ; \ No newline at end of file diff --git a/hzims-service/operational/src/main/resources/dict/dict.sql b/hzims-service/operational/src/main/resources/dict/dict.sql new file mode 100644 index 0000000..07719c9 --- /dev/null +++ b/hzims-service/operational/src/main/resources/dict/dict.sql @@ -0,0 +1,506 @@ +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 (129845068875749767, 0, 'ABNORMALTYPE', '-1', '数据中断类型', 0, '', 0, 0, 1, 1347090334530641921, 'OPERATIONAL'); +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 (1298450911961579531, 129845068875749767, 'ABNORMALTYPE', '13', '数据中断', 0, '', 0, 0, 1, 1347090334530641921, 'OPERATIONAL'); +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 (1298450945671200739, 129845068875749767, 'ABNORMALTYPE', '14', '数据异常', 1, '', 0, 0, 1, 1347090334530641921, 'OPERATIONAL'); +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 (1384337547761782785, 0, 'MAINTENANCE_RULE_TYPE', '-1', '日常维护过滤类型', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1384389662709231618, 0, 'DEFECTSOURCE', '-1', '缺陷问题来源', 30, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1384389791340146690, 1384389662709231618, 'DEFECTSOURCE', 'ZB', '值班管理', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1384391280196431873, 1384389662709231618, 'DEFECTSOURCE', 'RCWH', '日常维护', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1384391895416942593, 1384389662709231618, 'DEFECTSOURCE', 'XJ', '巡检管理', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1384391957022879746, 1384389662709231618, 'DEFECTSOURCE', 'JX', '检修管理', 4, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1384392025239040002, 1384389662709231618, 'DEFECTSOURCE', 'ZNZD', '智能诊断', 5, '', 0, 1, 0, -1, 'OPERATIONAL'); +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 (1384686562655309826, 0, 'FAULTTYPE', '-1', '故障类型', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1384686639222329346, 1384686562655309826, 'FAULTTYPE', '0', '标准', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1384686695165956098, 1384686562655309826, 'FAULTTYPE', '1', '非标准', 2, '1:的故障数据存在故障库但不在智能诊断的故障库里', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1384686752904744962, 1384686562655309826, 'FAULTTYPE', '2', '自定义', 3, '2是不存在我们的故障库新增的时候用户自定义的', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1385423274696216577, 0, 'FAULTLEVEL', '-1', '故障等级', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1385423749692755969, 1385423274696216577, 'FAULTLEVEL', '1', 'A', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1385423776238505986, 1385423274696216577, 'FAULTLEVEL', '2', 'B', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1385423804487143425, 1385423274696216577, 'FAULTLEVEL', '3', 'C', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1385423837781528578, 1385423274696216577, 'FAULTLEVEL', '4', 'D', 4, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1385433232867299330, 0, 'DEFECTTYPE', '-1', '缺陷类型', 4, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1385433328275132418, 1385433232867299330, 'DEFECTTYPE', '0', '设备', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1385433378606780417, 1385433232867299330, 'DEFECTTYPE', '1', '非设备', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1385512470903492609, 0, 'DEFECTLEVEL', '-1', '缺陷等级', 5, '缺陷等级', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1385513495425159170, 1385512470903492609, 'DEFECTLEVEL', '1', 'Ⅰ级缺陷', 1, '能导致设备发生重大事故或强迫停运,危及电力系统安全,甚至引起人身、环境事故的缺陷。', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1385513671787253762, 1385512470903492609, 'DEFECTLEVEL', '2', 'Ⅱ级缺陷', 2, '能造成设备性能降低(运行稳定性、安全性、效率等)或对人员健康和环境造成影响的缺陷。', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1385513787310968834, 1385512470903492609, 'DEFECTLEVEL', '3', 'Ⅲ级缺陷', 3, '不影响设备安全状态,能够控制、监视运行的缺陷。', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1385523023344537602, 0, 'MAINTENANCE_TASK_STATUS', '-1', '维护状态', 52, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1385523124737642498, 1385523023344537602, 'MAINTENANCE_TASK_STATUS', '1', '待领用', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1385523165762129921, 1385523023344537602, 'MAINTENANCE_TASK_STATUS', '2', '待执行', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1385523230866116609, 1385523023344537602, 'MAINTENANCE_TASK_STATUS', '3', '待确认', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1385523317017120770, 1385523023344537602, 'MAINTENANCE_TASK_STATUS', '4', '待归档', 4, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1386152911122436097, 1385523023344537602, 'MAINTENANCE_TASK_STATUS', '5', '已完成', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1386156711925223425, 0, 'MAINTENANCETASKARCHIVEROLEID', '-1', '日常维护任务审核角色ID', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1386156877679923201, 1386156711925223425, 'MAINTENANCETASKARCHIVEROLEID', '598276', 'MAINTAINARCHIVER', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1386167521942671362, 1386156711925223425, 'MAINTENANCETASKARCHIVEROLEID', '902100000026', 'MAINTAINARCHIVER', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1390481463775039489, 0, 'ACCESS_PLAN_STATUS', '-1', '检修计划状态', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1390481647091290114, 1390481463775039489, 'ACCESS_PLAN_STATUS', '1', '草稿', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1390481738460008449, 1390481463775039489, 'ACCESS_PLAN_STATUS', '2', '主管审核', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1390481805992497154, 1390481463775039489, 'ACCESS_PLAN_STATUS', '3', '业主审核', 3, '', 0, 1, 0, -1, 'OPERATIONAL'); +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 (1394812752032428033, 0, 'GRADECODE', '-1', '检修等级', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1394812810689769474, 1394812752032428033, 'GRADECODE', 'A', 'A', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1394812833406119937, 1394812752032428033, 'GRADECODE', 'B', 'B', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1394812856676118530, 1394812752032428033, 'GRADECODE', 'C', 'C', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1394812880579457025, 1394812752032428033, 'GRADECODE', 'D', 'D', 4, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1397372547570593793, 0, 'ACCESS_MATERIAL_TYPE_CODE', '-1', '检修材料类型', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1397372727032279042, 1397372547570593793, 'ACCESS_MATERIAL_TYPE_CODE', '1', '材料', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1397372778794184705, 1397372547570593793, 'ACCESS_MATERIAL_TYPE_CODE', '2', '工器具', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1398163790186475521, 0, 'DEFECTHANDLEFLOW', '-1', '缺陷处理流程KEYS', 1, '缺陷处理流程的KEYS', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1398164157343264769, 1398163790186475521, 'DEFECTHANDLEFLOW', 'INSPECTHANDLE', 'XJ', 1, '巡检问题处理流程KEY', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1402436302902689793, 1390481463775039489, 'ACCESS_PLAN_STATUS', '3', '审核不通过', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1402436341079244802, 1390481463775039489, 'ACCESS_PLAN_STATUS', '4', '审核通过', 4, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1402436707053240321, 0, 'ACCESS_TASK_STATUS', '-1', '检修任务状态', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1402436819498336257, 1402436707053240321, 'ACCESS_TASK_STATUS', '1', '进行中', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1402436861714006018, 1402436707053240321, 'ACCESS_TASK_STATUS', '2', '待审核', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1402436896757415937, 1402436707053240321, 'ACCESS_TASK_STATUS', '3', '审核未通过', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1402436936091598849, 1402436707053240321, 'ACCESS_TASK_STATUS', '4', '已完成', 4, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1416952994345304066, 0, 'DUTY_REC_STATUS', '-1', '值班管理交接班状态', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1416953417475080193, 1416952994345304066, 'DUTY_REC_STATUS', '1', '未提交', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1416953478393151490, 1416952994345304066, 'DUTY_REC_STATUS', '2', '流程审核中', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1416953520646569986, 1416952994345304066, 'DUTY_REC_STATUS', '3', '已完成', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1416954077834690562, 0, 'DUTY_MAIN_STATUS', '-1', '值班管理值班状态', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1416954201902202881, 1416954077834690562, 'DUTY_MAIN_STATUS', '0', '待值班', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1416954359809359873, 1416954077834690562, 'DUTY_MAIN_STATUS', '1', '值班中', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1416954395557412865, 1416954077834690562, 'DUTY_MAIN_STATUS', '2', '已完成', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1421046836644323330, 0, 'DUTY_REC_DELAY_STATUS', '-1', '交接班延迟状态', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1421046976864100354, 1421046836644323330, 'DUTY_REC_DELAY_STATUS', '0', '未延迟', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1421047061589041153, 1421046836644323330, 'DUTY_REC_DELAY_STATUS', '1', '交班延迟', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1421047169470734338, 1421046836644323330, 'DUTY_REC_DELAY_STATUS', '2', '接班延迟', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1421047221907922945, 1421046836644323330, 'DUTY_REC_DELAY_STATUS', '3', '交接班延迟', 4, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1422447853705404418, 0, 'RUN_STATUS', '-1', '运行状态', 72, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1422447999637823490, 1422447853705404418, 'RUN_STATUS', '1', '运行中', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1422448068386660354, 1422447853705404418, 'RUN_STATUS', '2', '热备用', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1422448133499035650, 1422447853705404418, 'RUN_STATUS', '3', '检修', 3, '', 0, 1, 0, -1, 'OPERATIONAL'); +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 (1424581374936911873, 1386156711925223425, 'MAINTENANCETASKARCHIVEROLEID', '200000', 'MAINTAINARCHIVER', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1425710663048753154, 1416952994345304066, 'DUTY_REC_STATUS', '4', '异常交接班', 4, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430354127607795714, 0, 'TRADE', '-1', '所属行业', 73, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430356591253884929, 0, 'BASIN', '-1', '所属流域', 75, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430356689736142850, 1430356591253884929, 'BASIN', '1', '长江流域', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430356727270969346, 1430356591253884929, 'BASIN', '2', '黄河流域', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430356771164360705, 1430356591253884929, 'BASIN', '3', '珠江流域', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430356822712356865, 1430356591253884929, 'BASIN', '4', '海河流域', 4, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430356864340824066, 1430356591253884929, 'BASIN', '5', '淮河流域', 5, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430356909807079425, 1430356591253884929, 'BASIN', '6', '松花江流域', 6, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430356952689643521, 1430356591253884929, 'BASIN', '7', '太湖流域', 7, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430357158550278145, 0, 'AREA', '-1', '所属区域', 76, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430357265219817473, 1430357158550278145, 'AREA', '1', '华北', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430357308140130305, 1430357158550278145, 'AREA', '2', '华东', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430357355527376897, 1430357158550278145, 'AREA', '3', '华中', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430357399890530306, 1430357158550278145, 'AREA', '4', '华南', 4, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430357460552749058, 1430357158550278145, 'AREA', '5', '西南', 5, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430357514508275714, 1430357158550278145, 'AREA', '6', '东北', 6, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430357602420887554, 1430357158550278145, 'AREA', '7', '西北', 7, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430357740698701825, 0, 'STATIONTYPE', '-1', '站点分类', 77, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430357794176077826, 1430357740698701825, 'STATIONTYPE', '1', '风电场', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430357837096390658, 1430357740698701825, 'STATIONTYPE', '2', '水利', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430357871955251202, 1430357740698701825, 'STATIONTYPE', '3', '储能站', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430357911255879682, 1430357740698701825, 'STATIONTYPE', '4', '配网', 4, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430357947054264322, 1430357740698701825, 'STATIONTYPE', '5', '光伏站', 5, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430357987659321345, 1430357740698701825, 'STATIONTYPE', '6', '水务', 6, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430690865714794497, 0, 'FIRSTPAGETYPE', '-1', '首页分类', 76, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430690968131309570, 1430690865714794497, 'FIRSTPAGETYPE', '1', '集团', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430691012871950337, 1430690865714794497, 'FIRSTPAGETYPE', '2', '省子公司', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430691059646828545, 1430690865714794497, 'FIRSTPAGETYPE', '3', '区域', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430691106774028289, 1430690865714794497, 'FIRSTPAGETYPE', '5', '单站数据总览', 5, '', 0, 1, 0, -1, 'OPERATIONAL'); +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 (1431069916778434562, 1430357740698701825, 'STATIONTYPE', '0', '水电站', 0, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1431070390478934018, 1430357740698701825, 'STATIONTYPE', '7', '充电站', 7, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1431070467561852930, 1430357740698701825, 'STATIONTYPE', '8', '河长制', 8, '', 0, 1, 0, -1, 'OPERATIONAL'); +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 (1431155991328821250, 1430357740698701825, 'STATIONTYPE', '9', '闸控项目', 9, '', 0, 1, 0, -1, 'OPERATIONAL'); +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 (1431207266955268098, 1430690865714794497, 'FIRSTPAGETYPE', '4', '站点', 4, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1434724187965198338, 0, 'STATIONENABLECONTROL', '-1', '允许监控', 79, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1434724519139053570, 1434724187965198338, 'STATIONENABLECONTROL', '1', '是', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1434724569411981314, 1434724187965198338, 'STATIONENABLECONTROL', '0', '否', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1434724632108437506, 1434724187965198338, 'STATIONENABLECONTROL', '2', '免除校验', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1434841046572044290, 0, 'REFTERMINAL', '-1', '所属终端', 80, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1434841111235629058, 1434841046572044290, 'REFTERMINAL', '1', 'APP', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1434841186187841538, 1434841046572044290, 'REFTERMINAL', '2', 'WEB', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1438763706116947969, 1430354127607795714, 'TRADE', '1', '水利领域', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1438763773922066433, 1430354127607795714, 'TRADE', '2', '环保领域', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1438763831082041345, 1430354127607795714, 'TRADE', '3', '能源领域', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1438763902909497346, 1430354127607795714, 'TRADE', '4', '工控领域', 4, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1441977237876486145, 0, 'MONTHREPORTTYPE', '-1', '月报类型', 80, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1441977477299941378, 1441977237876486145, 'MONTHREPORTTYPE', '1', '电站月报', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1441977522497761282, 1441977237876486145, 'MONTHREPORTTYPE', '2', '个人月报', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1450341114984992770, 0, 'STATION_SERVE_TYPE', '-1', '站点服务类型', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1450341345575243777, 1450341114984992770, 'STATION_SERVE_TYPE', '1', '云服务', 1, '', 0, 1, 0, -1, 'OPERATIONAL'); +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 (1450341518019858433, 1450341114984992770, 'STATION_SERVE_TYPE', '2', '代运维服务', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1452834909622345729, 0, 'WORKTICKETFLOW', '-1', '工作票流程', 81, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1452835454990917634, 1452834909622345729, 'WORKTICKETFLOW', '1', '待签发', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1452835519780331521, 1452834909622345729, 'WORKTICKETFLOW', '2', '待许可', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1452835767244267522, 1452834909622345729, 'WORKTICKETFLOW', '3', '待确认收到工作票', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1452835965844561922, 1452834909622345729, 'WORKTICKETFLOW', '4', '待负责人确认安全措施', 4, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1452836063563456514, 1452834909622345729, 'WORKTICKETFLOW', '5', '待班组成员确认安全措施', 5, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1452836227799818242, 1452834909622345729, 'WORKTICKETFLOW', '6', '待确认执行情况', 6, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1453634522608513026, 0, 'TICKETSOURCETYPE', '-1', '两票来源类型', 93, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1453634906710290433, 1453634522608513026, 'TICKETSOURCETYPE', '1', '日常维护', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1453635085521858561, 1453634522608513026, 'TICKETSOURCETYPE', '2', '检修', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1453635123740356610, 1453634522608513026, 'TICKETSOURCETYPE', '3', '巡检', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1453974888171909122, 1453634522608513026, 'TICKETSOURCETYPE', '4', 'TEST66', 4, '', 0, 1, 0, -1, 'OPERATIONAL'); +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 (1455479438636691457, 0, 'TICKETTYPE', '-1', '票据类型', 91, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1455479878019395586, 1455479438636691457, 'TICKETTYPE', '1', '操作票', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1455479958709415938, 1455479438636691457, 'TICKETTYPE', '2', '第一种工作票', 2, '', 0, 1, 0, -1, 'OPERATIONAL'); +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 (1455480006222491650, 1455479438636691457, 'TICKETTYPE', '3', '第二种工作票', 3, '', 0, 1, 0, -1, 'OPERATIONAL'); +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 (1455480215572787202, 1455479438636691457, 'TICKETTYPE', '2', '工作票', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1455480286439747585, 1455480215572787202, 'TICKETTYPE', '3', '第一种工作票', 3, '', 0, 1, 0, -1, 'OPERATIONAL'); +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 (1455480351350796289, 1455480215572787202, 'TICKETTYPE', '4', '第二种工作票', 4, '', 0, 1, 0, -1, 'OPERATIONAL'); +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 (1456171074291183617, 1452834909622345729, 'WORKTICKETFLOW', '0', '开票', 0, '', 0, 1, 0, -1, 'OPERATIONAL'); +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 (1456551727625113602, 1452834909622345729, 'WORKTICKETFLOW', '7', '待工作成员完成任务', 7, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1456551837717204994, 1452834909622345729, 'WORKTICKETFLOW', '8', '待负责人确认完成工作', 8, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1456554589323235330, 1452834909622345729, 'WORKTICKETFLOW', '9', '待确认工作结束', 9, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1456554665638596610, 1452834909622345729, 'WORKTICKETFLOW', '10', '待终结', 10, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1456554712077930498, 1452834909622345729, 'WORKTICKETFLOW', '11', '完成', 11, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1458679503530475522, 0, 'STANDARDTICKETFLOW', '-1', '标准票流程', 94, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1458679676759425026, 1458679503530475522, 'STANDARDTICKETFLOW', '1', '待操作人确认', 1, '', 0, 1, 0, -1, 'OPERATIONAL'); +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 (1458679757860487169, 1458679503530475522, 'STANDARDTICKETFLOW', '1', '待监护人确认', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1458679832342937601, 1458679503530475522, 'STANDARDTICKETFLOW', '2', '待值班负责人确认', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1458679887254765569, 1458679503530475522, 'STANDARDTICKETFLOW', '3', '结束', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1461168137655508994, 1452834909622345729, 'WORKTICKETFLOW', '12', '待许可人确认工作票延期', 12, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1461168224318218241, 1452834909622345729, 'WORKTICKETFLOW', '13', '待负责人确认工作票延期', 13, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1461170362201104386, 1452834909622345729, 'WORKTICKETFLOW', '14', '作废', 15, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1465203323015749633, 1452834909622345729, 'WORKTICKETFLOW', '15', '线下', 14, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1465565651154460674, 1452834909622345729, 'WORKTICKETFLOW', '16', '终止', 16, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1465962012539420673, 0, 'CONFIG_ALARM_RECORD', '-1', '综合监控告警记录类型', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1465962122195304449, 1465962012539420673, 'CONFIG_ALARM_RECORD', '0', '未处理', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1465962261546860546, 1465962012539420673, 'CONFIG_ALARM_RECORD', '1', '已处理', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1468537274388111361, 0, 'MAINTENANCE_TASK_TYPE', '-1', '日常维护任务类型', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1468537486032691201, 1468537274388111361, 'MAINTENANCE_TASK_TYPE', '0', '计划任务', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1468537554693447681, 1468537274388111361, 'MAINTENANCE_TASK_TYPE', '1', '临时任务', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1471039197717512194, 0, 'WORKTICKETTYPE', '-1', '工作票类型', 34, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1471039393117552642, 1471039197717512194, 'WORKTICKETTYPE', '1', '第一种工作票', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1471039616325828610, 1471039197717512194, 'WORKTICKETTYPE', '2', '第二种工作票', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1471039666535841794, 1471039197717512194, 'WORKTICKETTYPE', '3', '水力机械工作票', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1471039717400166401, 1471039197717512194, 'WORKTICKETTYPE', '4', '应急抢修单', 4, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1471040195697623042, 0, 'OPERATETICKETTYPE', '-1', '操作票类型', 35, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1471040309480701953, 1471040195697623042, 'OPERATETICKETTYPE', '1', '倒闸操作票', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1471040393463250945, 1471040195697623042, 'OPERATETICKETTYPE', '2', '开机操作票', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1471040446349230081, 1471040195697623042, 'OPERATETICKETTYPE', '3', '停机操作票', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1471321704484618241, 1455480215572787202, 'TICKETTYPE', '4', '倒闸操作票', 4, '', 0, 1, 0, -1, 'OPERATIONAL'); +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 (1471322414471233538, 1455479878019395586, 'TICKETTYPE', '3', '倒闸操作票', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1471322831271804930, 1455479878019395586, 'TICKETTYPE', '4', '开机操作票', 4, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1471322931222069249, 1455479878019395586, 'TICKETTYPE', '5', '停机操作票', 5, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1471323135233015810, 1455480215572787202, 'TICKETTYPE', '6', '第一种工作票', 6, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1471323286471229441, 1455480215572787202, 'TICKETTYPE', '7', '第二种工作票', 7, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1471323895299620865, 1455480215572787202, 'TICKETTYPE', '8', '水力机械工作票', 8, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1471323960550408193, 1455480215572787202, 'TICKETTYPE', '9', '应急抢修单', 9, '', 1, 1, 0, -1, 'OPERATIONAL'); +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 (1498859254198820865, 1452834909622345729, 'WORKTICKETFLOW', '17', '逾期', 17, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1501796553615040514, 0, 'MAINTENANCETASKSTATUS', '-1', '日常维护任务状态', 91, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1501796718258249729, 1501796553615040514, 'MAINTENANCETASKSTATUS', '1', '待领用', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1501796771492356098, 1501796553615040514, 'MAINTENANCETASKSTATUS', '2', '待执行', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1501796828706856962, 1501796553615040514, 'MAINTENANCETASKSTATUS', '3', '待确认', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1501796901012463618, 1501796553615040514, 'MAINTENANCETASKSTATUS', '4', '待归档', 4, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1501796957341966338, 1501796553615040514, 'MAINTENANCETASKSTATUS', '5', '已完成', 5, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1501797004993454082, 1501796553615040514, 'MAINTENANCETASKSTATUS', '6', '未完成', 6, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1501797555244195841, 0, 'DEFECTHANDLESTATUS', '-1', '缺陷处理', 92, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1501810958784356353, 1501797555244195841, 'DEFECTHANDLESTATUS', '0', '未处理', 0, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1501811014165946370, 1501797555244195841, 'DEFECTHANDLESTATUS', '1', '已处理', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1506941985355825153, 1384389662709231618, 'DEFECTSOURCE', 'ZNZD', '智能诊断', 5, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1512319824717647874, 1452834909622345729, 'WORKTICKETFLOW', '18', '线下执行任务', 18, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1512319906246529026, 1452834909622345729, 'WORKTICKETFLOW', '19', '线下许可人许可', 19, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1512319986009608194, 1452834909622345729, 'WORKTICKETFLOW', '20', '线下结束', 20, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1514406493730082817, 0, 'FOCUS_ATTRIBUTE_GROUP', '-1', '集中属性配置分组', 110, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1514408836307587073, 1514406493730082817, 'FOCUS_ATTRIBUTE_GROUP', '1', '水电站-励磁机组', 1, '', 0, 1, 0, -1, 'OPERATIONAL'); +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 (1514409058471481345, 1514406493730082817, 'FOCUS_ATTRIBUTE_GROUP', '2', '水电站-卧磁机组', 2, '', 0, 1, 0, -1, 'OPERATIONAL'); +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 (1514409109130285058, 1514406493730082817, 'FOCUS_ATTRIBUTE_GROUP', '3', '泵站', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1515942507506274305, 1514406493730082817, 'FOCUS_ATTRIBUTE_GROUP', '4', '水电站-卧式机组', 4, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1515942601588707329, 1514406493730082817, 'FOCUS_ATTRIBUTE_GROUP', '5', '水电站-立式机组', 5, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1515942694253465601, 1514406493730082817, 'FOCUS_ATTRIBUTE_GROUP', '6', '水电站-灯泡贯流式机组', 6, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1532012044168015874, 1430357740698701825, 'STATIONTYPE', '8', '泵站', 8, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1532012106952552450, 1430357740698701825, 'STATIONTYPE', '9', '闸门', 9, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1541981981464670210, 1402436707053240321, 'ACCESS_TASK_STATUS', '0', '未开始', 0, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1541982038712725505, 1402436707053240321, 'ACCESS_TASK_STATUS', '5', '逾期', 5, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1542461019707908098, 0, 'NEWWORKTICKETSTATUS', '-1', '第一种工作票流程状态', 99, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1542461844429709313, 1542461019707908098, 'NEWWORKTICKETSTATUS', '1', '签发', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1542462052152614914, 1542461019707908098, 'NEWWORKTICKETSTATUS', '2', '收到工作票', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1542462106556932098, 1542461019707908098, 'NEWWORKTICKETSTATUS', '3', '许可人许可', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1542462324975312898, 1542461019707908098, 'NEWWORKTICKETSTATUS', '4', '确认条件具备', 4, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1542462390419038210, 1542461019707908098, 'NEWWORKTICKETSTATUS', '5', '工作负责人确认工作', 5, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1542462487290683394, 1542461019707908098, 'NEWWORKTICKETSTATUS', '6', '许可人确认工作结束', 6, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1542462577069760514, 1542461019707908098, 'NEWWORKTICKETSTATUS', '7', '工作票终结', 7, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1542462705000226818, 1542461019707908098, 'NEWWORKTICKETSTATUS', '8', '结束', 8, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1542462829856268289, 1542461019707908098, 'NEWWORKTICKETSTATUS', '9', '许可人延期确认', 9, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1542463005824098306, 1542461019707908098, 'NEWWORKTICKETSTATUS', '10', '负责人延期确认', 10, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1542463049482608642, 1542461019707908098, 'NEWWORKTICKETSTATUS', '11', '作废', 11, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1542463242898743297, 1542461019707908098, 'NEWWORKTICKETSTATUS', '12', '逾期', 12, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1542770871441268738, 1542461019707908098, 'NEWWORKTICKETSTATUS', '13', '线下开票', 13, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1542770952630411265, 1542461019707908098, 'NEWWORKTICKETSTATUS', '14', '线下执行任务', 14, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1542771021563797505, 1542461019707908098, 'NEWWORKTICKETSTATUS', '15', '线下许可人许可', 15, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1542771075561267201, 1542461019707908098, 'NEWWORKTICKETSTATUS', '16', '线下结束', 16, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1556905294007709698, 1455479438636691457, 'TICKETTYPE', '99', '抢修票', 10, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1556905527911460866, 1556905294007709698, 'TICKETTYPE', '9', '应急抢修单', 9, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1559101651877367809, 0, 'VIDEOTYPE', '-1', '视频类型', 111, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1559101811323834369, 1559101651877367809, 'VIDEOTYPE', '1', '清污机', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1567314823031595009, 1450341114984992770, 'STATION_SERVE_TYPE', '1', '云服务', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1580156089805086722, 0, 'ENABLESHOW', '-1', '集中监控属性显示', 42, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1580156281858072578, 1580156089805086722, 'ENABLESHOW', 'FALSE', '隐藏', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1580156358198599681, 1580156089805086722, 'ENABLESHOW', 'TRUE', '显示', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1590885629523140609, 1559101651877367809, 'VIDEOTYPE', '2', '中控室', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1590885670627319809, 1559101651877367809, 'VIDEOTYPE', '3', '前池', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1590886476709634050, 1559101651877367809, 'VIDEOTYPE', '4', '尾水', 4, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1632585717492346881, 1501797555244195841, 'DEFECTHANDLESTATUS', '2', '应急抢修处理', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1632585761750642689, 1501797555244195841, 'DEFECTHANDLESTATUS', '3', ' 检修计划处理', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1632585800040443905, 1501797555244195841, 'DEFECTHANDLESTATUS', '4', '检修任务处理', 4, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1632585835662667777, 1501797555244195841, 'DEFECTHANDLESTATUS', '5', ' 补开工作票', 5, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1632585872689983490, 1501797555244195841, 'DEFECTHANDLESTATUS', '6', '问题定论', 6, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1632585973504274433, 1501797555244195841, 'DEFECTHANDLESTATUS', '7', ' 检修计划-检修任务', 7, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1645274950860365825, 0, 'DATA_ORIGIN', '-1', '数据来源类型', 10, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1645275156549033986, 1645274950860365825, 'DATA_ORIGIN', '0', '数据采集', 0, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1645275327714385922, 1645274950860365825, 'DATA_ORIGIN', '1', '数据填报', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1651149948657455106, 0, 'ALARM_HANDLE_TYPE', '-1', '告警处理类型', 100, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1651150040252665858, 1651149948657455106, 'ALARM_HANDLE_TYPE', '1', '延后', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1651150074092310530, 1651149948657455106, 'ALARM_HANDLE_TYPE', '2', '误报', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1651150112910594050, 1651149948657455106, 'ALARM_HANDLE_TYPE', '3', '缺陷', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1651150146049789954, 1651149948657455106, 'ALARM_HANDLE_TYPE', '4', '检修', 4, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1651150182032723969, 1651149948657455106, 'ALARM_HANDLE_TYPE', '5', '处理', 5, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (129845068875749767, 0, 'ABNORMALTYPE', '-1', '数据中断类型', 0, '', 0, 0, 1, 1347090334530641921, 'OPERATIONAL'); +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 (1298450911961579531, 129845068875749767, 'ABNORMALTYPE', '13', '数据中断', 0, '', 0, 0, 1, 1347090334530641921, 'OPERATIONAL'); +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 (1298450945671200739, 129845068875749767, 'ABNORMALTYPE', '14', '数据异常', 1, '', 0, 0, 1, 1347090334530641921, 'OPERATIONAL'); +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 (1384337547761782785, 0, 'MAINTENANCE_RULE_TYPE', '-1', '日常维护过滤类型', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1384389662709231618, 0, 'DEFECTSOURCE', '-1', '缺陷问题来源', 30, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1384389791340146690, 1384389662709231618, 'DEFECTSOURCE', 'ZB', '值班管理', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1384391280196431873, 1384389662709231618, 'DEFECTSOURCE', 'RCWH', '日常维护', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1384391895416942593, 1384389662709231618, 'DEFECTSOURCE', 'XJ', '巡检管理', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1384391957022879746, 1384389662709231618, 'DEFECTSOURCE', 'JX', '检修管理', 4, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1384392025239040002, 1384389662709231618, 'DEFECTSOURCE', 'ZNZD', '智能诊断', 5, '', 0, 1, 0, -1, 'OPERATIONAL'); +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 (1384686562655309826, 0, 'FAULTTYPE', '-1', '故障类型', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1384686639222329346, 1384686562655309826, 'FAULTTYPE', '0', '标准', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1384686695165956098, 1384686562655309826, 'FAULTTYPE', '1', '非标准', 2, '1:的故障数据存在故障库但不在智能诊断的故障库里', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1384686752904744962, 1384686562655309826, 'FAULTTYPE', '2', '自定义', 3, '2是不存在我们的故障库新增的时候用户自定义的', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1385423274696216577, 0, 'FAULTLEVEL', '-1', '故障等级', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1385423749692755969, 1385423274696216577, 'FAULTLEVEL', '1', 'A', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1385423776238505986, 1385423274696216577, 'FAULTLEVEL', '2', 'B', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1385423804487143425, 1385423274696216577, 'FAULTLEVEL', '3', 'C', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1385423837781528578, 1385423274696216577, 'FAULTLEVEL', '4', 'D', 4, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1385433232867299330, 0, 'DEFECTTYPE', '-1', '缺陷类型', 4, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1385433328275132418, 1385433232867299330, 'DEFECTTYPE', '0', '设备', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1385433378606780417, 1385433232867299330, 'DEFECTTYPE', '1', '非设备', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1385512470903492609, 0, 'DEFECTLEVEL', '-1', '缺陷等级', 5, '缺陷等级', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1385513495425159170, 1385512470903492609, 'DEFECTLEVEL', '1', 'Ⅰ级缺陷', 1, '能导致设备发生重大事故或强迫停运,危及电力系统安全,甚至引起人身、环境事故的缺陷。', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1385513671787253762, 1385512470903492609, 'DEFECTLEVEL', '2', 'Ⅱ级缺陷', 2, '能造成设备性能降低(运行稳定性、安全性、效率等)或对人员健康和环境造成影响的缺陷。', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1385513787310968834, 1385512470903492609, 'DEFECTLEVEL', '3', 'Ⅲ级缺陷', 3, '不影响设备安全状态,能够控制、监视运行的缺陷。', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1385523023344537602, 0, 'MAINTENANCE_TASK_STATUS', '-1', '维护状态', 52, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1385523124737642498, 1385523023344537602, 'MAINTENANCE_TASK_STATUS', '1', '待领用', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1385523165762129921, 1385523023344537602, 'MAINTENANCE_TASK_STATUS', '2', '待执行', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1385523230866116609, 1385523023344537602, 'MAINTENANCE_TASK_STATUS', '3', '待确认', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1385523317017120770, 1385523023344537602, 'MAINTENANCE_TASK_STATUS', '4', '待归档', 4, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1386152911122436097, 1385523023344537602, 'MAINTENANCE_TASK_STATUS', '5', '已完成', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1386156711925223425, 0, 'MAINTENANCETASKARCHIVEROLEID', '-1', '日常维护任务审核角色ID', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1386156877679923201, 1386156711925223425, 'MAINTENANCETASKARCHIVEROLEID', '598276', 'MAINTAINARCHIVER', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1386167521942671362, 1386156711925223425, 'MAINTENANCETASKARCHIVEROLEID', '902100000026', 'MAINTAINARCHIVER', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1390481463775039489, 0, 'ACCESS_PLAN_STATUS', '-1', '检修计划状态', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1390481647091290114, 1390481463775039489, 'ACCESS_PLAN_STATUS', '1', '草稿', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1390481738460008449, 1390481463775039489, 'ACCESS_PLAN_STATUS', '2', '主管审核', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1390481805992497154, 1390481463775039489, 'ACCESS_PLAN_STATUS', '3', '业主审核', 3, '', 0, 1, 0, -1, 'OPERATIONAL'); +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 (1394812752032428033, 0, 'GRADECODE', '-1', '检修等级', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1394812810689769474, 1394812752032428033, 'GRADECODE', 'A', 'A', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1394812833406119937, 1394812752032428033, 'GRADECODE', 'B', 'B', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1394812856676118530, 1394812752032428033, 'GRADECODE', 'C', 'C', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1394812880579457025, 1394812752032428033, 'GRADECODE', 'D', 'D', 4, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1397372547570593793, 0, 'ACCESS_MATERIAL_TYPE_CODE', '-1', '检修材料类型', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1397372727032279042, 1397372547570593793, 'ACCESS_MATERIAL_TYPE_CODE', '1', '材料', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1397372778794184705, 1397372547570593793, 'ACCESS_MATERIAL_TYPE_CODE', '2', '工器具', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1398163790186475521, 0, 'DEFECTHANDLEFLOW', '-1', '缺陷处理流程KEYS', 1, '缺陷处理流程的KEYS', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1398164157343264769, 1398163790186475521, 'DEFECTHANDLEFLOW', 'INSPECTHANDLE', 'XJ', 1, '巡检问题处理流程KEY', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1402436302902689793, 1390481463775039489, 'ACCESS_PLAN_STATUS', '3', '审核不通过', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1402436341079244802, 1390481463775039489, 'ACCESS_PLAN_STATUS', '4', '审核通过', 4, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1402436707053240321, 0, 'ACCESS_TASK_STATUS', '-1', '检修任务状态', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1402436819498336257, 1402436707053240321, 'ACCESS_TASK_STATUS', '1', '进行中', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1402436861714006018, 1402436707053240321, 'ACCESS_TASK_STATUS', '2', '待审核', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1402436896757415937, 1402436707053240321, 'ACCESS_TASK_STATUS', '3', '审核未通过', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1402436936091598849, 1402436707053240321, 'ACCESS_TASK_STATUS', '4', '已完成', 4, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1416952994345304066, 0, 'DUTY_REC_STATUS', '-1', '值班管理交接班状态', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1416953417475080193, 1416952994345304066, 'DUTY_REC_STATUS', '1', '未提交', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1416953478393151490, 1416952994345304066, 'DUTY_REC_STATUS', '2', '流程审核中', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1416953520646569986, 1416952994345304066, 'DUTY_REC_STATUS', '3', '已完成', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1416954077834690562, 0, 'DUTY_MAIN_STATUS', '-1', '值班管理值班状态', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1416954201902202881, 1416954077834690562, 'DUTY_MAIN_STATUS', '0', '待值班', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1416954359809359873, 1416954077834690562, 'DUTY_MAIN_STATUS', '1', '值班中', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1416954395557412865, 1416954077834690562, 'DUTY_MAIN_STATUS', '2', '已完成', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1421046836644323330, 0, 'DUTY_REC_DELAY_STATUS', '-1', '交接班延迟状态', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1421046976864100354, 1421046836644323330, 'DUTY_REC_DELAY_STATUS', '0', '未延迟', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1421047061589041153, 1421046836644323330, 'DUTY_REC_DELAY_STATUS', '1', '交班延迟', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1421047169470734338, 1421046836644323330, 'DUTY_REC_DELAY_STATUS', '2', '接班延迟', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1421047221907922945, 1421046836644323330, 'DUTY_REC_DELAY_STATUS', '3', '交接班延迟', 4, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1422447853705404418, 0, 'RUN_STATUS', '-1', '运行状态', 72, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1422447999637823490, 1422447853705404418, 'RUN_STATUS', '1', '运行中', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1422448068386660354, 1422447853705404418, 'RUN_STATUS', '2', '热备用', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1422448133499035650, 1422447853705404418, 'RUN_STATUS', '3', '检修', 3, '', 0, 1, 0, -1, 'OPERATIONAL'); +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 (1424581374936911873, 1386156711925223425, 'MAINTENANCETASKARCHIVEROLEID', '200000', 'MAINTAINARCHIVER', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1425710663048753154, 1416952994345304066, 'DUTY_REC_STATUS', '4', '异常交接班', 4, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430354127607795714, 0, 'TRADE', '-1', '所属行业', 73, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430356591253884929, 0, 'BASIN', '-1', '所属流域', 75, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430356689736142850, 1430356591253884929, 'BASIN', '1', '长江流域', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430356727270969346, 1430356591253884929, 'BASIN', '2', '黄河流域', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430356771164360705, 1430356591253884929, 'BASIN', '3', '珠江流域', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430356822712356865, 1430356591253884929, 'BASIN', '4', '海河流域', 4, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430356864340824066, 1430356591253884929, 'BASIN', '5', '淮河流域', 5, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430356909807079425, 1430356591253884929, 'BASIN', '6', '松花江流域', 6, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430356952689643521, 1430356591253884929, 'BASIN', '7', '太湖流域', 7, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430357158550278145, 0, 'AREA', '-1', '所属区域', 76, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430357265219817473, 1430357158550278145, 'AREA', '1', '华北', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430357308140130305, 1430357158550278145, 'AREA', '2', '华东', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430357355527376897, 1430357158550278145, 'AREA', '3', '华中', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430357399890530306, 1430357158550278145, 'AREA', '4', '华南', 4, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430357460552749058, 1430357158550278145, 'AREA', '5', '西南', 5, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430357514508275714, 1430357158550278145, 'AREA', '6', '东北', 6, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430357602420887554, 1430357158550278145, 'AREA', '7', '西北', 7, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430357740698701825, 0, 'STATIONTYPE', '-1', '站点分类', 77, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430357794176077826, 1430357740698701825, 'STATIONTYPE', '1', '风电场', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430357837096390658, 1430357740698701825, 'STATIONTYPE', '2', '水利', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430357871955251202, 1430357740698701825, 'STATIONTYPE', '3', '储能站', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430357911255879682, 1430357740698701825, 'STATIONTYPE', '4', '配网', 4, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430357947054264322, 1430357740698701825, 'STATIONTYPE', '5', '光伏站', 5, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430357987659321345, 1430357740698701825, 'STATIONTYPE', '6', '水务', 6, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430690865714794497, 0, 'FIRSTPAGETYPE', '-1', '首页分类', 76, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430690968131309570, 1430690865714794497, 'FIRSTPAGETYPE', '1', '集团', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430691012871950337, 1430690865714794497, 'FIRSTPAGETYPE', '2', '省子公司', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430691059646828545, 1430690865714794497, 'FIRSTPAGETYPE', '3', '区域', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1430691106774028289, 1430690865714794497, 'FIRSTPAGETYPE', '5', '单站数据总览', 5, '', 0, 1, 0, -1, 'OPERATIONAL'); +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 (1431069916778434562, 1430357740698701825, 'STATIONTYPE', '0', '水电站', 0, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1431070390478934018, 1430357740698701825, 'STATIONTYPE', '7', '充电站', 7, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1431070467561852930, 1430357740698701825, 'STATIONTYPE', '8', '河长制', 8, '', 0, 1, 0, -1, 'OPERATIONAL'); +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 (1431155991328821250, 1430357740698701825, 'STATIONTYPE', '9', '闸控项目', 9, '', 0, 1, 0, -1, 'OPERATIONAL'); +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 (1431207266955268098, 1430690865714794497, 'FIRSTPAGETYPE', '4', '站点', 4, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1434724187965198338, 0, 'STATIONENABLECONTROL', '-1', '允许监控', 79, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1434724519139053570, 1434724187965198338, 'STATIONENABLECONTROL', '1', '是', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1434724569411981314, 1434724187965198338, 'STATIONENABLECONTROL', '0', '否', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1434724632108437506, 1434724187965198338, 'STATIONENABLECONTROL', '2', '免除校验', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1434841046572044290, 0, 'REFTERMINAL', '-1', '所属终端', 80, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1434841111235629058, 1434841046572044290, 'REFTERMINAL', '1', 'APP', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1434841186187841538, 1434841046572044290, 'REFTERMINAL', '2', 'WEB', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1438763706116947969, 1430354127607795714, 'TRADE', '1', '水利领域', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1438763773922066433, 1430354127607795714, 'TRADE', '2', '环保领域', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1438763831082041345, 1430354127607795714, 'TRADE', '3', '能源领域', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1438763902909497346, 1430354127607795714, 'TRADE', '4', '工控领域', 4, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1441977237876486145, 0, 'MONTHREPORTTYPE', '-1', '月报类型', 80, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1441977477299941378, 1441977237876486145, 'MONTHREPORTTYPE', '1', '电站月报', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1441977522497761282, 1441977237876486145, 'MONTHREPORTTYPE', '2', '个人月报', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1450341114984992770, 0, 'STATION_SERVE_TYPE', '-1', '站点服务类型', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1450341345575243777, 1450341114984992770, 'STATION_SERVE_TYPE', '1', '云服务', 1, '', 0, 1, 0, -1, 'OPERATIONAL'); +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 (1450341518019858433, 1450341114984992770, 'STATION_SERVE_TYPE', '2', '代运维服务', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1452834909622345729, 0, 'WORKTICKETFLOW', '-1', '工作票流程', 81, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1452835454990917634, 1452834909622345729, 'WORKTICKETFLOW', '1', '待签发', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1452835519780331521, 1452834909622345729, 'WORKTICKETFLOW', '2', '待许可', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1452835767244267522, 1452834909622345729, 'WORKTICKETFLOW', '3', '待确认收到工作票', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1452835965844561922, 1452834909622345729, 'WORKTICKETFLOW', '4', '待负责人确认安全措施', 4, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1452836063563456514, 1452834909622345729, 'WORKTICKETFLOW', '5', '待班组成员确认安全措施', 5, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1452836227799818242, 1452834909622345729, 'WORKTICKETFLOW', '6', '待确认执行情况', 6, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1453634522608513026, 0, 'TICKETSOURCETYPE', '-1', '两票来源类型', 93, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1453634906710290433, 1453634522608513026, 'TICKETSOURCETYPE', '1', '日常维护', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1453635085521858561, 1453634522608513026, 'TICKETSOURCETYPE', '2', '检修', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1453635123740356610, 1453634522608513026, 'TICKETSOURCETYPE', '3', '巡检', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1453974888171909122, 1453634522608513026, 'TICKETSOURCETYPE', '4', 'TEST66', 4, '', 0, 1, 0, -1, 'OPERATIONAL'); +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 (1455479438636691457, 0, 'TICKETTYPE', '-1', '票据类型', 91, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1455479878019395586, 1455479438636691457, 'TICKETTYPE', '1', '操作票', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1455479958709415938, 1455479438636691457, 'TICKETTYPE', '2', '第一种工作票', 2, '', 0, 1, 0, -1, 'OPERATIONAL'); +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 (1455480006222491650, 1455479438636691457, 'TICKETTYPE', '3', '第二种工作票', 3, '', 0, 1, 0, -1, 'OPERATIONAL'); +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 (1455480215572787202, 1455479438636691457, 'TICKETTYPE', '2', '工作票', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1455480286439747585, 1455480215572787202, 'TICKETTYPE', '3', '第一种工作票', 3, '', 0, 1, 0, -1, 'OPERATIONAL'); +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 (1455480351350796289, 1455480215572787202, 'TICKETTYPE', '4', '第二种工作票', 4, '', 0, 1, 0, -1, 'OPERATIONAL'); +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 (1456171074291183617, 1452834909622345729, 'WORKTICKETFLOW', '0', '开票', 0, '', 0, 1, 0, -1, 'OPERATIONAL'); +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 (1456551727625113602, 1452834909622345729, 'WORKTICKETFLOW', '7', '待工作成员完成任务', 7, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1456551837717204994, 1452834909622345729, 'WORKTICKETFLOW', '8', '待负责人确认完成工作', 8, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1456554589323235330, 1452834909622345729, 'WORKTICKETFLOW', '9', '待确认工作结束', 9, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1456554665638596610, 1452834909622345729, 'WORKTICKETFLOW', '10', '待终结', 10, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1456554712077930498, 1452834909622345729, 'WORKTICKETFLOW', '11', '完成', 11, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1458679503530475522, 0, 'STANDARDTICKETFLOW', '-1', '标准票流程', 94, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1458679676759425026, 1458679503530475522, 'STANDARDTICKETFLOW', '1', '待操作人确认', 1, '', 0, 1, 0, -1, 'OPERATIONAL'); +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 (1458679757860487169, 1458679503530475522, 'STANDARDTICKETFLOW', '1', '待监护人确认', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1458679832342937601, 1458679503530475522, 'STANDARDTICKETFLOW', '2', '待值班负责人确认', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1458679887254765569, 1458679503530475522, 'STANDARDTICKETFLOW', '3', '结束', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1461168137655508994, 1452834909622345729, 'WORKTICKETFLOW', '12', '待许可人确认工作票延期', 12, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1461168224318218241, 1452834909622345729, 'WORKTICKETFLOW', '13', '待负责人确认工作票延期', 13, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1461170362201104386, 1452834909622345729, 'WORKTICKETFLOW', '14', '作废', 15, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1465203323015749633, 1452834909622345729, 'WORKTICKETFLOW', '15', '线下', 14, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1465565651154460674, 1452834909622345729, 'WORKTICKETFLOW', '16', '终止', 16, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1465962012539420673, 0, 'CONFIG_ALARM_RECORD', '-1', '综合监控告警记录类型', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1465962122195304449, 1465962012539420673, 'CONFIG_ALARM_RECORD', '0', '未处理', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1465962261546860546, 1465962012539420673, 'CONFIG_ALARM_RECORD', '1', '已处理', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1468537274388111361, 0, 'MAINTENANCE_TASK_TYPE', '-1', '日常维护任务类型', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1468537486032691201, 1468537274388111361, 'MAINTENANCE_TASK_TYPE', '0', '计划任务', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1468537554693447681, 1468537274388111361, 'MAINTENANCE_TASK_TYPE', '1', '临时任务', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1471039197717512194, 0, 'WORKTICKETTYPE', '-1', '工作票类型', 34, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1471039393117552642, 1471039197717512194, 'WORKTICKETTYPE', '1', '第一种工作票', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1471039616325828610, 1471039197717512194, 'WORKTICKETTYPE', '2', '第二种工作票', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1471039666535841794, 1471039197717512194, 'WORKTICKETTYPE', '3', '水力机械工作票', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1471039717400166401, 1471039197717512194, 'WORKTICKETTYPE', '4', '应急抢修单', 4, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1471040195697623042, 0, 'OPERATETICKETTYPE', '-1', '操作票类型', 35, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1471040309480701953, 1471040195697623042, 'OPERATETICKETTYPE', '1', '倒闸操作票', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1471040393463250945, 1471040195697623042, 'OPERATETICKETTYPE', '2', '开机操作票', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1471040446349230081, 1471040195697623042, 'OPERATETICKETTYPE', '3', '停机操作票', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1471321704484618241, 1455480215572787202, 'TICKETTYPE', '4', '倒闸操作票', 4, '', 0, 1, 0, -1, 'OPERATIONAL'); +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 (1471322414471233538, 1455479878019395586, 'TICKETTYPE', '3', '倒闸操作票', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1471322831271804930, 1455479878019395586, 'TICKETTYPE', '4', '开机操作票', 4, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1471322931222069249, 1455479878019395586, 'TICKETTYPE', '5', '停机操作票', 5, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1471323135233015810, 1455480215572787202, 'TICKETTYPE', '6', '第一种工作票', 6, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1471323286471229441, 1455480215572787202, 'TICKETTYPE', '7', '第二种工作票', 7, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1471323895299620865, 1455480215572787202, 'TICKETTYPE', '8', '水力机械工作票', 8, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1471323960550408193, 1455480215572787202, 'TICKETTYPE', '9', '应急抢修单', 9, '', 1, 1, 0, -1, 'OPERATIONAL'); +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 (1498859254198820865, 1452834909622345729, 'WORKTICKETFLOW', '17', '逾期', 17, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1501796553615040514, 0, 'MAINTENANCETASKSTATUS', '-1', '日常维护任务状态', 91, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1501796718258249729, 1501796553615040514, 'MAINTENANCETASKSTATUS', '1', '待领用', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1501796771492356098, 1501796553615040514, 'MAINTENANCETASKSTATUS', '2', '待执行', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1501796828706856962, 1501796553615040514, 'MAINTENANCETASKSTATUS', '3', '待确认', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1501796901012463618, 1501796553615040514, 'MAINTENANCETASKSTATUS', '4', '待归档', 4, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1501796957341966338, 1501796553615040514, 'MAINTENANCETASKSTATUS', '5', '已完成', 5, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1501797004993454082, 1501796553615040514, 'MAINTENANCETASKSTATUS', '6', '未完成', 6, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1501797555244195841, 0, 'DEFECTHANDLESTATUS', '-1', '缺陷处理', 92, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1501810958784356353, 1501797555244195841, 'DEFECTHANDLESTATUS', '0', '未处理', 0, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1501811014165946370, 1501797555244195841, 'DEFECTHANDLESTATUS', '1', '已处理', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1506941985355825153, 1384389662709231618, 'DEFECTSOURCE', 'ZNZD', '智能诊断', 5, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1512319824717647874, 1452834909622345729, 'WORKTICKETFLOW', '18', '线下执行任务', 18, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1512319906246529026, 1452834909622345729, 'WORKTICKETFLOW', '19', '线下许可人许可', 19, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1512319986009608194, 1452834909622345729, 'WORKTICKETFLOW', '20', '线下结束', 20, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1514406493730082817, 0, 'FOCUS_ATTRIBUTE_GROUP', '-1', '集中属性配置分组', 110, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1514408836307587073, 1514406493730082817, 'FOCUS_ATTRIBUTE_GROUP', '1', '水电站-励磁机组', 1, '', 0, 1, 0, -1, 'OPERATIONAL'); +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 (1514409058471481345, 1514406493730082817, 'FOCUS_ATTRIBUTE_GROUP', '2', '水电站-卧磁机组', 2, '', 0, 1, 0, -1, 'OPERATIONAL'); +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 (1514409109130285058, 1514406493730082817, 'FOCUS_ATTRIBUTE_GROUP', '3', '泵站', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1515942507506274305, 1514406493730082817, 'FOCUS_ATTRIBUTE_GROUP', '4', '水电站-卧式机组', 4, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1515942601588707329, 1514406493730082817, 'FOCUS_ATTRIBUTE_GROUP', '5', '水电站-立式机组', 5, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1515942694253465601, 1514406493730082817, 'FOCUS_ATTRIBUTE_GROUP', '6', '水电站-灯泡贯流式机组', 6, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1532012044168015874, 1430357740698701825, 'STATIONTYPE', '8', '泵站', 8, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1532012106952552450, 1430357740698701825, 'STATIONTYPE', '9', '闸门', 9, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1541981981464670210, 1402436707053240321, 'ACCESS_TASK_STATUS', '0', '未开始', 0, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1541982038712725505, 1402436707053240321, 'ACCESS_TASK_STATUS', '5', '逾期', 5, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1542461019707908098, 0, 'NEWWORKTICKETSTATUS', '-1', '第一种工作票流程状态', 99, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1542461844429709313, 1542461019707908098, 'NEWWORKTICKETSTATUS', '1', '签发', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1542462052152614914, 1542461019707908098, 'NEWWORKTICKETSTATUS', '2', '收到工作票', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1542462106556932098, 1542461019707908098, 'NEWWORKTICKETSTATUS', '3', '许可人许可', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1542462324975312898, 1542461019707908098, 'NEWWORKTICKETSTATUS', '4', '确认条件具备', 4, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1542462390419038210, 1542461019707908098, 'NEWWORKTICKETSTATUS', '5', '工作负责人确认工作', 5, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1542462487290683394, 1542461019707908098, 'NEWWORKTICKETSTATUS', '6', '许可人确认工作结束', 6, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1542462577069760514, 1542461019707908098, 'NEWWORKTICKETSTATUS', '7', '工作票终结', 7, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1542462705000226818, 1542461019707908098, 'NEWWORKTICKETSTATUS', '8', '结束', 8, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1542462829856268289, 1542461019707908098, 'NEWWORKTICKETSTATUS', '9', '许可人延期确认', 9, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1542463005824098306, 1542461019707908098, 'NEWWORKTICKETSTATUS', '10', '负责人延期确认', 10, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1542463049482608642, 1542461019707908098, 'NEWWORKTICKETSTATUS', '11', '作废', 11, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1542463242898743297, 1542461019707908098, 'NEWWORKTICKETSTATUS', '12', '逾期', 12, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1542770871441268738, 1542461019707908098, 'NEWWORKTICKETSTATUS', '13', '线下开票', 13, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1542770952630411265, 1542461019707908098, 'NEWWORKTICKETSTATUS', '14', '线下执行任务', 14, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1542771021563797505, 1542461019707908098, 'NEWWORKTICKETSTATUS', '15', '线下许可人许可', 15, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1542771075561267201, 1542461019707908098, 'NEWWORKTICKETSTATUS', '16', '线下结束', 16, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1556905294007709698, 1455479438636691457, 'TICKETTYPE', '99', '抢修票', 10, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1556905527911460866, 1556905294007709698, 'TICKETTYPE', '9', '应急抢修单', 9, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1559101651877367809, 0, 'VIDEOTYPE', '-1', '视频类型', 111, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1559101811323834369, 1559101651877367809, 'VIDEOTYPE', '1', '清污机', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1567314823031595009, 1450341114984992770, 'STATION_SERVE_TYPE', '1', '云服务', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1580156089805086722, 0, 'ENABLESHOW', '-1', '集中监控属性显示', 42, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1580156281858072578, 1580156089805086722, 'ENABLESHOW', 'FALSE', '隐藏', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1580156358198599681, 1580156089805086722, 'ENABLESHOW', 'TRUE', '显示', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1590885629523140609, 1559101651877367809, 'VIDEOTYPE', '2', '中控室', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1590885670627319809, 1559101651877367809, 'VIDEOTYPE', '3', '前池', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1590886476709634050, 1559101651877367809, 'VIDEOTYPE', '4', '尾水', 4, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1632585717492346881, 1501797555244195841, 'DEFECTHANDLESTATUS', '2', '应急抢修处理', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1632585761750642689, 1501797555244195841, 'DEFECTHANDLESTATUS', '3', ' 检修计划处理', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1632585800040443905, 1501797555244195841, 'DEFECTHANDLESTATUS', '4', '检修任务处理', 4, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1632585835662667777, 1501797555244195841, 'DEFECTHANDLESTATUS', '5', ' 补开工作票', 5, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1632585872689983490, 1501797555244195841, 'DEFECTHANDLESTATUS', '6', '问题定论', 6, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1632585973504274433, 1501797555244195841, 'DEFECTHANDLESTATUS', '7', ' 检修计划-检修任务', 7, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1645274950860365825, 0, 'DATA_ORIGIN', '-1', '数据来源类型', 10, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1645275156549033986, 1645274950860365825, 'DATA_ORIGIN', '0', '数据采集', 0, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1645275327714385922, 1645274950860365825, 'DATA_ORIGIN', '1', '数据填报', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1651149948657455106, 0, 'ALARM_HANDLE_TYPE', '-1', '告警处理类型', 100, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1651150040252665858, 1651149948657455106, 'ALARM_HANDLE_TYPE', '1', '延后', 1, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1651150074092310530, 1651149948657455106, 'ALARM_HANDLE_TYPE', '2', '误报', 2, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1651150112910594050, 1651149948657455106, 'ALARM_HANDLE_TYPE', '3', '缺陷', 3, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1651150146049789954, 1651149948657455106, 'ALARM_HANDLE_TYPE', '4', '检修', 4, '', 0, 0, 0, -1, 'OPERATIONAL'); +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 (1651150182032723969, 1651149948657455106, 'ALARM_HANDLE_TYPE', '5', '处理', 5, '', 0, 0, 0, -1, 'OPERATIONAL');