/*
 Navicat Premium Data Transfer

 Source Server         : 134.175.84.106
 Source Server Type    : MySQL
 Source Server Version : 50732
 Source Host           : 134.175.84.106:3306
 Source Schema         : paxy

 Target Server Type    : MySQL
 Target Server Version : 50732
 File Encoding         : 65001

 Date: 13/12/2021 12:40:26
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for QRTZ_BLOB_TRIGGERS
-- ----------------------------
DROP TABLE IF EXISTS `QRTZ_BLOB_TRIGGERS`;
CREATE TABLE `QRTZ_BLOB_TRIGGERS`  (
  `SCHED_NAME` varchar(120) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `TRIGGER_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `TRIGGER_GROUP` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `BLOB_DATA` blob NULL,
  PRIMARY KEY (`SCHED_NAME`, `TRIGGER_NAME`, `TRIGGER_GROUP`) USING BTREE,
  INDEX `SCHED_NAME`(`SCHED_NAME`, `TRIGGER_NAME`, `TRIGGER_GROUP`) USING BTREE,
  CONSTRAINT `QRTZ_BLOB_TRIGGERS_ibfk_1` FOREIGN KEY (`SCHED_NAME`, `TRIGGER_NAME`, `TRIGGER_GROUP`) REFERENCES `QRTZ_TRIGGERS` (`SCHED_NAME`, `TRIGGER_NAME`, `TRIGGER_GROUP`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of QRTZ_BLOB_TRIGGERS
-- ----------------------------

-- ----------------------------
-- Table structure for QRTZ_CALENDARS
-- ----------------------------
DROP TABLE IF EXISTS `QRTZ_CALENDARS`;
CREATE TABLE `QRTZ_CALENDARS`  (
  `SCHED_NAME` varchar(120) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `CALENDAR_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `CALENDAR` blob NOT NULL,
  PRIMARY KEY (`SCHED_NAME`, `CALENDAR_NAME`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of QRTZ_CALENDARS
-- ----------------------------

-- ----------------------------
-- Table structure for QRTZ_CRON_TRIGGERS
-- ----------------------------
DROP TABLE IF EXISTS `QRTZ_CRON_TRIGGERS`;
CREATE TABLE `QRTZ_CRON_TRIGGERS`  (
  `SCHED_NAME` varchar(120) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `TRIGGER_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `TRIGGER_GROUP` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `CRON_EXPRESSION` varchar(120) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `TIME_ZONE_ID` varchar(80) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  PRIMARY KEY (`SCHED_NAME`, `TRIGGER_NAME`, `TRIGGER_GROUP`) USING BTREE,
  CONSTRAINT `QRTZ_CRON_TRIGGERS_ibfk_1` FOREIGN KEY (`SCHED_NAME`, `TRIGGER_NAME`, `TRIGGER_GROUP`) REFERENCES `QRTZ_TRIGGERS` (`SCHED_NAME`, `TRIGGER_NAME`, `TRIGGER_GROUP`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of QRTZ_CRON_TRIGGERS
-- ----------------------------
INSERT INTO `QRTZ_CRON_TRIGGERS` VALUES ('clusteredScheduler', '406530', '406282', '* * * * * ? *', 'Asia/Shanghai');
INSERT INTO `QRTZ_CRON_TRIGGERS` VALUES ('clusteredScheduler', 'triggerName2', 'triggerGroup2', '* * * * * ? *', 'Asia/Shanghai');

-- ----------------------------
-- Table structure for QRTZ_FIRED_TRIGGERS
-- ----------------------------
DROP TABLE IF EXISTS `QRTZ_FIRED_TRIGGERS`;
CREATE TABLE `QRTZ_FIRED_TRIGGERS`  (
  `SCHED_NAME` varchar(120) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `ENTRY_ID` varchar(95) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `TRIGGER_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `TRIGGER_GROUP` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `INSTANCE_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `FIRED_TIME` bigint(13) NOT NULL,
  `SCHED_TIME` bigint(13) NOT NULL,
  `PRIORITY` int(11) NOT NULL,
  `STATE` varchar(16) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `JOB_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `JOB_GROUP` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `IS_NONCONCURRENT` varchar(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `REQUESTS_RECOVERY` varchar(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  PRIMARY KEY (`SCHED_NAME`, `ENTRY_ID`) USING BTREE,
  INDEX `IDX_QRTZ_FT_TRIG_INST_NAME`(`SCHED_NAME`, `INSTANCE_NAME`) USING BTREE,
  INDEX `IDX_QRTZ_FT_INST_JOB_REQ_RCVRY`(`SCHED_NAME`, `INSTANCE_NAME`, `REQUESTS_RECOVERY`) USING BTREE,
  INDEX `IDX_QRTZ_FT_J_G`(`SCHED_NAME`, `JOB_NAME`, `JOB_GROUP`) USING BTREE,
  INDEX `IDX_QRTZ_FT_JG`(`SCHED_NAME`, `JOB_GROUP`) USING BTREE,
  INDEX `IDX_QRTZ_FT_T_G`(`SCHED_NAME`, `TRIGGER_NAME`, `TRIGGER_GROUP`) USING BTREE,
  INDEX `IDX_QRTZ_FT_TG`(`SCHED_NAME`, `TRIGGER_GROUP`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of QRTZ_FIRED_TRIGGERS
-- ----------------------------

-- ----------------------------
-- Table structure for QRTZ_JOB_DETAILS
-- ----------------------------
DROP TABLE IF EXISTS `QRTZ_JOB_DETAILS`;
CREATE TABLE `QRTZ_JOB_DETAILS`  (
  `SCHED_NAME` varchar(120) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `JOB_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `JOB_GROUP` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `DESCRIPTION` varchar(250) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `JOB_CLASS_NAME` varchar(250) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `IS_DURABLE` varchar(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `IS_NONCONCURRENT` varchar(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `IS_UPDATE_DATA` varchar(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `REQUESTS_RECOVERY` varchar(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `JOB_DATA` blob NULL,
  PRIMARY KEY (`SCHED_NAME`, `JOB_NAME`, `JOB_GROUP`) USING BTREE,
  INDEX `IDX_QRTZ_J_REQ_RECOVERY`(`SCHED_NAME`, `REQUESTS_RECOVERY`) USING BTREE,
  INDEX `IDX_QRTZ_J_GRP`(`SCHED_NAME`, `JOB_GROUP`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of QRTZ_JOB_DETAILS
-- ----------------------------
INSERT INTO `QRTZ_JOB_DETAILS` VALUES ('clusteredScheduler', 'job1', 'jobGroup1', NULL, 'com.xazhcx.aqpt.job.HelloJob', '0', '0', '0', '0', 0xACED0005737200156F72672E71756172747A2E4A6F62446174614D61709FB083E8BFA9B0CB020000787200266F72672E71756172747A2E7574696C732E537472696E674B65794469727479466C61674D61708208E8C3FBC55D280200015A0013616C6C6F77735472616E7369656E74446174617872001D6F72672E71756172747A2E7574696C732E4469727479466C61674D617013E62EAD28760ACE0200025A000564697274794C00036D617074000F4C6A6176612F7574696C2F4D61703B787000737200116A6176612E7574696C2E486173684D61700507DAC1C31660D103000246000A6C6F6164466163746F724900097468726573686F6C6478703F40000000000010770800000010000000007800);
INSERT INTO `QRTZ_JOB_DETAILS` VALUES ('clusteredScheduler', 'job2', 'jobGroup2', NULL, 'com.xazhcx.aqpt.job.HelloJob', '0', '0', '0', '0', 0xACED0005737200156F72672E71756172747A2E4A6F62446174614D61709FB083E8BFA9B0CB020000787200266F72672E71756172747A2E7574696C732E537472696E674B65794469727479466C61674D61708208E8C3FBC55D280200015A0013616C6C6F77735472616E7369656E74446174617872001D6F72672E71756172747A2E7574696C732E4469727479466C61674D617013E62EAD28760ACE0200025A000564697274794C00036D617074000F4C6A6176612F7574696C2F4D61703B787000737200116A6176612E7574696C2E486173684D61700507DAC1C31660D103000246000A6C6F6164466163746F724900097468726573686F6C6478703F40000000000010770800000010000000007800);

-- ----------------------------
-- Table structure for QRTZ_LOCKS
-- ----------------------------
DROP TABLE IF EXISTS `QRTZ_LOCKS`;
CREATE TABLE `QRTZ_LOCKS`  (
  `SCHED_NAME` varchar(120) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `LOCK_NAME` varchar(40) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  PRIMARY KEY (`SCHED_NAME`, `LOCK_NAME`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of QRTZ_LOCKS
-- ----------------------------
INSERT INTO `QRTZ_LOCKS` VALUES ('clusteredScheduler', 'STATE_ACCESS');
INSERT INTO `QRTZ_LOCKS` VALUES ('clusteredScheduler', 'TRIGGER_ACCESS');

-- ----------------------------
-- Table structure for QRTZ_PAUSED_TRIGGER_GRPS
-- ----------------------------
DROP TABLE IF EXISTS `QRTZ_PAUSED_TRIGGER_GRPS`;
CREATE TABLE `QRTZ_PAUSED_TRIGGER_GRPS`  (
  `SCHED_NAME` varchar(120) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `TRIGGER_GROUP` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  PRIMARY KEY (`SCHED_NAME`, `TRIGGER_GROUP`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of QRTZ_PAUSED_TRIGGER_GRPS
-- ----------------------------

-- ----------------------------
-- Table structure for QRTZ_SCHEDULER_STATE
-- ----------------------------
DROP TABLE IF EXISTS `QRTZ_SCHEDULER_STATE`;
CREATE TABLE `QRTZ_SCHEDULER_STATE`  (
  `SCHED_NAME` varchar(120) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `INSTANCE_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `LAST_CHECKIN_TIME` bigint(13) NOT NULL,
  `CHECKIN_INTERVAL` bigint(13) NOT NULL,
  PRIMARY KEY (`SCHED_NAME`, `INSTANCE_NAME`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of QRTZ_SCHEDULER_STATE
-- ----------------------------
INSERT INTO `QRTZ_SCHEDULER_STATE` VALUES ('clusteredScheduler', 'win10-hou1605801911112', 1605801967500, 1000);

-- ----------------------------
-- Table structure for QRTZ_SIMPLE_TRIGGERS
-- ----------------------------
DROP TABLE IF EXISTS `QRTZ_SIMPLE_TRIGGERS`;
CREATE TABLE `QRTZ_SIMPLE_TRIGGERS`  (
  `SCHED_NAME` varchar(120) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `TRIGGER_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `TRIGGER_GROUP` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `REPEAT_COUNT` bigint(7) NOT NULL,
  `REPEAT_INTERVAL` bigint(12) NOT NULL,
  `TIMES_TRIGGERED` bigint(10) NOT NULL,
  PRIMARY KEY (`SCHED_NAME`, `TRIGGER_NAME`, `TRIGGER_GROUP`) USING BTREE,
  CONSTRAINT `QRTZ_SIMPLE_TRIGGERS_ibfk_1` FOREIGN KEY (`SCHED_NAME`, `TRIGGER_NAME`, `TRIGGER_GROUP`) REFERENCES `QRTZ_TRIGGERS` (`SCHED_NAME`, `TRIGGER_NAME`, `TRIGGER_GROUP`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of QRTZ_SIMPLE_TRIGGERS
-- ----------------------------

-- ----------------------------
-- Table structure for QRTZ_SIMPROP_TRIGGERS
-- ----------------------------
DROP TABLE IF EXISTS `QRTZ_SIMPROP_TRIGGERS`;
CREATE TABLE `QRTZ_SIMPROP_TRIGGERS`  (
  `SCHED_NAME` varchar(120) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `TRIGGER_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `TRIGGER_GROUP` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `STR_PROP_1` varchar(512) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `STR_PROP_2` varchar(512) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `STR_PROP_3` varchar(512) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `INT_PROP_1` int(11) NULL DEFAULT NULL,
  `INT_PROP_2` int(11) NULL DEFAULT NULL,
  `LONG_PROP_1` bigint(20) NULL DEFAULT NULL,
  `LONG_PROP_2` bigint(20) NULL DEFAULT NULL,
  `DEC_PROP_1` decimal(13, 4) NULL DEFAULT NULL,
  `DEC_PROP_2` decimal(13, 4) NULL DEFAULT NULL,
  `BOOL_PROP_1` varchar(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `BOOL_PROP_2` varchar(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  PRIMARY KEY (`SCHED_NAME`, `TRIGGER_NAME`, `TRIGGER_GROUP`) USING BTREE,
  CONSTRAINT `QRTZ_SIMPROP_TRIGGERS_ibfk_1` FOREIGN KEY (`SCHED_NAME`, `TRIGGER_NAME`, `TRIGGER_GROUP`) REFERENCES `QRTZ_TRIGGERS` (`SCHED_NAME`, `TRIGGER_NAME`, `TRIGGER_GROUP`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of QRTZ_SIMPROP_TRIGGERS
-- ----------------------------

-- ----------------------------
-- Table structure for QRTZ_TRIGGERS
-- ----------------------------
DROP TABLE IF EXISTS `QRTZ_TRIGGERS`;
CREATE TABLE `QRTZ_TRIGGERS`  (
  `SCHED_NAME` varchar(120) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `TRIGGER_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `TRIGGER_GROUP` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `JOB_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `JOB_GROUP` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `DESCRIPTION` varchar(250) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `NEXT_FIRE_TIME` bigint(13) NULL DEFAULT NULL,
  `PREV_FIRE_TIME` bigint(13) NULL DEFAULT NULL,
  `PRIORITY` int(11) NULL DEFAULT NULL,
  `TRIGGER_STATE` varchar(16) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `TRIGGER_TYPE` varchar(8) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `START_TIME` bigint(13) NOT NULL,
  `END_TIME` bigint(13) NULL DEFAULT NULL,
  `CALENDAR_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `MISFIRE_INSTR` smallint(2) NULL DEFAULT NULL,
  `JOB_DATA` blob NULL,
  PRIMARY KEY (`SCHED_NAME`, `TRIGGER_NAME`, `TRIGGER_GROUP`) USING BTREE,
  INDEX `IDX_QRTZ_T_J`(`SCHED_NAME`, `JOB_NAME`, `JOB_GROUP`) USING BTREE,
  INDEX `IDX_QRTZ_T_JG`(`SCHED_NAME`, `JOB_GROUP`) USING BTREE,
  INDEX `IDX_QRTZ_T_C`(`SCHED_NAME`, `CALENDAR_NAME`) USING BTREE,
  INDEX `IDX_QRTZ_T_G`(`SCHED_NAME`, `TRIGGER_GROUP`) USING BTREE,
  INDEX `IDX_QRTZ_T_STATE`(`SCHED_NAME`, `TRIGGER_STATE`) USING BTREE,
  INDEX `IDX_QRTZ_T_N_STATE`(`SCHED_NAME`, `TRIGGER_NAME`, `TRIGGER_GROUP`, `TRIGGER_STATE`) USING BTREE,
  INDEX `IDX_QRTZ_T_N_G_STATE`(`SCHED_NAME`, `TRIGGER_GROUP`, `TRIGGER_STATE`) USING BTREE,
  INDEX `IDX_QRTZ_T_NEXT_FIRE_TIME`(`SCHED_NAME`, `NEXT_FIRE_TIME`) USING BTREE,
  INDEX `IDX_QRTZ_T_NFT_ST`(`SCHED_NAME`, `TRIGGER_STATE`, `NEXT_FIRE_TIME`) USING BTREE,
  INDEX `IDX_QRTZ_T_NFT_MISFIRE`(`SCHED_NAME`, `MISFIRE_INSTR`, `NEXT_FIRE_TIME`) USING BTREE,
  INDEX `IDX_QRTZ_T_NFT_ST_MISFIRE`(`SCHED_NAME`, `MISFIRE_INSTR`, `NEXT_FIRE_TIME`, `TRIGGER_STATE`) USING BTREE,
  INDEX `IDX_QRTZ_T_NFT_ST_MISFIRE_GRP`(`SCHED_NAME`, `MISFIRE_INSTR`, `NEXT_FIRE_TIME`, `TRIGGER_GROUP`, `TRIGGER_STATE`) USING BTREE,
  CONSTRAINT `QRTZ_TRIGGERS_ibfk_1` FOREIGN KEY (`SCHED_NAME`, `JOB_NAME`, `JOB_GROUP`) REFERENCES `QRTZ_JOB_DETAILS` (`SCHED_NAME`, `JOB_NAME`, `JOB_GROUP`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of QRTZ_TRIGGERS
-- ----------------------------
INSERT INTO `QRTZ_TRIGGERS` VALUES ('clusteredScheduler', '406530', '406282', 'job1', 'jobGroup1', NULL, 1606470806000, 1606470805000, 5, 'PAUSED', 'CRON', 1606406400000, 1606492800000, NULL, 0, '');
INSERT INTO `QRTZ_TRIGGERS` VALUES ('clusteredScheduler', 'triggerName2', 'triggerGroup2', 'job2', 'jobGroup2', NULL, 1607605826000, 1607605825000, 5, 'PAUSED', 'CRON', 1607529600000, 1607616000000, NULL, 0, '');

-- ----------------------------
-- Table structure for accident_cat
-- ----------------------------
DROP TABLE IF EXISTS `accident_cat`;
CREATE TABLE `accident_cat`  (
  `accident_cat_id` bigint(11) NOT NULL,
  `accident_cat_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `accident_cat_desc` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `accident_cat_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT NULL,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`accident_cat_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '事故分类表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of accident_cat
-- ----------------------------

-- ----------------------------
-- Table structure for account
-- ----------------------------
DROP TABLE IF EXISTS `account`;
CREATE TABLE `account`  (
  `oc_id` bigint(11) NULL DEFAULT NULL COMMENT '组织ID:公司或单位',
  `account_id` bigint(11) NOT NULL COMMENT '帐号ID',
  `account_name` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '帐号名称',
  `password` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '密码',
  `status` bigint(11) NULL DEFAULT NULL COMMENT '状态（0 未激活，1正常，2锁定，-1删除）',
  `account_real_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '姓名',
  `account_phone` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '手机号',
  `account_type` bigint(11) NULL DEFAULT NULL COMMENT '帐号类型: 0系统用户，1，企业用户,2集团用户，3政府用户，4.合作伙伴',
  `account_intro` varchar(1024) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '个人介绍',
  `account_last_ip` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '上次登录IP',
  `account_avatar` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '头像',
  `account_loc` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '区域',
  `is_fixed` bigint(11) NULL DEFAULT 0 COMMENT '1:不能删除，0可删除',
  `created_by` bigint(11) NULL DEFAULT NULL,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  PRIMARY KEY (`account_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '帐号表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of account
-- ----------------------------
INSERT INTO `account` VALUES (1, 1, 'system', '21218cca77804d2ba1922c33e0151105', 1, 'houyaf', '15644545445', 1, '枯要村要要要地械要枯枯要村要要要地械 要 枯 枯要村要要要地械 要 枯 枯要村要要要地械 要 枯 枯要村要要要地械 要 枯 枯要村要要要地械 要 枯 枯要村要要要地械要枯要村要要要地械 ', '11', 'http://134.175.84.106:8080/group1/M00/00/00/rBAACF_SsQCANRZiAAAKIX2ISns687.png', '', 1, NULL, NULL, 1, '2021-12-10 00:43:48', 0, NULL, NULL);
INSERT INTO `account` VALUES (1, 406188, 'houyaf', '21218cca77804d2ba1922c33e0151105', 1, 'houyaf', '18597985968', NULL, NULL, NULL, NULL, NULL, 1, 1, NULL, 1, '2021-10-13 23:56:13', 0, NULL, NULL);
INSERT INTO `account` VALUES (1, 406214, 'user1', '21218cca77804d2ba1922c33e0151105', 1, 'user1', '18591968899', NULL, NULL, NULL, NULL, NULL, 0, 1, NULL, 1, '2021-10-17 00:31:29', 0, NULL, NULL);
INSERT INTO `account` VALUES (1, 406218, 'user2', '21218cca77804d2ba1922c33e0151105', 1, 'user2', '18599556812', NULL, NULL, NULL, NULL, NULL, 0, 1, NULL, 1, '2021-10-24 18:45:35', 0, NULL, NULL);
INSERT INTO `account` VALUES (1, 406222, 'user3', '21218cca77804d2ba1922c33e0151105', 1, 'user3', '12345678906', NULL, NULL, NULL, NULL, NULL, 0, 1, NULL, 1, '2021-10-20 00:23:37', 0, NULL, NULL);
INSERT INTO `account` VALUES (1, 406229, 'user4', '21218cca77804d2ba1922c33e0151105', 1, 'user4', '12345678901', NULL, NULL, NULL, NULL, NULL, 0, 1, NULL, 1, '2021-10-20 19:39:46', 0, NULL, NULL);
INSERT INTO `account` VALUES (1, 406233, 'user5', '21218cca77804d2ba1922c33e0151105', 2, 'user52', '18591965588', NULL, NULL, NULL, NULL, NULL, 0, 1, NULL, 1, '2021-10-14 00:30:14', 1, NULL, NULL);
INSERT INTO `account` VALUES (1, 406239, 'user10', '21218cca77804d2ba1922c33e0151105', 1, 'user10', '12345678902', NULL, NULL, NULL, NULL, NULL, 0, 1, NULL, 1, '2021-10-13 01:37:19', 1, NULL, NULL);
INSERT INTO `account` VALUES (1, 406260, 'userd21', '21218cca77804d2ba1922c33e0151105', 1, 'userd21', '12345678908', NULL, NULL, NULL, NULL, NULL, 0, 1, NULL, 1, '2021-10-20 19:42:13', 0, NULL, NULL);
INSERT INTO `account` VALUES (406282, 406282, 'admin001', '21218cca77804d2ba1922c33e0151105', 1, 'userd22', '18591965516', 0, '', '', '', '', 0, 0, '2020-02-27 18:20:41', 0, NULL, 0, 0, NULL);
INSERT INTO `account` VALUES (406283, 406283, 'admin003', '21218cca77804d2ba1922c33e0151105', 1, '管理员2', '18591965517', 0, 'dddddd ddddxxxxd ddxxxx xddssd FFFFFcdefafa', '', 'http://134.175.84.106:8888/group1/M00/00/00/rBAACGGhlEOAbJkfAABxoz-M-D4474.png', '', 0, 0, '2020-02-27 18:32:50', 406283, '2021-12-03 14:57:24', 0, 0, NULL);
INSERT INTO `account` VALUES (406283, 406287, 'U11101', '21218cca77804d2ba1922c33e0151105', 1, 'U11101', '12345678911', NULL, NULL, NULL, NULL, NULL, 0, 406283, NULL, 406283, '2021-12-09 15:57:37', 0, NULL, NULL);
INSERT INTO `account` VALUES (406283, 406302, 'U001', '21218cca77804d2ba1922c33e0151105', 1, 'U001', '12345678955', NULL, NULL, NULL, NULL, NULL, 0, 406283, NULL, 406283, '2021-12-02 12:06:14', 0, NULL, NULL);
INSERT INTO `account` VALUES (406283, 406870, 'U002', '21218cca77804d2ba1922c33e0151105', 1, 'U002', '19105262538', NULL, NULL, NULL, NULL, NULL, 0, 406283, NULL, 406283, '2021-12-09 15:56:53', 0, NULL, NULL);
INSERT INTO `account` VALUES (406283, 407696, 'zhao', '21218cca77804d2ba1922c33e0151105', 1, '赵前进', '17762279392', NULL, NULL, NULL, NULL, NULL, 0, 406283, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `account` VALUES (1, 184171131633665, 'user222', '21218cca77804d2ba1922c33e0151105', 1, 'user222', '156678909776', NULL, NULL, NULL, NULL, NULL, 0, 1, NULL, 1, '2021-10-14 00:42:40', 0, NULL, NULL);
INSERT INTO `account` VALUES (185853792026625, 185853792026625, 'admina', '21218cca77804d2ba1922c33e0151105', 1, NULL, '13423232323', 0, NULL, NULL, '', NULL, 1, NULL, '2021-10-23 21:04:06', NULL, NULL, 0, NULL, NULL);
INSERT INTO `account` VALUES (185967392653313, 185967392653313, 'padmin2', '21218cca77804d2ba1922c33e0151105', 1, NULL, '185919666666', 0, NULL, NULL, '', NULL, 0, NULL, '2021-10-23 22:37:53', NULL, NULL, 0, NULL, NULL);
INSERT INTO `account` VALUES (185974646702081, 185974646702081, 'padmin1', '21218cca77804d2ba1922c33e0151105', 1, NULL, '18959565956', 0, NULL, NULL, '', NULL, 0, NULL, '2021-10-23 22:04:01', NULL, NULL, 0, NULL, NULL);
INSERT INTO `account` VALUES (185996373196801, 185996373196801, 'admin2', '21218cca77804d2ba1922c33e0151105', 1, NULL, '13423232323', 0, NULL, NULL, '', NULL, 1, NULL, '2021-10-23 21:03:58', NULL, NULL, 0, NULL, NULL);

-- ----------------------------
-- Table structure for alert
-- ----------------------------
DROP TABLE IF EXISTS `alert`;
CREATE TABLE `alert`  (
  `oc_id` bigint(11) NOT NULL COMMENT '单位ID',
  `alert_id` bigint(11) NULL DEFAULT NULL COMMENT '预警ID',
  `alert_title` bigint(11) NULL DEFAULT NULL COMMENT '标题',
  `alert_desc` varchar(511) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '描述',
  `alert_type_id` bigint(11) NULL DEFAULT NULL COMMENT '类型ID',
  `status` bigint(11) NULL DEFAULT NULL COMMENT '状态',
  `alert_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '编码',
  `risk_point_id` bigint(11) NULL DEFAULT NULL COMMENT '风险点ID',
  `alert_source` bigint(11) NULL DEFAULT NULL COMMENT '来源',
  `alert_level` bigint(11) NULL DEFAULT NULL COMMENT '等级',
  `alert_time` datetime(0) NULL DEFAULT NULL COMMENT '预警时间',
  `duty_group_id` bigint(11) NULL DEFAULT NULL COMMENT '责任部门',
  `duty_position_id` bigint(11) NULL DEFAULT NULL COMMENT '责任岗位',
  `duty_account_id` bigint(11) NULL DEFAULT NULL COMMENT '责任人员',
  `handle_time` datetime(0) NULL DEFAULT NULL COMMENT '处理时间',
  `handle_measure` varchar(1023) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '处理措施',
  `handle_act` bigint(11) NULL DEFAULT NULL COMMENT '处理方式',
  `alert_reason` varchar(1023) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '原因分析',
  `handle_group_id` bigint(11) NULL DEFAULT NULL COMMENT '处理部门',
  `handle_position_id` bigint(11) NULL DEFAULT NULL COMMENT '处理岗位',
  `handle_account_id` bigint(11) NULL DEFAULT NULL COMMENT '处理人员',
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`oc_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of alert
-- ----------------------------

-- ----------------------------
-- Table structure for alert_type
-- ----------------------------
DROP TABLE IF EXISTS `alert_type`;
CREATE TABLE `alert_type`  (
  `alert_type_id` bigint(11) NOT NULL,
  `alert_type_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `alert_type_desc` varchar(1023) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `status` bigint(11) NULL DEFAULT NULL,
  `alert_level` bigint(11) NULL DEFAULT NULL,
  `alert_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `is_fixed` bigint(11) NULL DEFAULT NULL COMMENT '是否锁定',
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`alert_type_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of alert_type
-- ----------------------------

-- ----------------------------
-- Table structure for app
-- ----------------------------
DROP TABLE IF EXISTS `app`;
CREATE TABLE `app`  (
  `app_id` bigint(11) NOT NULL,
  `app_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `app_cat_id` bigint(11) NULL DEFAULT NULL,
  `app_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `app_param` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `app_logo` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `status` bigint(11) NULL DEFAULT NULL,
  `app_desc` varchar(511) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`app_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '应用' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of app
-- ----------------------------
INSERT INTO `app` VALUES (407249, '登记隐患', 407247, 'http://www.baidu.com', 'afafa', 'layui-icon', 1, 'afaafa', '2021-03-25 14:29:04', 1, '2021-03-25 16:03:08', NULL, 0, NULL, NULL);

-- ----------------------------
-- Table structure for app_cat
-- ----------------------------
DROP TABLE IF EXISTS `app_cat`;
CREATE TABLE `app_cat`  (
  `app_cat_id` bigint(11) NOT NULL,
  `app_cat_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `app_cat_desc` varchar(511) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `is_fixed` bigint(11) NULL DEFAULT 0,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`app_cat_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '应用类别' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of app_cat
-- ----------------------------
INSERT INTO `app_cat` VALUES (407246, '双重预防', '11', 0, '2021-03-25 14:17:56', 1, '2021-03-25 14:41:03', 1, 1, NULL, NULL);
INSERT INTO `app_cat` VALUES (407247, '双重预防', '11', 0, '2021-03-25 14:25:55', 1, '2021-03-25 14:41:03', 1, 0, NULL, NULL);
INSERT INTO `app_cat` VALUES (407248, '双重预防', '11', 0, '2021-03-25 14:26:05', 1, '2021-03-25 14:41:03', 1, 0, NULL, NULL);

-- ----------------------------
-- Table structure for app_permit
-- ----------------------------
DROP TABLE IF EXISTS `app_permit`;
CREATE TABLE `app_permit`  (
  `role_id` bigint(11) NOT NULL,
  `app_id` bigint(11) NOT NULL,
  PRIMARY KEY (`role_id`, `app_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '应用权限' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of app_permit
-- ----------------------------
INSERT INTO `app_permit` VALUES (1, 407249);

-- ----------------------------
-- Table structure for art
-- ----------------------------
DROP TABLE IF EXISTS `art`;
CREATE TABLE `art`  (
  `oc_id` bigint(11) NOT NULL COMMENT '单位ID',
  `art_id` bigint(11) NOT NULL COMMENT 'PK',
  `art_title` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '标题',
  `art_author` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '作者',
  `art_content` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '内容',
  `art_cat_id` bigint(11) NULL DEFAULT NULL COMMENT '分类',
  `art_source` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '来源',
  `is_fixed` bigint(11) NULL DEFAULT 0 COMMENT '是否固定 ',
  `issued_at` datetime(0) NULL DEFAULT NULL COMMENT '发布时间',
  `editor_id` bigint(11) NULL DEFAULT NULL COMMENT '责任编辑',
  `status` bigint(11) NULL DEFAULT 0 COMMENT '状态：0-草稿，1-已发布，-1-垃圾箱',
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`art_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '知识库' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of art
-- ----------------------------
INSERT INTO `art` VALUES (406283, 406401, 'eee44444', 'eee', '<p>sdssssssdete</p><p>sdsssssrrr<span style=\"color: rgb(186, 55, 42);\">rrrrrrrrrrrrrrrrrr</span></p><p>sd<strong><em>ssstetre</em></strong></p><p><strong style=\"color: rgb(186, 55, 42);\">sdsetetre</strong></p><p>   777 555   888 666   <strong style=\"color: rgb(186, 55, 42);\">sdssssssdetetetetre</strong></p><p><strong style=\"color: rgb(186, 55, 42);\">sdssssssdetetetetre</strong></p><p>   333333333333333333 555555555555   444444444444444444 5555555   </p>', 1, NULL, 0, '2021-11-15 11:03:57', 406283, 1, '2020-06-22 23:45:42', 406283, '2021-11-15 11:03:57', 406283, 0, '2021-10-28 17:48:02', NULL);
INSERT INTO `art` VALUES (406283, 406404, 'sfaf', 'afasf', '<p>rtertetetet</p>', 1, NULL, 0, '2021-11-30 00:14:59', 406283, 1, '2020-06-22 23:52:41', 406283, '2021-11-30 00:14:59', 406283, 0, '2021-10-30 20:48:22', NULL);
INSERT INTO `art` VALUES (406283, 406405, 'dgertertvv', 'etertvv', '<p>rtertetetetfdgdggfdfgdgdgdgvvvddd</p>', 1, NULL, 0, '2021-11-13 11:25:12', 406283, 1, '2020-06-23 22:26:52', 406283, '2021-11-13 11:25:12', 406283, 0, NULL, NULL);
INSERT INTO `art` VALUES (406283, 406409, 'werwrddddd', 'werwr', '<p>dfgdgdgdfgddd</p>', 1, 'dddd', 0, '2021-11-13 12:38:03', 406283, 1, '2020-06-26 21:57:37', 406283, '2021-11-13 12:38:03', 406283, 0, NULL, NULL);
INSERT INTO `art` VALUES (406283, 406416, 'Art111', 'werwr', '<p>afasfafafasffvvvvv</p>', 1, 'dddd', 0, '2021-12-07 18:11:23', 406283, 1, '2020-06-27 06:57:53', 406283, '2021-12-07 18:11:23', 406283, 0, NULL, NULL);
INSERT INTO `art` VALUES (406283, 406422, 'werwr54545464634535', 'werwr333333', '<table style=\"border-collapse: collapse; width: 100%; height: 105px;\" border=\"1\">\n<tbody>\n<tr style=\"height: 21px;\">\n<td style=\"width: 33.3333%; height: 21px;\">wer</td>\n<td style=\"width: 33.3333%; height: 21px;\">wr</td>\n<td style=\"width: 33.3333%; height: 21px;\">w</td>\n</tr>\n<tr style=\"height: 21px;\">\n<td style=\"width: 33.3333%; height: 21px;\">wer</td>\n<td style=\"width: 33.3333%; height: 21px;\">ppli</td>\n<td style=\"width: 33.3333%; height: 21px;\">wr</td>\n</tr>\n<tr style=\"height: 21px;\">\n<td style=\"width: 33.3333%; height: 21px;\">wer</td>\n<td style=\"width: 33.3333%; height: 21px;\">ewrwer</td>\n<td style=\"width: 33.3333%; height: 21px;\">wr</td>\n</tr>\n<tr style=\"height: 21px;\">\n<td style=\"width: 33.3333%; height: 21px;\">wer</td>\n<td style=\"width: 33.3333%; height: 21px;\">wr</td>\n<td style=\"width: 33.3333%; height: 21px;\">wre</td>\n</tr>\n<tr style=\"height: 21px;\">\n<td style=\"width: 33.3333%; height: 21px;\">wr</td>\n<td style=\"width: 33.3333%; height: 21px;\">wre</td>\n<td style=\"width: 33.3333%; height: 21px;\">wr</td>\n</tr>\n</tbody>\n</table>\n<table style=\"border-collapse: collapse; width: 100%; height: 42px;\" border=\"1\">\n<tbody>\n<tr style=\"height: 21px;\">\n<td style=\"width: 50%; height: 21px;\">xc</td>\n<td style=\"width: 50%; height: 21px;\">xc</td>\n</tr>\n<tr style=\"height: 21px;\">\n<td style=\"width: 50%; height: 21px;\">xc</td>\n<td style=\"width: 50%; height: 21px;\">xc</td>\n</tr>\n</tbody>\n</table>', 1, NULL, 0, NULL, 406283, 0, '2020-06-27 09:49:53', 406283, '2020-12-13 01:40:00', 406283, 0, '2020-12-13 00:00:00', NULL);
INSERT INTO `art` VALUES (406283, 406450, 'tye', 'tye', '<p>tytyytytytddddddddddddddddddddddddddddddd<span style=\"color: rgb(255, 255, 255);\">tytyytytytdddddddddddddddddddddddddddddddtytyytytytdddddddddddddddddddddddddddddddtytyytytytdddddddddddddddddddddddddddddddtytyytytytdddddddddddddddddddddddddddddddtytyytytytdddddddddddddddddddddddddddddddtytyytytytdddddddddddddddddddddddddddddddtytyytytytdddddddddddddddddddddddddddddddtytyytytytdddddddddddddddddddddddddddddddtytyytytytdddddddddddddddddddddddddddddddtytyytytytdddddddddddddddddddddddddddddddtytyytytytdddddddddddddddddddddddddddddddtytyytytytdddddddddddddddddddddddddddddddtytyytytytdddddddddddddddddddddddddddddddtytyytytytdddddddddddddddddddddddddddddddtytyytytytdddddddddddddddddddddddddddddddtytyytytytdddddddddddddddddddddddddddddddtytyytytytdddddddddddddddddddddddddddddddtytyytytytdddddddddddddddddddddddddddddddtytyytytytdddddddddddddddddddddddddddddddvvtytyytytytdddddddddddddddddddddddddddddddtytyytytytdddddddddddddddddddddddddddddddtytyytytytdddddddddddddddddddddddddddddddtytyytytytdddddddddddddddddddddddddddddddtytyytytytdddddddddddddddddddddddddddddddtytyytytytdddddddddddddddddddddddddddddddtytyytytytdddddddddddddddddddddddddddddddtytyytytytdddddddddddddddddddddddddddddddtytyytytytdddddddddddddddddddddddddddddddtytyytytytdddddddddddddddddddddddddddddddtytyytytytdddddddddddddddddddddddddddddddtytyytytytdddddddddddddddddddddddddddddddtytyytytytdddddddddddddddddddddddddddddddtytyytytytdddddddddddddddddddddddddddddddtytyytytytdddddddddddddddddddddddddddddddtytyytytytdddddddddddddddddddddddddddddddtytyytytytdddddddddddddddddddddddddddddddtytyytytytdddddddddddddddddddddddddddddddtytyytytytdddddddddddddddddddddddddddddddtytyytytytdddddddddddddddddddddddddddddddtytyytytytdddddddddddddddddddddddddddddddtytyytytytdddddddddddddddddddddddddddddddtytyytytytdddddddddddddddddddddddddddddddtytyytytytdddddddddddddddddddddddddddddddtytyytytytdddddddddddddddddddddddddddddddtytyytytytdddddddddddddddddddddddddddddddtytyytytytdddddddddddddddddddddddddddddddtytyytytytdddddddddddddddddddddddddddddddtytyytytytddddddddddddddddddddddddddddddd</span></p>', 1, NULL, 0, '2021-12-01 19:12:34', 406283, 1, '2020-07-03 00:13:01', 406283, '2021-12-01 19:12:34', 406283, 0, '2020-12-12 00:00:00', NULL);
INSERT INTO `art` VALUES (406283, 406452, 'jkhdfdfd', 'hjkhk', '<p>hkhkhkhkhkrrtrtr</p>', 2, NULL, 0, '2020-12-13 00:00:00', 406283, -1, '2020-07-03 00:23:08', 406283, '2020-12-13 18:44:41', 406283, 0, NULL, NULL);
INSERT INTO `art` VALUES (406283, 406453, 'dfgdgTRYRYsdfsf', 'werwr333333', '<p>倡议开创合作共赢的气候治理新局面，形成各尽所能的气候治理新体系，坚持绿色复苏的气候治理新思路</p>\n<p>宣布中国国家自主贡献一系列新举措</p>\n<p>新华社北京12月12日电　国家主席习近平12日在气候雄心峰会上通过视频发表题为《继往开来，开启全球应对气候变化新征程》的重要讲话，宣布中国国家自主贡献一系列新举措。</p>\n<p class=\"f_center\"><img src=\"https://nimg.ws.126.net/?url=http%3A%2F%2Fcms-bucket.ws.126.net%2F2020%2F1212%2Fe357d188j00ql8gsw004zc000p000goc.jpg&amp;thumbnail=660x2147483647&amp;quality=80&amp;type=jpg\" /></p>\n<p>12月12日，国家主席习近平在气候雄心峰会上通过视频发表题为《继往开来，开启全球应对气候变化新征程》的重要讲话，宣布中国国家自主贡献一系列新举措。 新华社记者 鞠鹏 摄</p>\n<p>习近平强调，5年前，各国领导人以最大的政治决心和智慧推动达成应对气候变化《<a href=\"https://news.163.com/news/search?keyword=%E5%B7%B4%E9%BB%8E%E5%8D%8F%E5%AE%9A\" target=\"_blank\" rel=\"noopener\">巴黎协定</a>》。5年来，《巴黎协定》进入实施阶段，得到国际社会广泛支持和参与。当前，国际格局加速演变，新冠肺炎疫情触发对人与自然关系的深刻反思，全球气候治理的未来更受关注。</p>\n<p>习近平提出3点倡议。</p>\n<p>第一，团结一心，开创合作共赢的气候治理新局面。在气候变化挑战面前，人类命运与共。中方欢迎各国支持《巴黎协定》、为应对气候变化作出更大贡献。</p>\n<p>第二，提振雄心，形成各尽所能的气候治理新体系。各国应该遵循共同但有区别的责任原则，根据国情和能力，最大程度强化行动。发达国家要切实加大向发展中国家提供资金、技术、能力建设支持。</p>\n<p>第三，增强信心，坚持绿色复苏的气候治理新思路。大力倡导绿色低碳的生产生活方式，从绿色发展中寻找发展的机遇和动力。</p>\n<p>习近平强调，中国为达成应对气候变化《巴黎协定》作出重要贡献，是落实《巴黎协定》的积极践行者。中方已经宣布将提高国家自主贡献力度，我愿进一步宣布：到2030年，中国单位国内生产总值二氧化碳排放将比2005年下降65%以上，非化石能源占一次能源消费比重将达到25%左右，森林蓄积量将比2005年增加60亿立方米，风电、太阳能发电总装机容量将达到12亿千瓦以上。中国历来重信守诺，将以新发展理念为引领，在推动高质量发展中促进经济社会发展全面绿色转型，脚踏实地落实上述目标，为全球应对气候变化作出更大贡献。</p>\n<p>习近平最后强调，&ldquo;天不言而四时行，地不语而百物生。&rdquo;地球是人类共同的、唯一的家园。让我们继往开来、并肩前行，助力《巴黎协定》行稳致远，开启全球应对气候变化新征程！</p>\n<p>气候雄心峰会由联合国及有关国家倡议举办，旨在纪念《巴黎协定》达成五周年，进一步动员国际社会强化气候行动，推进多边进程。</p>', 2, NULL, 0, '2020-12-13 00:00:00', 406283, 1, '2020-07-04 00:32:45', 406283, '2020-12-13 08:28:02', 406283, 0, NULL, NULL);
INSERT INTO `art` VALUES (406283, 406552, '习近平在气候雄心峰会上发表重要讲话', '习总', '<p>习近平在<a href=\"https://news.163.com/news/search?keyword=%E6%B0%94%E5%80%99\" target=\"_blank\" rel=\"noopener\">气候</a><a href=\"https://news.163.com/news/search?keyword=%E9%9B%84%E5%BF%83\" target=\"_blank\" rel=\"noopener\">雄心</a>峰会上发表重要讲话</p>\n<p>&nbsp;</p>\n<p>倡议开创合作共赢的气候治理新局面，形成各尽所能的气候治理新体系，坚持绿色复苏的气候治理新思路</p>\n<p>宣布中国国家自主贡献一系列新举措</p>\n<p>新华社北京12月12日电　国家主席习近平12日在气候雄心峰会上通过视频发表题为《继往开来，开启全球应对气候变化新征程》的重要讲话，宣布中国国家自主贡献一系列新举措。</p>\n<p class=\"f_center\"><img src=\"https://nimg.ws.126.net/?url=http%3A%2F%2Fcms-bucket.ws.126.net%2F2020%2F1212%2Fe357d188j00ql8gsw004zc000p000goc.jpg&amp;thumbnail=660x2147483647&amp;quality=80&amp;type=jpg\" /></p>\n<p>12月12日，国家主席习近平在气候雄心峰会上通过视频发表题为《继往开来，开启全球应对气候变化新征程》的重要讲话，宣布中国国家自主贡献一系列新举措。 新华社记者 鞠鹏 摄</p>\n<p>习近平强调，5年前，各国领导人以最大的政治决心和智慧推动达成应对气候变化《<a href=\"https://news.163.com/news/search?keyword=%E5%B7%B4%E9%BB%8E%E5%8D%8F%E5%AE%9A\" target=\"_blank\" rel=\"noopener\">巴黎协定</a>》。5年来，《巴黎协定》进入实施阶段，得到国际社会广泛支持和参与。当前，国际格局加速演变，新冠肺炎疫情触发对人与自然关系的深刻反思，全球气候治理的未来更受关注。</p>\n<p>习近平提出3点倡议。</p>\n<p>第一，团结一心，开创合作共赢的气候治理新局面。在气候变化挑战面前，人类命运与共。中方欢迎各国支持《巴黎协定》、为应对气候变化作出更大贡献。</p>\n<p>第二，提振雄心，形成各尽所能的气候治理新体系。各国应该遵循共同但有区别的责任原则，根据国情和能力，最大程度强化行动。发达国家要切实加大向发展中国家提供资金、技术、能力建设支持。</p>\n<p>第三，增强信心，坚持绿色复苏的气候治理新思路。大力倡导绿色低碳的生产生活方式，从绿色发展中寻找发展的机遇和动力。</p>\n<p>习近平强调，中国为达成应对气候变化《巴黎协定》作出重要贡献，是落实《巴黎协定》的积极践行者。中方已经宣布将提高国家自主贡献力度，我愿进一步宣布：到2030年，中国单位国内生产总值二氧化碳排放将比2005年下降65%以上，非化石能源占一次能源消费比重将达到25%左右，森林蓄积量将比2005年增加60亿立方米，风电、太阳能发电总装机容量将达到12亿千瓦以上。中国历来重信守诺，将以新发展理念为引领，在推动高质量发展中促进经济社会发展全面绿色转型，脚踏实地落实上述目标，为全球应对气候变化作出更大贡献。</p>\n<p>习近平最后强调，&ldquo;天不言而四时行，地不语而百物生。&rdquo;地球是人类共同的、唯一的家园。让我们继往开来、并肩前行，助力《巴黎协定》行稳致远，开启全球应对气候变化新征程！</p>\n<p>气候雄心峰会由联合国及有关国家倡议举办，旨在纪念《巴黎协定》达成五周年，进一步动员国际社会强化气候行动，推进多边进程。</p>', 2, NULL, 0, '2020-12-13 00:00:00', 406283, 1, '2020-12-13 08:36:07', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `art` VALUES (406283, 406709, '动火作业规范指导书', '动火作业规范指导书', '<p>动火作业规范指导书动火作业规范指导书动火作业规范指导书动火作业规范指导书动火作业规范指导书动火</p><p>作业规范指导书</p><p>作业规范指导书</p><p>作业规范指导书</p><p>作业规范指导书</p><p>作业规范指导书</p><p>作业规范指导书</p>', 406565, NULL, 0, '2021-10-30 22:39:33', 406283, 1, '2020-12-29 21:11:39', 406283, '2021-10-30 22:39:33', 406283, 0, NULL, NULL);
INSERT INTO `art` VALUES (406283, 406710, '高空作业规程', '高空作业规程', '<p>高空作业规程高空作业规程高空作业规程高空作业规程高空作业规程高空作业规程高空作业规程高空作业规程高空作业规程</p>', 406565, NULL, 0, '2020-12-29 00:00:00', 406283, 1, '2020-12-29 21:12:06', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `art` VALUES (406283, 406711, '培训制度', '培训制度', '<p>培训制度ddddd</p>', 406566, NULL, 0, '2021-10-28 17:48:35', 406283, 1, '2020-12-29 22:05:47', 406283, '2021-10-28 17:48:35', 406283, 0, NULL, NULL);
INSERT INTO `art` VALUES (406283, 189725323362305, 'ddd', 'dd', '<p>ddd</p>', 1, NULL, 0, '2021-12-07 18:10:29', 406283, 1, '2021-11-13 10:01:24', 406283, '2021-12-07 18:10:29', 406283, 0, NULL, NULL);

-- ----------------------------
-- Table structure for art_cat
-- ----------------------------
DROP TABLE IF EXISTS `art_cat`;
CREATE TABLE `art_cat`  (
  `oc_id` bigint(11) NOT NULL COMMENT '单位ID',
  `art_cat_id` bigint(11) NOT NULL COMMENT '分类ID',
  `art_cat_title` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '标题 ',
  `art_cat_desc` varchar(1023) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '说明',
  `parent_id` bigint(11) UNSIGNED NULL DEFAULT 0 COMMENT '父结点',
  `root_id` bigint(11) NULL DEFAULT NULL COMMENT '根结点',
  `is_fixed` bigint(11) NULL DEFAULT 0 COMMENT '是否锁定',
  `node_left` bigint(11) NULL DEFAULT NULL COMMENT '左',
  `node_right` bigint(11) NULL DEFAULT NULL COMMENT '右 ',
  `node_level` bigint(11) NULL DEFAULT NULL COMMENT '层级',
  `is_leaf` bigint(11) NULL DEFAULT NULL COMMENT '是否叶子',
  `created_by` bigint(11) NULL DEFAULT NULL,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  PRIMARY KEY (`art_cat_id`, `oc_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '知识分类' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of art_cat
-- ----------------------------
INSERT INTO `art_cat` VALUES (406283, 1, '管理制度', 'Cat1', 406283, 406283, 1, 2, 3, 2, 0, 406283, NULL, 406283, '2020-12-13 18:43:55', 0, NULL, NULL);
INSERT INTO `art_cat` VALUES (406283, 2, '作业规程', 'Cat2', 406283, 406283, 1, 4, 5, 2, 0, 406283, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `art_cat` VALUES (406283, 3, '应急预案', '应急预案', 406283, 406283, 1, 6, 7, 2, 0, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `art_cat` VALUES (406283, 406283, '安全智库', '安全智库', 0, 406283, 1, 1, 8, 1, 0, NULL, NULL, 406283, '2020-12-11 22:48:40', 0, NULL, NULL);

-- ----------------------------
-- Table structure for art_file
-- ----------------------------
DROP TABLE IF EXISTS `art_file`;
CREATE TABLE `art_file`  (
  `oc_id` bigint(11) NOT NULL,
  `art_id` bigint(11) NOT NULL,
  `file_id` bigint(11) NOT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  PRIMARY KEY (`oc_id`, `art_id`, `file_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '知识库附件' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of art_file
-- ----------------------------
INSERT INTO `art_file` VALUES (406283, 406409, 189736650080258, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `art_file` VALUES (406283, 406416, 407301, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `art_file` VALUES (406283, 406416, 407455, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `art_file` VALUES (406283, 406416, 407456, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `art_file` VALUES (406283, 406416, 407457, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `art_file` VALUES (406283, 406416, 407458, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `art_file` VALUES (406283, 406416, 407459, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `art_file` VALUES (406283, 406416, 407460, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `art_file` VALUES (406283, 406416, 407629, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `art_file` VALUES (406283, 406416, 407630, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `art_file` VALUES (406283, 406416, 407631, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `art_file` VALUES (406283, 406416, 407632, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `art_file` VALUES (406283, 406416, 407633, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `art_file` VALUES (406283, 406416, 407634, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `art_file` VALUES (406283, 406416, 407635, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `art_file` VALUES (406283, 406416, 407636, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `art_file` VALUES (406283, 406416, 189739439292417, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `art_file` VALUES (406283, 406422, 406448, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `art_file` VALUES (406283, 406422, 406449, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `art_file` VALUES (406283, 406450, 407461, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `art_file` VALUES (406283, 406450, 189745466507265, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `art_file` VALUES (406283, 406452, 406467, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `art_file` VALUES (406283, 406453, 406463, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `art_file` VALUES (406283, 406453, 406465, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `art_file` VALUES (406283, 406453, 406468, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `art_file` VALUES (406283, 406453, 406473, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `art_file` VALUES (406283, 406453, 406474, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `art_file` VALUES (406283, 189725323362305, 407621, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `art_file` VALUES (406283, 189725323362305, 407622, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `art_file` VALUES (406283, 189725323362305, 407623, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `art_file` VALUES (406283, 189725323362305, 407624, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `art_file` VALUES (406283, 189725323362305, 407625, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `art_file` VALUES (406283, 189725323362305, 407626, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `art_file` VALUES (406283, 189725323362305, 407627, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `art_file` VALUES (406283, 189725323362305, 407628, NULL, NULL, NULL, NULL, 0, NULL, NULL);

-- ----------------------------
-- Table structure for cert
-- ----------------------------
DROP TABLE IF EXISTS `cert`;
CREATE TABLE `cert`  (
  `oc_id` bigint(11) NOT NULL,
  `cert_id` bigint(11) NOT NULL,
  `cert_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  PRIMARY KEY (`cert_id`, `oc_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '证照' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of cert
-- ----------------------------

-- ----------------------------
-- Table structure for cert_attch
-- ----------------------------
DROP TABLE IF EXISTS `cert_attch`;
CREATE TABLE `cert_attch`  (
  `oc_id` bigint(11) NOT NULL,
  `cert_id` bigint(11) NOT NULL,
  `file_id` bigint(11) NOT NULL,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`oc_id`, `cert_id`, `file_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '证照附件' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of cert_attch
-- ----------------------------

-- ----------------------------
-- Table structure for cert_cat
-- ----------------------------
DROP TABLE IF EXISTS `cert_cat`;
CREATE TABLE `cert_cat`  (
  `cert_cat_id` bigint(11) NOT NULL,
  `cert_cat_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `cert_cat_desc` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `is_fixed` bigint(11) NULL DEFAULT NULL,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`cert_cat_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '证照类别' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of cert_cat
-- ----------------------------
INSERT INTO `cert_cat` VALUES (407244, 'aaa', 'aaa', NULL, '2021-03-20 06:55:06', 1, '2021-03-20 07:08:10', 1, 0, NULL, NULL);
INSERT INTO `cert_cat` VALUES (407245, 'bb', 'bb', NULL, '2021-03-20 06:55:11', 1, '2021-03-20 06:55:18', 1, 1, NULL, NULL);

-- ----------------------------
-- Table structure for check_def
-- ----------------------------
DROP TABLE IF EXISTS `check_def`;
CREATE TABLE `check_def`  (
  `oc_id` bigint(11) NOT NULL COMMENT '组织ID',
  `risk_point_id` bigint(11) NULL DEFAULT NULL COMMENT '风险点ID',
  `check_def_id` bigint(11) NOT NULL COMMENT '检查定义ID',
  `check_title` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '检查标题',
  `check_type_id` bigint(11) NULL DEFAULT NULL COMMENT '0: 常规任务；1：临时任务',
  `task_cat_id` bigint(11) NOT NULL COMMENT '类别',
  `group_id` bigint(11) NULL DEFAULT NULL COMMENT '执行部门',
  `position_id` bigint(11) NULL DEFAULT NULL COMMENT '执行岗位',
  `account_id` bigint(11) NULL DEFAULT NULL COMMENT '执行人',
  `checklist_id` bigint(11) NULL DEFAULT NULL COMMENT '检查表ID',
  `start_date` date NULL DEFAULT NULL COMMENT '开始日期',
  `end_date` date NULL DEFAULT NULL COMMENT '结束日期',
  `start_time` time(0) NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` time(0) NULL DEFAULT NULL COMMENT '结束时间',
  `check_count` bigint(11) NULL DEFAULT NULL COMMENT '次数',
  `time_span_num` bigint(11) NULL DEFAULT NULL COMMENT '时间段数目',
  `time_span` bigint(11) NULL DEFAULT NULL COMMENT '时间段',
  `check_desc` varchar(511) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '描述',
  `status` bigint(11) NULL DEFAULT 0 COMMENT '状态',
  `is_shared` bigint(11) NULL DEFAULT 0 COMMENT '0：独占；1：共享',
  `last_start_time` datetime(0) NULL DEFAULT NULL COMMENT '上次预期开始时间',
  `last_end_time` datetime(0) NULL DEFAULT NULL COMMENT '上次预期完成时间',
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`check_def_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '检查定义表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of check_def
-- ----------------------------
INSERT INTO `check_def` VALUES (406283, 406367, 407309, 'plan1', 0, 406310, 406283, 406309, 406302, 4, '2021-11-29', '2022-02-24', NULL, NULL, 0, 0, 4, 'AAAAAAAAAAA', 0, 0, NULL, NULL, '2021-11-29 15:07:42', 406283, '2021-12-02 08:03:10', 406283, 0, NULL, NULL);
INSERT INTO `check_def` VALUES (406283, 406367, 407310, 'PLAN1', 0, 406310, 406300, 406283, 406283, 4, '2021-11-29', '2021-11-30', NULL, NULL, 0, 0, 4, 'TESTTEST', 0, 0, NULL, NULL, '2021-11-29 15:14:32', 406283, '2021-11-30 11:20:30', 406283, 0, NULL, NULL);

-- ----------------------------
-- Table structure for check_record
-- ----------------------------
DROP TABLE IF EXISTS `check_record`;
CREATE TABLE `check_record`  (
  `oc_id` bigint(11) NOT NULL,
  `task_id` bigint(11) NULL DEFAULT NULL,
  `check_record_id` bigint(11) NOT NULL,
  `group_id` bigint(11) NULL DEFAULT NULL,
  `position_id` bigint(11) NULL DEFAULT NULL,
  `account_id` bigint(11) NULL DEFAULT NULL,
  `risk_point_id` bigint(11) NULL DEFAULT NULL,
  `checklist_id` bigint(11) NULL DEFAULT NULL,
  `hazard_id` bigint(11) NULL DEFAULT NULL,
  `hazard_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `hazard_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `risk_id` bigint(11) NULL DEFAULT NULL,
  `risk_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `risk_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `measure_id` bigint(11) NULL DEFAULT NULL,
  `measure_type_id` bigint(11) NULL DEFAULT NULL,
  `measure_content` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `measure_reference` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `check_time` datetime(0) NULL DEFAULT NULL,
  `check_result` bigint(11) NULL DEFAULT NULL,
  `check_desc` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `danger_id` bigint(11) NULL DEFAULT NULL,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`oc_id`, `check_record_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '巡检记录表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of check_record
-- ----------------------------
INSERT INTO `check_record` VALUES (406283, NULL, 407316, NULL, NULL, NULL, 407268, 406283, 188306983813121, NULL, NULL, 188309640904705, NULL, NULL, 188309861105665, 1, 'bb', 'bbb', '2021-12-01 14:04:52', NULL, '去玩儿群二', NULL, NULL, 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, NULL, 407317, NULL, NULL, NULL, 407268, 406283, 188306983813121, NULL, NULL, 188309640904705, NULL, NULL, 188309861105665, 1, 'bb', 'bbb', '2021-12-01 14:04:52', NULL, '的分公司答复', NULL, '2021-11-30 18:19:43', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, NULL, 407318, NULL, NULL, NULL, 407268, 406283, 188306983813121, NULL, NULL, 188309640904705, NULL, NULL, 188309861105665, 1, 'bb', 'bbb', '2021-12-01 14:04:52', 2, NULL, NULL, '2021-11-30 18:20:37', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407319, 407321, 406283, 406283, 406283, 407268, 4, 188306849595393, 'j1', '407194-188306849595393', 188307139002369, 'j1r1', 'j1r1', 188307835256833, 1, 'aaa', 'aa', '2021-12-01 14:04:52', 1, 'xxx', NULL, '2021-11-30 18:49:21', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407319, 407322, 406283, 406283, 406283, 407268, 4, 188306849595393, 'j1', '407194-188306849595393', 188307139002369, 'j1r1', 'j1r1', 188307852034049, 2, 'bb', 'bb', '2021-12-01 14:04:52', 1, NULL, NULL, '2021-11-30 18:49:21', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407319, 407323, 406283, 406283, 406283, 407268, 4, 188306849595393, 'j1', '407194-188306849595393', 188307139002369, 'j1r1', 'j1r1', 188307866714113, 3, 'cc', 'cc', '2021-12-01 14:04:52', 1, NULL, NULL, '2021-11-30 18:49:21', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407319, 407324, 406283, 406283, 406283, 407268, 4, 188306849595393, 'j1', '407194-188306849595393', 188307139002369, 'j1r1', 'j1r1', 188307885588481, 4, 'dd', 'dd', '2021-12-01 14:04:52', 1, NULL, NULL, '2021-11-30 18:49:21', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407319, 407325, 406283, 406283, 406283, 407268, 4, 188306849595393, 'j1', '407194-188306849595393', 188308019806209, 'j1r2', 'j1r2', 188308042874881, 3, 'ee', 'ff', '2021-12-01 14:04:52', 1, NULL, NULL, '2021-11-30 18:49:22', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407319, 407326, 406283, 406283, 406283, 407268, 4, 188306849595393, 'j1', '407194-188306849595393', 188308019806209, 'j1r2', 'j1r2', 188308070137857, 2, 'ff', 'ff', '2021-12-01 14:04:52', 1, NULL, NULL, '2021-11-30 18:49:22', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407319, 407327, 406283, 406283, 406283, 407268, 4, 188306950258689, 'd1', '407195-188306950258689', 188308651048961, 'd1r1', 'd1r1', 188309399732225, 1, '11', '11', '2021-12-01 14:04:52', 1, NULL, NULL, '2021-11-30 18:49:22', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407319, 407328, 406283, 406283, 406283, 407268, 4, 188306950258689, 'd1', '407195-188306950258689', 188308651048961, 'd1r1', 'd1r1', 188309410217985, 1, '22', '22', '2021-12-01 14:04:52', 1, NULL, NULL, '2021-11-30 18:49:22', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407319, 407329, 406283, 406283, 406283, 407268, 4, 188306950258689, 'd1', '407195-188306950258689', 188308651048961, 'd1r1', 'd1r1', 188309420703745, 1, '33', '33', '2021-12-01 14:04:52', 1, NULL, NULL, '2021-11-30 18:49:22', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407319, 407330, 406283, 406283, 406283, 407268, 4, 188306950258689, 'd1', '407195-188306950258689', 188308651048961, 'd1r1', 'd1r1', 188309429092353, 1, '44', '44', '2021-12-01 14:04:52', 1, NULL, NULL, '2021-11-30 18:49:23', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407319, 407331, 406283, 406283, 406283, 407268, 4, 188306950258689, 'd1', '407195-188306950258689', 188309517172737, 'd1r2', 'd1r2', 188309538144257, 1, '55', '55', '2021-12-01 14:04:52', 1, NULL, NULL, '2021-11-30 18:49:23', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407319, 407332, 406283, 406283, 406283, 407268, 4, 188306950258689, 'd1', '407195-188306950258689', 188309517172737, 'd1r2', 'd1r2', 188309548630017, 1, '66', '66', '2021-12-01 14:04:52', 1, NULL, NULL, '2021-11-30 18:49:23', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407319, 407333, 406283, 406283, 406283, 407268, 4, 188306910412801, 'j2', '407194-188306910412801', 188307961085953, 'j2r1', 'j2r1', 188309737373697, 1, 'tt', 'tt', '2021-12-01 14:04:52', 1, NULL, NULL, '2021-11-30 18:49:23', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407319, 407334, 406283, 406283, 406283, 407268, 4, 188306910412801, 'j2', '407194-188306910412801', 188307961085953, 'j2r1', 'j2r1', 188309747859457, 1, 'yyy', 'yyy', '2021-12-01 14:04:52', 1, NULL, NULL, '2021-11-30 18:49:23', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407319, 407335, 406283, 406283, 406283, 407268, 4, 188306983813121, 'd2', '407195-188306983813121', 188309607350273, 'd2r1', 'd2r1', 188309808676865, 1, 'ff', 'ff', '2021-12-01 14:04:52', 1, NULL, NULL, '2021-11-30 18:49:23', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407319, 407336, 406283, 406283, 406283, 407268, 4, 188306983813121, 'd2', '407195-188306983813121', 188309640904705, 'd2r2', 'd2r2', 188309861105665, 1, 'bb', 'bbb', '2021-12-01 14:04:52', 1, NULL, NULL, '2021-11-30 18:49:24', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, NULL, 407337, 406283, 406283, 406283, 407268, 406283, 188306849595393, NULL, NULL, 188307139002369, NULL, NULL, 188307835256833, 1, 'aaa', 'aa', '2021-12-01 14:04:52', 1, '阿斯顿发送到个', NULL, '2021-11-30 18:54:56', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, NULL, 407338, 406283, 406283, 406283, 407268, 406283, 188306849595393, NULL, '407195-188306983813121', 188307139002369, NULL, 'd2r2', 188307835256833, 1, 'aaa', 'aa', '2021-12-01 14:04:52', 1, '浙师大十多个', NULL, '2021-11-30 18:56:16', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, NULL, 407339, 406283, 406283, 406283, 407268, 406283, 188306950258689, NULL, '407195-188306983813121', 188308651048961, NULL, 'd2r2', 188309410217985, 1, '22', '22', '2021-12-01 14:04:52', 2, '士大夫', NULL, '2021-11-30 18:58:45', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407529, 407531, 406283, 406283, 406283, 407268, 4, 188306849595393, 'j1', '407194-188306849595393', 188307139002369, 'j1r1', 'j1r1', 188307835256833, 1, 'aaa', 'aa', '2021-12-08 11:38:19', 1, NULL, NULL, '2021-12-07 16:48:57', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407529, 407532, 406283, 406283, 406283, 407268, 4, 188306849595393, 'j1', '407194-188306849595393', 188307139002369, 'j1r1', 'j1r1', 188307852034049, 2, 'bb', 'bb', '2021-12-08 11:38:19', 1, NULL, NULL, '2021-12-07 16:48:57', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407529, 407533, 406283, 406283, 406283, 407268, 4, 188306849595393, 'j1', '407194-188306849595393', 188307139002369, 'j1r1', 'j1r1', 188307866714113, 3, 'cc', 'cc', '2021-12-08 11:38:19', 1, NULL, NULL, '2021-12-07 16:48:57', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407529, 407534, 406283, 406283, 406283, 407268, 4, 188306849595393, 'j1', '407194-188306849595393', 188307139002369, 'j1r1', 'j1r1', 188307885588481, 4, 'dd', 'dd', '2021-12-08 11:38:19', 1, NULL, NULL, '2021-12-07 16:48:58', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407529, 407535, 406283, 406283, 406283, 407268, 4, 188306849595393, 'j1', '407194-188306849595393', 188308019806209, 'j1r2', 'j1r2', 188308042874881, 3, 'ee', 'ff', '2021-12-08 11:38:19', 1, NULL, NULL, '2021-12-07 16:48:58', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407529, 407536, 406283, 406283, 406283, 407268, 4, 188306849595393, 'j1', '407194-188306849595393', 188308019806209, 'j1r2', 'j1r2', 188308070137857, 2, 'ff', 'ff', '2021-12-08 11:38:19', 1, NULL, NULL, '2021-12-07 16:48:58', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407529, 407537, 406283, 406283, 406283, 407268, 4, 188306950258689, 'd1', '407195-188306950258689', 188308651048961, 'd1r1', 'd1r1', 188309399732225, 1, '11', '11', '2021-12-08 11:38:19', 1, NULL, NULL, '2021-12-07 16:48:58', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407529, 407538, 406283, 406283, 406283, 407268, 4, 188306950258689, 'd1', '407195-188306950258689', 188308651048961, 'd1r1', 'd1r1', 188309410217985, 1, '22', '22', '2021-12-08 11:38:19', 1, NULL, NULL, '2021-12-07 16:48:58', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407529, 407539, 406283, 406283, 406283, 407268, 4, 188306950258689, 'd1', '407195-188306950258689', 188308651048961, 'd1r1', 'd1r1', 188309420703745, 1, '33', '33', '2021-12-08 11:38:19', 1, NULL, NULL, '2021-12-07 16:48:58', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407529, 407540, 406283, 406283, 406283, 407268, 4, 188306950258689, 'd1', '407195-188306950258689', 188308651048961, 'd1r1', 'd1r1', 188309429092353, 1, '44', '44', '2021-12-08 11:38:19', 1, NULL, NULL, '2021-12-07 16:48:59', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407529, 407541, 406283, 406283, 406283, 407268, 4, 188306950258689, 'd1', '407195-188306950258689', 188309517172737, 'd1r2', 'd1r2', 188309538144257, 1, '55', '55', '2021-12-08 11:38:19', 1, NULL, NULL, '2021-12-07 16:48:59', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407529, 407542, 406283, 406283, 406283, 407268, 4, 188306950258689, 'd1', '407195-188306950258689', 188309517172737, 'd1r2', 'd1r2', 188309548630017, 1, '66', '66', '2021-12-08 11:38:19', 1, NULL, NULL, '2021-12-07 16:48:59', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407529, 407543, 406283, 406283, 406283, 407268, 4, 188306910412801, 'j2', '407194-188306910412801', 188307961085953, 'j2r1', 'j2r1', 188309737373697, 1, 'tt', 'tt', '2021-12-08 11:38:19', 1, NULL, NULL, '2021-12-07 16:48:59', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407529, 407544, 406283, 406283, 406283, 407268, 4, 188306910412801, 'j2', '407194-188306910412801', 188307961085953, 'j2r1', 'j2r1', 188309747859457, 1, 'yyy', 'yyy', '2021-12-08 11:38:19', 1, NULL, NULL, '2021-12-07 16:48:59', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407529, 407545, 406283, 406283, 406283, 407268, 4, 188306983813121, 'd2', '407195-188306983813121', 188309607350273, 'd2r1', 'd2r1', 188309808676865, 1, 'ff', 'ff', '2021-12-08 11:38:19', 1, NULL, NULL, '2021-12-07 16:49:00', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407529, 407546, 406283, 406283, 406283, 407268, 4, 188306983813121, 'd2', '407195-188306983813121', 188309640904705, 'd2r2', 'd2r2', 188309861105665, 1, 'bb', 'bbb', '2021-12-08 11:38:19', 1, NULL, NULL, '2021-12-07 16:49:00', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407583, 407585, 406283, 406283, 406283, 407268, 4, 188306849595393, 'j1', '407194-188306849595393', 188307139002369, 'j1r1', 'j1r1', 188307835256833, 1, 'aaa', 'aa', NULL, 0, NULL, NULL, '2021-12-07 17:32:36', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407583, 407586, 406283, 406283, 406283, 407268, 4, 188306849595393, 'j1', '407194-188306849595393', 188307139002369, 'j1r1', 'j1r1', 188307852034049, 2, 'bb', 'bb', NULL, 0, NULL, NULL, '2021-12-07 17:32:36', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407583, 407587, 406283, 406283, 406283, 407268, 4, 188306849595393, 'j1', '407194-188306849595393', 188307139002369, 'j1r1', 'j1r1', 188307866714113, 3, 'cc', 'cc', NULL, 0, NULL, NULL, '2021-12-07 17:32:37', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407583, 407588, 406283, 406283, 406283, 407268, 4, 188306849595393, 'j1', '407194-188306849595393', 188307139002369, 'j1r1', 'j1r1', 188307885588481, 4, 'dd', 'dd', NULL, 0, NULL, NULL, '2021-12-07 17:32:37', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407583, 407589, 406283, 406283, 406283, 407268, 4, 188306849595393, 'j1', '407194-188306849595393', 188308019806209, 'j1r2', 'j1r2', 188308042874881, 3, 'ee', 'ff', NULL, 0, NULL, NULL, '2021-12-07 17:32:37', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407583, 407590, 406283, 406283, 406283, 407268, 4, 188306849595393, 'j1', '407194-188306849595393', 188308019806209, 'j1r2', 'j1r2', 188308070137857, 2, 'ff', 'ff', NULL, 0, NULL, NULL, '2021-12-07 17:32:37', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407583, 407591, 406283, 406283, 406283, 407268, 4, 188306950258689, 'd1', '407195-188306950258689', 188308651048961, 'd1r1', 'd1r1', 188309399732225, 1, '11', '11', NULL, 0, NULL, NULL, '2021-12-07 17:32:37', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407583, 407592, 406283, 406283, 406283, 407268, 4, 188306950258689, 'd1', '407195-188306950258689', 188308651048961, 'd1r1', 'd1r1', 188309410217985, 1, '22', '22', NULL, 0, NULL, NULL, '2021-12-07 17:32:37', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407583, 407593, 406283, 406283, 406283, 407268, 4, 188306950258689, 'd1', '407195-188306950258689', 188308651048961, 'd1r1', 'd1r1', 188309420703745, 1, '33', '33', NULL, 0, NULL, NULL, '2021-12-07 17:32:38', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407583, 407594, 406283, 406283, 406283, 407268, 4, 188306950258689, 'd1', '407195-188306950258689', 188308651048961, 'd1r1', 'd1r1', 188309429092353, 1, '44', '44', NULL, 0, NULL, NULL, '2021-12-07 17:32:38', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407583, 407595, 406283, 406283, 406283, 407268, 4, 188306950258689, 'd1', '407195-188306950258689', 188309517172737, 'd1r2', 'd1r2', 188309538144257, 1, '55', '55', NULL, 0, NULL, NULL, '2021-12-07 17:32:38', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407583, 407596, 406283, 406283, 406283, 407268, 4, 188306950258689, 'd1', '407195-188306950258689', 188309517172737, 'd1r2', 'd1r2', 188309548630017, 1, '66', '66', NULL, 0, NULL, NULL, '2021-12-07 17:32:38', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407583, 407597, 406283, 406283, 406283, 407268, 4, 188306910412801, 'j2', '407194-188306910412801', 188307961085953, 'j2r1', 'j2r1', 188309737373697, 1, 'tt', 'tt', NULL, 0, NULL, NULL, '2021-12-07 17:32:38', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407583, 407598, 406283, 406283, 406283, 407268, 4, 188306910412801, 'j2', '407194-188306910412801', 188307961085953, 'j2r1', 'j2r1', 188309747859457, 1, 'yyy', 'yyy', NULL, 0, NULL, NULL, '2021-12-07 17:32:39', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407583, 407599, 406283, 406283, 406283, 407268, 4, 188306983813121, 'd2', '407195-188306983813121', 188309607350273, 'd2r1', 'd2r1', 188309808676865, 1, 'ff', 'ff', NULL, 0, NULL, NULL, '2021-12-07 17:32:39', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407583, 407600, 406283, 406283, 406283, 407268, 4, 188306983813121, 'd2', '407195-188306983813121', 188309640904705, 'd2r2', 'd2r2', 188309861105665, 1, 'bb', 'bbb', NULL, 0, NULL, NULL, '2021-12-07 17:32:39', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407637, 407639, 406283, 406283, 406283, 407268, 4, 188306849595393, 'j1', '407194-188306849595393', 188307139002369, 'j1r1', 'j1r1', 188307835256833, 1, 'aaa', 'aa', '2021-12-08 11:39:21', 1, NULL, NULL, '2021-12-07 18:14:38', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407637, 407640, 406283, 406283, 406283, 407268, 4, 188306849595393, 'j1', '407194-188306849595393', 188307139002369, 'j1r1', 'j1r1', 188307852034049, 2, 'bb', 'bb', '2021-12-08 11:39:21', 1, NULL, NULL, '2021-12-07 18:14:38', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407637, 407641, 406283, 406283, 406283, 407268, 4, 188306849595393, 'j1', '407194-188306849595393', 188307139002369, 'j1r1', 'j1r1', 188307866714113, 3, 'cc', 'cc', '2021-12-08 11:39:21', 1, NULL, NULL, '2021-12-07 18:14:38', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407637, 407642, 406283, 406283, 406283, 407268, 4, 188306849595393, 'j1', '407194-188306849595393', 188307139002369, 'j1r1', 'j1r1', 188307885588481, 4, 'dd', 'dd', '2021-12-08 11:39:21', 1, NULL, NULL, '2021-12-07 18:14:39', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407637, 407643, 406283, 406283, 406283, 407268, 4, 188306849595393, 'j1', '407194-188306849595393', 188308019806209, 'j1r2', 'j1r2', 188308042874881, 3, 'ee', 'ff', '2021-12-08 11:39:21', 1, NULL, NULL, '2021-12-07 18:14:39', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407637, 407644, 406283, 406283, 406283, 407268, 4, 188306849595393, 'j1', '407194-188306849595393', 188308019806209, 'j1r2', 'j1r2', 188308070137857, 2, 'ff', 'ff', '2021-12-08 11:39:21', 1, NULL, NULL, '2021-12-07 18:14:39', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407637, 407645, 406283, 406283, 406283, 407268, 4, 188306950258689, 'd1', '407195-188306950258689', 188308651048961, 'd1r1', 'd1r1', 188309399732225, 1, '11', '11', '2021-12-08 11:39:21', 1, NULL, NULL, '2021-12-07 18:14:39', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407637, 407646, 406283, 406283, 406283, 407268, 4, 188306950258689, 'd1', '407195-188306950258689', 188308651048961, 'd1r1', 'd1r1', 188309410217985, 1, '22', '22', '2021-12-08 11:39:21', 1, NULL, NULL, '2021-12-07 18:14:39', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407637, 407647, 406283, 406283, 406283, 407268, 4, 188306950258689, 'd1', '407195-188306950258689', 188308651048961, 'd1r1', 'd1r1', 188309420703745, 1, '33', '33', '2021-12-08 11:39:21', 1, NULL, NULL, '2021-12-07 18:14:40', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407637, 407648, 406283, 406283, 406283, 407268, 4, 188306950258689, 'd1', '407195-188306950258689', 188308651048961, 'd1r1', 'd1r1', 188309429092353, 1, '44', '44', '2021-12-08 11:39:21', 1, NULL, NULL, '2021-12-07 18:14:40', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407637, 407649, 406283, 406283, 406283, 407268, 4, 188306950258689, 'd1', '407195-188306950258689', 188309517172737, 'd1r2', 'd1r2', 188309538144257, 1, '55', '55', '2021-12-08 11:39:21', 1, NULL, NULL, '2021-12-07 18:14:40', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407637, 407650, 406283, 406283, 406283, 407268, 4, 188306950258689, 'd1', '407195-188306950258689', 188309517172737, 'd1r2', 'd1r2', 188309548630017, 1, '66', '66', '2021-12-08 11:39:21', 1, NULL, NULL, '2021-12-07 18:14:40', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407637, 407651, 406283, 406283, 406283, 407268, 4, 188306910412801, 'j2', '407194-188306910412801', 188307961085953, 'j2r1', 'j2r1', 188309737373697, 1, 'tt', 'tt', '2021-12-08 11:39:21', 1, NULL, NULL, '2021-12-07 18:14:40', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407637, 407652, 406283, 406283, 406283, 407268, 4, 188306910412801, 'j2', '407194-188306910412801', 188307961085953, 'j2r1', 'j2r1', 188309747859457, 1, 'yyy', 'yyy', '2021-12-08 11:39:21', 1, NULL, NULL, '2021-12-07 18:14:41', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407637, 407653, 406283, 406283, 406283, 407268, 4, 188306983813121, 'd2', '407195-188306983813121', 188309607350273, 'd2r1', 'd2r1', 188309808676865, 1, 'ff', 'ff', '2021-12-08 11:39:21', 1, NULL, NULL, '2021-12-07 18:14:41', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407637, 407654, 406283, 406283, 406283, 407268, 4, 188306983813121, 'd2', '407195-188306983813121', 188309640904705, 'd2r2', 'd2r2', 188309861105665, 1, 'bb', 'bbb', '2021-12-08 11:39:21', 1, NULL, NULL, '2021-12-07 18:14:41', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407669, 407671, 406283, 406283, 406283, 407268, 4, 188306849595393, 'j1', '407194-188306849595393', 188307139002369, 'j1r1', 'j1r1', 188307835256833, 1, 'aaa', 'aa', '2021-12-09 18:46:10', 1, NULL, NULL, '2021-12-08 17:40:20', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407669, 407672, 406283, 406283, 406283, 407268, 4, 188306849595393, 'j1', '407194-188306849595393', 188307139002369, 'j1r1', 'j1r1', 188307852034049, 2, 'bb', 'bb', '2021-12-09 18:46:10', 1, NULL, NULL, '2021-12-08 17:40:20', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407669, 407673, 406283, 406283, 406283, 407268, 4, 188306849595393, 'j1', '407194-188306849595393', 188307139002369, 'j1r1', 'j1r1', 188307866714113, 3, 'cc', 'cc', '2021-12-09 18:46:10', 1, NULL, NULL, '2021-12-08 17:40:20', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407669, 407674, 406283, 406283, 406283, 407268, 4, 188306849595393, 'j1', '407194-188306849595393', 188307139002369, 'j1r1', 'j1r1', 188307885588481, 4, 'dd', 'dd', '2021-12-09 18:46:10', 1, NULL, NULL, '2021-12-08 17:40:20', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407669, 407675, 406283, 406283, 406283, 407268, 4, 188306849595393, 'j1', '407194-188306849595393', 188308019806209, 'j1r2', 'j1r2', 188308042874881, 3, 'ee', 'ff', '2021-12-09 18:46:10', 1, NULL, NULL, '2021-12-08 17:40:20', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407669, 407676, 406283, 406283, 406283, 407268, 4, 188306849595393, 'j1', '407194-188306849595393', 188308019806209, 'j1r2', 'j1r2', 188308070137857, 2, 'ff', 'ff', '2021-12-09 18:46:10', 1, NULL, NULL, '2021-12-08 17:40:20', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407669, 407677, 406283, 406283, 406283, 407268, 4, 188306950258689, 'd1', '407195-188306950258689', 188308651048961, 'd1r1', 'd1r1', 188309399732225, 1, '11', '11', '2021-12-09 18:46:10', 1, NULL, NULL, '2021-12-08 17:40:21', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407669, 407678, 406283, 406283, 406283, 407268, 4, 188306950258689, 'd1', '407195-188306950258689', 188308651048961, 'd1r1', 'd1r1', 188309410217985, 1, '22', '22', '2021-12-09 18:46:10', 1, NULL, NULL, '2021-12-08 17:40:21', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407669, 407679, 406283, 406283, 406283, 407268, 4, 188306950258689, 'd1', '407195-188306950258689', 188308651048961, 'd1r1', 'd1r1', 188309420703745, 1, '33', '33', '2021-12-09 18:46:10', 1, NULL, NULL, '2021-12-08 17:40:21', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407669, 407680, 406283, 406283, 406283, 407268, 4, 188306950258689, 'd1', '407195-188306950258689', 188308651048961, 'd1r1', 'd1r1', 188309429092353, 1, '44', '44', '2021-12-09 18:46:10', 1, NULL, NULL, '2021-12-08 17:40:21', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407669, 407681, 406283, 406283, 406283, 407268, 4, 188306950258689, 'd1', '407195-188306950258689', 188309517172737, 'd1r2', 'd1r2', 188309538144257, 1, '55', '55', '2021-12-09 18:46:10', 1, NULL, NULL, '2021-12-08 17:40:21', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407669, 407682, 406283, 406283, 406283, 407268, 4, 188306950258689, 'd1', '407195-188306950258689', 188309517172737, 'd1r2', 'd1r2', 188309548630017, 1, '66', '66', '2021-12-09 18:46:10', 1, NULL, NULL, '2021-12-08 17:40:21', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407669, 407683, 406283, 406283, 406283, 407268, 4, 188306910412801, 'j2', '407194-188306910412801', 188307961085953, 'j2r1', 'j2r1', 188309737373697, 1, 'tt', 'tt', '2021-12-09 18:46:10', 1, NULL, NULL, '2021-12-08 17:40:22', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407669, 407684, 406283, 406283, 406283, 407268, 4, 188306910412801, 'j2', '407194-188306910412801', 188307961085953, 'j2r1', 'j2r1', 188309747859457, 1, 'yyy', 'yyy', '2021-12-09 18:46:10', 1, NULL, NULL, '2021-12-08 17:40:22', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407669, 407685, 406283, 406283, 406283, 407268, 4, 188306983813121, 'd2', '407195-188306983813121', 188309607350273, 'd2r1', 'd2r1', 188309808676865, 1, 'ff', 'ff', '2021-12-09 18:46:10', 1, NULL, NULL, '2021-12-08 17:40:22', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_record` VALUES (406283, 407669, 407686, 406283, 406283, 406283, 407268, 4, 188306983813121, 'd2', '407195-188306983813121', 188309640904705, 'd2r2', 'd2r2', 188309861105665, 1, 'bb', 'bbb', '2021-12-09 18:46:10', 1, NULL, NULL, '2021-12-08 17:40:22', 406283, NULL, NULL, 0, NULL, NULL);

-- ----------------------------
-- Table structure for check_record_attach
-- ----------------------------
DROP TABLE IF EXISTS `check_record_attach`;
CREATE TABLE `check_record_attach`  (
  `oc_id` bigint(11) NOT NULL,
  `task_id` bigint(11) NOT NULL,
  `check_record_id` bigint(11) NOT NULL,
  `file_id` bigint(11) NOT NULL,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`oc_id`, `task_id`, `check_record_id`, `file_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '检查记录附件' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of check_record_attach
-- ----------------------------

-- ----------------------------
-- Table structure for check_record_event
-- ----------------------------
DROP TABLE IF EXISTS `check_record_event`;
CREATE TABLE `check_record_event`  (
  `oc_id` bigint(11) NOT NULL,
  `check_record_id` bigint(20) NOT NULL,
  `task_id` bigint(11) NOT NULL,
  `task__title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `task_cat_id` bigint(11) NULL DEFAULT NULL,
  `task_cat_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `group_id` bigint(11) NULL DEFAULT NULL,
  `group_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `position_id` bigint(11) NULL DEFAULT NULL,
  `position_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `account_id` bigint(11) NULL DEFAULT NULL,
  `account_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `risk_point_id` bigint(11) NULL DEFAULT NULL,
  `risk_point_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `check_def_id` bigint(11) NULL DEFAULT NULL,
  `checklist_id` bigint(11) NULL DEFAULT NULL,
  `checklist_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `hazard_id` bigint(11) NULL DEFAULT NULL,
  `hazard_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `risk_id` bigint(11) NULL DEFAULT NULL,
  `risk_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `measure_id` bigint(11) NULL DEFAULT NULL,
  `measure_content` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `check_time` datetime(0) NULL DEFAULT NULL,
  `check_result` bigint(11) NULL DEFAULT NULL,
  `check_desc` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `danger_id` bigint(11) NULL DEFAULT NULL,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`check_record_id`, `oc_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '巡检异常记录表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of check_record_event
-- ----------------------------

-- ----------------------------
-- Table structure for check_task
-- ----------------------------
DROP TABLE IF EXISTS `check_task`;
CREATE TABLE `check_task`  (
  `oc_id` bigint(11) NOT NULL COMMENT '单位ID',
  `task_id` bigint(11) NOT NULL COMMENT '工单ID',
  `risk_point_id` bigint(11) NOT NULL COMMENT '风险点',
  `check_def_id` bigint(11) NOT NULL COMMENT '检查任务定义ID',
  `check_title` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '检查任务标题',
  `check_desc` varchar(511) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '描述',
  `checklist_id` bigint(11) NULL DEFAULT NULL COMMENT '清单ID',
  `check_count` bigint(11) NULL DEFAULT NULL COMMENT '检查次数',
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`task_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '巡检任务表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of check_task
-- ----------------------------
INSERT INTO `check_task` VALUES (406283, 407437, 407268, 0, '扫码巡检任务', '扫码巡检任务', 4, 1, '2021-12-01 16:36:54', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task` VALUES (406283, 407475, 407268, 0, '扫码巡检任务', '扫码巡检任务', 406283, 1, '2021-12-07 14:09:01', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task` VALUES (406283, 407493, 407268, 0, '扫码巡检任务', '扫码巡检任务', 3, 1, '2021-12-07 15:42:55', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task` VALUES (406283, 407511, 407268, 0, '扫码巡检任务', '扫码巡检任务', 4, 1, '2021-12-07 16:36:54', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task` VALUES (406283, 407529, 407268, 0, '扫码巡检任务', '扫码巡检任务', 4, 1, '2021-12-07 16:48:57', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task` VALUES (406283, 407547, 407268, 0, '扫码巡检任务', '扫码巡检任务', 4, 1, '2021-12-07 17:06:31', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task` VALUES (406283, 407565, 407268, 0, '扫码巡检任务', '扫码巡检任务', 4, 1, '2021-12-07 17:10:06', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task` VALUES (406283, 407583, 407268, 0, '扫码巡检任务', '扫码巡检任务', 4, 1, '2021-12-07 17:32:36', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task` VALUES (406283, 407602, 407268, 0, '扫码巡检任务', '扫码巡检任务', 4, 1, '2021-12-07 17:45:14', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task` VALUES (406283, 407637, 407268, 0, '扫码巡检任务', '扫码巡检任务', 4, 1, '2021-12-07 18:14:37', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task` VALUES (406283, 407669, 407268, 0, '扫码巡检任务', '扫码巡检任务', 4, 1, '2021-12-08 17:40:19', 406283, NULL, NULL, 0, NULL, NULL);

-- ----------------------------
-- Table structure for check_task_doing
-- ----------------------------
DROP TABLE IF EXISTS `check_task_doing`;
CREATE TABLE `check_task_doing`  (
  `check_record_id` bigint(11) NOT NULL COMMENT '检查记录ID',
  `oc_id` bigint(11) NOT NULL COMMENT '单位ID',
  `task_id` bigint(11) NOT NULL COMMENT '任务ID',
  `group_id` bigint(11) NULL DEFAULT NULL COMMENT '群组ID',
  `position_id` bigint(11) NULL DEFAULT NULL COMMENT '岗位ID',
  `account_id` bigint(11) NULL DEFAULT NULL COMMENT '帐号ID',
  `risk_point_id` bigint(11) NULL DEFAULT NULL COMMENT '风险点ID',
  `checklist_id` bigint(11) NULL DEFAULT NULL COMMENT '清单ID',
  `hazard_id` bigint(11) NULL DEFAULT NULL COMMENT '危险源ID',
  `risk_id` bigint(11) NULL DEFAULT NULL COMMENT '风险ID',
  `measure_id` bigint(11) NOT NULL COMMENT '措施ID',
  `check_time` datetime(0) NULL DEFAULT NULL COMMENT '检查时间',
  `check_result` bigint(11) NULL DEFAULT NULL COMMENT '检查结果',
  `check_desc` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '检查说明',
  `danger_id` bigint(11) NULL DEFAULT NULL COMMENT '隐患ID',
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`check_record_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '巡检记录表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of check_task_doing
-- ----------------------------
INSERT INTO `check_task_doing` VALUES (407439, 406283, 407437, 406283, 406283, 406283, 407268, 4, 188306849595393, 188307139002369, 188307835256833, '2021-12-07 17:08:49', 1, '啊', NULL, '2021-12-01 16:36:55', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407440, 406283, 407437, 406283, 406283, 406283, 407268, 4, 188306849595393, 188307139002369, 188307852034049, '2021-12-07 17:08:49', 1, '阿斯顿发送到', NULL, '2021-12-01 16:36:55', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407441, 406283, 407437, 406283, 406283, 406283, 407268, 4, 188306849595393, 188307139002369, 188307866714113, '2021-12-07 17:08:49', 2, '', NULL, '2021-12-01 16:36:55', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407442, 406283, 407437, 406283, 406283, 406283, 407268, 4, 188306849595393, 188307139002369, 188307885588481, '2021-12-07 17:08:49', 2, '阿斯顿发送到', NULL, '2021-12-01 16:36:55', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407443, 406283, 407437, 406283, 406283, 406283, 407268, 4, 188306849595393, 188308019806209, 188308042874881, '2021-12-07 17:08:49', 1, '阿萨德', NULL, '2021-12-01 16:36:56', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407444, 406283, 407437, 406283, 406283, 406283, 407268, 4, 188306849595393, 188308019806209, 188308070137857, '2021-12-07 17:08:49', 1, '阿萨德饭', NULL, '2021-12-01 16:36:56', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407445, 406283, 407437, 406283, 406283, 406283, 407268, 4, 188306950258689, 188308651048961, 188309399732225, '2021-12-07 17:08:49', 1, '阿斯蒂芬', NULL, '2021-12-01 16:36:56', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407446, 406283, 407437, 406283, 406283, 406283, 407268, 4, 188306950258689, 188308651048961, 188309410217985, '2021-12-07 17:08:49', 1, '阿斯蒂芬', NULL, '2021-12-01 16:36:56', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407447, 406283, 407437, 406283, 406283, 406283, 407268, 4, 188306950258689, 188308651048961, 188309420703745, '2021-12-07 17:08:49', 1, 'aSD', NULL, '2021-12-01 16:36:56', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407448, 406283, 407437, 406283, 406283, 406283, 407268, 4, 188306950258689, 188308651048961, 188309429092353, '2021-12-07 17:08:49', 1, '是否', NULL, '2021-12-01 16:36:56', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407449, 406283, 407437, 406283, 406283, 406283, 407268, 4, 188306950258689, 188309517172737, 188309538144257, '2021-12-07 17:08:49', 1, '啥地方', NULL, '2021-12-01 16:36:57', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407450, 406283, 407437, 406283, 406283, 406283, 407268, 4, 188306950258689, 188309517172737, 188309548630017, '2021-12-07 17:08:49', 1, '处理1', NULL, '2021-12-01 16:36:57', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407451, 406283, 407437, 406283, 406283, 406283, 407268, 4, 188306910412801, 188307961085953, 188309737373697, '2021-12-07 17:08:49', 1, '', NULL, '2021-12-01 16:36:57', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407452, 406283, 407437, 406283, 406283, 406283, 407268, 4, 188306910412801, 188307961085953, 188309747859457, '2021-12-07 17:08:49', 2, '', NULL, '2021-12-01 16:36:57', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407453, 406283, 407437, 406283, 406283, 406283, 407268, 4, 188306983813121, 188309607350273, 188309808676865, '2021-12-07 17:08:49', 2, '阿萨德饭', NULL, '2021-12-01 16:36:57', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407454, 406283, 407437, 406283, 406283, 406283, 407268, 4, 188306983813121, 188309640904705, 188309861105665, '2021-12-07 17:08:49', 1, '啊', NULL, '2021-12-01 16:36:58', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407477, 406283, 407475, 406283, 406283, 406283, 407268, 406283, 188306849595393, 188307139002369, 188307835256833, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 14:09:01', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407478, 406283, 407475, 406283, 406283, 406283, 407268, 406283, 188306849595393, 188307139002369, 188307852034049, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 14:09:02', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407479, 406283, 407475, 406283, 406283, 406283, 407268, 406283, 188306849595393, 188307139002369, 188307866714113, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 14:09:02', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407480, 406283, 407475, 406283, 406283, 406283, 407268, 406283, 188306849595393, 188307139002369, 188307885588481, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 14:09:02', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407481, 406283, 407475, 406283, 406283, 406283, 407268, 406283, 188306849595393, 188308019806209, 188308042874881, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 14:09:02', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407482, 406283, 407475, 406283, 406283, 406283, 407268, 406283, 188306849595393, 188308019806209, 188308070137857, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 14:09:02', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407483, 406283, 407475, 406283, 406283, 406283, 407268, 406283, 188306950258689, 188308651048961, 188309399732225, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 14:09:02', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407484, 406283, 407475, 406283, 406283, 406283, 407268, 406283, 188306950258689, 188308651048961, 188309410217985, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 14:09:03', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407485, 406283, 407475, 406283, 406283, 406283, 407268, 406283, 188306950258689, 188308651048961, 188309420703745, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 14:09:03', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407486, 406283, 407475, 406283, 406283, 406283, 407268, 406283, 188306950258689, 188308651048961, 188309429092353, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 14:09:03', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407487, 406283, 407475, 406283, 406283, 406283, 407268, 406283, 188306950258689, 188309517172737, 188309538144257, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 14:09:03', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407488, 406283, 407475, 406283, 406283, 406283, 407268, 406283, 188306950258689, 188309517172737, 188309548630017, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 14:09:03', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407489, 406283, 407475, 406283, 406283, 406283, 407268, 406283, 188306910412801, 188307961085953, 188309737373697, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 14:09:04', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407490, 406283, 407475, 406283, 406283, 406283, 407268, 406283, 188306910412801, 188307961085953, 188309747859457, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 14:09:04', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407491, 406283, 407475, 406283, 406283, 406283, 407268, 406283, 188306983813121, 188309607350273, 188309808676865, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 14:09:04', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407492, 406283, 407475, 406283, 406283, 406283, 407268, 406283, 188306983813121, 188309640904705, 188309861105665, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 14:09:04', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407495, 406283, 407493, 406283, 406283, 406283, 407268, 3, 188306849595393, 188307139002369, 188307835256833, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 15:42:55', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407496, 406283, 407493, 406283, 406283, 406283, 407268, 3, 188306849595393, 188307139002369, 188307852034049, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 15:42:55', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407497, 406283, 407493, 406283, 406283, 406283, 407268, 3, 188306849595393, 188307139002369, 188307866714113, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 15:42:56', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407498, 406283, 407493, 406283, 406283, 406283, 407268, 3, 188306849595393, 188307139002369, 188307885588481, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 15:42:56', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407499, 406283, 407493, 406283, 406283, 406283, 407268, 3, 188306849595393, 188308019806209, 188308042874881, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 15:42:56', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407500, 406283, 407493, 406283, 406283, 406283, 407268, 3, 188306849595393, 188308019806209, 188308070137857, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 15:42:56', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407501, 406283, 407493, 406283, 406283, 406283, 407268, 3, 188306950258689, 188308651048961, 188309399732225, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 15:42:56', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407502, 406283, 407493, 406283, 406283, 406283, 407268, 3, 188306950258689, 188308651048961, 188309410217985, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 15:42:57', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407503, 406283, 407493, 406283, 406283, 406283, 407268, 3, 188306950258689, 188308651048961, 188309420703745, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 15:42:57', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407504, 406283, 407493, 406283, 406283, 406283, 407268, 3, 188306950258689, 188308651048961, 188309429092353, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 15:42:57', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407505, 406283, 407493, 406283, 406283, 406283, 407268, 3, 188306950258689, 188309517172737, 188309538144257, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 15:42:57', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407506, 406283, 407493, 406283, 406283, 406283, 407268, 3, 188306950258689, 188309517172737, 188309548630017, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 15:42:57', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407507, 406283, 407493, 406283, 406283, 406283, 407268, 3, 188306910412801, 188307961085953, 188309737373697, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 15:42:58', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407508, 406283, 407493, 406283, 406283, 406283, 407268, 3, 188306910412801, 188307961085953, 188309747859457, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 15:42:58', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407509, 406283, 407493, 406283, 406283, 406283, 407268, 3, 188306983813121, 188309607350273, 188309808676865, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 15:42:58', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407510, 406283, 407493, 406283, 406283, 406283, 407268, 3, 188306983813121, 188309640904705, 188309861105665, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 15:42:58', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407513, 406283, 407511, 406283, 406283, 406283, 407268, 4, 188306849595393, 188307139002369, 188307835256833, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 16:36:54', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407514, 406283, 407511, 406283, 406283, 406283, 407268, 4, 188306849595393, 188307139002369, 188307852034049, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 16:36:54', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407515, 406283, 407511, 406283, 406283, 406283, 407268, 4, 188306849595393, 188307139002369, 188307866714113, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 16:36:54', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407516, 406283, 407511, 406283, 406283, 406283, 407268, 4, 188306849595393, 188307139002369, 188307885588481, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 16:36:55', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407517, 406283, 407511, 406283, 406283, 406283, 407268, 4, 188306849595393, 188308019806209, 188308042874881, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 16:36:55', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407518, 406283, 407511, 406283, 406283, 406283, 407268, 4, 188306849595393, 188308019806209, 188308070137857, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 16:36:55', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407519, 406283, 407511, 406283, 406283, 406283, 407268, 4, 188306950258689, 188308651048961, 188309399732225, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 16:36:55', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407520, 406283, 407511, 406283, 406283, 406283, 407268, 4, 188306950258689, 188308651048961, 188309410217985, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 16:36:55', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407521, 406283, 407511, 406283, 406283, 406283, 407268, 4, 188306950258689, 188308651048961, 188309420703745, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 16:36:56', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407522, 406283, 407511, 406283, 406283, 406283, 407268, 4, 188306950258689, 188308651048961, 188309429092353, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 16:36:56', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407523, 406283, 407511, 406283, 406283, 406283, 407268, 4, 188306950258689, 188309517172737, 188309538144257, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 16:36:56', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407524, 406283, 407511, 406283, 406283, 406283, 407268, 4, 188306950258689, 188309517172737, 188309548630017, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 16:36:56', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407525, 406283, 407511, 406283, 406283, 406283, 407268, 4, 188306910412801, 188307961085953, 188309737373697, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 16:36:56', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407526, 406283, 407511, 406283, 406283, 406283, 407268, 4, 188306910412801, 188307961085953, 188309747859457, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 16:36:56', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407527, 406283, 407511, 406283, 406283, 406283, 407268, 4, 188306983813121, 188309607350273, 188309808676865, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 16:36:57', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407528, 406283, 407511, 406283, 406283, 406283, 407268, 4, 188306983813121, 188309640904705, 188309861105665, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 16:36:57', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407549, 406283, 407547, 406283, 406283, 406283, 407268, 4, 188306849595393, 188307139002369, 188307835256833, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 17:06:31', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407550, 406283, 407547, 406283, 406283, 406283, 407268, 4, 188306849595393, 188307139002369, 188307852034049, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 17:06:31', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407551, 406283, 407547, 406283, 406283, 406283, 407268, 4, 188306849595393, 188307139002369, 188307866714113, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 17:06:31', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407552, 406283, 407547, 406283, 406283, 406283, 407268, 4, 188306849595393, 188307139002369, 188307885588481, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 17:06:32', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407553, 406283, 407547, 406283, 406283, 406283, 407268, 4, 188306849595393, 188308019806209, 188308042874881, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 17:06:32', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407554, 406283, 407547, 406283, 406283, 406283, 407268, 4, 188306849595393, 188308019806209, 188308070137857, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 17:06:32', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407555, 406283, 407547, 406283, 406283, 406283, 407268, 4, 188306950258689, 188308651048961, 188309399732225, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 17:06:32', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407556, 406283, 407547, 406283, 406283, 406283, 407268, 4, 188306950258689, 188308651048961, 188309410217985, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 17:06:32', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407557, 406283, 407547, 406283, 406283, 406283, 407268, 4, 188306950258689, 188308651048961, 188309420703745, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 17:06:33', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407558, 406283, 407547, 406283, 406283, 406283, 407268, 4, 188306950258689, 188308651048961, 188309429092353, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 17:06:33', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407559, 406283, 407547, 406283, 406283, 406283, 407268, 4, 188306950258689, 188309517172737, 188309538144257, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 17:06:33', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407560, 406283, 407547, 406283, 406283, 406283, 407268, 4, 188306950258689, 188309517172737, 188309548630017, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 17:06:33', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407561, 406283, 407547, 406283, 406283, 406283, 407268, 4, 188306910412801, 188307961085953, 188309737373697, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 17:06:33', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407562, 406283, 407547, 406283, 406283, 406283, 407268, 4, 188306910412801, 188307961085953, 188309747859457, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 17:06:33', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407563, 406283, 407547, 406283, 406283, 406283, 407268, 4, 188306983813121, 188309607350273, 188309808676865, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 17:06:34', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407564, 406283, 407547, 406283, 406283, 406283, 407268, 4, 188306983813121, 188309640904705, 188309861105665, '2021-12-07 17:08:49', 0, NULL, NULL, '2021-12-07 17:06:34', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407567, 406283, 407565, 406283, 406283, 406283, 407268, 4, 188306849595393, 188307139002369, 188307835256833, '2021-12-07 17:10:16', 1, NULL, NULL, '2021-12-07 17:10:06', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407568, 406283, 407565, 406283, 406283, 406283, 407268, 4, 188306849595393, 188307139002369, 188307852034049, '2021-12-07 17:10:16', 1, NULL, NULL, '2021-12-07 17:10:07', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407569, 406283, 407565, 406283, 406283, 406283, 407268, 4, 188306849595393, 188307139002369, 188307866714113, '2021-12-07 17:10:16', 1, NULL, NULL, '2021-12-07 17:10:07', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407570, 406283, 407565, 406283, 406283, 406283, 407268, 4, 188306849595393, 188307139002369, 188307885588481, '2021-12-07 17:10:16', 1, NULL, NULL, '2021-12-07 17:10:07', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407571, 406283, 407565, 406283, 406283, 406283, 407268, 4, 188306849595393, 188308019806209, 188308042874881, '2021-12-07 17:10:16', 1, NULL, NULL, '2021-12-07 17:10:07', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407572, 406283, 407565, 406283, 406283, 406283, 407268, 4, 188306849595393, 188308019806209, 188308070137857, '2021-12-07 17:10:16', 1, NULL, NULL, '2021-12-07 17:10:07', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407573, 406283, 407565, 406283, 406283, 406283, 407268, 4, 188306950258689, 188308651048961, 188309399732225, '2021-12-07 17:10:16', 1, NULL, NULL, '2021-12-07 17:10:07', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407574, 406283, 407565, 406283, 406283, 406283, 407268, 4, 188306950258689, 188308651048961, 188309410217985, '2021-12-07 17:10:16', 1, NULL, NULL, '2021-12-07 17:10:08', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407575, 406283, 407565, 406283, 406283, 406283, 407268, 4, 188306950258689, 188308651048961, 188309420703745, '2021-12-07 17:10:16', 1, NULL, NULL, '2021-12-07 17:10:08', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407576, 406283, 407565, 406283, 406283, 406283, 407268, 4, 188306950258689, 188308651048961, 188309429092353, '2021-12-07 17:10:16', 1, NULL, NULL, '2021-12-07 17:10:08', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407577, 406283, 407565, 406283, 406283, 406283, 407268, 4, 188306950258689, 188309517172737, 188309538144257, '2021-12-07 17:10:16', 1, NULL, NULL, '2021-12-07 17:10:08', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407578, 406283, 407565, 406283, 406283, 406283, 407268, 4, 188306950258689, 188309517172737, 188309548630017, '2021-12-07 17:10:16', 1, NULL, NULL, '2021-12-07 17:10:08', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407579, 406283, 407565, 406283, 406283, 406283, 407268, 4, 188306910412801, 188307961085953, 188309737373697, '2021-12-07 17:10:16', 1, NULL, NULL, '2021-12-07 17:10:09', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407580, 406283, 407565, 406283, 406283, 406283, 407268, 4, 188306910412801, 188307961085953, 188309747859457, '2021-12-07 17:10:16', 1, NULL, NULL, '2021-12-07 17:10:09', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407581, 406283, 407565, 406283, 406283, 406283, 407268, 4, 188306983813121, 188309607350273, 188309808676865, '2021-12-07 17:10:16', 1, NULL, NULL, '2021-12-07 17:10:09', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407582, 406283, 407565, 406283, 406283, 406283, 407268, 4, 188306983813121, 188309640904705, 188309861105665, '2021-12-07 17:10:16', 1, NULL, NULL, '2021-12-07 17:10:09', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407604, 406283, 407602, 406283, 406283, 406283, 407268, 4, 188306849595393, 188307139002369, 188307835256833, NULL, 0, NULL, NULL, '2021-12-07 17:45:14', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407605, 406283, 407602, 406283, 406283, 406283, 407268, 4, 188306849595393, 188307139002369, 188307852034049, NULL, 0, NULL, NULL, '2021-12-07 17:45:14', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407606, 406283, 407602, 406283, 406283, 406283, 407268, 4, 188306849595393, 188307139002369, 188307866714113, NULL, 0, NULL, NULL, '2021-12-07 17:45:14', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407607, 406283, 407602, 406283, 406283, 406283, 407268, 4, 188306849595393, 188307139002369, 188307885588481, NULL, 0, NULL, NULL, '2021-12-07 17:45:15', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407608, 406283, 407602, 406283, 406283, 406283, 407268, 4, 188306849595393, 188308019806209, 188308042874881, NULL, 0, NULL, NULL, '2021-12-07 17:45:15', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407609, 406283, 407602, 406283, 406283, 406283, 407268, 4, 188306849595393, 188308019806209, 188308070137857, NULL, 0, NULL, NULL, '2021-12-07 17:45:15', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407610, 406283, 407602, 406283, 406283, 406283, 407268, 4, 188306950258689, 188308651048961, 188309399732225, NULL, 0, NULL, NULL, '2021-12-07 17:45:15', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407611, 406283, 407602, 406283, 406283, 406283, 407268, 4, 188306950258689, 188308651048961, 188309410217985, NULL, 0, NULL, NULL, '2021-12-07 17:45:15', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407612, 406283, 407602, 406283, 406283, 406283, 407268, 4, 188306950258689, 188308651048961, 188309420703745, NULL, 0, NULL, NULL, '2021-12-07 17:45:16', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407613, 406283, 407602, 406283, 406283, 406283, 407268, 4, 188306950258689, 188308651048961, 188309429092353, NULL, 0, NULL, NULL, '2021-12-07 17:45:16', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407614, 406283, 407602, 406283, 406283, 406283, 407268, 4, 188306950258689, 188309517172737, 188309538144257, NULL, 0, NULL, NULL, '2021-12-07 17:45:16', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407615, 406283, 407602, 406283, 406283, 406283, 407268, 4, 188306950258689, 188309517172737, 188309548630017, NULL, 0, NULL, NULL, '2021-12-07 17:45:16', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407616, 406283, 407602, 406283, 406283, 406283, 407268, 4, 188306910412801, 188307961085953, 188309737373697, NULL, 0, NULL, NULL, '2021-12-07 17:45:16', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407617, 406283, 407602, 406283, 406283, 406283, 407268, 4, 188306910412801, 188307961085953, 188309747859457, NULL, 0, NULL, NULL, '2021-12-07 17:45:16', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407618, 406283, 407602, 406283, 406283, 406283, 407268, 4, 188306983813121, 188309607350273, 188309808676865, NULL, 0, NULL, NULL, '2021-12-07 17:45:17', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `check_task_doing` VALUES (407619, 406283, 407602, 406283, 406283, 406283, 407268, 4, 188306983813121, 188309640904705, 188309861105665, NULL, 0, NULL, NULL, '2021-12-07 17:45:17', 406283, NULL, NULL, 0, NULL, NULL);

-- ----------------------------
-- Table structure for checklist
-- ----------------------------
DROP TABLE IF EXISTS `checklist`;
CREATE TABLE `checklist`  (
  `oc_id` bigint(11) NOT NULL,
  `checklist_id` bigint(11) NOT NULL,
  `checklist_type_id` bigint(11) NULL DEFAULT NULL,
  `checklist_cat_id` bigint(11) NULL DEFAULT NULL,
  `checklist_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `checklist_desc` varchar(1023) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `industry_id` bigint(11) NULL DEFAULT 0,
  `status` bigint(11) NULL DEFAULT NULL,
  `issued_by` bigint(11) NULL DEFAULT NULL,
  `issued_at` datetime(0) NULL DEFAULT NULL,
  `author` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `version` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `is_fixed` bigint(11) NULL DEFAULT 0,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`checklist_id`, `oc_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '检查表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of checklist
-- ----------------------------
INSERT INTO `checklist` VALUES (406283, 1, 1, 1, '厂级清单', 'tttgggg', 0, 0, 406283, '2021-11-05 14:32:55', NULL, NULL, 1, NULL, NULL, '2021-11-05 14:32:55', 406283, 0, NULL, NULL);
INSERT INTO `checklist` VALUES (406283, 2, 1, 1, '车间级清单', 'dddd', 0, 1, 406283, '2021-11-22 16:21:40', NULL, NULL, 1, NULL, NULL, '2021-11-22 16:21:40', 406283, 0, NULL, NULL);
INSERT INTO `checklist` VALUES (406283, 3, 1, 1, '班组级清单', 'dddd', 0, 1, 406283, '2021-11-22 16:21:37', NULL, NULL, 1, NULL, NULL, '2021-11-22 16:21:37', 406283, 0, NULL, NULL);
INSERT INTO `checklist` VALUES (406283, 4, 1, 1, '岗位级清单', 'bcdefssss', 0, 1, 406283, '2021-12-02 11:09:56', NULL, NULL, 1, NULL, NULL, '2021-12-02 11:09:56', 406283, 0, NULL, NULL);
INSERT INTO `checklist` VALUES (406283, 406283, 0, 1, '危险源库', '危险源库vvvvssss', 0, 1, 406283, '2021-11-22 16:19:12', NULL, NULL, 1, NULL, NULL, '2021-11-22 16:19:12', 406283, 0, NULL, NULL);
INSERT INTO `checklist` VALUES (1, 407134, 0, 1, '炼铁行业危险源清单', '炼铁行业危险源清单', 407126, 1, NULL, NULL, '武汉', '1.00', 0, '2021-02-09 15:06:31', 1, NULL, NULL, 0, '2021-02-09 15:12:27', NULL);
INSERT INTO `checklist` VALUES (1, 407135, 0, 1, '炼铁行业危险源清单2.00', '炼铁行业危险源清单2.00', 407126, 1, NULL, NULL, '武汉', '1.00', 0, '2021-02-09 15:10:50', 1, NULL, NULL, 1, '2021-02-24 08:21:42', NULL);
INSERT INTO `checklist` VALUES (1, 407136, 0, 1, '炼钢行业分级管控清单', '炼钢行业分级管控清单', 407127, 1, NULL, NULL, '武汉', '1.00', 0, '2021-02-09 21:08:27', 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `checklist` VALUES (1, 407137, 0, 1, '轧钢分级管控清单', '轧钢分级管控清单', 407128, 1, NULL, NULL, '武汉', '1.00', 0, '2021-02-09 21:11:00', 1, '2021-02-22 07:46:16', 1, 0, NULL, NULL);
INSERT INTO `checklist` VALUES (1, 407145, 0, 1, '棉纺织加工分级管控清单', '棉纺织加工分级管控清单', 407140, 1, NULL, NULL, '武汉', '1.00', 0, '2021-02-09 21:30:28', 1, '2021-02-23 21:19:29', 1, 0, NULL, NULL);
INSERT INTO `checklist` VALUES (1, 407146, 0, 1, '染整加工分级管控清单', '染整加工分级管控清单', 407141, 1, NULL, NULL, '武汉', '1.00', 0, '2021-02-09 21:30:57', 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `checklist` VALUES (1, 407147, 0, 1, '服装行业风险管控清单', '服装行业', 407142, 1, NULL, NULL, '武汉', '1.00', 0, '2021-02-09 21:31:15', 1, '2021-02-23 21:54:41', 1, 0, NULL, NULL);
INSERT INTO `checklist` VALUES (1, 407148, 0, 1, '非家用纺织制成品行业分级管控清单', '非家用纺织制成品行业分级管控清单', 407143, 1, NULL, NULL, '武汉', '1.00', 0, '2021-02-09 21:31:54', 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `checklist` VALUES (1, 407150, 0, 1, '机械行业风险辨识清单', '机械行业风险辨识清单', 407144, 1, NULL, NULL, '武汉', '1.00', 0, '2021-02-10 19:56:06', 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `checklist` VALUES (1, 407192, 0, 1, '炼铁行业危险源清单', NULL, 0, 1, NULL, NULL, '武汉', '1.00', 0, '2021-02-23 21:11:33', 1, NULL, NULL, 0, '2021-02-23 21:54:04', NULL);

-- ----------------------------
-- Table structure for checklist_cat
-- ----------------------------
DROP TABLE IF EXISTS `checklist_cat`;
CREATE TABLE `checklist_cat`  (
  `oc_id` bigint(11) NOT NULL,
  `checklist_cat_id` bigint(11) NOT NULL,
  `checklist_cat_title` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `checklist_cat_desc` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `is_fixed` bigint(11) NULL DEFAULT 0,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  PRIMARY KEY (`checklist_cat_id`, `oc_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '检查表类别' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of checklist_cat
-- ----------------------------
INSERT INTO `checklist_cat` VALUES (406283, 1, '危险源清单', '危险源清单', 1, NULL, NULL, '2021-10-30 21:14:35', 406283, NULL, NULL, 0);
INSERT INTO `checklist_cat` VALUES (406283, 2, '专项清单', '专项清单', 1, NULL, NULL, '2021-10-30 21:14:35', 406283, NULL, NULL, 0);

-- ----------------------------
-- Table structure for checklist_hazard
-- ----------------------------
DROP TABLE IF EXISTS `checklist_hazard`;
CREATE TABLE `checklist_hazard`  (
  `oc_id` bigint(11) NOT NULL,
  `checklist_id` bigint(11) NOT NULL COMMENT '智库清单ID',
  `hazard_id` bigint(11) NOT NULL COMMENT '危险源ID',
  `hazard_code` varchar(511) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '危险源编码',
  `hazard_title` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '危险源名称',
  `hazard_image` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'logo',
  `hazard_type_id` bigint(11) NULL DEFAULT NULL COMMENT '类别ID: 1.作业活动， 2. 设备设施',
  `hazard_cat_id` bigint(11) NULL DEFAULT NULL COMMENT '危险源类别ID',
  `hazard_level` bigint(11) NULL DEFAULT 4 COMMENT '危险源等级',
  `hazard_desc` varchar(511) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '描述',
  `parent_id` bigint(11) NULL DEFAULT 0 COMMENT '父危险源',
  `root_id` bigint(11) NULL DEFAULT NULL COMMENT 'Root',
  `node_left` bigint(11) NULL DEFAULT NULL,
  `node_right` bigint(11) NULL DEFAULT NULL,
  `node_level` bigint(255) NULL DEFAULT NULL,
  `is_leaf` bigint(11) NULL DEFAULT NULL,
  `is_fixed` bigint(11) NULL DEFAULT NULL,
  `sort_no` bigint(11) NULL DEFAULT NULL,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`checklist_id`, `hazard_id`, `oc_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '危险源表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of checklist_hazard
-- ----------------------------
INSERT INTO `checklist_hazard` VALUES (406283, 406283, 407194, '407194', '作业活动', NULL, 0, 0, 4, '作业活动', 0, 407194, 1, 6, 1, 0, NULL, NULL, '2021-02-24 21:58:09', 406283, '2021-04-27 01:20:53', 406283, 0, NULL, NULL);
INSERT INTO `checklist_hazard` VALUES (406283, 406283, 407195, '407195', '设备设施', NULL, 0, NULL, 4, '设备设施', 0, 407195, 7, 12, 1, 0, NULL, NULL, '2021-02-24 22:09:30', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `checklist_hazard` VALUES (406283, 406283, 188306849595393, '407194-188306849595393', 'j1', NULL, 3, 0, 4, 'j1', 407194, 407194, 2, 3, 2, 1, NULL, 0, '2021-11-05 14:08:24', 406283, '2021-11-28 10:05:08', 406283, 0, NULL, NULL);
INSERT INTO `checklist_hazard` VALUES (406283, 406283, 188306910412801, '407194-188306910412801', 'j2', NULL, 3, 0, 4, 'j2', 407194, 407194, 4, 5, 2, 1, NULL, 0, '2021-11-05 14:08:53', 406283, '2021-11-28 10:04:19', 406283, 0, NULL, NULL);
INSERT INTO `checklist_hazard` VALUES (406283, 406283, 188306950258689, '407195-188306950258689', 'd1', NULL, 2, 0, 4, 'd1', 407195, 407195, 8, 9, 2, 1, NULL, NULL, '2021-11-05 14:09:12', 406283, '2021-11-05 14:09:45', 406283, 0, NULL, NULL);
INSERT INTO `checklist_hazard` VALUES (406283, 406283, 188306983813121, '407195-188306983813121', 'd2', NULL, 2, 0, 4, 'd2', 407195, 407195, 10, 11, 2, 1, NULL, 0, '2021-11-05 14:09:27', 406283, '2021-11-28 10:05:22', 406283, 0, NULL, NULL);

-- ----------------------------
-- Table structure for checklist_hazard_risk
-- ----------------------------
DROP TABLE IF EXISTS `checklist_hazard_risk`;
CREATE TABLE `checklist_hazard_risk`  (
  `oc_id` bigint(11) NOT NULL COMMENT '单位ID',
  `checklist_id` bigint(11) NOT NULL COMMENT '清单ID',
  `hazard_id` bigint(11) NOT NULL COMMENT '危险源ID',
  `risk_id` bigint(11) NOT NULL COMMENT 'PK ID',
  `risk_code` varchar(511) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '风险编码',
  `risk_source` varchar(511) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '风险源',
  `risk_type_id` bigint(11) NULL DEFAULT NULL COMMENT '人、物、环、管',
  `risk_reason` varchar(511) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '风险因素',
  `risk_consequence` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '后果',
  `risk_level` bigint(11) NULL DEFAULT 0 COMMENT '风险等级',
  `ctrl_level_id` bigint(11) NULL DEFAULT 4 COMMENT '管控层级',
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`risk_id`, `checklist_id`, `hazard_id`, `oc_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '企业风险表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of checklist_hazard_risk
-- ----------------------------
INSERT INTO `checklist_hazard_risk` VALUES (406283, 406283, 188306849595393, 188307139002369, 'j1r1', 'j1r1', 0, 'j1r1', 'j1r1', 2, 2, '2021-11-05 14:10:41', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `checklist_hazard_risk` VALUES (406283, 406283, 188306910412801, 188307961085953, 'j2r1', 'j2r1', 1, 'j2r1', 'j2r1', 2, 2, '2021-11-05 14:17:14', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `checklist_hazard_risk` VALUES (406283, 406283, 188306849595393, 188308019806209, 'j1r2', 'j1r2', 2, 'j1r2', 'j1r2', 2, 2, '2021-11-05 14:17:42', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `checklist_hazard_risk` VALUES (406283, 406283, 188306950258689, 188308651048961, 'd1r1', 'd1r1', 0, 'd1r1', 'd1r1', 2, 3, '2021-11-05 14:22:43', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `checklist_hazard_risk` VALUES (406283, 406283, 188306950258689, 188309517172737, 'd1r2', 'd1r2', 1, 'd1r2', 'd1r2', 2, 2, '2021-11-05 14:29:36', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `checklist_hazard_risk` VALUES (406283, 406283, 188306983813121, 188309607350273, 'd2r1', 'd2r1', 1, 'd2r1', 'd2r1', 2, 2, '2021-11-05 14:30:19', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `checklist_hazard_risk` VALUES (406283, 406283, 188306983813121, 188309640904705, 'd2r2', 'd2r2', 0, 'd2r2', 'd2r2', 1, 1, '2021-11-05 14:30:34', 406283, NULL, NULL, 0, NULL, NULL);

-- ----------------------------
-- Table structure for checklist_hazard_risk_measure
-- ----------------------------
DROP TABLE IF EXISTS `checklist_hazard_risk_measure`;
CREATE TABLE `checklist_hazard_risk_measure`  (
  `oc_id` bigint(11) NOT NULL,
  `checklist_id` bigint(11) NOT NULL COMMENT '清单ID',
  `hazard_id` bigint(11) NOT NULL COMMENT '危险源ID',
  `risk_id` bigint(11) NOT NULL COMMENT '风险ID',
  `measure_id` bigint(11) NOT NULL COMMENT '管控措施ID',
  `measure_type_id` bigint(11) NULL DEFAULT NULL COMMENT '管控措施类型ID',
  `measure_content` varchar(1023) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '管控措施内容',
  `measure_reference` varchar(511) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `measure_desc` varchar(512) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`measure_id`, `checklist_id`, `hazard_id`, `risk_id`, `oc_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '企业风险控制措施表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of checklist_hazard_risk_measure
-- ----------------------------
INSERT INTO `checklist_hazard_risk_measure` VALUES (406283, 406283, 188306849595393, 188307139002369, 188307835256833, 1, 'aaa', 'aa', 'aa', '2021-11-05 14:16:13', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `checklist_hazard_risk_measure` VALUES (406283, 406283, 188306849595393, 188307139002369, 188307852034049, 2, 'bb', 'bb', 'bb', '2021-11-05 14:16:22', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `checklist_hazard_risk_measure` VALUES (406283, 406283, 188306849595393, 188307139002369, 188307866714113, 3, 'cc', 'cc', 'ccc', '2021-11-05 14:16:29', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `checklist_hazard_risk_measure` VALUES (406283, 406283, 188306849595393, 188307139002369, 188307885588481, 4, 'dd', 'dd', 'dd', '2021-11-05 14:16:37', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `checklist_hazard_risk_measure` VALUES (406283, 406283, 188306849595393, 188308019806209, 188308042874881, 3, 'ee', 'ff', 'gg', '2021-11-05 14:17:53', 406283, '2021-11-11 21:40:53', 406283, 0, NULL, NULL);
INSERT INTO `checklist_hazard_risk_measure` VALUES (406283, 406283, 188306849595393, 188308019806209, 188308070137857, 2, 'ff', 'ff', 'ff', '2021-11-05 14:18:06', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `checklist_hazard_risk_measure` VALUES (406283, 406283, 188306950258689, 188308651048961, 188309399732225, 1, '11', '11', '11', '2021-11-05 14:28:39', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `checklist_hazard_risk_measure` VALUES (406283, 406283, 188306950258689, 188308651048961, 188309410217985, 1, '22', '22', '22', '2021-11-05 14:28:44', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `checklist_hazard_risk_measure` VALUES (406283, 406283, 188306950258689, 188308651048961, 188309420703745, 1, '33', '33', '33', '2021-11-05 14:28:49', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `checklist_hazard_risk_measure` VALUES (406283, 406283, 188306950258689, 188308651048961, 188309429092353, 1, '44', '44', '44', '2021-11-05 14:28:53', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `checklist_hazard_risk_measure` VALUES (406283, 406283, 188306950258689, 188309517172737, 188309538144257, 1, '55', '55', '55', '2021-11-05 14:29:46', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `checklist_hazard_risk_measure` VALUES (406283, 406283, 188306950258689, 188309517172737, 188309548630017, 1, '66', '66', '66', '2021-11-05 14:29:50', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `checklist_hazard_risk_measure` VALUES (406283, 406283, 188306910412801, 188307961085953, 188309737373697, 1, 'tt', 'tt', 'tt', '2021-11-05 14:31:20', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `checklist_hazard_risk_measure` VALUES (406283, 406283, 188306910412801, 188307961085953, 188309747859457, 1, 'yyy', 'yyy', 'yyy', '2021-11-05 14:31:26', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `checklist_hazard_risk_measure` VALUES (406283, 406283, 188306983813121, 188309607350273, 188309808676865, 1, 'ff', 'ff', 'ff', '2021-11-05 14:31:55', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `checklist_hazard_risk_measure` VALUES (406283, 406283, 188306983813121, 188309640904705, 188309861105665, 1, 'bb', 'bbb', 'bbbb', '2021-11-05 14:32:20', 406283, NULL, NULL, 0, NULL, NULL);

-- ----------------------------
-- Table structure for checklist_hazard_risk_position
-- ----------------------------
DROP TABLE IF EXISTS `checklist_hazard_risk_position`;
CREATE TABLE `checklist_hazard_risk_position`  (
  `oc_id` bigint(11) NOT NULL COMMENT '组织ID',
  `checklist_id` bigint(11) NOT NULL,
  `hazard_id` bigint(11) NOT NULL COMMENT '危险源ID',
  `risk_id` bigint(11) NOT NULL COMMENT '风险ID',
  `position_id` bigint(11) NOT NULL COMMENT '管控岗位ID',
  PRIMARY KEY (`oc_id`, `hazard_id`, `position_id`, `risk_id`, `checklist_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '企业风险管控责任岗位表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of checklist_hazard_risk_position
-- ----------------------------
INSERT INTO `checklist_hazard_risk_position` VALUES (406283, 406283, 188306849595393, 188308019806209, 406283);
INSERT INTO `checklist_hazard_risk_position` VALUES (406283, 406283, 188306849595393, 188307139002369, 406284);
INSERT INTO `checklist_hazard_risk_position` VALUES (406283, 406283, 188306849595393, 188308019806209, 406284);
INSERT INTO `checklist_hazard_risk_position` VALUES (406283, 406283, 188306849595393, 188308019806209, 406307);
INSERT INTO `checklist_hazard_risk_position` VALUES (406283, 406283, 188306910412801, 188307961085953, 406284);
INSERT INTO `checklist_hazard_risk_position` VALUES (406283, 406283, 188306950258689, 188308651048961, 406284);
INSERT INTO `checklist_hazard_risk_position` VALUES (406283, 406283, 188306950258689, 188309517172737, 406284);
INSERT INTO `checklist_hazard_risk_position` VALUES (406283, 406283, 188306983813121, 188309607350273, 406284);
INSERT INTO `checklist_hazard_risk_position` VALUES (406283, 406283, 188306983813121, 188309640904705, 406284);

-- ----------------------------
-- Table structure for company
-- ----------------------------
DROP TABLE IF EXISTS `company`;
CREATE TABLE `company`  (
  `oc_id` bigint(20) NOT NULL,
  `cmp_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '',
  `cmp_logo` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '',
  `cmp_intro` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
  `cmp_contact` varchar(512) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '',
  `cmp_website` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '',
  PRIMARY KEY (`oc_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '运营公司基本信息' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of company
-- ----------------------------
INSERT INTO `company` VALUES (1, '西安智慧创新信息科技有限公司', '  ', '   中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中\n  dddd\n   中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国\n\n   中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人民解放军中国人', '中国人民解放军中国人民解放军中国人民解放军中国人民解放军', 'www.58yunkang.com');

-- ----------------------------
-- Table structure for doc_cat
-- ----------------------------
DROP TABLE IF EXISTS `doc_cat`;
CREATE TABLE `doc_cat`  (
  `oc_id` bigint(11) NOT NULL,
  `doc_cat_id` bigint(11) NULL DEFAULT NULL,
  `doc_cat_title` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `doc_cat_desc` varchar(511) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `is_fixed` bigint(11) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  PRIMARY KEY (`oc_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '文件类别表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of doc_cat
-- ----------------------------

-- ----------------------------
-- Table structure for doc_dir
-- ----------------------------
DROP TABLE IF EXISTS `doc_dir`;
CREATE TABLE `doc_dir`  (
  `oc_id` bigint(11) NOT NULL,
  `dir_id` bigint(11) NOT NULL,
  `dir_title` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `dir_desc` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `parent_id` bigint(11) NULL DEFAULT NULL,
  `is_fixed` bigint(11) NULL DEFAULT NULL,
  `node_left` bigint(11) NULL DEFAULT NULL,
  `node_right` bigint(11) NULL DEFAULT NULL,
  `node_level` bigint(11) NULL DEFAULT NULL,
  `is_leaf` bigint(4) NULL DEFAULT NULL,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`dir_id`, `oc_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '文件目录表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of doc_dir
-- ----------------------------
INSERT INTO `doc_dir` VALUES (406283, 100, '作业规范指导书', '作业规范指导书', 406283, 0, 7, 8, 2, 1, NULL, 406283, '2021-10-28 15:09:46', 406283, 0, NULL, NULL);
INSERT INTO `doc_dir` VALUES (406283, 1000, '台帐清单s', NULL, 40283, 1, 9, 10, 2, 1, NULL, NULL, '2021-10-28 11:34:55', 406283, 0, NULL, NULL);
INSERT INTO `doc_dir` VALUES (406283, 406283, '文件中心', '文件中心', 0, NULL, 0, 9, 1, 0, NULL, 406283, '2021-10-28 11:31:56', 406283, 0, '2020-06-16 00:00:00', NULL);
INSERT INTO `doc_dir` VALUES (406283, 406371, 'a-1s', 'a1', 406370, 0, 1, 6, 2, 0, NULL, 406283, '2021-10-28 11:34:44', 406283, 0, '2020-06-16 00:00:00', NULL);
INSERT INTO `doc_dir` VALUES (406283, 406372, 'a-1-1sa', 'ad11', 406371, 0, 2, 5, 3, 0, NULL, 406283, '2021-10-28 15:09:55', 406283, 0, '2020-06-16 00:00:00', NULL);
INSERT INTO `doc_dir` VALUES (1, 406567, '文件中心', '文件中心', 0, NULL, 0, 3, 1, 0, NULL, 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_dir` VALUES (1, 406568, '制度', NULL, 406567, NULL, 1, 2, 2, 1, NULL, 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_dir` VALUES (406283, 186857086320641, 'ab', NULL, 406372, 0, 3, 4, 4, 1, NULL, 406283, '2021-10-28 15:10:02', 406283, 0, NULL, NULL);

-- ----------------------------
-- Table structure for doc_file
-- ----------------------------
DROP TABLE IF EXISTS `doc_file`;
CREATE TABLE `doc_file`  (
  `oc_id` bigint(20) NOT NULL COMMENT '组织id',
  `file_id` bigint(20) NOT NULL COMMENT '主键id',
  `file_title` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '文件名称',
  `dir_id` bigint(255) NULL DEFAULT NULL COMMENT '目录',
  `file_url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '文件位置',
  `file_ext` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '后缀，文件类型',
  `file_size` bigint(20) NULL DEFAULT NULL COMMENT '文件大小',
  `file_author` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '作者',
  `file_desc` varchar(1023) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '文件介绍',
  `uploaded_at` datetime(0) NULL DEFAULT NULL COMMENT '上传时间',
  `uploaded_by` bigint(11) NULL DEFAULT NULL COMMENT '上传人员',
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL COMMENT '创建者',
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) UNSIGNED NULL DEFAULT 0,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`file_id`, `oc_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '文件中心文件表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of doc_file
-- ----------------------------
INSERT INTO `doc_file` VALUES (406283, 406385, '水利行业安全生产智能管控预警平台Java源码V3.00.docx', 406372, 'http://127.0.0.1:8080/upload/20206192337383968979.docx', 'docx', 65965, NULL, '水利行业安全生产智能管控预警平台Java源码V3.00.docx', '2020-06-19 23:37:39', 406283, '2020-06-19 23:37:39', 406283, NULL, NULL, 1, '2020-06-20 00:00:00', NULL);
INSERT INTO `doc_file` VALUES (406283, 406386, '水利行业安全生产智能管控预警平台V3.00.docx', 406372, 'http://127.0.0.1:8080/upload/20206192339496848658.docx', 'docx', 2059444, NULL, '水利行业安全生产智能管控预警平台V3.00.docx', '2020-06-19 23:39:50', 406283, '2020-06-19 23:39:50', 406283, '2021-10-28 11:44:34', 406283, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406387, '水利行业安全生产智能管控预警平台V3.00.docx', 406370, 'http://127.0.0.1:8080/upload/20206192354195767729.docx', 'docx', 2059444, NULL, '水利行业安全生产智能管控预警平台V3.00.docx', '2020-06-19 23:54:20', 406283, '2020-06-19 23:54:20', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406406, '15367146917869444.jpg', 406283, 'http://127.0.0.1:8080/upload/2020624025309456463.jpg', 'jpg', 37209, NULL, '15367146917869444.jpg', '2020-06-24 00:25:31', 406283, '2020-06-24 00:25:31', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406407, 'head.png', 1000, 'http://127.0.0.1:8080/upload/2020624057242149754.png', 'png', 53185, NULL, 'head.png', '2020-06-24 00:57:24', 406283, '2020-06-24 00:57:24', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406408, 'head.png', 406283, 'http://127.0.0.1:8080/upload/2020624057328819652.png', 'png', 53185, NULL, 'head.png', '2020-06-24 00:57:33', 406283, '2020-06-24 00:57:33', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406423, 'bg_login2.png', NULL, 'http://127.0.0.1:8080/upload/202062794944293405.png', 'png', 21847, NULL, 'bg_login2.png', NULL, NULL, '2020-06-27 09:49:54', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406424, 'favicon.ico', NULL, 'http://127.0.0.1:8080/upload/202062794947981236.ico', 'ico', 4158, NULL, 'favicon.ico', NULL, NULL, '2020-06-27 09:49:54', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406425, 'homepic1.png', NULL, 'http://127.0.0.1:8080/upload/20206271614181837953.png', 'png', 2152, NULL, 'homepic1.png', NULL, NULL, '2020-06-27 16:14:20', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406432, '15367146917869444.jpg', NULL, 'http://127.0.0.1:8080/upload/2020627172563531425.jpg', 'jpg', 37209, NULL, '15367146917869444.jpg', NULL, NULL, '2020-06-27 17:03:08', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406433, 'bg_login2.png', NULL, 'http://127.0.0.1:8080/upload/202062717259835695.png', 'png', 21847, NULL, 'bg_login2.png', NULL, NULL, '2020-06-27 17:03:08', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406434, 'img_msg_pri.png', NULL, 'http://127.0.0.1:8080/upload/2020627203275143335.png', 'png', 1724, NULL, 'img_msg_pri.png', NULL, NULL, '2020-06-27 20:03:48', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406435, '15367146917869444.jpg', NULL, 'http://127.0.0.1:8080/upload/2020627204471193314.jpg', 'jpg', 37209, NULL, '15367146917869444.jpg', NULL, NULL, '2020-06-27 20:04:56', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406436, 'bg_login2.png', NULL, 'http://127.0.0.1:8080/upload/2020627204493269759.png', 'png', 21847, NULL, 'bg_login2.png', NULL, NULL, '2020-06-27 20:04:57', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406437, '15367146917869444.jpg', NULL, 'http://127.0.0.1:8080/upload/20206272028343089709.jpg', 'jpg', 37209, NULL, '15367146917869444.jpg', NULL, NULL, '2020-06-27 20:29:12', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406439, 'head.png', NULL, 'http://127.0.0.1:8080/upload/2020628821426136035.png', 'png', 53185, NULL, 'head.png', NULL, NULL, '2020-06-28 08:21:44', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406440, '15367146917869444.jpg', NULL, 'http://127.0.0.1:8080/upload/2020628829183442571.jpg', 'jpg', 37209, NULL, '15367146917869444.jpg', NULL, NULL, '2020-06-28 08:29:20', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406441, 'head.png', NULL, 'http://127.0.0.1:8080/upload/20206281122403375038.png', 'png', 53185, NULL, 'head.png', NULL, NULL, '2020-06-28 11:22:44', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406442, 'homepic1.png', NULL, 'http://127.0.0.1:8080/upload/20206281122424567826.png', 'png', 2152, NULL, 'homepic1.png', NULL, NULL, '2020-06-28 11:22:45', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406443, 'logo.png', 406372, NULL, 'png', 3665, NULL, 'logo.png', '2020-06-29 07:01:14', 406283, '2020-06-29 07:01:14', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406444, 'head.png', 406372, NULL, 'png', 53185, NULL, 'head.png', '2020-06-29 07:01:49', 406283, '2020-06-29 07:01:49', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406445, 'favicon.ico', 406283, NULL, 'ico', 4158, NULL, 'favicon.ico', '2020-06-29 07:06:21', 406283, '2020-06-29 07:06:21', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406446, 'img_msg_pri.png', 406283, 'http://134.175.84.106:8080/group1/M00/00/00/rBAACF75I2mAQ_TcAAAHv2f5d0o822.png', 'png', 1724, NULL, 'img_msg_pri.png', '2020-06-29 07:10:33', 406283, '2020-06-29 07:10:33', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406447, 'bg_login2.png', 406283, 'http://134.175.84.106:8080/group1/M00/00/00/rBAACF75I-uAKaUIAABVFP9vu8U203.png', 'png', 21847, NULL, 'bg_login2.png', '2020-06-29 07:12:43', 406283, '2020-06-29 07:12:43', 406283, NULL, NULL, 1, '2020-06-29 00:00:00', NULL);
INSERT INTO `doc_file` VALUES (406283, 406448, 'head.png', NULL, 'http://134.175.84.106:8080/group1/M00/00/00/rBAACF75OOmAThJmAABm3IAZw_4950.png', 'png', 53185, NULL, 'head.png', NULL, NULL, '2020-06-29 08:42:19', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406449, 'bg_login2.png', NULL, 'http://134.175.84.106:8080/group1/M00/00/00/rBAACF78m_yALujnAABVFP9vu8U792.png', 'png', 21847, NULL, 'bg_login2.png', NULL, NULL, '2020-07-01 22:22:12', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406451, 'homepic1.png', NULL, 'http://134.175.84.106:8080/group1/M00/00/00/rBAACF7-BqWAHNuRAAAEAEnbeeo896.png', 'png', 2152, NULL, 'homepic1.png', NULL, NULL, '2020-07-03 00:13:01', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406454, 'homepic1.png', NULL, 'http://134.175.84.106:8080/group1/M00/00/00/rBAACF7_XZWAFnW_AAAEAEnbeeo568.png', 'png', 2152, NULL, 'homepic1.png', NULL, NULL, '2020-07-04 00:32:45', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406456, 'homepic2.png', NULL, 'http://134.175.84.106:8080/group1/M00/00/00/rBAACF7_XZmAVfEaAAAHYESxQJE734.png', 'png', 3196, NULL, 'homepic2.png', NULL, NULL, '2020-07-04 00:32:46', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406458, 'head.png', NULL, 'http://134.175.84.106:8080/group1/M00/00/00/rBAACF7_Z4WAG67yAABm3IAZw_4112.png', 'png', 53185, NULL, 'head.png', NULL, NULL, '2020-07-04 01:14:51', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406460, 'homepic2.png', NULL, 'http://134.175.84.106:8080/group1/M00/00/00/rBAACF7_Z4iAfvmCAAAHYESxQJE720.png', 'png', 3196, NULL, 'homepic2.png', NULL, NULL, '2020-07-04 01:14:52', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406462, 'head.png', NULL, 'http://134.175.84.106:8080/group1/M00/00/00/rBAACF7_aImAbIy9AABm3IAZw_4810.png', 'png', 53185, NULL, 'head.png', NULL, NULL, '2020-07-04 01:19:08', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406464, 'homepic1.png', NULL, 'http://134.175.84.106:8080/group1/M00/00/00/rBAACF7_aOqAeaqTAAAEAEnbeeo022.png', 'png', 2152, NULL, 'homepic1.png', NULL, NULL, '2020-07-04 01:20:47', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406466, 'homepic1.png', NULL, 'http://134.175.84.106:8080/group1/M00/00/00/rBAACF7_3WWAIqkcAAAEAEnbeeo075.png', 'png', 2152, NULL, 'homepic1.png', NULL, NULL, '2020-07-04 09:37:44', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406468, 'homepic1.png', NULL, 'http://134.175.84.106:8080/group1/M00/00/00/rBAACF7_50qAbOlOAAAEAEnbeeo364.png', 'png', 2152, NULL, 'homepic1.png', NULL, NULL, '2020-07-04 10:20:00', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406469, 'homepic2.png', NULL, 'http://134.175.84.106:8080/group1/M00/00/00/rBAACF7_506AVx-SAAAHYESxQJE232.png', 'png', 3196, NULL, 'homepic2.png', NULL, NULL, '2020-07-04 10:20:00', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406470, 'homepic1.png', NULL, 'http://134.175.84.106:8080/group1/M00/00/00/rBAACF7_50qAbOlOAAAEAEnbeeo364.png', 'png', 2152, NULL, 'homepic1.png', NULL, NULL, '2020-07-04 10:45:30', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406471, 'homepic1.png', NULL, 'http://134.175.84.106:8080/group1/M00/00/00/rBAACF7_50qAbOlOAAAEAEnbeeo364.png', 'png', 2152, NULL, 'homepic1.png', NULL, NULL, '2020-07-04 10:45:44', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406472, 'homepic1.png', NULL, 'http://134.175.84.106:8080/group1/M00/00/00/rBAACF7_50qAbOlOAAAEAEnbeeo364.png', 'png', 2152, NULL, 'homepic1.png', NULL, NULL, '2020-07-04 10:47:04', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406474, 'img_msg_notice.png', NULL, 'http://134.175.84.106:8080/group1/M00/00/00/rBAACF8AIeCARPHhAAAGi3bepBU187.png', 'png', 1409, NULL, 'img_msg_notice.png', NULL, NULL, '2020-07-04 14:29:54', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406476, 'head.png', 100, 'http://134.175.84.106:8080/group1/M00/00/00/rBAACF8HHw-AEY7wAABm3IAZw_4223.png', 'png', 53185, NULL, 'head.png', NULL, NULL, '2020-07-09 21:43:42', 406283, NULL, NULL, 1, '2021-10-29 09:59:18', NULL);
INSERT INTO `doc_file` VALUES (406283, 406477, 'logo.png', 100, 'http://134.175.84.106:8080/group1/M00/00/00/rBAACF8HIhaAAPL4AAAIVdrsTsk813.png', 'png', 3665, NULL, 'logo.png', NULL, NULL, '2020-07-09 21:56:37', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406479, 'logo.png', 100, 'http://134.175.84.106:8080/group1/M00/00/00/rBAACF8HImqAK5fsAAAIVdrsTsk591.png', 'png', 3665, NULL, 'logo.png', NULL, NULL, '2020-07-09 21:58:01', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406958, '2.jpg', NULL, 'http://134.175.84.106:8080/group1/M00/00/01/rBAACGAGIi-AIy73AAAs9eSp8Sk151.jpg', 'jpg', 26797, NULL, '2.jpg', NULL, NULL, '2021-01-19 08:05:18', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406959, '2.jpg', NULL, 'http://134.175.84.106:8080/group1/M00/00/01/rBAACGAGIjGAWXauAAAs9eSp8Sk976.jpg', 'jpg', 26797, NULL, '2.jpg', NULL, NULL, '2021-01-19 08:05:19', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406964, '2.jpg', NULL, 'http://134.175.84.106:8080/group1/M00/00/01/rBAACGAGI8WAUB9TAAAs9eSp8Sk186.jpg', 'jpg', 26797, NULL, '2.jpg', NULL, NULL, '2021-01-19 08:12:03', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406965, '1.jpg', NULL, 'http://134.175.84.106:8080/group1/M00/00/01/rBAACGAGI8eAGM5OAABSoJ1Lhd0402.jpg', 'jpg', 29407, NULL, '1.jpg', NULL, NULL, '2021-01-19 08:12:04', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406967, '1.jpg', NULL, 'http://134.175.84.106:8080/group1/M00/00/01/rBAACGAHb46Aa9NaAABSoJ1Lhd0903.jpg', 'jpg', 29407, NULL, '1.jpg', NULL, NULL, '2021-01-20 07:47:30', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406969, '3.jpg', NULL, 'http://134.175.84.106:8080/group1/M00/00/01/rBAACGAHh66AHKJvAABP_CfGfg8448.jpg', 'jpg', 26141, NULL, '3.jpg', NULL, NULL, '2021-01-20 09:30:25', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406970, '风险点-任务.png', NULL, 'http://134.175.84.106:8080/group1/M00/00/01/rBAACGAHiOiAIAnqAAQNymJ_-Ng672.png', 'png', 376425, NULL, '风险点-任务.png', NULL, NULL, '2021-01-20 09:35:40', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406973, '现场巡检-二维码.png', NULL, 'http://134.175.84.106:8080/group1/M00/00/01/rBAACGAHoXiALMFcAA3P0xJWrh0432.png', 'png', 842159, NULL, '现场巡检-二维码.png', NULL, NULL, '2021-01-20 11:28:24', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406975, 'logo.png', NULL, 'http://134.175.84.106:8080/group1/M00/00/01/rBAACGAHpjWAcYRsAABGb00jYos732.png', 'png', 21300, NULL, 'logo.png', NULL, NULL, '2021-01-20 11:40:49', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406977, '现场巡检-二维码.png', NULL, 'http://134.175.84.106:8080/group1/M00/00/01/rBAACGAHpmiAZ_RXAA3P0xJWrh0989.png', 'png', 842159, NULL, '现场巡检-二维码.png', NULL, NULL, '2021-01-20 11:41:33', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406978, '风险点-任务-检查.png', NULL, 'http://134.175.84.106:8080/group1/M00/00/01/rBAACGAHpy-ANlKlAAXVYYBCz78558.png', 'png', 493103, NULL, '风险点-任务-检查.png', NULL, NULL, '2021-01-20 11:44:50', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406981, '立即巡检-检查表选择 (1).png', NULL, 'http://134.175.84.106:8080/group1/M00/00/01/rBAACGAHvFSAQ7sRAAl0HwSmZYA084.png', 'png', 710718, NULL, '立即巡检-检查表选择 (1).png', NULL, NULL, '2021-01-20 13:15:11', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406983, '风险点-任务-检查-检查详情-通过.png', NULL, 'http://134.175.84.106:8080/group1/M00/00/01/rBAACGAH6mOAMTYoAAGmrjUk6XQ047.png', 'png', 150946, NULL, '风险点-任务-检查-检查详情-通过.png', NULL, NULL, '2021-01-20 16:31:34', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406985, 'MapMarker_Marker_Inside_Azure_32px_1061250_easyicon.net.png', NULL, 'http://134.175.84.106:8080/group1/M00/00/01/rBAACGAH6sWAO-dCAAAGqGWm1hk576.png', 'png', 2462, NULL, 'MapMarker_Marker_Inside_Azure_32px_1061250_easyicon.net.png', NULL, NULL, '2021-01-20 16:33:18', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406993, '立即巡检-检查表选择.png', NULL, 'http://134.175.84.106:8080/group1/M00/00/01/rBAACGAJjH6ALMGfAAl0HwSmZYA743.png', 'png', 710718, NULL, '立即巡检-检查表选择.png', NULL, NULL, '2021-01-21 22:15:44', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406996, 'palm_tree_38.923339011925px_1286453_easyicon.net.png', NULL, 'http://134.175.84.106:8080/group1/M00/00/01/rBAACGAJjiSABu3DAAAHSuFhTB4030.png', 'png', 2686, NULL, 'palm_tree_38.923339011925px_1286453_easyicon.net.png', NULL, NULL, '2021-01-21 22:23:02', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 406999, 'palm_tree_38.923339011925px_1286453_easyicon.net.png', NULL, 'http://134.175.84.106:8080/group1/M00/00/01/rBAACGAJkceAMMUAAAAHSuFhTB4581.png', 'png', 2686, NULL, 'palm_tree_38.923339011925px_1286453_easyicon.net.png', NULL, NULL, '2021-01-21 22:38:12', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 407000, 'MapMarker_Bubble_Pink_32px_1061228_easyicon.net.png', NULL, 'http://134.175.84.106:8080/group1/M00/00/01/rBAACGAJkc-AOEpfAAAHIPn8NDE316.png', 'png', 2603, NULL, 'MapMarker_Bubble_Pink_32px_1061228_easyicon.net.png', NULL, NULL, '2021-01-21 22:38:12', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 407001, 'logo.png', NULL, 'http://134.175.84.106:8080/group1/M00/00/01/rBAACGAJlCaAJhpoAABGb00jYos315.png', 'png', 21300, NULL, 'logo.png', NULL, NULL, '2021-01-21 22:48:14', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 407006, '立即巡检-检查表选择-风险点详情-现场人员.png', NULL, 'http://134.175.84.106:8080/group1/M00/00/01/rBAACGAKDteAAdoHAAqIAshcJak474.png', 'png', 657393, NULL, '立即巡检-检查表选择-风险点详情-现场人员.png', NULL, NULL, '2021-01-22 07:31:44', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 407007, 'MapMarker_Marker_Inside_Azure_32px_1061250_easyicon.net.png', NULL, 'http://134.175.84.106:8080/group1/M00/00/01/rBAACGAKD-yAbzHdAAAGqGWm1hk234.png', 'png', 2462, NULL, 'MapMarker_Marker_Inside_Azure_32px_1061250_easyicon.net.png', NULL, NULL, '2021-01-22 07:36:19', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 407009, 'MapMarker_Marker_Inside_Azure_32px_1061250_easyicon.net.png', NULL, 'http://134.175.84.106:8080/group1/M00/00/01/rBAACGAKD-yAbzHdAAAGqGWm1hk234.png', 'png', 2462, NULL, 'MapMarker_Marker_Inside_Azure_32px_1061250_easyicon.net.png', NULL, NULL, '2021-01-22 07:36:18', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 407035, '风险点-任务-检查-检查详情-通过.png', NULL, 'http://134.175.84.106:8080/group1/M00/00/01/rBAACGALljCAM0pWAAGmrjUk6XQ284.png', 'png', 150946, NULL, '风险点-任务-检查-检查详情-通过.png', NULL, NULL, '2021-01-23 11:33:45', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 407037, '风险点-任务-检查-检查详情-通过.png', NULL, 'http://134.175.84.106:8080/group1/M00/00/01/rBAACGALljCAM0pWAAGmrjUk6XQ284.png', 'png', 150946, NULL, '风险点-任务-检查-检查详情-通过.png', NULL, NULL, '2021-01-23 11:33:45', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 407044, '2.jpg', NULL, 'http://134.175.84.106:8080/group1/M00/00/01/rBAACGAM5GuAN1vcAAAs9eSp8Sk446.jpg', 'jpg', 26797, NULL, '2.jpg', NULL, NULL, '2021-01-24 11:07:29', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 407046, '2.jpg', NULL, 'http://134.175.84.106:8080/group1/M00/00/01/rBAACGAM5GuAN1vcAAAs9eSp8Sk446.jpg', 'jpg', 26797, NULL, '2.jpg', NULL, NULL, '2021-01-24 11:07:29', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 407049, '3.jpg', NULL, 'http://134.175.84.106:8080/group1/M00/00/01/rBAACGANFoaAHUJFAABP_CfGfg8736.jpg', 'jpg', 26141, NULL, '3.jpg', NULL, NULL, '2021-01-24 14:41:57', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 407050, '3.jpg', NULL, 'http://134.175.84.106:8080/group1/M00/00/01/rBAACGANGVmAfvTFAABP_CfGfg8712.jpg', 'jpg', 26141, NULL, '3.jpg', NULL, NULL, '2021-01-24 14:55:40', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 407062, '1.jpg', NULL, 'http://134.175.84.106:8080/group1/M00/00/01/rBAACGAOJp2AeZnsAABSoJ1Lhd0580.jpg', 'jpg', 29407, NULL, '1.jpg', NULL, NULL, '2021-01-25 10:02:13', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 407064, '1.jpg', NULL, 'http://134.175.84.106:8080/group1/M00/00/01/rBAACGAOJp2AeZnsAABSoJ1Lhd0580.jpg', 'jpg', 29407, NULL, '1.jpg', NULL, NULL, '2021-01-25 10:02:12', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 407070, '3.jpg', NULL, 'http://134.175.84.106:8080/group1/M00/00/01/rBAACGAP5m6AWvC8AABP_CfGfg8692.jpg', 'jpg', 26141, NULL, '3.jpg', NULL, NULL, '2021-01-26 17:52:51', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 407073, '3.jpg', NULL, 'http://134.175.84.106:8080/group1/M00/00/01/rBAACGAP6EWABOhXAABP_CfGfg8482.jpg', 'jpg', 26141, NULL, '3.jpg', NULL, NULL, '2021-01-26 18:00:52', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 407074, '2.jpg', NULL, 'http://134.175.84.106:8080/group1/M00/00/01/rBAACGAP6E6ANwYTAAAs9eSp8Sk037.jpg', 'jpg', 26797, NULL, '2.jpg', NULL, NULL, '2021-01-26 18:00:52', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 407077, '1.jpg', NULL, 'http://134.175.84.106:8080/group1/M00/00/01/rBAACGAP6mmAWpj2AABSoJ1Lhd0990.jpg', 'jpg', 29407, NULL, '1.jpg', NULL, NULL, '2021-01-26 18:10:17', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 407080, '2.jpg', NULL, 'http://134.175.84.106:8080/group1/M00/00/01/rBAACGAP63iAMsVXAAAs9eSp8Sk393.jpg', 'jpg', 26797, NULL, '2.jpg', NULL, NULL, '2021-01-26 18:14:18', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 407149, '3.jpg', NULL, 'http://134.175.84.106:8080/group1/M00/00/01/rBAACGAisxqALAZ_AABP_CfGfg8658.jpg', 'jpg', 26141, NULL, '3.jpg', NULL, NULL, '2021-02-10 00:06:51', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 407266, 'yellow.png', NULL, NULL, 'png', 3116, NULL, 'yellow.png', NULL, NULL, '2021-08-27 09:52:55', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 407301, '屏幕截图(8).png', NULL, 'http://134.175.84.106:8888/group1/M00/00/00/rBAACGGPNr6AR1AlAAKzwH1AHlA399.png', 'png', 243096, NULL, '屏幕截图(8).png', NULL, NULL, '2021-11-25 17:12:45', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 407455, '屏幕截图(2).png', NULL, 'http://134.175.84.106:8888/group1/M00/00/00/rBAACGGnVtCAMrknAAQ-BGaFjdY559.png', 'png', 330472, NULL, '屏幕截图(2).png', NULL, NULL, '2021-12-01 19:08:51', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 407456, '屏幕截图(3).png', NULL, 'http://134.175.84.106:8888/group1/M00/00/00/rBAACGGnV7SAS0JKAAlmNrRscd0446.png', 'png', 753293, NULL, '屏幕截图(3).png', NULL, NULL, '2021-12-01 19:08:51', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 407457, '屏幕截图(8).png', NULL, 'http://134.175.84.106:8888/group1/M00/00/00/rBAACGGPNr6AR1AlAAKzwH1AHlA399.png', 'png', 243096, NULL, '屏幕截图(8).png', NULL, NULL, '2021-12-01 19:09:20', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 407458, '屏幕截图(2).png', NULL, 'http://134.175.84.106:8888/group1/M00/00/00/rBAACGGnVtCAMrknAAQ-BGaFjdY559.png', 'png', 330472, NULL, '屏幕截图(2).png', NULL, NULL, '2021-12-01 19:09:21', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 407459, '屏幕截图(3).png', NULL, 'http://134.175.84.106:8888/group1/M00/00/00/rBAACGGnV7SAS0JKAAlmNrRscd0446.png', 'png', 753293, NULL, '屏幕截图(3).png', NULL, NULL, '2021-12-01 19:09:21', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 407460, '屏幕截图(8).png', NULL, 'http://134.175.84.106:8888/group1/M00/00/00/rBAACGGPNr6AR1AlAAKzwH1AHlA399.png', 'png', 243096, NULL, '屏幕截图(8).png', NULL, NULL, '2021-12-01 19:09:21', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 407461, '屏幕截图(4).png', NULL, 'http://134.175.84.106:8888/group1/M00/00/00/rBAACGGPQfiAc5c3AAKIWraQ_eE673.png', 'png', 202370, NULL, '屏幕截图(4).png', NULL, NULL, '2021-12-01 19:12:35', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 407621, '屏幕截图(4).png', NULL, 'http://134.175.84.106:8888/group1/M00/00/00/rBAACGGvMv6ASNiyAAKIWraQ_eE785.png', 'png', 202370, NULL, '屏幕截图(4).png', NULL, NULL, '2021-12-07 18:10:21', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 407622, '屏幕截图(7).png', NULL, 'http://134.175.84.106:8888/group1/M00/00/00/rBAACGGvMweAJRQGAAJ8ZAHJ0Gc789.png', 'png', 213859, NULL, '屏幕截图(7).png', NULL, NULL, '2021-12-07 18:10:22', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 407623, '屏幕截图(4).png', NULL, 'http://134.175.84.106:8888/group1/M00/00/00/rBAACGGvMv6ASNiyAAKIWraQ_eE785.png', 'png', 202370, NULL, '屏幕截图(4).png', NULL, NULL, '2021-12-07 18:10:26', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 407624, '屏幕截图(7).png', NULL, 'http://134.175.84.106:8888/group1/M00/00/00/rBAACGGvMweAJRQGAAJ8ZAHJ0Gc789.png', 'png', 213859, NULL, '屏幕截图(7).png', NULL, NULL, '2021-12-07 18:10:26', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 407625, '屏幕截图(4).png', NULL, 'http://134.175.84.106:8888/group1/M00/00/00/rBAACGGvMv6ASNiyAAKIWraQ_eE785.png', 'png', 202370, NULL, '屏幕截图(4).png', NULL, NULL, '2021-12-07 18:10:29', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 407626, '屏幕截图(7).png', NULL, 'http://134.175.84.106:8888/group1/M00/00/00/rBAACGGvMweAJRQGAAJ8ZAHJ0Gc789.png', 'png', 213859, NULL, '屏幕截图(7).png', NULL, NULL, '2021-12-07 18:10:29', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 407627, '屏幕截图(4).png', NULL, 'http://134.175.84.106:8888/group1/M00/00/00/rBAACGGvMv6ASNiyAAKIWraQ_eE785.png', 'png', 202370, NULL, '屏幕截图(4).png', NULL, NULL, '2021-12-07 18:10:30', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 407628, '屏幕截图(7).png', NULL, 'http://134.175.84.106:8888/group1/M00/00/00/rBAACGGvMweAJRQGAAJ8ZAHJ0Gc789.png', 'png', 213859, NULL, '屏幕截图(7).png', NULL, NULL, '2021-12-07 18:10:30', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 407629, '屏幕截图(8).png', NULL, 'http://134.175.84.106:8888/group1/M00/00/00/rBAACGGPNr6AR1AlAAKzwH1AHlA399.png', 'png', 243096, NULL, '屏幕截图(8).png', NULL, NULL, '2021-12-07 18:11:23', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 407630, '屏幕截图(2).png', NULL, 'http://134.175.84.106:8888/group1/M00/00/00/rBAACGGnVtCAMrknAAQ-BGaFjdY559.png', 'png', 330472, NULL, '屏幕截图(2).png', NULL, NULL, '2021-12-07 18:11:23', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 407631, '屏幕截图(3).png', NULL, 'http://134.175.84.106:8888/group1/M00/00/00/rBAACGGnV7SAS0JKAAlmNrRscd0446.png', 'png', 753293, NULL, '屏幕截图(3).png', NULL, NULL, '2021-12-07 18:11:24', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 407632, '屏幕截图(8).png', NULL, 'http://134.175.84.106:8888/group1/M00/00/00/rBAACGGPNr6AR1AlAAKzwH1AHlA399.png', 'png', 243096, NULL, '屏幕截图(8).png', NULL, NULL, '2021-12-07 18:11:24', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 407633, '屏幕截图(2).png', NULL, 'http://134.175.84.106:8888/group1/M00/00/00/rBAACGGnVtCAMrknAAQ-BGaFjdY559.png', 'png', 330472, NULL, '屏幕截图(2).png', NULL, NULL, '2021-12-07 18:11:24', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 407634, '屏幕截图(3).png', NULL, 'http://134.175.84.106:8888/group1/M00/00/00/rBAACGGnV7SAS0JKAAlmNrRscd0446.png', 'png', 753293, NULL, '屏幕截图(3).png', NULL, NULL, '2021-12-07 18:11:24', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 407635, '屏幕截图(8).png', NULL, 'http://134.175.84.106:8888/group1/M00/00/00/rBAACGGPNr6AR1AlAAKzwH1AHlA399.png', 'png', 243096, NULL, '屏幕截图(8).png', NULL, NULL, '2021-12-07 18:11:24', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 407636, '屏幕截图(8).png', NULL, 'http://134.175.84.106:8888/group1/M00/00/00/rBAACGGPNr6AR1AlAAKzwH1AHlA399.png', 'png', 243096, NULL, '屏幕截图(8).png', NULL, NULL, '2021-12-07 18:11:25', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 407691, '屏幕截图(1).png', NULL, 'http://134.175.84.106:8888/group1/M00/00/00/rBAACGGLwpGADHR6AAl9MhkT-zw092.png', 'png', 781660, NULL, '屏幕截图(1).png', NULL, NULL, '2021-12-09 14:28:16', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 407695, '屏幕截图(1).png', NULL, 'http://134.175.84.106:8888/group1/M00/00/00/rBAACGGLwpGADHR6AAl9MhkT-zw092.png', 'png', 781660, NULL, '屏幕截图(1).png', NULL, NULL, '2021-12-09 16:10:38', 406287, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 407700, '屏幕截图(1).png', NULL, 'http://134.175.84.106:8888/group1/M00/00/00/rBAACGGLwpGADHR6AAl9MhkT-zw092.png', 'png', 781660, NULL, '屏幕截图(1).png', NULL, NULL, '2021-12-09 17:34:33', 406287, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 186884812767233, 'homepic1.png', NULL, 'http://134.175.84.106:8080/group1/M00/00/00/rBAACF7-BqWAHNuRAAAEAEnbeeo896.png', 'png', 2152, NULL, 'homepic1.png', NULL, NULL, '2021-10-28 17:47:04', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 189096536375297, '1.jpg', NULL, 'http://134.175.84.106:8888/group1/M00/00/00/rBAACGGKiU6AQzppAABSoLSSRQY918.jpg', NULL, NULL, NULL, '1.jpg', NULL, NULL, '2021-11-09 22:45:14', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 189096658010114, '1.jpg', NULL, 'http://134.175.84.106:8888/group1/M00/00/00/rBAACGGKiU6AQzppAABSoLSSRQY918.jpg', NULL, NULL, NULL, '1.jpg', NULL, NULL, '2021-11-09 22:45:14', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 189096660107265, '3.jpg', NULL, 'http://134.175.84.106:8888/group1/M00/00/00/rBAACGGKiVCAZ6h8AABP_JOiks8779.jpg', NULL, NULL, NULL, '3.jpg', NULL, NULL, '2021-11-09 22:45:14', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 189096660107266, '3.jpg', NULL, 'http://134.175.84.106:8888/group1/M00/00/00/rBAACGGKiVCAZ6h8AABP_JOiks8779.jpg', NULL, NULL, NULL, '3.jpg', NULL, NULL, '2021-11-09 22:45:15', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 189264704897025, '屏幕截图(1).png', NULL, 'http://134.175.84.106:8888/group1/M00/00/00/rBAACGGLwpGADHR6AAl9MhkT-zw092.png', 'png', 781660, NULL, '屏幕截图(1).png', NULL, NULL, '2021-11-10 21:01:14', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 189371812741122, '1.jpg', NULL, 'http://134.175.84.106:8888/group1/M00/00/00/rBAACGGKiU6AQzppAABSoLSSRQY918.jpg', NULL, 0, NULL, '1.jpg', NULL, NULL, '2021-11-11 11:11:58', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 189729595260929, 'homepic1.png', NULL, 'http://134.175.84.106:8080/group1/M00/00/00/rBAACF7-BqWAHNuRAAAEAEnbeeo896.png', 'png', 2152, NULL, 'homepic1.png', NULL, NULL, '2021-11-13 10:35:22', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 189729597358081, 'homepic1.png', NULL, 'http://134.175.84.106:8080/group1/M00/00/00/rBAACF7-BqWAHNuRAAAEAEnbeeo896.png', 'png', 2152, NULL, 'homepic1.png', NULL, NULL, '2021-11-13 10:35:22', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 189729815461889, 'homepic1.png', NULL, 'http://134.175.84.106:8080/group1/M00/00/00/rBAACF7-BqWAHNuRAAAEAEnbeeo896.png', 'png', 2152, NULL, 'homepic1.png', NULL, NULL, '2021-11-13 10:37:07', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 189729838530561, 'homepic1.png', NULL, 'http://134.175.84.106:8080/group1/M00/00/00/rBAACF7-BqWAHNuRAAAEAEnbeeo896.png', 'png', 2152, NULL, 'homepic1.png', NULL, NULL, '2021-11-13 10:37:18', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 189729865793537, 'homepic1.png', NULL, 'http://134.175.84.106:8080/group1/M00/00/00/rBAACF7-BqWAHNuRAAAEAEnbeeo896.png', 'png', 2152, NULL, 'homepic1.png', NULL, NULL, '2021-11-13 10:37:31', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 189730109063169, 'homepic1.png', NULL, 'http://134.175.84.106:8080/group1/M00/00/00/rBAACF7-BqWAHNuRAAAEAEnbeeo896.png', 'png', 2152, NULL, 'homepic1.png', NULL, NULL, '2021-11-13 10:39:26', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 189730109063170, 'homepic1.png', NULL, 'http://134.175.84.106:8080/group1/M00/00/00/rBAACF7-BqWAHNuRAAAEAEnbeeo896.png', 'png', 2152, NULL, 'homepic1.png', NULL, NULL, '2021-11-13 10:39:26', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 189736582971393, '屏幕截图(2).png', NULL, 'http://134.175.84.106:8888/group1/M00/00/00/rBAACGGPMWuAQn7GAAQ-BGaFjdY408.png', 'png', 330472, NULL, '屏幕截图(2).png', NULL, NULL, '2021-11-13 11:30:54', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 189736650080257, '屏幕截图(2).png', NULL, 'http://134.175.84.106:8888/group1/M00/00/00/rBAACGGPMWuAQn7GAAQ-BGaFjdY408.png', 'png', 330472, NULL, '屏幕截图(2).png', NULL, NULL, '2021-11-13 11:31:26', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 189736650080258, '屏幕截图(8).png', NULL, 'http://134.175.84.106:8888/group1/M00/00/00/rBAACGGPMYyAUa12AAKzwH1AHlA792.png', 'png', 243096, NULL, '屏幕截图(8).png', NULL, NULL, '2021-11-13 11:31:26', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 189739439292417, '屏幕截图(8).png', NULL, 'http://134.175.84.106:8888/group1/M00/00/00/rBAACGGPNr6AR1AlAAKzwH1AHlA399.png', 'png', 243096, NULL, '屏幕截图(8).png', NULL, NULL, '2021-11-13 11:53:35', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `doc_file` VALUES (406283, 189745466507265, '屏幕截图(4).png', NULL, 'http://134.175.84.106:8888/group1/M00/00/00/rBAACGGPQfiAc5c3AAKIWraQ_eE673.png', 'png', 202370, NULL, '屏幕截图(4).png', NULL, NULL, '2021-11-13 12:41:29', 406283, NULL, NULL, 0, NULL, NULL);

-- ----------------------------
-- Table structure for ent
-- ----------------------------
DROP TABLE IF EXISTS `ent`;
CREATE TABLE `ent`  (
  `oc_id` bigint(20) NOT NULL COMMENT 'ID',
  `ent_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '企业名称',
  `ent_cat_id` bigint(11) NULL DEFAULT NULL COMMENT '类型ID',
  `ent_zch` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '注册号',
  `ent_tyshxydm` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '统一社会信用代码',
  `ent_clrq` datetime(0) NULL DEFAULT NULL COMMENT '成立日期',
  `ent_fddbr` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '法定代表人',
  `ent_lxdh` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '联系电话',
  `ent_dzyx` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '电子邮箱',
  `ent_zcdz` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '注册地址',
  `ent_yzbm` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '邮政编码',
  `ent_xzqhdm` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '行政区划代码',
  `ent_xzqhmc` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '行政区划名称',
  `ent_hylbdm` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '行业类别代码',
  `ent_hylbmc` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '行业类别名称',
  `ent_jjlxdm` int(255) NULL DEFAULT 15 COMMENT '经济类型代码',
  `ent_jjlxmc` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '经济类型名称',
  `ent_jyfw` varchar(1024) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '经营范围',
  `ent_qywzjd` decimal(9, 6) NULL DEFAULT NULL COMMENT '企业位置经度',
  `ent_qywzwd` decimal(9, 6) NULL DEFAULT NULL COMMENT '企业位置纬度',
  `ent_scjydz` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '生产/经营地址',
  `ent_gmqk` int(4) NULL DEFAULT NULL COMMENT '规模情况',
  `ent_qygm` int(4) NULL DEFAULT NULL COMMENT '企业规模',
  `ent_qyzt` int(4) NULL DEFAULT NULL COMMENT '企业状态，默认值 1，[1.正常运营，2.关闭运营]',
  `ent_zyfzr` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '主要负责人',
  `ent_zyfzrgddhhm` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '主要负责人固定电话号码',
  `ent_zyfzryddhhm` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '主要负责人移动电话号码',
  `ent_zyfzrdzyx` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '主要负责人电子邮箱',
  `ent_aqfzr` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '安全负责人',
  `ent_aqfzrgddhhm` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '安全负责人固定电话号码',
  `ent_aqfzryddhhm` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '安全负责人移动电话号码',
  `ent_aqfzrdzyx` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '安全负责人电子邮箱',
  `ent_aqjgszqk` tinyint(2) NULL DEFAULT NULL COMMENT '安全机构设置情况',
  `ent_cyrysl` int(4) NULL DEFAULT NULL COMMENT '从业人员数量',
  `ent_tzzyrysl` int(4) NULL DEFAULT NULL COMMENT '特种作业人员数量',
  `ent_zzaqscglrys` int(4) NULL DEFAULT NULL COMMENT '专职安全生产管理人员数',
  `ent_zzyjglrys` int(4) NULL DEFAULT NULL COMMENT '专职应急管理人员数',
  `ent_zcaqgcsrys` int(255) NULL DEFAULT NULL COMMENT '注册安全工程师人员数',
  `ent_aqjgjcjg` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '安全监管监察机构',
  `updated_by` bigint(20) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT NULL,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`oc_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '企业基本信息表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of ent
-- ----------------------------
INSERT INTO `ent` VALUES (406282, '中国公司01', 185958987268097, '', '625859554', '2020-02-29 00:00:00', '侯亚锋', '85958565254', 'a@163.com', '陕西省西安市新城区码头之尚砂锅串串(周至店)', '710065', '110000,110101', '', NULL, NULL, 15, NULL, 'k l ', 108.954437, 34.269469, '陕西省西安市新城区码头之尚砂锅串串(周至店)', 1, 1, 1, '侯亚锋', '18591965516', '18591965516', 'houyaf@163.com', 'hou ya', '17300865681', '18710736507', 'houyaf@163.com', 1, 1, 1, 1, 1, 1, NULL, 1, 0, NULL, '2021-12-10 10:02:42', 0, NULL, 0);
INSERT INTO `ent` VALUES (406283, '中国公司02', 185946523893761, '', '610232525285', '2020-02-18 00:00:00', '侯亚锋', '18591965516', 'houyaf@163.com', '陕西省西安市新城区码头之尚砂锅串串(周至店)', '710054', '110000,110101', '610000,610100,610102', NULL, NULL, 15, NULL, 'xcffbfgfgfgfg', 108.954437, 34.269469, '陕西省西安市新城区码头之尚砂锅串串(周至店)', 2, 2, 1, '侯亚锋', '18591965516', '18591965516', 'houyaf@163.com', 'olhM264naA4394LyWH7PBlsf_JJw', '18710736507', NULL, 'houyaf@qq.com', 0, 1, 1, 1, 1, 1, NULL, 1, 0, NULL, '2021-12-10 10:02:49', 0, NULL, 0);

-- ----------------------------
-- Table structure for ent_cat
-- ----------------------------
DROP TABLE IF EXISTS `ent_cat`;
CREATE TABLE `ent_cat`  (
  `ent_cat_id` bigint(11) NOT NULL,
  `ent_cat_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `ent_cat_desc` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`ent_cat_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '企业单位类别' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of ent_cat
-- ----------------------------
INSERT INTO `ent_cat` VALUES (185946523893761, 'abcd', 'abcd', '2021-10-23 13:30:12', 1, '2021-12-13 11:59:51', 1, 0, NULL, NULL);
INSERT INTO `ent_cat` VALUES (185958985170945, '4', '4', '2021-10-23 15:09:14', 1, '2021-12-13 11:14:00', 1, 0, NULL, NULL);
INSERT INTO `ent_cat` VALUES (185958987268097, '4', '4', '2021-10-23 15:09:16', 1, '2021-10-24 18:35:04', 1, 0, NULL, NULL);

-- ----------------------------
-- Table structure for ent_ctrl_level
-- ----------------------------
DROP TABLE IF EXISTS `ent_ctrl_level`;
CREATE TABLE `ent_ctrl_level`  (
  `oc_id` bigint(20) NOT NULL COMMENT '组织ID',
  `ctrl_level_id` bigint(20) NOT NULL COMMENT '管控层级ID',
  `ctrl_level_title` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '管控层级标题 ',
  `ctrl_level_value` bigint(11) NULL DEFAULT NULL COMMENT '管控层级取值',
  `ctrl_level_desc` varchar(511) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '描述',
  `is_enabled` bigint(4) NULL DEFAULT 1 COMMENT '使能状态',
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`ctrl_level_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '企业管控层级定义表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of ent_ctrl_level
-- ----------------------------
INSERT INTO `ent_ctrl_level` VALUES (406283, 1, '厂级', 3, '未来战士', 1, NULL, NULL, '2020-12-25 01:39:50', 406283, 0, NULL, NULL);
INSERT INTO `ent_ctrl_level` VALUES (406283, 2, '车间级', 2, '车间级', 1, NULL, NULL, '2021-07-22 00:17:13', 406283, 0, NULL, NULL);
INSERT INTO `ent_ctrl_level` VALUES (406283, 3, '班组级', 1, '班组级', 1, NULL, NULL, '2020-12-25 00:39:26', 406283, 0, NULL, NULL);
INSERT INTO `ent_ctrl_level` VALUES (406283, 4, '岗位级', 0, '岗位级', 1, NULL, NULL, '2020-12-25 01:39:53', 406283, 0, NULL, NULL);

-- ----------------------------
-- Table structure for ent_danger
-- ----------------------------
DROP TABLE IF EXISTS `ent_danger`;
CREATE TABLE `ent_danger`  (
  `oc_id` bigint(11) NOT NULL COMMENT '单位ID',
  `danger_id` bigint(11) NOT NULL COMMENT '隐患ID',
  `danger_source` bigint(11) NULL DEFAULT 0 COMMENT '隐患来源',
  `group_id` bigint(11) NULL DEFAULT NULL COMMENT '隐患所在部门',
  `danger_code` varchar(127) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '隐患编码',
  `risk_point_id` bigint(11) NULL DEFAULT NULL COMMENT '风险点ID',
  `hazard_id` bigint(11) NULL DEFAULT NULL COMMENT '危险源ID',
  `hazard_title` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '危险源名称',
  `risk_id` bigint(11) NULL DEFAULT NULL COMMENT '风险ID',
  `risk_title` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '部位/厂所/环节',
  `measure_id` bigint(11) NULL DEFAULT NULL COMMENT '措施ID',
  `measure_content` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '措施内容',
  `danger_title` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '隐患标题 ',
  `danger_cat_id` bigint(11) NULL DEFAULT NULL COMMENT '类别ID',
  `danger_level` bigint(4) NULL DEFAULT NULL COMMENT '级别',
  `danger_desc` varchar(512) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '描述',
  `submit_group_id` bigint(11) NULL DEFAULT NULL COMMENT '提交人部门',
  `submit_group_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `submit_position_id` bigint(11) NULL DEFAULT NULL COMMENT '提交人岗位',
  `submit_position_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `submit_account_id` bigint(11) NULL DEFAULT NULL COMMENT '提交人帐号',
  `submit_account_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `submit_time` datetime(0) NULL DEFAULT NULL COMMENT '发生时间',
  `review_group_id` bigint(11) NULL DEFAULT NULL COMMENT '评审部门',
  `review_group_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `review_position_id` bigint(11) NULL DEFAULT NULL COMMENT '评审岗位',
  `review_position_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `review_account_id` bigint(11) NULL DEFAULT NULL COMMENT '评审人员',
  `review_account_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `danger_deadline` datetime(0) NULL DEFAULT NULL COMMENT '整改期限',
  `review_time` datetime(0) NULL DEFAULT NULL COMMENT '评审时间',
  `rectify_group_id` bigint(11) NULL DEFAULT NULL COMMENT '整改部门',
  `rectify_group_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `rectify_position_id` bigint(11) NULL DEFAULT NULL COMMENT '整改岗位',
  `rectify_position_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `rectify_account_id` bigint(11) NULL DEFAULT NULL COMMENT '整改人',
  `rectify_account_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `rectify_time` datetime(0) NULL DEFAULT NULL COMMENT '整改时间',
  `danger_reason` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '原因分析',
  `rectify_measure` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '整改措施',
  `rectify_cat` bigint(255) NULL DEFAULT 0 COMMENT '1.自行整改；2.协助整改',
  `rectify_remark` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '整改说明',
  `accept_group_id` bigint(20) NULL DEFAULT NULL COMMENT '验收部门',
  `accept_group_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `accept_position_id` bigint(20) NULL DEFAULT NULL COMMENT '验收岗位',
  `accept_position_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `accept_account_id` bigint(20) NULL DEFAULT NULL COMMENT '验收人员',
  `accept_account_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `accept_time` datetime(0) NULL DEFAULT NULL COMMENT '验收时间',
  `finish_time` datetime(0) NULL DEFAULT NULL COMMENT '结束时间',
  `status` bigint(4) NULL DEFAULT 0 COMMENT '0.草稿；1.正常；-1.已撤消',
  `wf_def_id` bigint(11) NULL DEFAULT NULL COMMENT '流程定义ID',
  `wf_ins_id` bigint(11) NULL DEFAULT NULL COMMENT '流程实例ID',
  `created_by` bigint(11) NULL DEFAULT NULL,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`danger_id`, `oc_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '企业隐患表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of ent_danger
-- ----------------------------
INSERT INTO `ent_danger` VALUES (406283, 407035, 0, 406283, '20210123113344982', 406367, NULL, NULL, NULL, NULL, NULL, NULL, 'DANGER11', 406319, 1, 'DANGER11', 406283, '中国公司02', 406283, '管理员', 406283, 'admin003', '2021-01-23 00:00:00', 406283, '中国公司02', 406283, '管理员', 406283, 'admin003', '2021-02-07 12:12:12', '2021-01-24 00:00:00', 406283, '中国公司02', 406283, '管理员', 406283, 'admin003', '2021-01-24 00:00:00', NULL, NULL, 0, NULL, 406283, '中国公司001', 406283, '管理员', 406283, 'admin003', '2021-01-24 22:37:41', NULL, 2, 1, 407035, 406283, '2021-01-23 11:33:45', 406283, '2021-01-24 14:41:57', 1, NULL, NULL);
INSERT INTO `ent_danger` VALUES (406283, 407044, 0, 406283, '20210124110729345', 406367, NULL, NULL, NULL, NULL, NULL, NULL, 'DANGER20', 406319, 1, 'DANGER20', 406283, '中国公司02', 406283, '管理员', 406283, 'admin003', '2021-01-24 00:00:00', NULL, NULL, NULL, NULL, NULL, NULL, '2021-02-07 08:16:00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, 407044, 406283, '2021-01-24 11:07:29', NULL, NULL, 1, NULL, NULL);
INSERT INTO `ent_danger` VALUES (406283, 407062, 0, 406283, '20210125100212721', 406367, NULL, NULL, NULL, NULL, NULL, NULL, 'DANGER21', 406321, 1, 'DANGER21DANGER21DANGER21DANGER21DANGER21', 406283, '中国公司02', 406283, '管理员', 406283, 'admin003', '2021-01-25 00:00:00', 406283, '中国公司02', 406283, '管理员', 406283, 'admin003', '2021-02-07 07:23:00', '2021-01-26 00:00:00', 406283, '中国公司02', 406283, '管理员', 406283, 'admin003', '2021-01-26 00:00:00', 'gtest', 'test', 0, 'test', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, 407062, 406283, '2021-01-25 10:02:13', 406283, '2021-01-26 18:14:18', 1, NULL, NULL);
INSERT INTO `ent_danger` VALUES (406283, 407065, 0, 406283, '20210125225802639', 406367, NULL, NULL, NULL, NULL, NULL, NULL, 'DANGER22', 406319, 1, 'DANGER22', 406283, '中国公司02', 406283, '管理员', 406283, 'admin003', '2021-01-25 00:00:00', 406283, '中国公司02', 406283, '管理员', 406283, 'admin003', '2021-02-10 00:00:00', '2021-02-27 11:58:49', 406283, '中国公司02', 406283, '管理员', 406283, 'admin003', '2021-08-27 09:52:56', 'sssss', NULL, 0, 'ssss', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, 407065, 406283, '2021-01-25 22:58:03', 406283, '2021-08-27 09:52:56', 1, NULL, NULL);
INSERT INTO `ent_danger` VALUES (406283, 407734, 0, 406301, NULL, 407268, NULL, NULL, NULL, NULL, NULL, NULL, '阿斯蒂芬', 406319, 1, '阿士大夫', 406283, '中国公司02', 406283, '管理员', 406283, 'admin003', '2021-12-10 15:32:18', NULL, NULL, NULL, NULL, NULL, NULL, '2021-12-31 15:31:51', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, 407734, 406283, '2021-12-10 15:32:18', NULL, NULL, 0, NULL, NULL);
INSERT INTO `ent_danger` VALUES (406283, 188642515550209, 0, 0, NULL, 406368, NULL, NULL, NULL, NULL, NULL, NULL, 'D1', 406320, 1, 'dD1', 406283, '中国公司02', 406283, '管理员', 406283, 'admin003', '2021-11-07 18:21:58', 406283, '中国公司02', 406283, '管理员', 406283, 'admin003', '2021-11-08 00:00:00', '2021-11-07 18:22:21', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, 188642515550209, 406283, '2021-11-07 10:36:25', 406283, '2021-11-07 18:22:22', 1, NULL, NULL);
INSERT INTO `ent_danger` VALUES (406283, 188715628560385, 0, NULL, NULL, 406368, NULL, NULL, NULL, NULL, NULL, NULL, 'D2', 406320, 1, 'D2', 406283, '中国公司02', 406283, '管理员', 406283, 'admin003', '2021-11-07 20:17:51', NULL, NULL, NULL, NULL, NULL, NULL, '2021-11-08 00:00:00', NULL, 406283, '中国公司02', 406283, '管理员', 406283, 'admin003', '2021-11-07 20:33:31', 'ddd3', 'ddd3', 0, 'dd3', 406283, '中国公司02', 406283, '管理员', 406283, 'admin003', '2021-11-07 20:40:08', NULL, 2, 1, 188715628560385, 406283, '2021-11-07 20:17:51', 406283, '2021-11-07 20:40:08', 0, NULL, NULL);
INSERT INTO `ent_danger` VALUES (406283, 189096536375297, 0, NULL, NULL, 406368, NULL, NULL, NULL, NULL, NULL, NULL, 'd2', 406320, 1, 'cccccc', 406283, '中国公司02', 406283, '管理员', 406283, 'admin003', '2021-11-09 22:45:14', 406283, '中国公司02', 406283, '管理员', 406283, 'admin003', '2021-11-09 00:00:00', '2021-11-11 11:11:58', 406283, '中国公司02', 406283, '管理员', 406283, 'admin003', '2021-11-11 14:00:27', 'fff', 'fff', 0, 'fff', 406283, '中国公司02', 406283, '管理员', 406283, 'admin003', '2021-11-11 15:23:35', NULL, 2, 1, 189096536375297, 406283, '2021-11-09 22:45:14', 406283, '2021-11-11 15:23:35', 0, NULL, NULL);
INSERT INTO `ent_danger` VALUES (406283, 189264103014401, 0, NULL, NULL, 406368, NULL, NULL, NULL, NULL, NULL, NULL, 'd3', 406320, 1, 'dd', 406283, '中国公司02', 406283, '管理员', 406283, 'admin003', '2021-11-10 20:56:35', 406283, '中国公司02', 406283, '管理员', 406283, 'admin003', '2021-11-10 00:00:00', '2021-11-11 11:13:19', 406283, '中国公司02', 406283, '管理员', 406283, 'admin003', '2021-12-09 15:09:10', '阿萨德1·', '阿萨德2', 0, '打发顺丰2', 406300, 'S021', 406309, '安全员', 406287, 'U11101', '2021-12-09 17:36:17', NULL, 2, 1, 189264103014401, 406283, '2021-11-10 20:56:35', 406287, '2021-12-09 17:36:17', 0, NULL, NULL);
INSERT INTO `ent_danger` VALUES (406283, 189264704897025, 0, NULL, NULL, 406368, NULL, NULL, NULL, NULL, NULL, NULL, 'd5', 406320, 1, 'd5', 406283, '中国公司02', 406283, '管理员', 406283, 'admin003', '2021-11-10 21:01:13', 406283, '中国公司02', 406283, '管理员', 406283, 'admin003', '2021-11-11 00:00:00', '2021-12-09 14:28:17', 406300, 'S021', 406309, '安全员', 406287, 'U11101', '2021-12-09 16:10:38', 'qwq', 'qwqwq', 0, 'qwqwqw', 406300, 'S021', 406309, '安全员', 406287, 'U11101', '2021-12-09 17:34:34', NULL, 2, 1, 189264704897025, 406283, '2021-11-10 21:01:13', 406287, '2021-12-09 17:34:34', 0, NULL, NULL);

-- ----------------------------
-- Table structure for ent_danger_attach
-- ----------------------------
DROP TABLE IF EXISTS `ent_danger_attach`;
CREATE TABLE `ent_danger_attach`  (
  `oc_id` bigint(11) NOT NULL,
  `danger_id` bigint(11) NOT NULL,
  `file_id` bigint(11) NOT NULL,
  `task_code` varchar(31) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '',
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`oc_id`, `danger_id`, `file_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '隐患附件' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of ent_danger_attach
-- ----------------------------
INSERT INTO `ent_danger_attach` VALUES (406283, 407035, 407035, NULL, '2021-01-23 11:33:45', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `ent_danger_attach` VALUES (406283, 407044, 407044, NULL, '2021-01-24 11:07:30', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `ent_danger_attach` VALUES (406283, 407062, 407062, NULL, '2021-01-25 10:02:13', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `ent_danger_attach` VALUES (406283, 189096536375297, 189096536375297, '', '2021-11-09 22:45:14', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `ent_danger_attach` VALUES (406283, 189096536375297, 189096660107266, '', '2021-11-09 22:45:15', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `ent_danger_attach` VALUES (406283, 189264704897025, 189264704897025, '', '2021-11-10 21:01:14', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `ent_danger_attach` VALUES (177954166472705, 179614823546881, 179614903238657, NULL, '2021-09-18 14:51:06', 177954166472705, NULL, NULL, 0, NULL, NULL);

-- ----------------------------
-- Table structure for ent_danger_cat
-- ----------------------------
DROP TABLE IF EXISTS `ent_danger_cat`;
CREATE TABLE `ent_danger_cat`  (
  `oc_id` bigint(11) NULL DEFAULT NULL,
  `danger_cat_id` bigint(11) NOT NULL,
  `danger_cat_title` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `danger_cat_desc` varchar(1024) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `is_fixed` bigint(11) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  PRIMARY KEY (`danger_cat_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '隐患类别表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of ent_danger_cat
-- ----------------------------
INSERT INTO `ent_danger_cat` VALUES (406283, 406319, 'A', 'A', NULL, 406283, '2020-03-20 16:58:43', 406283, '2021-10-30 20:44:27', 0, NULL, NULL);
INSERT INTO `ent_danger_cat` VALUES (406283, 406320, 'B', 'B', NULL, 406283, '2020-03-20 16:59:54', 406283, '2021-10-30 20:44:27', 0, NULL, NULL);
INSERT INTO `ent_danger_cat` VALUES (406283, 406321, 'B', 'B', 0, 406283, '2020-03-20 17:06:50', 406283, '2021-10-30 20:44:31', 0, NULL, NULL);
INSERT INTO `ent_danger_cat` VALUES (406283, 406322, 'C', 'C', 0, 406283, '2020-03-20 17:06:54', 406283, '2021-10-30 21:30:00', 0, NULL, NULL);
INSERT INTO `ent_danger_cat` VALUES (406283, 406323, 'D', 'D', 0, 406283, '2020-03-20 17:06:58', 406283, '2021-10-30 20:44:34', 0, NULL, NULL);
INSERT INTO `ent_danger_cat` VALUES (406283, 406324, 'E', 'E', 0, 406283, '2020-03-20 17:10:59', 406283, '2021-10-30 20:56:44', 0, NULL, NULL);
INSERT INTO `ent_danger_cat` VALUES (406283, 406325, 'F', 'F', NULL, 406283, '2020-03-20 17:11:02', 406283, '2021-10-30 20:44:27', 0, NULL, NULL);

-- ----------------------------
-- Table structure for ent_grid
-- ----------------------------
DROP TABLE IF EXISTS `ent_grid`;
CREATE TABLE `ent_grid`  (
  `oc_id` bigint(11) NOT NULL COMMENT '单位ID',
  `group_id` bigint(11) NULL DEFAULT NULL COMMENT '部门ID',
  `position_id` bigint(11) NULL DEFAULT NULL COMMENT '岗位ID',
  `account_id` bigint(11) NULL DEFAULT NULL COMMENT '帐号ID',
  `grid_id` bigint(11) NOT NULL COMMENT '网格ID',
  `grid_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '网格标题',
  `grid_desc` varchar(1023) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '描述',
  `grid_level` bigint(11) NULL DEFAULT NULL COMMENT '层级',
  `status` bigint(11) UNSIGNED NULL DEFAULT 1 COMMENT '状态',
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(20) NULL DEFAULT NULL,
  PRIMARY KEY (`grid_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '企业网格' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of ent_grid
-- ----------------------------
INSERT INTO `ent_grid` VALUES (406283, 406297, 406283, 406283, 407302, 'ddd', 'ddddff fgfgfg', 1, 1, '2021-11-25 21:43:05', 406283, '2021-12-02 18:23:49', 406283, 0, NULL, NULL);
INSERT INTO `ent_grid` VALUES (406283, 406283, 406284, 406287, 407306, 'vvvvvvv', 'test', 1, 1, '2021-11-29 14:20:56', 406283, '2021-11-29 16:17:47', 406283, 0, NULL, NULL);
INSERT INTO `ent_grid` VALUES (406283, 406300, 406283, 406283, 407311, 'test', 'test', 1, 1, '2021-11-29 23:12:10', 406283, '2021-11-29 23:12:27', 406283, 0, NULL, NULL);
INSERT INTO `ent_grid` VALUES (406283, 406283, 406309, 406870, 189927941799937, 'dddsss', 'dddsss', 1, 1, '2021-11-14 12:51:41', 406283, '2021-11-29 16:14:09', 406283, 0, NULL, NULL);
INSERT INTO `ent_grid` VALUES (406283, 406283, 406309, 406287, 189935919366145, 'ccc', 'dddssdsd', 1, 1, '2021-11-14 13:55:04', 406283, '2021-11-29 16:16:39', 406283, 0, NULL, NULL);
INSERT INTO `ent_grid` VALUES (406283, 406283, 406284, 406302, 189955213164545, 'dd', 'dd', 2, 1, '2021-11-14 16:28:25', 406283, '2021-11-29 16:14:13', 406283, 0, NULL, NULL);
INSERT INTO `ent_grid` VALUES (406283, 406283, 406309, 406302, 189965361283073, 'aaaa', 'aaaa', 2, 1, '2021-11-14 17:49:04', 406283, '2021-11-29 16:14:17', 406283, 0, NULL, NULL);
INSERT INTO `ent_grid` VALUES (406283, 406283, 406283, 406283, 189966374207489, 'eee', 'eeee', 0, 1, '2021-11-14 17:57:07', 406283, '2021-11-29 14:30:58', 406283, 0, NULL, NULL);

-- ----------------------------
-- Table structure for ent_map
-- ----------------------------
DROP TABLE IF EXISTS `ent_map`;
CREATE TABLE `ent_map`  (
  `oc_id` bigint(11) NOT NULL COMMENT '组织ID',
  `map_id` bigint(11) NOT NULL COMMENT '地图ID',
  `map_title` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '标题 ',
  `map_cat_id` bigint(11) NULL DEFAULT NULL COMMENT '类别',
  `map_raster_layer` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '地图背景',
  `map_desc` varchar(511) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '描述',
  `map_type_id` bigint(11) NULL DEFAULT NULL COMMENT '1 四色风险地图 2 示意图',
  `created_by` bigint(11) NULL DEFAULT NULL,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `deleted_flag` bigint(4) NULL DEFAULT 0,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`map_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '企业地图表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of ent_map
-- ----------------------------
INSERT INTO `ent_map` VALUES (406283, 406283, '默认地图1', 0, 'http://134.175.84.106:8888/group1/M00/00/00/rBAACGGZ1fqAcJMNAAQ-BGaFjdY429.png', 'abcefg1', 0, 406283, '2020-07-26 01:02:24', 406283, '2021-12-01 23:31:49', 0, NULL, NULL);
INSERT INTO `ent_map` VALUES (406283, 407088, '默认地图2', 0, 'http://134.175.84.106:8888/group1/M00/00/00/rBAACGGZ_IaAP9qpAAl9MhkT-zw181.png', 'abcefg2', 0, 406283, '2021-02-03 08:07:52', 406283, '2021-11-28 12:23:13', 0, NULL, NULL);
INSERT INTO `ent_map` VALUES (406283, 407089, '默认地图3', 1, 'http://134.175.84.106:8888/group1/M00/00/00/rBAACGGZ2KGAfN3PAAKIWraQ_eE829.png', 'abcefg3', 0, 406283, '2021-02-03 08:08:00', 406283, '2021-12-01 13:33:28', 0, NULL, NULL);

-- ----------------------------
-- Table structure for ent_map_layer
-- ----------------------------
DROP TABLE IF EXISTS `ent_map_layer`;
CREATE TABLE `ent_map_layer`  (
  `oc_id` bigint(11) NOT NULL COMMENT '单位ID',
  `map_id` bigint(11) NOT NULL COMMENT '地图id',
  `layer_id` bigint(11) NOT NULL COMMENT '地图图层',
  `layer_cat_id` bigint(11) NULL DEFAULT NULL COMMENT '图层类别ID: 1. 风险点  2.设备  3.摄像头  4.传感器',
  `layer_title` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '名称',
  `layer_marker` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '坐标数据',
  `layer_vector` varchar(511) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `layer_vector_type` bigint(11) NULL DEFAULT NULL COMMENT '1.polygon 2.line,3.rectangle,4.circle',
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`layer_id`, `oc_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '示意图坐标表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of ent_map_layer
-- ----------------------------
INSERT INTO `ent_map_layer` VALUES (406283, 406283, 407092, 1, NULL, '{\"geometry\":{\"coordinates\":[-402.88478,57.148048],\"type\":\"Point\"},\"type\":\"Feature\",\"properties\":{}}', '{\"geometry\":{\"coordinates\":[[[-471.699114,78.963904],[-485.761614,44.978612],[-328.261614,44.978612],[-369.042864,78.963904],[-471.699114,78.963904]]],\"type\":\"Polygon\"},\"type\":\"Feature\",\"properties\":{}}', NULL, '2021-02-05 01:23:47', 406283, '2021-07-22 00:12:51', NULL, NULL, NULL, NULL);
INSERT INTO `ent_map_layer` VALUES (406283, 406283, 407098, 1, NULL, '{\"geometry\":{\"coordinates\":[-428.90625,-16.636192],\"type\":\"Point\"},\"type\":\"Feature\",\"properties\":{}}', '{\"geometry\":{\"coordinates\":[[[-365.625,47.040182],[-371.25,-40.979898],[-480.9375,-37.71859],[-483.75,49.837982],[-365.625,47.040182]]],\"type\":\"Polygon\"},\"type\":\"Feature\",\"properties\":{}}', NULL, '2021-02-05 11:51:21', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `ent_map_layer` VALUES (406283, 406283, 407099, 1, NULL, '{\"geometry\":{\"coordinates\":[-189.134802,14.622924],\"type\":\"Point\"},\"type\":\"Feature\",\"properties\":{}}', '{\"geometry\":{\"coordinates\":[[[-266.552718,47.040168],[-203.590753,69.758512],[-119.599593,47.040168],[-121.708968,16.935346],[-183.283819,-59.594206],[-263.740218,7.323691],[-266.552718,47.040168]]],\"type\":\"Polygon\"},\"type\":\"Feature\",\"properties\":{}}', NULL, '2021-02-05 11:52:37', 406283, '2021-08-25 19:16:09', NULL, 0, NULL, NULL);
INSERT INTO `ent_map_layer` VALUES (406283, 406283, 407209, 1, NULL, '{\"geometry\":{\"coordinates\":[-98.4375,2.811371],\"type\":\"Point\"},\"type\":\"Feature\",\"properties\":{}}', '{\"geometry\":{\"coordinates\":[[[-5.625,46.073231],[5.703125,-17.739227],[-44.296875,-60.239811],[-137.8125,-40.979898],[-199.6875,13.923404],[-194.0625,55.776573],[-144.296875,71.524909],[-5.625,46.073231]]],\"type\":\"Polygon\"},\"type\":\"Feature\",\"properties\":{}}', NULL, '2021-02-27 15:01:33', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `ent_map_layer` VALUES (406283, 406283, 407263, 1, NULL, '{\"geometry\":{\"coordinates\":[-317.8125,-58.813742],\"type\":\"Point\"},\"type\":\"Feature\",\"properties\":{}}', '{\"geometry\":{\"coordinates\":[[[-251.015625,34.307144],[-64.609375,-57.944574],[-114.609375,-78.061989],[-487.265625,-81.308321],[-449.296875,12.554564],[-251.015625,34.307144]]],\"type\":\"Polygon\"},\"type\":\"Feature\",\"properties\":{}}', NULL, '2021-08-17 16:20:59', 406283, NULL, NULL, 0, NULL, NULL);

-- ----------------------------
-- Table structure for ent_risk_point
-- ----------------------------
DROP TABLE IF EXISTS `ent_risk_point`;
CREATE TABLE `ent_risk_point`  (
  `oc_id` bigint(11) NOT NULL COMMENT '组织ID',
  `group_id` bigint(11) NULL DEFAULT NULL COMMENT '责任部门',
  `risk_point_id` bigint(11) NOT NULL COMMENT '风险点ID',
  `risk_point_code` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '编码',
  `risk_point_title` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '风险点标题',
  `risk_point_level` bigint(11) NULL DEFAULT 4 COMMENT '风险点等级',
  `is_major_hazard` bigint(11) NULL DEFAULT 0 COMMENT '是否重大危险源',
  `is_active` bigint(11) NULL DEFAULT 1 COMMENT '是否激活：1激活；0未激活',
  `active_start_time` datetime(0) NULL DEFAULT NULL COMMENT '开始时间',
  `active_end_time` datetime(0) NULL DEFAULT NULL COMMENT '结束时间',
  `risk_point_desc` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '描述',
  `risk_point_cat_id` bigint(11) NULL DEFAULT NULL COMMENT '类别ID',
  `risk_point_logo` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '风险点Logo',
  `status` bigint(11) NULL DEFAULT 0 COMMENT '状态',
  `grid_id` bigint(11) NULL DEFAULT NULL COMMENT '网格ID',
  `risk_point_addr` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所在位置',
  `risk_point_photo` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '现场照片',
  `hazard_num` bigint(11) NULL DEFAULT 0 COMMENT '危险源数目',
  `alarm_num` bigint(11) NULL DEFAULT 0 COMMENT '预警数目',
  `danger_num` bigint(11) NULL DEFAULT 0 COMMENT '隐患数目',
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`risk_point_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '企业风险点' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of ent_risk_point
-- ----------------------------
INSERT INTO `ent_risk_point` VALUES (406283, 406297, 406367, 'aaa3434789', '风险点1', 4, 0, 1, NULL, NULL, 'aaaaeeeeevvvvvvvweweewaaaaeeeeevvvvvvvweweewaaaaeeeeevvvvvvvweweewaaaaeeeeevvv', 1, 'layui-icon-snowflake', 1, 0, '夺发人仍WRERERERER', 'http://134.175.84.106:8080/group1/M00/00/01/rBAACGAY1rKAewzmAABP_CfGfg8751.jpg', 0, 0, 0, '2020-06-14 21:08:49', 406283, '2021-11-29 16:37:22', 406283, 0, NULL, NULL);
INSERT INTO `ent_risk_point` VALUES (406283, 406297, 406368, 'bbbbb', '风险点2', 4, 0, 1, NULL, NULL, 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', 2, 'layui-icon-login-weibo', 1, 0, 'bbbbbbbbbbbbbbbbbbbbb', NULL, 0, 0, 0, '2020-06-14 23:23:17', 406283, '2021-11-29 16:37:37', 406283, 0, NULL, NULL);
INSERT INTO `ent_risk_point` VALUES (406283, 406300, 406485, 'aaa3434', 'aaaaaawww', 4, 0, 1, NULL, NULL, '0909090909', 1, NULL, 1, NULL, 'dfg', 'http://134.175.84.106:8080/group1/M00/00/00/rBAACF_lm8SADPmMAAAFB6LsfH4972.png', 0, 0, 0, '2020-08-03 01:07:57', NULL, '2021-11-12 22:58:28', 406283, 0, NULL, NULL);
INSERT INTO `ent_risk_point` VALUES (406283, 406300, 406486, 'bbbb', 'b555555555555', 1, 0, 1, NULL, NULL, '334334', 1, NULL, 1, NULL, '5555', NULL, 0, 0, 0, '2020-08-03 01:57:54', NULL, '2021-11-12 23:33:37', 406283, 0, NULL, NULL);
INSERT INTO `ent_risk_point` VALUES (406283, 406300, 406487, 'test', 'test', 3, 0, 1, NULL, NULL, 'test', 1, NULL, 1, NULL, 'teset', NULL, 0, 0, 0, '2020-08-03 15:23:59', NULL, '2021-11-12 22:58:39', 406283, 0, NULL, NULL);
INSERT INTO `ent_risk_point` VALUES (406283, 406301, 406488, 'b', 'b', 4, 0, 0, NULL, NULL, 'b', 1, NULL, 1, NULL, 'b', NULL, 0, 0, 0, '2020-08-04 20:04:58', NULL, '2021-11-12 22:58:51', 406283, 1, NULL, NULL);
INSERT INTO `ent_risk_point` VALUES (406283, 406301, 406489, 'c2', 'c1', 4, 0, 1, NULL, NULL, 'c4', 1, NULL, 2, NULL, 'c3', NULL, 0, 0, 0, '2020-08-05 11:47:44', NULL, '2021-11-12 22:58:46', 406283, 0, NULL, NULL);
INSERT INTO `ent_risk_point` VALUES (406283, NULL, 406490, 'dd2', 'dd1', 4, 0, 1, NULL, NULL, 'dd4', 1, NULL, 2, NULL, 'dd3', NULL, 0, 0, 0, '2020-08-05 19:31:08', NULL, '2020-08-16 21:53:14', 406283, 1, NULL, NULL);
INSERT INTO `ent_risk_point` VALUES (406283, 406283, 406563, 'test123', '风险点3', 4, 0, 1, NULL, NULL, 'test', 1, NULL, 1, NULL, 'test', 'http://134.175.84.106:8888/group1/M00/00/00/rBAACGGuHC2AHM1eAARruK7Vh58242.png', 0, 0, 0, '2020-12-15 16:06:06', 406283, '2021-12-06 22:20:29', 406283, 0, NULL, NULL);
INSERT INTO `ent_risk_point` VALUES (406283, 406283, 407208, 'aaa3434', '风险点5', 4, 0, 1, NULL, NULL, 'fssd', 1, NULL, 0, NULL, '夺发人仍WRERERERER', 'http://134.175.84.106:8888/group1/M00/00/00/rBAACGGuGcWAEO3wAAl9MhkT-zw240.png', 0, 0, 0, '2021-02-27 14:59:02', 406283, '2021-12-06 22:10:13', 406283, 0, NULL, NULL);
INSERT INTO `ent_risk_point` VALUES (406283, 406283, 407262, 'abcdef', '风险点6', 4, 0, 1, NULL, NULL, '舸', 1, NULL, 0, NULL, '有  在', NULL, 0, 0, 0, '2021-08-17 16:20:33', 406283, '2021-12-06 22:03:06', 406283, 0, NULL, NULL);
INSERT INTO `ent_risk_point` VALUES (406283, 406283, 407268, 'riskpoint1', 'riskpoint1', 1, 0, 1, NULL, NULL, 'riskpoint1', 1, NULL, 0, 0, 'riskpoint1', NULL, 0, 0, 0, '2021-11-18 11:18:22', 406283, '2021-11-30 12:10:40', 406283, 0, NULL, NULL);
INSERT INTO `ent_risk_point` VALUES (406283, 406283, 189645642072065, 'rp1', 'rp1', 1, 0, 1, NULL, NULL, 'sss', 1, NULL, 0, NULL, 'ss', 'http://134.175.84.106:8888/group1/M00/00/00/rBAACGGum16AHuzRAAJ8ZAHJ0Gc846.png', 0, 0, 0, '2021-11-12 23:28:10', 406283, '2021-12-07 07:23:11', 406283, 0, NULL, NULL);

-- ----------------------------
-- Table structure for ent_risk_point_art
-- ----------------------------
DROP TABLE IF EXISTS `ent_risk_point_art`;
CREATE TABLE `ent_risk_point_art`  (
  `oc_id` bigint(11) NOT NULL,
  `risk_point_id` bigint(11) NOT NULL,
  `art_id` bigint(11) NOT NULL,
  PRIMARY KEY (`oc_id`, `risk_point_id`, `art_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '风险点作业规范' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of ent_risk_point_art
-- ----------------------------
INSERT INTO `ent_risk_point_art` VALUES (406283, 406367, 406552);
INSERT INTO `ent_risk_point_art` VALUES (406283, 406367, 406709);
INSERT INTO `ent_risk_point_art` VALUES (406283, 406367, 406710);
INSERT INTO `ent_risk_point_art` VALUES (406283, 406563, 406452);
INSERT INTO `ent_risk_point_art` VALUES (406283, 406563, 406552);
INSERT INTO `ent_risk_point_art` VALUES (406283, 407208, 406552);
INSERT INTO `ent_risk_point_art` VALUES (406283, 407262, 406552);
INSERT INTO `ent_risk_point_art` VALUES (406283, 407268, 406452);
INSERT INTO `ent_risk_point_art` VALUES (406283, 407268, 406453);
INSERT INTO `ent_risk_point_art` VALUES (406283, 407268, 406552);
INSERT INTO `ent_risk_point_art` VALUES (406283, 189645642072065, 406453);

-- ----------------------------
-- Table structure for ent_risk_point_cat
-- ----------------------------
DROP TABLE IF EXISTS `ent_risk_point_cat`;
CREATE TABLE `ent_risk_point_cat`  (
  `oc_id` bigint(11) NOT NULL,
  `risk_point_cat_id` bigint(11) NOT NULL,
  `risk_point_cat_title` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `risk_point_cat_desc` varchar(526) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  PRIMARY KEY (`oc_id`, `risk_point_cat_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '风险点类别' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of ent_risk_point_cat
-- ----------------------------
INSERT INTO `ent_risk_point_cat` VALUES (406283, 1, '设备设施', '设备设施', NULL, NULL, '2021-10-30 21:30:07', 406283, NULL, NULL, 0);
INSERT INTO `ent_risk_point_cat` VALUES (406283, 2, '特种设备', '特种设备', NULL, NULL, '2021-10-30 21:30:07', 406283, NULL, NULL, 0);

-- ----------------------------
-- Table structure for ent_risk_point_checklist
-- ----------------------------
DROP TABLE IF EXISTS `ent_risk_point_checklist`;
CREATE TABLE `ent_risk_point_checklist`  (
  `oc_id` bigint(11) NOT NULL,
  `risk_point_id` bigint(11) NOT NULL,
  `checklist_id` bigint(11) NOT NULL,
  `remark` varchar(511) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`oc_id`, `risk_point_id`, `checklist_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '风险点检查清单' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of ent_risk_point_checklist
-- ----------------------------
INSERT INTO `ent_risk_point_checklist` VALUES (406283, 407208, 1, NULL, '2021-12-06 22:41:58', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `ent_risk_point_checklist` VALUES (406283, 407208, 2, NULL, '2021-12-07 09:51:54', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `ent_risk_point_checklist` VALUES (406283, 407208, 3, NULL, '2021-12-07 09:49:43', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `ent_risk_point_checklist` VALUES (406283, 407208, 4, NULL, '2021-12-07 09:51:55', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `ent_risk_point_checklist` VALUES (406283, 407208, 406283, NULL, '2021-12-07 09:51:57', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `ent_risk_point_checklist` VALUES (406283, 407262, 1, NULL, '2021-12-06 22:43:26', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `ent_risk_point_checklist` VALUES (406283, 407268, 1, NULL, '2021-12-07 14:08:25', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `ent_risk_point_checklist` VALUES (406283, 407268, 2, NULL, '2021-12-07 14:08:28', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `ent_risk_point_checklist` VALUES (406283, 407268, 3, NULL, '2021-12-07 14:08:31', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `ent_risk_point_checklist` VALUES (406283, 407268, 4, NULL, '2021-12-07 14:08:27', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `ent_risk_point_checklist` VALUES (406283, 407268, 406283, NULL, '2021-12-07 14:08:29', 406283, NULL, NULL, 0, NULL, NULL);

-- ----------------------------
-- Table structure for ent_risk_point_file
-- ----------------------------
DROP TABLE IF EXISTS `ent_risk_point_file`;
CREATE TABLE `ent_risk_point_file`  (
  `oc_id` bigint(11) NOT NULL,
  `risk_point_id` bigint(11) NOT NULL,
  `file_id` bigint(11) NOT NULL,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  PRIMARY KEY (`oc_id`, `risk_point_id`, `file_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '风险点作业指导书' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of ent_risk_point_file
-- ----------------------------
INSERT INTO `ent_risk_point_file` VALUES (406283, 406367, 406476, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `ent_risk_point_file` VALUES (406283, 406367, 406477, NULL, NULL, NULL, NULL, 0, NULL, NULL);

-- ----------------------------
-- Table structure for ent_risk_point_hazard
-- ----------------------------
DROP TABLE IF EXISTS `ent_risk_point_hazard`;
CREATE TABLE `ent_risk_point_hazard`  (
  `oc_id` bigint(11) NOT NULL,
  `risk_point_id` bigint(11) NOT NULL,
  `checklist_id` bigint(11) NOT NULL,
  `hazard_id` bigint(11) NOT NULL,
  `status` bigint(11) NULL DEFAULT NULL,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`risk_point_id`, `hazard_id`, `oc_id`, `checklist_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '企业风险点危险源映射表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of ent_risk_point_hazard
-- ----------------------------
INSERT INTO `ent_risk_point_hazard` VALUES (406283, 406367, 406283, 188306849595393, 1, '2021-11-29 15:04:03', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `ent_risk_point_hazard` VALUES (406283, 406367, 406283, 188306910412801, 1, '2021-11-29 15:04:05', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `ent_risk_point_hazard` VALUES (406283, 406367, 406283, 188306950258689, 1, '2021-11-29 15:04:07', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `ent_risk_point_hazard` VALUES (406283, 406367, 406283, 188306983813121, 1, '2021-11-29 15:04:09', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `ent_risk_point_hazard` VALUES (406283, 406563, 406283, 407194, 1, '2021-12-07 14:07:25', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `ent_risk_point_hazard` VALUES (406283, 406563, 406283, 407195, 1, '2021-12-07 14:07:30', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `ent_risk_point_hazard` VALUES (406283, 406563, 406283, 188306849595393, 1, '2021-11-28 22:51:01', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `ent_risk_point_hazard` VALUES (406283, 406563, 406283, 188306910412801, 1, '2021-12-07 14:07:31', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `ent_risk_point_hazard` VALUES (406283, 406563, 406283, 188306950258689, 1, '2021-12-07 14:07:36', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `ent_risk_point_hazard` VALUES (406283, 406563, 406283, 188306983813121, 1, '2021-12-07 14:07:34', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `ent_risk_point_hazard` VALUES (406283, 407208, 406283, 188306849595393, 1, '2021-11-28 23:13:03', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `ent_risk_point_hazard` VALUES (406283, 407208, 406283, 188306910412801, 1, '2021-12-07 09:50:17', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `ent_risk_point_hazard` VALUES (406283, 407208, 406283, 188306950258689, 1, '2021-12-07 09:50:21', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `ent_risk_point_hazard` VALUES (406283, 407268, 406283, 407194, 1, '2021-12-07 14:08:20', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `ent_risk_point_hazard` VALUES (406283, 407268, 406283, 407195, 1, '2021-12-07 11:10:28', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `ent_risk_point_hazard` VALUES (406283, 407268, 406283, 188306849595393, 1, '2021-11-30 12:10:56', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `ent_risk_point_hazard` VALUES (406283, 407268, 406283, 188306910412801, 1, '2021-11-30 12:12:56', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `ent_risk_point_hazard` VALUES (406283, 407268, 406283, 188306950258689, 1, '2021-11-30 12:12:59', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `ent_risk_point_hazard` VALUES (406283, 407268, 406283, 188306983813121, 1, '2021-11-30 12:13:02', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `ent_risk_point_hazard` VALUES (406283, 189645642072065, 406283, 188306910412801, 1, '2021-11-30 14:14:33', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `ent_risk_point_hazard` VALUES (406283, 189645642072065, 406283, 188306983813121, 1, '2021-11-30 14:14:38', 406283, NULL, NULL, 0, NULL, NULL);

-- ----------------------------
-- Table structure for ent_risk_point_map_layer
-- ----------------------------
DROP TABLE IF EXISTS `ent_risk_point_map_layer`;
CREATE TABLE `ent_risk_point_map_layer`  (
  `oc_id` bigint(11) NOT NULL COMMENT '组织ID',
  `risk_point_id` bigint(11) NOT NULL COMMENT '风险点ID',
  `map_id` bigint(11) NOT NULL COMMENT '地图ID',
  `layer_id` bigint(11) NOT NULL COMMENT '图层ID',
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`map_id`, `risk_point_id`, `layer_id`, `oc_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '企业风险点地图信息表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of ent_risk_point_map_layer
-- ----------------------------
INSERT INTO `ent_risk_point_map_layer` VALUES (406283, 406367, 406283, 407092, '2021-02-05 01:23:47', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `ent_risk_point_map_layer` VALUES (406283, 406368, 406283, 407098, '2021-02-05 11:51:21', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `ent_risk_point_map_layer` VALUES (406283, 406563, 406283, 407099, '2021-02-05 11:52:37', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `ent_risk_point_map_layer` VALUES (406283, 407208, 406283, 407209, '2021-02-27 15:01:33', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `ent_risk_point_map_layer` VALUES (406283, 407262, 406283, 407263, '2021-08-17 16:20:59', 406283, NULL, NULL, 0, NULL, NULL);

-- ----------------------------
-- Table structure for ent_risk_point_measure
-- ----------------------------
DROP TABLE IF EXISTS `ent_risk_point_measure`;
CREATE TABLE `ent_risk_point_measure`  (
  `oc_id` bigint(11) NOT NULL,
  `risk_point_id` bigint(11) NOT NULL,
  `checklist_id` bigint(11) NOT NULL,
  `hazard_id` bigint(11) NOT NULL,
  `risk_id` bigint(11) NOT NULL,
  `measure_id` bigint(11) NOT NULL,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`oc_id`, `risk_point_id`, `hazard_id`, `risk_id`, `checklist_id`, `measure_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '风险点管控措施表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of ent_risk_point_measure
-- ----------------------------
INSERT INTO `ent_risk_point_measure` VALUES (406283, 406367, 4, 406283, 406615, 406616, NULL, NULL);
INSERT INTO `ent_risk_point_measure` VALUES (406283, 406367, 4, 406283, 406615, 406617, NULL, NULL);
INSERT INTO `ent_risk_point_measure` VALUES (406283, 406367, 4, 406283, 406615, 406626, NULL, NULL);
INSERT INTO `ent_risk_point_measure` VALUES (406283, 406367, 4, 406283, 406615, 406627, NULL, NULL);
INSERT INTO `ent_risk_point_measure` VALUES (406283, 406367, 4, 406283, 406615, 406628, NULL, NULL);
INSERT INTO `ent_risk_point_measure` VALUES (406283, 406367, 4, 406283, 406615, 406629, NULL, NULL);
INSERT INTO `ent_risk_point_measure` VALUES (406283, 406367, 4, 406283, 406615, 406630, NULL, NULL);
INSERT INTO `ent_risk_point_measure` VALUES (406283, 406367, 4, 406283, 406621, 406622, NULL, NULL);
INSERT INTO `ent_risk_point_measure` VALUES (406283, 406367, 4, 406283, 406621, 406623, NULL, NULL);
INSERT INTO `ent_risk_point_measure` VALUES (406283, 406367, 4, 406283, 406621, 406624, NULL, NULL);
INSERT INTO `ent_risk_point_measure` VALUES (406283, 406367, 4, 406283, 406621, 406625, NULL, NULL);
INSERT INTO `ent_risk_point_measure` VALUES (406283, 406367, 4, 406333, 406339, 406357, NULL, NULL);
INSERT INTO `ent_risk_point_measure` VALUES (406283, 406367, 4, 406333, 406339, 406631, NULL, NULL);
INSERT INTO `ent_risk_point_measure` VALUES (406283, 406367, 4, 406333, 406339, 406632, NULL, NULL);
INSERT INTO `ent_risk_point_measure` VALUES (406283, 406367, 4, 406333, 406339, 406633, NULL, NULL);
INSERT INTO `ent_risk_point_measure` VALUES (406283, 406563, 4, 406283, 406615, 406616, NULL, NULL);
INSERT INTO `ent_risk_point_measure` VALUES (406283, 406563, 4, 406283, 406615, 406617, NULL, NULL);
INSERT INTO `ent_risk_point_measure` VALUES (406283, 406563, 4, 406283, 406615, 406626, NULL, NULL);
INSERT INTO `ent_risk_point_measure` VALUES (406283, 406563, 4, 406283, 406615, 406627, NULL, NULL);
INSERT INTO `ent_risk_point_measure` VALUES (406283, 406563, 4, 406283, 406615, 406628, NULL, NULL);
INSERT INTO `ent_risk_point_measure` VALUES (406283, 406563, 4, 406283, 406615, 406629, NULL, NULL);
INSERT INTO `ent_risk_point_measure` VALUES (406283, 406563, 4, 406283, 406615, 406630, NULL, NULL);
INSERT INTO `ent_risk_point_measure` VALUES (406283, 406563, 4, 406283, 406621, 406622, NULL, NULL);
INSERT INTO `ent_risk_point_measure` VALUES (406283, 406563, 4, 406283, 406621, 406623, NULL, NULL);
INSERT INTO `ent_risk_point_measure` VALUES (406283, 406563, 4, 406283, 406621, 406624, NULL, NULL);
INSERT INTO `ent_risk_point_measure` VALUES (406283, 406563, 4, 406283, 406621, 406625, NULL, NULL);
INSERT INTO `ent_risk_point_measure` VALUES (406283, 406563, 4, 406333, 406339, 406357, NULL, NULL);
INSERT INTO `ent_risk_point_measure` VALUES (406283, 406563, 4, 406333, 406339, 406631, NULL, NULL);
INSERT INTO `ent_risk_point_measure` VALUES (406283, 406563, 4, 406333, 406339, 406632, NULL, NULL);
INSERT INTO `ent_risk_point_measure` VALUES (406283, 406563, 4, 406333, 406339, 406633, NULL, NULL);

-- ----------------------------
-- Table structure for equipment
-- ----------------------------
DROP TABLE IF EXISTS `equipment`;
CREATE TABLE `equipment`  (
  `oc_id` bigint(11) NOT NULL,
  `group_id` bigint(11) NULL DEFAULT NULL,
  `equip_id` bigint(11) NOT NULL,
  `equip_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `equip_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `equip_cat_id` bigint(11) NULL DEFAULT NULL,
  `equip_desc` varchar(511) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `status` bigint(11) NULL DEFAULT NULL,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`oc_id`, `equip_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '设备设施' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of equipment
-- ----------------------------
INSERT INTO `equipment` VALUES (406283, 406297, 190007522426881, 'aa', 'aaa', 407241, 'aaaaaa', 1, '2021-11-14 23:24:08', 406283, '2021-11-14 23:40:04', 406283, 0, NULL, NULL);
INSERT INTO `equipment` VALUES (406283, 406283, 190009552470017, 'abc', 'abc', 407241, 'afdfdf', 1, '2021-11-14 23:40:16', 406283, NULL, NULL, 1, NULL, NULL);

-- ----------------------------
-- Table structure for equipment_cat
-- ----------------------------
DROP TABLE IF EXISTS `equipment_cat`;
CREATE TABLE `equipment_cat`  (
  `oc_id` bigint(11) NOT NULL,
  `equip_cat_id` bigint(11) NOT NULL,
  `equip_cat_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `equip_cat_desc` varchar(511) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `is_fixed` bigint(11) NULL DEFAULT NULL,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`equip_cat_id`, `oc_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '设备设施类别表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of equipment_cat
-- ----------------------------
INSERT INTO `equipment_cat` VALUES (406283, 407241, 'bb', 'bb', NULL, '2021-03-20 00:02:41', 1, '2021-03-20 07:18:02', 406283, 0, NULL, NULL);
INSERT INTO `equipment_cat` VALUES (406283, 407242, 'aaaa', 'adddd', NULL, '2021-03-20 06:51:34', 1, NULL, 406283, 0, NULL, NULL);
INSERT INTO `equipment_cat` VALUES (406283, 407620, 'cc', 'cc', NULL, NULL, 406283, NULL, NULL, 0, NULL, NULL);

-- ----------------------------
-- Table structure for event
-- ----------------------------
DROP TABLE IF EXISTS `event`;
CREATE TABLE `event`  (
  `oc_id` bigint(11) NOT NULL COMMENT '单位ID',
  `group_id` bigint(11) NOT NULL COMMENT '部门ID',
  `account_id` bigint(11) NOT NULL COMMENT '相关人员ID',
  `event_id` bigint(11) NOT NULL COMMENT '安全事件ID',
  `event_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '事件标题',
  `risk_point_id` bigint(11) NULL DEFAULT NULL COMMENT '风险点ID',
  `event_def_id` bigint(11) NULL DEFAULT NULL COMMENT '事件定义ID',
  `event_time` datetime(0) NULL DEFAULT NULL COMMENT '事件发生时间',
  `status` bigint(11) NULL DEFAULT NULL COMMENT '状态',
  `event_source` bigint(11) NULL DEFAULT NULL COMMENT '来源',
  `event_desc` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `event_remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
  `event_level` bigint(11) NULL DEFAULT NULL COMMENT '等级',
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`oc_id`, `event_id`, `group_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '预警事件表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of event
-- ----------------------------
INSERT INTO `event` VALUES (406283, 406283, 0, 406283, '发现隐患', 406367, 3, '2021-02-06 14:49:05', 0, NULL, NULL, NULL, 2, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `event` VALUES (406283, 406283, 0, 406284, '检查逾期', 406367, 1, '2021-02-06 14:51:52', 0, NULL, NULL, NULL, 5, NULL, NULL, NULL, NULL, 0, NULL, NULL);

-- ----------------------------
-- Table structure for event_def
-- ----------------------------
DROP TABLE IF EXISTS `event_def`;
CREATE TABLE `event_def`  (
  `event_def_id` bigint(11) NOT NULL,
  `event_def_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `event_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `event_def_desc` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `status` bigint(11) NULL DEFAULT NULL,
  `event_level` bigint(11) NULL DEFAULT NULL,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`event_def_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '预警事件定义表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of event_def
-- ----------------------------
INSERT INTO `event_def` VALUES (1, '检查逾期', 'TaskExceed', '检查逾期', 1, NULL, NULL, NULL, '2021-01-31 21:43:59', 1, 0, NULL, NULL);
INSERT INTO `event_def` VALUES (2, '措施未落实', 'MeasureNotCarried', '措施未落实', 1, NULL, NULL, NULL, '2021-02-01 00:55:27', 406283, 0, NULL, NULL);
INSERT INTO `event_def` VALUES (3, '发现隐患', 'DangerSubmit', '检查逾期', 1, NULL, NULL, NULL, '2021-02-01 00:44:40', 406283, 0, NULL, NULL);
INSERT INTO `event_def` VALUES (4, '隐患整改逾期', 'DangerRectifyExceed', '隐患整改逾期', 1, NULL, NULL, NULL, '2021-01-31 21:23:04', 1, 0, NULL, NULL);
INSERT INTO `event_def` VALUES (5, '设备告警', 'DeviceEvent', '设备告警', 1, NULL, NULL, NULL, '2021-01-31 21:23:04', 1, 0, NULL, NULL);

-- ----------------------------
-- Table structure for event_history
-- ----------------------------
DROP TABLE IF EXISTS `event_history`;
CREATE TABLE `event_history`  (
  `oc_id` bigint(11) NOT NULL,
  `record_id` bigint(11) NOT NULL,
  `record_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `risk_point_id` bigint(11) NULL DEFAULT NULL,
  `event_id` bigint(11) NULL DEFAULT NULL,
  `event_handled_act` bigint(11) NULL DEFAULT NULL,
  `event_handled_by` bigint(11) NULL DEFAULT NULL,
  `event_handled_time` datetime(0) NULL DEFAULT NULL,
  `event_start_time` datetime(0) NULL DEFAULT NULL,
  `event_end_time` datetime(0) NULL DEFAULT NULL,
  `event_remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`oc_id`, `record_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '预警事件历史记录表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of event_history
-- ----------------------------

-- ----------------------------
-- Table structure for event_record
-- ----------------------------
DROP TABLE IF EXISTS `event_record`;
CREATE TABLE `event_record`  (
  `oc_id` bigint(11) NOT NULL,
  `record_id` bigint(11) NOT NULL,
  `record_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `risk_point_id` bigint(11) NULL DEFAULT NULL,
  `event_id` bigint(11) NULL DEFAULT NULL,
  `event_act` bigint(11) NULL DEFAULT NULL,
  `event_time` datetime(0) NULL DEFAULT NULL,
  `event_remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`oc_id`, `record_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '预警事件过程记录表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of event_record
-- ----------------------------
INSERT INTO `event_record` VALUES (406283, 406283, '发现隐患', 406367, 406283, 0, '2021-02-06 14:50:38', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `event_record` VALUES (406283, 406284, '检查逾期', 406367, 406284, 0, '2021-02-06 14:53:06', NULL, NULL, NULL, NULL, NULL);

-- ----------------------------
-- Table structure for hazard_type
-- ----------------------------
DROP TABLE IF EXISTS `hazard_type`;
CREATE TABLE `hazard_type`  (
  `hazard_type_id` bigint(11) NOT NULL,
  `hazard_type_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `hazard_type_desc` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `is_fixed` bigint(11) NULL DEFAULT 0,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`hazard_type_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '危险源类型表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of hazard_type
-- ----------------------------
INSERT INTO `hazard_type` VALUES (1, '作业活动', NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `hazard_type` VALUES (2, '设备设施', NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `hazard_type` VALUES (3, '分组', NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);

-- ----------------------------
-- Table structure for industry
-- ----------------------------
DROP TABLE IF EXISTS `industry`;
CREATE TABLE `industry`  (
  `industry_id` bigint(11) NULL DEFAULT NULL,
  `industry_code` varchar(127) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '行业领域编码',
  `industry_name` varchar(127) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '行业领域名称',
  `industry_type_id` bigint(11) NULL DEFAULT NULL,
  `industry_logo` varchar(127) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '行业领域图标地址',
  `industry_desc` varchar(511) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `parent_id` bigint(11) NULL DEFAULT NULL,
  `root_id` bigint(11) NULL DEFAULT NULL,
  `node_left` bigint(11) NULL DEFAULT NULL,
  `node_right` bigint(11) NULL DEFAULT NULL,
  `node_level` bigint(11) NULL DEFAULT NULL,
  `is_leaf` bigint(11) NULL DEFAULT NULL,
  `sort_no` bigint(4) NULL DEFAULT NULL,
  `created_at` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  `created_by` bigint(11) NULL DEFAULT NULL COMMENT '创建人',
  `updated_at` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
  `updated_by` bigint(11) NULL DEFAULT NULL COMMENT '更新人',
  `deleted_flag` bigint(4) NULL DEFAULT 0 COMMENT '删除标记',
  `deleted_at` datetime(0) NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP(0),
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`industry_code`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '行业领域表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of industry
-- ----------------------------
INSERT INTO `industry` VALUES (407122, 'C01', '工贸行业', 1, '', '工贸行业', 0, 407122, 0, 21, 1, 0, 1, '2021-02-08 13:02:20', 1, '2021-12-10 10:14:20', 1, 0, '2021-12-10 10:14:20', NULL);
INSERT INTO `industry` VALUES (407123, 'C0101', '冶金行业', 2, NULL, '冶金行业', 407122, 407122, -1, 8, 2, 0, 1, '2021-02-08 13:02:46', 1, NULL, NULL, 0, '2021-10-21 17:37:15', NULL);
INSERT INTO `industry` VALUES (407126, 'C010101', '炼铁', 3, 'layui-icon-vercode', '炼铁', 407123, 407122, 0, 1, 3, 0, 1, '2021-02-08 15:20:59', 1, '2021-03-29 11:04:29', 406283, 0, '2021-08-10 14:26:18', NULL);
INSERT INTO `industry` VALUES (407127, 'C010102', '炼钢', 3, '', '炼钢', 407123, 407122, 0, 1, 3, 1, 2, '2021-02-08 15:21:35', 1, '2021-10-21 17:34:44', 1, 0, '2021-10-21 17:37:15', NULL);
INSERT INTO `industry` VALUES (407128, 'C010103', '轧钢', 3, '', '轧钢', 407123, 407122, 2, 3, 3, 1, 3, '2021-02-08 15:22:06', 1, '2021-10-21 17:34:48', 1, 0, '2021-10-21 17:37:15', NULL);
INSERT INTO `industry` VALUES (407138, 'C010104', '焦化', 2, NULL, '焦化', 407123, 407122, 4, 5, 3, 1, 4, '2021-02-09 21:22:23', 1, NULL, NULL, 0, '2021-10-21 17:37:15', NULL);
INSERT INTO `industry` VALUES (407139, 'C010105', '烧结', 3, NULL, '烧结', 407123, 407122, 6, 7, 3, 1, 5, '2021-02-09 21:23:40', 1, NULL, NULL, 0, '2021-10-21 17:37:15', NULL);
INSERT INTO `industry` VALUES (407141, 'C010202', '染整加工', 3, NULL, '染整加工', 407125, 407122, 12, 13, 3, 1, 2, '2021-02-09 21:26:31', 1, NULL, NULL, 0, '2021-10-21 17:37:15', NULL);
INSERT INTO `industry` VALUES (407142, 'C010203', '服装行业', 3, '', '服装行业', 407125, 407122, 14, 15, 3, 1, 3, '2021-02-09 21:27:03', 1, '2021-10-24 18:29:50', 1, 0, '2021-10-24 18:29:51', NULL);
INSERT INTO `industry` VALUES (407143, 'C010204', '非家用纺织制成品', 3, '', '非家用纺织制成品行业', 407125, 407122, 16, 17, 3, 0, 4, '2021-02-09 21:28:05', 1, '2021-02-09 21:35:39', 1, 0, '2021-10-21 17:37:15', NULL);
INSERT INTO `industry` VALUES (407144, 'C0103', '机械行业', 2, NULL, '机械行业', 407122, 407122, 19, 20, 2, 1, 3, '2021-02-09 21:28:58', 1, NULL, NULL, 0, '2021-10-21 17:37:15', NULL);
INSERT INTO `industry` VALUES (407125, 'C02', '纺织行业', 2, '', '纺织行业', 407122, 407122, 9, 18, 2, 0, 2, '2021-02-08 14:39:18', 1, '2021-10-21 17:45:31', 1, 0, '2021-10-21 17:45:32', NULL);
INSERT INTO `industry` VALUES (407140, 'C0201', '棉纺织加工', 2, NULL, '棉纺织加工', 407125, 407122, 10, 11, 3, 1, 1, '2021-02-09 21:25:36', 1, NULL, NULL, 0, '2021-10-21 17:37:15', NULL);

-- ----------------------------
-- Table structure for job
-- ----------------------------
DROP TABLE IF EXISTS `job`;
CREATE TABLE `job`  (
  `job_id` bigint(11) NOT NULL,
  `job_title` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '',
  `job_desc` varchar(1023) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '',
  `job_key` bigint(11) NULL DEFAULT NULL,
  `job_code` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '',
  `job_group_code` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '',
  `job_class_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `job_class` bigint(11) NULL DEFAULT 0,
  `status` bigint(11) NULL DEFAULT 0,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`job_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '系统作业' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of job
-- ----------------------------
INSERT INTO `job` VALUES (1, 'Hello作业', 'Remark ', NULL, 'HJob', 'HJobGroup', 'com.xazhcx.aqpt.job.HelloJob', 2, 1, NULL, NULL, 1, '2021-12-10 08:06:44', 0, NULL, NULL);
INSERT INTO `job` VALUES (2, '巡检任务派发作业', 'CkJob', NULL, 'CkJob', 'CkJobGroup', 'com.xazhcx.aqpt.job.CheckTaskJob', 1, 1, NULL, NULL, 1, '2021-10-21 11:41:09', 0, NULL, NULL);
INSERT INTO `job` VALUES (3, '巡检逾期处理作业', 'ExceedTaskJob', NULL, 'EtJob', 'EtJobGroup', 'com.xazhcx.aqpt.job.ExceedTaskJob', 1, 1, NULL, NULL, 1, '2021-12-10 07:56:24', 0, NULL, NULL);
INSERT INTO `job` VALUES (184753093410817, 'JOB1', 'JOB1', NULL, '', '', NULL, 0, 0, 1, '2021-10-16 23:25:40', NULL, NULL, 1, '2021-10-16 23:26:49', NULL);
INSERT INTO `job` VALUES (184753259085825, 'JOB1', 'JOB1', NULL, '', '', NULL, 0, 1, 1, '2021-10-16 23:26:59', 1, '2021-12-10 08:06:46', 0, NULL, NULL);

-- ----------------------------
-- Table structure for job_record
-- ----------------------------
DROP TABLE IF EXISTS `job_record`;
CREATE TABLE `job_record`  (
  `record_id` bigint(11) NOT NULL,
  `job_id` bigint(11) NOT NULL,
  `exec_time` datetime(0) NOT NULL,
  PRIMARY KEY (`job_id`, `record_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '任务完成记录' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of job_record
-- ----------------------------

-- ----------------------------
-- Table structure for job_schedule
-- ----------------------------
DROP TABLE IF EXISTS `job_schedule`;
CREATE TABLE `job_schedule`  (
  `schedule_id` bigint(11) NOT NULL,
  `schedule_title` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `job_id` bigint(11) NULL DEFAULT NULL,
  `trigger_id` bigint(11) NULL DEFAULT NULL,
  `start_time` datetime(0) NULL DEFAULT NULL,
  `end_time` datetime(0) NULL DEFAULT NULL,
  `status` bigint(11) NULL DEFAULT -1,
  `schedule_desc` varchar(511) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`schedule_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '任务计划' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of job_schedule
-- ----------------------------
INSERT INTO `job_schedule` VALUES (1, 'JOB1', 1, 1, '2020-11-27 00:00:00', '2020-11-28 00:00:00', 0, 'test', '2020-11-27 17:17:08', 1, '2021-10-17 09:42:21', 1, 1, '2021-10-17 10:11:53', NULL);
INSERT INTO `job_schedule` VALUES (2, 'SCHEDULE2', 3, 2, '2020-12-10 00:00:00', '2020-12-11 00:00:00', -1, 'testiii', '2020-12-10 21:02:46', 1, '2021-10-17 09:59:13', 1, 0, NULL, NULL);
INSERT INTO `job_schedule` VALUES (3, 'SCHEDULE1', 3, 3, '2020-12-10 00:00:00', '2020-12-11 00:00:00', -1, 'aaa', '2020-12-10 21:09:07', 1, '2021-10-17 09:42:09', 1, 1, '2021-10-17 09:58:43', NULL);
INSERT INTO `job_schedule` VALUES (184834395799553, 'A', 1, 2, '2021-10-30 00:00:00', '2021-10-31 00:00:00', -1, 'AAA', '2021-10-17 10:11:48', 1, NULL, NULL, 0, NULL, NULL);

-- ----------------------------
-- Table structure for job_trigger
-- ----------------------------
DROP TABLE IF EXISTS `job_trigger`;
CREATE TABLE `job_trigger`  (
  `trigger_id` bigint(11) NOT NULL,
  `trigger_title` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `trigger_code` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `trigger_group_code` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `trigger_cron` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `trigger_desc` varchar(511) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `status` bigint(11) NULL DEFAULT 0,
  `period_second` int(4) NULL DEFAULT 0,
  `period_minute` int(4) NULL DEFAULT 0,
  `period_hour` int(4) NULL DEFAULT 0,
  `period_day` int(4) NULL DEFAULT 0,
  `period_week` int(4) NULL DEFAULT 0,
  `period_month` int(4) NULL DEFAULT 0,
  `period_year` int(4) NULL DEFAULT 0,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`trigger_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '任务触发器' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of job_trigger
-- ----------------------------
INSERT INTO `job_trigger` VALUES (1, '1分/次', 'triggerName1m', 'triggerGroup1m', '* * * * * ? *', '每分钟1次', 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2020-12-09 13:33:35', 1, '2021-01-30 16:49:53', 1, 0, '2020-12-09 00:00:00', NULL);
INSERT INTO `job_trigger` VALUES (2, '30分/次', 'triggerName30m', 'triggerGroup30m', '0 0/30 * * * ? *', '30分钟1次', 1, 0, 0, 0, 0, 0, 0, 0, '2020-12-10 21:08:47', 1, '2021-10-17 00:36:46', 1, 0, NULL, NULL);
INSERT INTO `job_trigger` VALUES (3, '1时/0分', 'triggerName1h', 'triggerGroup1h', '0 0 0/1 * * ? ', '每小时整点', 1, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, '2021-12-10 07:56:32', 1, 0, NULL, NULL);
INSERT INTO `job_trigger` VALUES (4, '1日/0点', 'triggerGroup1d', 'triggerGroup1d', '0 0 0 1/1 * ? ', '每1日零点', 1, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, '2021-12-10 11:54:18', 1, 0, NULL, NULL);
INSERT INTO `job_trigger` VALUES (5, '2日/0点', 'triggerName2d', 'triggerGroup2d', '0 0 0 1/2 * ? ', '每2日零点', 1, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, '2021-10-17 00:36:50', 1, 0, NULL, NULL);
INSERT INTO `job_trigger` VALUES (6, '3日/0点', 'triggerName3d', 'triggerGroup3d', '0 0 0 1/3 * ? ', '每3日零点', 1, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, '2021-12-10 11:53:37', 1, 0, NULL, NULL);
INSERT INTO `job_trigger` VALUES (7, '每晚23点', 'triggerName23h', 'triggerGroup23h', '0 0 23 1/1 * ? ', '每晚23点', 1, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, '2021-10-17 00:36:53', 1, 1, '2021-12-10 11:54:20', NULL);
INSERT INTO `job_trigger` VALUES (184760160813057, 'test', 'test', 'test', 'test', 'test', 0, 0, 0, 0, 0, 0, 0, 0, '2021-10-17 00:21:50', 1, NULL, NULL, 1, '2021-10-17 00:21:53', NULL);

-- ----------------------------
-- Table structure for kpi_def
-- ----------------------------
DROP TABLE IF EXISTS `kpi_def`;
CREATE TABLE `kpi_def`  (
  `oc_id` bigint(11) NOT NULL,
  `event_def_id` bigint(11) NOT NULL,
  `kpi_score` bigint(11) NULL DEFAULT NULL,
  `kpi_remark` varchar(511) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`oc_id`, `event_def_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '绩效评价规则表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of kpi_def
-- ----------------------------
INSERT INTO `kpi_def` VALUES (406283, 1, 1, '检查逾期', NULL, NULL, '2021-02-01 00:56:48', 406283, 0, NULL, NULL);
INSERT INTO `kpi_def` VALUES (406283, 2, 1, '措施未落实', NULL, NULL, '2021-02-01 00:56:43', 406283, 0, NULL, NULL);
INSERT INTO `kpi_def` VALUES (406283, 3, 1, '发现隐患', NULL, NULL, '2021-02-01 00:57:39', 406283, 0, NULL, NULL);
INSERT INTO `kpi_def` VALUES (406283, 4, 1, '隐患整改逾期', NULL, NULL, '2021-02-01 00:56:58', 406283, 0, NULL, NULL);
INSERT INTO `kpi_def` VALUES (406283, 5, 1, '设备告警', NULL, NULL, '2021-02-01 00:57:04', 406283, 0, NULL, NULL);

-- ----------------------------
-- Table structure for kpi_record
-- ----------------------------
DROP TABLE IF EXISTS `kpi_record`;
CREATE TABLE `kpi_record`  (
  `oc_id` bigint(11) NOT NULL,
  `record_id` bigint(11) NOT NULL,
  `risk_point_id` bigint(11) NULL DEFAULT NULL,
  `record_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `kpi_id` bigint(11) NULL DEFAULT NULL,
  `group_id` bigint(11) NULL DEFAULT NULL,
  `account_id` bigint(11) NULL DEFAULT NULL,
  `record_score` bigint(11) NULL DEFAULT NULL,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`oc_id`, `record_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '绩效评价分值记录表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of kpi_record
-- ----------------------------

-- ----------------------------
-- Table structure for leading_group
-- ----------------------------
DROP TABLE IF EXISTS `leading_group`;
CREATE TABLE `leading_group`  (
  `oc_id` bigint(11) NOT NULL COMMENT '企业ID',
  `group_id` bigint(11) NOT NULL COMMENT '领导小组ID',
  `group_name` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '领导小组名称',
  `group_desc` varchar(512) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '领导小组描述',
  `sort` varchar(512) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '排序',
  `created_by` bigint(11) NULL DEFAULT NULL,
  `created_at` timestamp(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` timestamp(0) NULL DEFAULT NULL,
  `deleted_flag` bigint(4) NULL DEFAULT 0 COMMENT '删除标记',
  `deleted_at` timestamp(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`group_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '领导小组群组表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of leading_group
-- ----------------------------
INSERT INTO `leading_group` VALUES (174144299794433, 175092919238657, '组长', '', '', 174144299794433, '2021-08-24 15:53:30', 0, NULL, 0, NULL, 0);
INSERT INTO `leading_group` VALUES (174144299794433, 175093137342465, '副组长', '', '', 174144299794433, '2021-08-24 15:55:14', 0, NULL, 0, NULL, 0);
INSERT INTO `leading_group` VALUES (174144299794433, 175243549278209, '成员', '', '', 174144299794433, '2021-08-25 11:50:36', 0, NULL, 0, NULL, 0);
INSERT INTO `leading_group` VALUES (174191175335938, 175269180669953, '组长', '', '', 174191175335938, '2021-08-25 15:14:18', 0, NULL, 0, NULL, 0);
INSERT INTO `leading_group` VALUES (174191175335938, 175271527383041, '副组长', '', '', 174191175335938, '2021-08-25 15:32:57', 0, NULL, 0, NULL, 0);
INSERT INTO `leading_group` VALUES (174191175335938, 175403163516929, '成员', '', '', 174191175335938, '2021-08-26 08:59:06', 0, NULL, 0, NULL, 0);

-- ----------------------------
-- Table structure for leading_group_member
-- ----------------------------
DROP TABLE IF EXISTS `leading_group_member`;
CREATE TABLE `leading_group_member`  (
  `lga_id` bigint(11) NOT NULL COMMENT '主键',
  `oc_id` bigint(11) NOT NULL COMMENT '企业ID',
  `group_id` bigint(11) NOT NULL COMMENT '领导小组ID',
  `account_id` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '领导小组成员Id',
  `group_desc` varchar(512) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '领导小组成员描述',
  `sort` varchar(512) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '排序',
  `created_by` bigint(11) NULL DEFAULT NULL,
  `created_at` timestamp(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` timestamp(0) NULL DEFAULT NULL,
  `deleted_flag` bigint(4) NULL DEFAULT 0 COMMENT '删除标记',
  `deleted_at` timestamp(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`lga_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '领导小组成员表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of leading_group_member
-- ----------------------------
INSERT INTO `leading_group_member` VALUES (175243605901313, 174144299794433, 175093137342465, '175236221829121', '', '', 174144299794433, '2021-08-25 11:51:03', NULL, NULL, 0, NULL, NULL);
INSERT INTO `leading_group_member` VALUES (175243658330113, 174144299794433, 175092919238657, '175235378774017', '', '', 174144299794433, '2021-08-25 11:51:28', NULL, NULL, 0, NULL, NULL);
INSERT INTO `leading_group_member` VALUES (175271537868801, 174191175335938, 175269180669953, '174191175335938', '', '', 174191175335938, '2021-08-25 15:33:02', NULL, NULL, 0, NULL, NULL);
INSERT INTO `leading_group_member` VALUES (175451051982849, 174144299794433, 175243549278209, '175446729752577', '', '', 174144299794433, '2021-08-26 15:19:41', NULL, NULL, 0, NULL, NULL);
INSERT INTO `leading_group_member` VALUES (175451072954369, 174144299794433, 175243549278209, '175240109948929', '', '', 174144299794433, '2021-08-26 15:19:51', NULL, NULL, 0, NULL, NULL);
INSERT INTO `leading_group_member` VALUES (175451083440129, 174144299794433, 175243549278209, '175240571322369', '', '', 174144299794433, '2021-08-26 15:19:56', NULL, NULL, 0, NULL, NULL);
INSERT INTO `leading_group_member` VALUES (175477014724609, 174191175335938, 175403163516929, '175476943421441', '', '', 174191175335938, '2021-08-26 18:46:01', NULL, NULL, 0, NULL, NULL);

-- ----------------------------
-- Table structure for measure_type
-- ----------------------------
DROP TABLE IF EXISTS `measure_type`;
CREATE TABLE `measure_type`  (
  `measure_type_id` bigint(11) NULL DEFAULT NULL,
  `measure_type_title` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `measure_type_desc` varchar(1023) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '管控措施类别定义' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of measure_type
-- ----------------------------
INSERT INTO `measure_type` VALUES (1, '工程技术', '工程技术类');
INSERT INTO `measure_type` VALUES (2, '专业技术', '专业技术类');
INSERT INTO `measure_type` VALUES (3, '管理类', '管理类');
INSERT INTO `measure_type` VALUES (4, '个体防护类', '个体防护类');

-- ----------------------------
-- Table structure for message
-- ----------------------------
DROP TABLE IF EXISTS `message`;
CREATE TABLE `message`  (
  `oc_id` bigint(11) NOT NULL,
  `msg_id` bigint(11) NOT NULL,
  `msg_fr` bigint(11) NULL DEFAULT NULL,
  `msg_to_group` bigint(11) NULL DEFAULT NULL,
  `msg_cc` bigint(11) NULL DEFAULT NULL,
  `msg_to` bigint(11) NULL DEFAULT NULL,
  `msg_cat_id` bigint(11) NULL DEFAULT NULL,
  `msg_title` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `msg_content` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `deleted_flag` bigint(4) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  PRIMARY KEY (`msg_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '消息通知表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of message
-- ----------------------------

-- ----------------------------
-- Table structure for message_cat
-- ----------------------------
DROP TABLE IF EXISTS `message_cat`;
CREATE TABLE `message_cat`  (
  `msg_cat_id` bigint(20) NOT NULL,
  `msg_cat_title` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  PRIMARY KEY (`msg_cat_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '消息类型表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of message_cat
-- ----------------------------

-- ----------------------------
-- Table structure for oc
-- ----------------------------
DROP TABLE IF EXISTS `oc`;
CREATE TABLE `oc`  (
  `oc_id` bigint(11) NULL DEFAULT NULL COMMENT '组织ID',
  `oc_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '组织名称',
  `oc_type_id` bigint(11) NULL DEFAULT NULL COMMENT '组织类型',
  `root_id` bigint(11) NULL DEFAULT NULL COMMENT '根ID',
  `parent_id` bigint(11) NULL DEFAULT NULL COMMENT '父ID',
  `admin_id` bigint(11) NULL DEFAULT NULL COMMENT '管理员ID',
  `group_id` bigint(11) NULL DEFAULT NULL COMMENT '管理群组ID',
  `node_left` int(4) NULL DEFAULT NULL COMMENT '左',
  `node_right` int(4) NULL DEFAULT NULL COMMENT '右',
  `node_level` int(4) NULL DEFAULT NULL COMMENT '层级',
  `is_leaf` int(4) NULL DEFAULT NULL COMMENT '是否叶子',
  `status` int(4) NULL DEFAULT 1 COMMENT '状态',
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NOT NULL DEFAULT 0,
  `deleted_flag` int(4) NULL DEFAULT 0,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '组织表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of oc
-- ----------------------------
INSERT INTO `oc` VALUES (1, '陕西智慧创新信息科技有限公司', 1, 1, 0, 1, NULL, NULL, NULL, NULL, NULL, 1, NULL, 1, '2021-10-23 20:22:00', 1, 0, NULL, NULL);
INSERT INTO `oc` VALUES (406282, '中国公司01', 2, 406282, 0, 406282, 406282, 1, 2, 1, 1, 1, NULL, 0, '2021-12-10 10:02:42', 1, 0, NULL, 0);
INSERT INTO `oc` VALUES (406283, '中国公司02', 2, 406283, 0, 406283, 406283, 1, 2, 1, 1, 1, NULL, 0, '2021-12-10 10:02:49', 1, 0, NULL, 0);
INSERT INTO `oc` VALUES (185853792026625, 'a', 3, 185853792026625, 0, 185853792026625, 185853792026625, 1, 2, 1, 1, 1, '2021-10-23 01:13:14', 1, '2021-12-10 10:13:22', 1, 0, NULL, NULL);
INSERT INTO `oc` VALUES (185967392653313, '中国公司02', 4, 185967392653313, 0, 185967392653313, 185967392653313, 1, 2, 1, 1, 1, '2021-10-23 16:16:03', 1, '2021-10-23 23:27:36', 1, 0, NULL, NULL);
INSERT INTO `oc` VALUES (185974646702081, '中国公司02', 4, 185974646702081, 0, 185974646702081, 185974646702081, 1, 2, 1, 1, 1, '2021-10-23 17:13:43', 1, '2021-12-10 07:32:16', 1, 0, NULL, NULL);
INSERT INTO `oc` VALUES (185996373196801, 'test', 3, 185996373196801, 0, 185996373196801, 185996373196801, 1, 2, 1, 1, 1, '2021-10-23 20:06:23', 1, '2021-12-10 10:05:12', 1, 0, NULL, NULL);
INSERT INTO `oc` VALUES (407711, NULL, 4, 407711, 0, NULL, 407711, 1, 2, 1, 1, 1, '2021-12-10 07:32:30', 1, NULL, 0, 0, NULL, NULL);
INSERT INTO `oc` VALUES (407712, NULL, 3, 407712, 0, NULL, 407712, 1, 2, 1, 1, 1, '2021-12-10 07:32:46', 1, NULL, 0, 0, NULL, NULL);

-- ----------------------------
-- Table structure for org
-- ----------------------------
DROP TABLE IF EXISTS `org`;
CREATE TABLE `org`  (
  `oc_id` bigint(20) NOT NULL,
  `org_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `org_code` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `org_cat_id` bigint(20) NULL DEFAULT NULL,
  `org_desc` varchar(511) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `org_lxr` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `org_lxdh` varchar(127) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `org_dzyx` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `org_area_code` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `org_area_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `org_wzjd` decimal(9, 6) NULL DEFAULT NULL,
  `org_wzwd` decimal(9, 6) NULL DEFAULT NULL,
  `org_address` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `deleted_flag` bigint(2) NULL DEFAULT 0,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  PRIMARY KEY (`oc_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '政府机构表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of org
-- ----------------------------
INSERT INTO `org` VALUES (407712, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-12-10 07:32:47', NULL, NULL, 1, NULL, '2021-12-10 10:13:07');
INSERT INTO `org` VALUES (185853792026625, 'a', 'a', 185947306131457, 'aaaa3333', 'aa', 'aa', 'hyf@xazhyc.com', '110000,110102', NULL, 3.000000, 3.000000, '陕师大附中', 1, '2021-10-23 01:13:15', 1, '2021-12-10 10:13:22', 0, NULL, NULL);
INSERT INTO `org` VALUES (185996373196801, 'test', 'test', 406235, 'testaaa', 'test', '18591965516', 'houyaf@hotmail.com', '110000,110101', NULL, 2.000000, 2.000000, '陕西省西安市新城区码头之尚砂锅串串(周至店)', 1, '2021-10-23 20:06:23', 1, '2021-12-10 10:05:12', 0, NULL, NULL);

-- ----------------------------
-- Table structure for org_cat
-- ----------------------------
DROP TABLE IF EXISTS `org_cat`;
CREATE TABLE `org_cat`  (
  `org_cat_id` bigint(20) NOT NULL,
  `org_cat_title` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `org_cat_desc` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(20) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  PRIMARY KEY (`org_cat_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '政府机构类型' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of org_cat
-- ----------------------------
INSERT INTO `org_cat` VALUES (406235, 'safd', 'afafood', NULL, 1, '2021-12-13 11:40:19', 1, 0, 0, '2020-02-16 19:14:19');
INSERT INTO `org_cat` VALUES (406237, '88888d', '9999999d', NULL, 1, '2021-10-23 13:35:32', 1, 1, 0, NULL);
INSERT INTO `org_cat` VALUES (185610430119937, 'A', 'A', '2021-10-21 16:59:10', 1, NULL, NULL, 1, NULL, NULL);
INSERT INTO `org_cat` VALUES (185947245314049, 'a', 'a', '2021-10-23 13:35:56', 1, '2021-12-13 11:39:54', 1, 0, NULL, NULL);
INSERT INTO `org_cat` VALUES (185947306131457, 'b', 'b', '2021-10-23 13:36:25', 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `org_cat` VALUES (185948786720769, 'y', 'y', '2021-10-23 13:48:11', 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `org_cat` VALUES (185950831443969, 'a', 'a', '2021-10-23 14:04:26', 1, NULL, NULL, 0, NULL, NULL);

-- ----------------------------
-- Table structure for partner
-- ----------------------------
DROP TABLE IF EXISTS `partner`;
CREATE TABLE `partner`  (
  `oc_id` bigint(20) NOT NULL,
  `partner_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '公司名称',
  `partner_desc` varchar(512) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '说明',
  `partner_cat_id` bigint(11) NULL DEFAULT NULL COMMENT '类型',
  `partner_lxr` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '联系人',
  `partner_lxdh` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '联系电话',
  `partner_tyshxydm` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '统一社会信用代码',
  `partner_clrq` date NULL DEFAULT NULL COMMENT '成立日期',
  `partner_dzyx` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '电子邮箱',
  `partner_wzjd` decimal(9, 6) NULL DEFAULT NULL COMMENT '纬度',
  `partner_wzwd` decimal(9, 6) NULL DEFAULT NULL COMMENT '经度',
  `partner_area_code` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '行政区划代码',
  `partner_area_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '行政区划名称',
  `partner_address` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '地址',
  `created_by` bigint(11) NULL DEFAULT NULL,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `deleted_flag` bigint(4) NULL DEFAULT 0,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  PRIMARY KEY (`oc_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '合作伙伴、代理商' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of partner
-- ----------------------------
INSERT INTO `partner` VALUES (407711, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-12-10 07:32:30', NULL, NULL, 1, NULL, '2021-12-10 10:13:31');
INSERT INTO `partner` VALUES (185967392653313, '中国公司02', '2222', 185951141822465, 'accc', '18710736507', 'qccc', '2021-10-29', 'houyaf@qq.com', 2.000000, 2.000000, '110000,110105', '', '陕师大附中', 1, '2021-10-23 16:16:03', 1, '2021-10-23 23:27:36', 0, NULL, NULL);
INSERT INTO `partner` VALUES (185974646702081, '中国公司02', 'aaaa', 185951141822465, 'iii34445', '18591965516', 'aaa', '2021-10-28', 'houyaf@163.com', 0.000000, 0.000000, '110000,110101', '', '陕西省西安市新城区码头之尚砂锅串串(周至店)', 1, '2021-10-23 17:13:43', 1, '2021-12-10 07:32:16', 0, NULL, NULL);

-- ----------------------------
-- Table structure for partner_cat
-- ----------------------------
DROP TABLE IF EXISTS `partner_cat`;
CREATE TABLE `partner_cat`  (
  `partner_cat_id` bigint(11) NOT NULL,
  `partner_cat_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `partner_cat_desc` varchar(511) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  PRIMARY KEY (`partner_cat_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '合作伙伴类别' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of partner_cat
-- ----------------------------
INSERT INTO `partner_cat` VALUES (185951141822465, 'Wd', 'Wd', 1, '2021-10-23 14:06:54', '2021-10-23 14:11:40', 1, NULL, NULL, 0);
INSERT INTO `partner_cat` VALUES (185951397675009, 'a1', 'a1', 1, '2021-10-23 14:08:57', '2021-12-13 11:13:53', 1, NULL, NULL, 0);
INSERT INTO `partner_cat` VALUES (185952349782017, 'a', 'a', 1, '2021-10-23 14:16:30', '2021-10-23 14:16:33', 1, NULL, NULL, 0);
INSERT INTO `partner_cat` VALUES (185952370753537, 'b', 'b', 1, '2021-10-23 14:16:41', '2021-10-23 14:29:14', 1, NULL, NULL, 0);
INSERT INTO `partner_cat` VALUES (185952379142145, 'd', 'd', 1, '2021-10-23 14:16:44', '2021-10-23 14:29:10', 1, NULL, NULL, 0);

-- ----------------------------
-- Table structure for s_group
-- ----------------------------
DROP TABLE IF EXISTS `s_group`;
CREATE TABLE `s_group`  (
  `oc_id` bigint(11) NOT NULL,
  `group_id` bigint(11) NOT NULL,
  `group_name` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `group_cat_id` bigint(11) NULL DEFAULT NULL,
  `group_path` varchar(1024) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '',
  `group_desc` varchar(512) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '',
  `status` bigint(11) NULL DEFAULT NULL,
  `group_code` varchar(512) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '',
  `group_select` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `is_fixed` bigint(11) NULL DEFAULT 0,
  `parent_id` bigint(11) NULL DEFAULT NULL,
  `root_id` bigint(11) NULL DEFAULT NULL,
  `node_left` bigint(11) NULL DEFAULT NULL,
  `node_level` bigint(4) NULL DEFAULT NULL,
  `node_right` bigint(11) NULL DEFAULT NULL,
  `is_leaf` bigint(4) NULL DEFAULT 1,
  `order` bigint(11) NULL DEFAULT NULL,
  `sort` varchar(512) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '',
  `select` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '拼音及首字母搜索',
  `created_by` bigint(11) NULL DEFAULT NULL,
  `created_at` timestamp(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` timestamp(0) NULL DEFAULT NULL,
  `deleted_flag` bigint(4) NULL DEFAULT 0 COMMENT '删除标记',
  `deleted_at` timestamp(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`group_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '群组表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of s_group
-- ----------------------------
INSERT INTO `s_group` VALUES (1, 1, '西安智慧创新信息科技有限公司', 1, '', 'aaaab', 0, '', '', 1, 0, NULL, 49, 1, 50, 0, 0, '', '', 0, NULL, 1, NULL, 0, '2020-03-13 00:00:00', 0);
INSERT INTO `s_group` VALUES (1, 406186, 'd2', 406183, '', 'd1d1', NULL, '', NULL, 0, 1, NULL, 1, 2, 2, 0, NULL, '', NULL, 1, NULL, 1, NULL, 1, '2020-03-13 00:00:00', NULL);
INSERT INTO `s_group` VALUES (1, 406187, 'd1d1', 406183, '', 'd111111w32d', NULL, '', NULL, 0, 406186, NULL, 1, 3, 2, 0, NULL, '', NULL, 1, NULL, 1, NULL, 1, '2020-03-13 00:00:00', NULL);
INSERT INTO `s_group` VALUES (1, 406194, 'd2', 406183, '', 'd222223', NULL, '', NULL, 0, 1, NULL, 11, 2, 12, 0, NULL, '', NULL, 1, NULL, 1, NULL, 0, NULL, NULL);
INSERT INTO `s_group` VALUES (1, 406195, 'd22', 406183, '', 'd22d23333d22d23333d22d23333d22d23333d22d23333d22d23333d22d23333d22d5657575757575757', NULL, '', NULL, 0, 406194, NULL, 1, 3, 2, 1, NULL, '', NULL, 1, NULL, 1, NULL, 0, NULL, NULL);
INSERT INTO `s_group` VALUES (1, 406196, 'd222', 406183, '', 'd222', NULL, '', NULL, 0, 406195, NULL, 1, 4, 2, 1, NULL, '', NULL, 1, NULL, NULL, NULL, 1, '2020-03-13 00:00:00', NULL);
INSERT INTO `s_group` VALUES (1, 406197, 'd222', 406183, '', 'd22222255555555555555555555555555555555555555', NULL, '', NULL, 0, 406195, NULL, 1, 4, 2, 0, NULL, '', NULL, 1, NULL, 1, NULL, 1, '2020-03-15 00:00:00', NULL);
INSERT INTO `s_group` VALUES (1, 406207, 'd232', 1, '', 'd23xxxx', NULL, '', '', 0, 406194, NULL, 9, 3, 10, 0, NULL, '', NULL, 1, NULL, 1, NULL, 0, NULL, NULL);
INSERT INTO `s_group` VALUES (1, 406208, 'd33', 406183, '', 'd3', NULL, '', NULL, 0, 1, NULL, 7, 2, 8, 0, NULL, '', NULL, 1, NULL, 1, NULL, 1, '2020-03-17 00:00:00', NULL);
INSERT INTO `s_group` VALUES (1, 406209, 'd4', 406183, '', 'd4', NULL, '', NULL, 0, 1, NULL, 9, 2, 10, 1, NULL, '', NULL, 1, NULL, NULL, NULL, 1, '2020-03-17 00:00:00', NULL);
INSERT INTO `s_group` VALUES (1, 406226, 'd22222', 1, '', '2222dddd', NULL, '', '', 0, 406207, NULL, 7, 4, 8, 0, NULL, '', NULL, 1, NULL, 1, NULL, 0, NULL, NULL);
INSERT INTO `s_group` VALUES (1, 406227, 'd233455', 1, '', 'saasasas', NULL, '', '', 0, 406226, NULL, 3, 5, 6, 0, NULL, '', NULL, 1, NULL, 1, NULL, 0, NULL, NULL);
INSERT INTO `s_group` VALUES (1, 406228, 'd22222', 406183, '', 'sd', NULL, '', '', 0, 406226, NULL, 5, 5, 6, 1, NULL, '', NULL, 1, NULL, 1, NULL, 1, '2021-10-13 16:37:11', NULL);
INSERT INTO `s_group` VALUES (1, 406237, '', 406183, '', '', NULL, '', NULL, 0, 1, NULL, 13, 2, 14, 1, NULL, '', NULL, 1, NULL, NULL, NULL, 1, '2020-03-18 00:00:00', NULL);
INSERT INTO `s_group` VALUES (1, 406238, 'e3', 406183, '', '', NULL, '', NULL, 0, 1, NULL, 13, 2, 14, 1, NULL, '', NULL, 1, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `s_group` VALUES (1, 406243, 'e4', 406183, '', '4', NULL, '', NULL, 0, 1, NULL, 15, 2, 16, 1, NULL, '', NULL, 1, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `s_group` VALUES (1, 406244, 'e5', 406183, '', 'd5', NULL, '', NULL, 0, 1, NULL, 17, 2, 18, 1, NULL, '', NULL, 1, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `s_group` VALUES (1, 406245, 'e6', 406183, '', '', NULL, '', NULL, 0, 1, NULL, 19, 2, 20, 1, NULL, '', NULL, 1, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `s_group` VALUES (1, 406246, 'd7', 406183, '', '', NULL, '', NULL, 0, 1, NULL, 21, 2, 22, 1, NULL, '', NULL, 1, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `s_group` VALUES (1, 406247, 'd8', 406183, '', '', NULL, '', NULL, 0, 1, NULL, 23, 2, 24, 1, NULL, '', NULL, 1, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `s_group` VALUES (1, 406248, 'd9', 406183, '', 'd9', NULL, '', NULL, 0, 1, NULL, 25, 2, 26, 1, NULL, '', NULL, 1, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `s_group` VALUES (1, 406249, 'd10', 406183, '', 'd10', NULL, '', NULL, 0, 1, NULL, 27, 2, 28, 1, NULL, '', NULL, 1, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `s_group` VALUES (1, 406250, 'd11', 406183, '', 'd11', NULL, '', NULL, 0, 1, NULL, 29, 2, 30, 1, NULL, '', NULL, 1, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `s_group` VALUES (1, 406251, 'd12', 406183, '', 'd12', NULL, '', NULL, 0, 1, NULL, 31, 2, 32, 1, NULL, '', NULL, 1, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `s_group` VALUES (1, 406252, 'd13', 406183, '', 'd13', NULL, '', NULL, 0, 1, NULL, 33, 2, 34, 1, NULL, '', NULL, 1, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `s_group` VALUES (1, 406253, 'd14', 406183, '', '', NULL, '', NULL, 0, 1, NULL, 35, 2, 36, 1, NULL, '', NULL, 1, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `s_group` VALUES (1, 406254, 'd15', 406183, '', '', NULL, '', NULL, 0, 1, NULL, 37, 2, 38, 1, NULL, '', NULL, 1, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `s_group` VALUES (1, 406255, 'd16', 406183, '', '', NULL, '', NULL, 0, 1, NULL, 39, 2, 40, 1, NULL, '', NULL, 1, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `s_group` VALUES (1, 406256, 'd17', 406183, '', '', NULL, '', NULL, 0, 1, NULL, 41, 2, 42, 1, NULL, '', NULL, 1, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `s_group` VALUES (1, 406257, 'd18', 406183, '', '', NULL, '', NULL, 0, 1, NULL, 43, 2, 44, 1, NULL, '', NULL, 1, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `s_group` VALUES (1, 406258, 'd19', 406183, '', '', NULL, '', NULL, 0, 1, NULL, 45, 2, 46, 1, NULL, '', NULL, 1, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `s_group` VALUES (1, 406259, 'd20', 406183, '', '', NULL, '', NULL, 0, 1, NULL, 47, 2, 48, 1, NULL, '', NULL, 1, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `s_group` VALUES (406282, 406282, '中国公司01', 406282, '', '中国公司01', 0, '', NULL, 1, 0, NULL, 1, 1, 2, 1, 0, '', '', 0, NULL, 0, NULL, 0, NULL, 0);
INSERT INTO `s_group` VALUES (406283, 406283, '中国公司02', 406283, '', '中国公司02', 0, '', NULL, 1, 0, NULL, 1, 1, 12, 0, 0, '', '', 0, NULL, 406283, NULL, 0, NULL, 0);
INSERT INTO `s_group` VALUES (406283, 406297, 'S02', 406192, '', '', NULL, '', NULL, 0, 406283, NULL, 2, 2, 5, 0, NULL, '', NULL, 406283, NULL, 406283, NULL, 0, NULL, NULL);
INSERT INTO `s_group` VALUES (406283, 406298, 'S03', 406192, '', '', NULL, '', NULL, 0, 406283, NULL, 6, 2, 9, 0, NULL, '', NULL, 406283, NULL, 406283, NULL, 0, NULL, NULL);
INSERT INTO `s_group` VALUES (406283, 406300, 'S021', 406306, '', 'dddd', NULL, '', NULL, 0, 406297, NULL, 3, 3, 4, 1, NULL, '', NULL, 406283, NULL, 406283, NULL, 0, NULL, NULL);
INSERT INTO `s_group` VALUES (406283, 406301, 'S031', 406306, '', '', NULL, '', NULL, 0, 406298, NULL, 7, 3, 8, 1, NULL, '', NULL, 406283, NULL, 406283, NULL, 0, NULL, NULL);
INSERT INTO `s_group` VALUES (406283, 407300, NULL, NULL, '', '', NULL, '', NULL, 0, 406283, 406283, 10, 2, 11, 1, NULL, '', NULL, 406283, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `s_group` VALUES (407711, 407711, NULL, 407711, '', '', NULL, '', NULL, 0, 0, 407711, 1, 1, 2, 1, NULL, '', NULL, 1, '2021-12-10 07:32:30', NULL, NULL, 0, NULL, NULL);
INSERT INTO `s_group` VALUES (407712, 407712, NULL, 407712, '', '', NULL, '', NULL, 0, 0, 407712, 1, 1, 2, 1, NULL, '', NULL, 1, '2021-12-10 07:32:46', NULL, NULL, 0, NULL, NULL);
INSERT INTO `s_group` VALUES (1, 184164146020353, 'dt', 406182, '', 'test', NULL, '', '', 0, 406227, 1, 4, 6, 5, 1, NULL, '', NULL, 1, NULL, 1, NULL, 1, '2021-10-14 07:17:48', NULL);
INSERT INTO `s_group` VALUES (1, 184750348238849, 'd6666', 1, '', 'd', NULL, '', '', 0, 406227, 1, 4, 6, 5, 1, NULL, '', NULL, 1, NULL, 1, NULL, 0, NULL, NULL);
INSERT INTO `s_group` VALUES (185853792026625, 185853792026625, NULL, 185853792026625, '', '', NULL, '', NULL, 0, 0, 185853792026625, 1, 1, 2, 1, NULL, '', NULL, 1, '2021-10-23 01:13:15', NULL, NULL, 0, NULL, NULL);
INSERT INTO `s_group` VALUES (185967392653313, 185967392653313, 'a', 185967392653313, '', '', NULL, '', NULL, 0, 0, 185967392653313, 1, 1, 2, 1, NULL, '', NULL, 1, '2021-10-23 16:16:03', NULL, NULL, 0, NULL, NULL);
INSERT INTO `s_group` VALUES (185974646702081, 185974646702081, '中国公司02', 185974646702081, '', '', NULL, '', NULL, 0, 0, 185974646702081, 1, 1, 2, 1, NULL, '', NULL, 1, '2021-10-23 17:13:43', NULL, NULL, 0, NULL, NULL);
INSERT INTO `s_group` VALUES (185996373196801, 185996373196801, NULL, 185996373196801, '', '', NULL, '', NULL, 0, 0, 185996373196801, 1, 1, 2, 1, NULL, '', NULL, 1, '2021-10-23 20:06:23', NULL, NULL, 0, NULL, NULL);

-- ----------------------------
-- Table structure for s_group_cat
-- ----------------------------
DROP TABLE IF EXISTS `s_group_cat`;
CREATE TABLE `s_group_cat`  (
  `oc_id` bigint(11) NOT NULL COMMENT '行业类型 1、化工行业2、其他行业',
  `group_cat_id` bigint(11) NOT NULL DEFAULT 0,
  `group_cat_title` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '',
  `group_cat_desc` varchar(512) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `group_cat_showIf` int(4) NULL DEFAULT NULL,
  `is_fixed` int(4) NULL DEFAULT 0,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `created_at` timestamp(0) NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP(0),
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` timestamp(0) NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP(0),
  `deleted_flag` int(4) NULL DEFAULT 0,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  `deleted_at` datetime(0) NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP(0),
  PRIMARY KEY (`group_cat_id`, `oc_id`) USING BTREE
) ENGINE = MyISAM CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '部门类型' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of s_group_cat
-- ----------------------------
INSERT INTO `s_group_cat` VALUES (1, 1, '公司', 'wsfsdfzs', 1, 1, NULL, '2021-10-23 14:17:29', 1, '2021-10-23 14:17:28', 0, NULL, '2021-10-23 14:17:29');
INSERT INTO `s_group_cat` VALUES (406283, 406283, '公司', '公司', NULL, 1, 0, '2020-03-19 09:07:48', 406283, '2020-03-19 17:07:47', 0, 0, '2020-03-19 09:07:48');
INSERT INTO `s_group_cat` VALUES (406282, 406282, '公司', '公司', NULL, 1, 0, '2020-02-27 14:21:40', 0, '2020-02-27 14:21:40', 0, 0, '2020-02-27 14:21:40');
INSERT INTO `s_group_cat` VALUES (1, 406176, 'bc', 'bc', NULL, 0, 1, '2021-12-13 11:56:14', 1, '2021-12-13 11:56:14', 0, NULL, '2021-12-13 11:56:14');
INSERT INTO `s_group_cat` VALUES (1, 406182, 'AB', 'AB', NULL, 0, 1, '2021-10-23 14:17:33', 1, '2021-10-23 14:17:33', 0, NULL, '2021-10-23 14:17:33');
INSERT INTO `s_group_cat` VALUES (1, 406183, 'ABAB', 'ABAB', NULL, 0, 1, '2021-10-23 14:17:40', 1, '2021-10-23 14:17:40', 1, NULL, '2021-10-23 14:17:40');
INSERT INTO `s_group_cat` VALUES (406283, 406192, '车间', '车间', NULL, 0, 406283, '2020-03-19 09:07:26', 406283, '2020-03-19 17:07:25', 0, NULL, '2020-03-19 09:07:26');
INSERT INTO `s_group_cat` VALUES (406283, 406306, '班组', '班组', NULL, 0, 406283, '2020-03-19 17:07:40', NULL, NULL, 0, NULL, NULL);
INSERT INTO `s_group_cat` VALUES (407239, 407239, '公司', '描述', NULL, 1, 1, '2021-03-14 13:05:18', NULL, NULL, 0, NULL, NULL);
INSERT INTO `s_group_cat` VALUES (185853792026625, 185853792026625, '公司', '描述', NULL, 1, 1, '2021-10-23 01:13:14', NULL, NULL, 0, NULL, NULL);
INSERT INTO `s_group_cat` VALUES (185963280138241, 185963280138241, '公司', '描述', NULL, 1, 1, '2021-10-23 15:43:22', NULL, NULL, 0, NULL, NULL);
INSERT INTO `s_group_cat` VALUES (185963712151553, 185963712151553, '公司', '描述', NULL, 1, 1, '2021-10-23 15:46:48', NULL, NULL, 0, NULL, NULL);
INSERT INTO `s_group_cat` VALUES (185964651675649, 185964651675649, '公司', '描述', NULL, 1, 1, '2021-10-23 15:54:16', NULL, NULL, 0, NULL, NULL);
INSERT INTO `s_group_cat` VALUES (185964783796225, 185964783796225, '公司', '描述', NULL, 1, 1, '2021-10-23 15:55:20', NULL, NULL, 0, NULL, NULL);
INSERT INTO `s_group_cat` VALUES (185964920111105, 185964920111105, '公司', '描述', NULL, 1, 1, '2021-10-23 15:56:24', NULL, NULL, 0, NULL, NULL);
INSERT INTO `s_group_cat` VALUES (185966792867841, 185966792867841, '公司', '描述', NULL, 1, 1, '2021-10-23 16:11:18', NULL, NULL, 0, NULL, NULL);
INSERT INTO `s_group_cat` VALUES (185966992097281, 185966992097281, '公司', '描述', NULL, 1, 1, '2021-10-23 16:12:53', NULL, NULL, 0, NULL, NULL);
INSERT INTO `s_group_cat` VALUES (185967392653313, 185967392653313, '公司', '描述', NULL, 1, 1, '2021-10-23 16:16:03', NULL, NULL, 0, NULL, NULL);
INSERT INTO `s_group_cat` VALUES (185974646702081, 185974646702081, '公司', '描述', NULL, 1, 1, '2021-10-23 17:13:43', NULL, NULL, 0, NULL, NULL);
INSERT INTO `s_group_cat` VALUES (185996373196801, 185996373196801, '公司', '描述', NULL, 1, 1, '2021-10-23 20:06:23', NULL, NULL, 0, NULL, NULL);
INSERT INTO `s_group_cat` VALUES (407711, 407711, '公司', '描述', NULL, 1, 1, '2021-12-10 07:32:30', NULL, NULL, 0, NULL, NULL);
INSERT INTO `s_group_cat` VALUES (407712, 407712, '公司', '描述', NULL, 1, 1, '2021-12-10 07:32:46', NULL, NULL, 0, NULL, NULL);

-- ----------------------------
-- Table structure for s_group_member
-- ----------------------------
DROP TABLE IF EXISTS `s_group_member`;
CREATE TABLE `s_group_member`  (
  `oc_id` bigint(11) NULL DEFAULT NULL,
  `gm_id` bigint(11) NOT NULL,
  `group_id` bigint(11) NOT NULL,
  `account_id` bigint(11) NOT NULL,
  `group_member_remark` varchar(512) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `is_fixed` int(4) UNSIGNED NULL DEFAULT 0,
  `created_at` timestamp(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` timestamp(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` int(4) NULL DEFAULT 0,
  `deleted_at` datetime(0) NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP(0),
  PRIMARY KEY (`gm_id`) USING BTREE
) ENGINE = MyISAM CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '群组成员表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of s_group_member
-- ----------------------------
INSERT INTO `s_group_member` VALUES (1, 1, 1, 1, '1', 1, NULL, NULL, NULL, NULL, NULL, 0, NULL);
INSERT INTO `s_group_member` VALUES (406283, 406283, 406283, 406283, NULL, 0, NULL, NULL, NULL, NULL, NULL, 0, NULL);
INSERT INTO `s_group_member` VALUES (406282, 406282, 406282, 406282, NULL, 0, NULL, NULL, NULL, NULL, NULL, 0, '2020-02-27 10:22:38');
INSERT INTO `s_group_member` VALUES (1, 406190, 406187, 406188, NULL, 0, NULL, NULL, NULL, NULL, NULL, 1, '2020-03-13 00:00:00');
INSERT INTO `s_group_member` VALUES (1, 406216, 1, 406214, NULL, 0, NULL, NULL, NULL, NULL, NULL, 0, NULL);
INSERT INTO `s_group_member` VALUES (1, 406220, 1, 406218, NULL, 0, NULL, NULL, NULL, NULL, NULL, 0, NULL);
INSERT INTO `s_group_member` VALUES (1, 406224, 1, 406222, NULL, 0, NULL, NULL, NULL, NULL, NULL, 0, NULL);
INSERT INTO `s_group_member` VALUES (1, 406231, 1, 406229, NULL, 0, NULL, NULL, NULL, NULL, NULL, 0, NULL);
INSERT INTO `s_group_member` VALUES (1, 406235, 1, 406233, NULL, 0, NULL, NULL, NULL, NULL, NULL, 1, '2021-10-14 00:42:21');
INSERT INTO `s_group_member` VALUES (1, 406241, 1, 406239, NULL, 0, NULL, NULL, NULL, NULL, NULL, 1, '2021-10-13 01:46:17');
INSERT INTO `s_group_member` VALUES (1, 406262, 406194, 406260, NULL, 0, NULL, NULL, NULL, NULL, NULL, 0, NULL);
INSERT INTO `s_group_member` VALUES (406283, 407698, 406283, 407696, NULL, 0, NULL, NULL, NULL, NULL, NULL, 0, NULL);
INSERT INTO `s_group_member` VALUES (406283, 406304, 406300, 406302, NULL, 0, NULL, NULL, NULL, NULL, NULL, 0, '2020-03-19 10:20:48');
INSERT INTO `s_group_member` VALUES (406283, 406872, 406283, 406870, NULL, 0, NULL, NULL, NULL, NULL, NULL, 0, NULL);
INSERT INTO `s_group_member` VALUES (1, 184171131633667, 406195, 184171131633665, NULL, 0, NULL, NULL, NULL, NULL, NULL, 0, NULL);
INSERT INTO `s_group_member` VALUES (185996373196801, 185996373196801, 185996373196801, 185996373196801, NULL, 0, '2021-10-23 21:03:58', NULL, NULL, NULL, NULL, 0, NULL);
INSERT INTO `s_group_member` VALUES (185853792026625, 185853792026625, 185853792026625, 185853792026625, NULL, 0, '2021-10-23 21:04:06', NULL, NULL, NULL, NULL, 0, NULL);
INSERT INTO `s_group_member` VALUES (185974646702081, 185974646702081, 185974646702081, 185974646702081, NULL, 0, '2021-10-23 22:04:01', NULL, NULL, NULL, NULL, 0, NULL);
INSERT INTO `s_group_member` VALUES (185967392653313, 185967392653313, 185967392653313, 185967392653313, NULL, 0, '2021-10-23 22:37:53', NULL, NULL, NULL, NULL, 0, NULL);
INSERT INTO `s_group_member` VALUES (406283, 407298, 406300, 407296, NULL, 0, NULL, NULL, NULL, NULL, NULL, 0, NULL);
INSERT INTO `s_group_member` VALUES (406283, 407299, 406300, 406287, NULL, 0, NULL, NULL, NULL, NULL, NULL, 0, NULL);

-- ----------------------------
-- Table structure for s_group_member_position
-- ----------------------------
DROP TABLE IF EXISTS `s_group_member_position`;
CREATE TABLE `s_group_member_position`  (
  `oc_id` bigint(11) NOT NULL COMMENT '公司或组织ID',
  `gmp_id` bigint(11) NOT NULL COMMENT '数据ID',
  `group_id` bigint(11) NOT NULL COMMENT '群组ID',
  `account_id` bigint(11) NOT NULL COMMENT '帐号ID',
  `position_id` bigint(11) NOT NULL COMMENT '职位ID',
  `is_fixed` bigint(11) NULL DEFAULT 0 COMMENT '是否可修改',
  `created_by` bigint(11) NULL DEFAULT NULL,
  `created_at` datetime(0) NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP(0),
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP(0),
  `deleted_flag` int(4) NULL DEFAULT 0,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  `deleted_at` datetime(0) NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP(0),
  PRIMARY KEY (`gmp_id`, `oc_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '群组成员岗位表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of s_group_member_position
-- ----------------------------
INSERT INTO `s_group_member_position` VALUES (1, 1, 1, 1, 1, 0, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `s_group_member_position` VALUES (1, 406217, 1, 406214, 406213, 0, NULL, '2020-03-18 11:14:43', NULL, '2020-03-18 11:14:43', 0, NULL, '2020-03-18 11:14:43');
INSERT INTO `s_group_member_position` VALUES (1, 406221, 1, 406218, 406212, 0, NULL, '2021-10-24 18:45:36', NULL, '2021-10-24 18:45:36', 0, NULL, '2021-10-24 18:45:36');
INSERT INTO `s_group_member_position` VALUES (1, 406225, 1, 406222, 406213, 0, NULL, '2020-03-18 09:24:24', NULL, '2020-03-18 09:24:24', 0, NULL, '2020-03-18 09:24:24');
INSERT INTO `s_group_member_position` VALUES (1, 406232, 1, 406229, 406211, 0, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `s_group_member_position` VALUES (1, 406263, 406194, 406260, 406210, 0, NULL, '2021-10-13 23:53:18', NULL, '2021-10-13 23:53:18', 0, NULL, '2021-10-13 23:53:18');
INSERT INTO `s_group_member_position` VALUES (406282, 406282, 406282, 406282, 406282, 0, NULL, '2020-02-27 10:22:45', NULL, '2020-02-27 10:22:45', 0, NULL, '2020-02-27 10:22:45');
INSERT INTO `s_group_member_position` VALUES (406283, 406283, 406283, 406283, 406283, 0, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `s_group_member_position` VALUES (406283, 406290, 406281, 406287, 406284, 0, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `s_group_member_position` VALUES (406283, 406872, 406300, 406302, 406284, 0, NULL, '2021-12-02 11:59:26', NULL, '2021-12-02 11:59:26', 0, NULL, '2021-12-02 11:59:26');
INSERT INTO `s_group_member_position` VALUES (406283, 406873, 406283, 406870, 406308, 0, NULL, '2021-12-09 15:54:55', NULL, '2021-12-09 15:54:55', 0, NULL, '2021-12-09 15:54:55');
INSERT INTO `s_group_member_position` VALUES (406283, 406878, 406300, 406287, 406309, 0, NULL, '2021-12-09 16:09:54', NULL, '2021-12-09 16:09:54', 0, 0, '2021-12-09 16:09:54');
INSERT INTO `s_group_member_position` VALUES (406283, 407699, 406283, 407696, 406284, 0, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `s_group_member_position` VALUES (1, 184171131633668, 406195, 184171131633665, 406211, 0, NULL, '2021-10-14 00:00:13', NULL, '2021-10-14 00:00:13', 0, NULL, '2021-10-14 00:00:13');
INSERT INTO `s_group_member_position` VALUES (185853792026625, 185853792026625, 185853792026625, 185853792026625, 185853792026625, 0, NULL, '2021-10-23 21:04:06', NULL, NULL, 0, NULL, NULL);
INSERT INTO `s_group_member_position` VALUES (185967392653313, 185967392653313, 185967392653313, 185967392653313, 185967392653313, 0, NULL, '2021-10-23 22:37:53', NULL, NULL, 0, NULL, NULL);
INSERT INTO `s_group_member_position` VALUES (185974646702081, 185974646702081, 185974646702081, 185974646702081, 185974646702081, 0, NULL, '2021-10-23 22:04:01', NULL, NULL, 0, NULL, NULL);
INSERT INTO `s_group_member_position` VALUES (185996373196801, 185996373196801, 185996373196801, 185996373196801, 185996373196801, 0, NULL, '2021-10-23 21:03:58', NULL, NULL, 0, NULL, NULL);

-- ----------------------------
-- Table structure for s_group_member_position_grant
-- ----------------------------
DROP TABLE IF EXISTS `s_group_member_position_grant`;
CREATE TABLE `s_group_member_position_grant`  (
  `oc_id` bigint(11) NOT NULL COMMENT '被授权用户所属企业ID',
  `gmpg_id` bigint(11) NOT NULL COMMENT '主键ID',
  `group_id` bigint(11) NULL DEFAULT NULL COMMENT '被授权用户所属部门ID',
  `account_id` bigint(11) NULL DEFAULT NULL COMMENT '被授权用户ID',
  `position_id` bigint(11) NULL DEFAULT NULL COMMENT '被授权用户的岗位ID',
  `grant_group_id` bigint(11) NOT NULL COMMENT '授权部门ID',
  `created_by` bigint(11) NULL DEFAULT NULL COMMENT '创建人员ID',
  `created_at` datetime(0) NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `updated_by` bigint(11) NULL DEFAULT NULL COMMENT '更新人员ID',
  `updated_at` datetime(0) NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  `deleted_by` bigint(11) NULL DEFAULT NULL COMMENT '删除人员ID',
  `deleted_at` datetime(0) NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '删除时间',
  `deleted_flag` int(4) NULL DEFAULT 0 COMMENT '数据状态：0正常；1已删除',
  PRIMARY KEY (`gmpg_id`, `oc_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '群组成员岗位授权表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of s_group_member_position_grant
-- ----------------------------
INSERT INTO `s_group_member_position_grant` VALUES (1, 406268, 1, 1, 1, 1, 1, NULL, NULL, NULL, NULL, NULL, 0);

-- ----------------------------
-- Table structure for s_menu
-- ----------------------------
DROP TABLE IF EXISTS `s_menu`;
CREATE TABLE `s_menu`  (
  `menu_id` bigint(20) NOT NULL,
  `menu_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '',
  `menu_text` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '',
  `menu_css` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '',
  `menu_url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '',
  `menu_redirect` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '',
  `menu_component` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '',
  `menu_type` bigint(11) NULL DEFAULT NULL,
  `menu_desc` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '',
  `menu_level` bigint(11) NULL DEFAULT NULL,
  `parent_id` bigint(11) NULL DEFAULT NULL,
  `root_id` bigint(11) NULL DEFAULT NULL,
  `sort_no` bigint(11) NULL DEFAULT NULL,
  `is_home` bigint(11) NULL DEFAULT 0,
  PRIMARY KEY (`menu_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '菜单表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of s_menu
-- ----------------------------
INSERT INTO `s_menu` VALUES (100, 'system_dashboard', '我的工作台', 'icon-common_organization', 'system_dashboard', NULL, NULL, 1, '', 1, 0, 100, 10, 1);
INSERT INTO `s_menu` VALUES (300, 'company', '组织管理', 'icon-common_organization', 'company', NULL, NULL, 0, '', 1, 0, 300, 30, 0);
INSERT INTO `s_menu` VALUES (301, 'company_profile', '公司信息', '', 'company_profile', NULL, NULL, 1, '', 2, 300, 300, 1, 0);
INSERT INTO `s_menu` VALUES (302, 'company_user', '组织管理', '', 'company_user', NULL, NULL, 1, 'ddddd', 2, 300, 300, 2, 0);
INSERT INTO `s_menu` VALUES (303, 'company_position', '岗位管理', '', 'company_position', NULL, NULL, 1, '', 2, 300, 300, 4, 0);
INSERT INTO `s_menu` VALUES (400, 'authority', '权限管理', 'icon-common_organization', 'authority', NULL, NULL, 0, '', 1, 0, 400, 40, 0);
INSERT INTO `s_menu` VALUES (401, 'authority_role', '角色权限', '', 'authority_role', NULL, NULL, 1, '', 2, 400, 400, 1, 0);
INSERT INTO `s_menu` VALUES (402, 'authority_menu', '岗位权限', '', 'authority_position', NULL, NULL, 1, '', 2, 400, 400, 2, 0);
INSERT INTO `s_menu` VALUES (450, 'workflow', '流程管理', 'icon-common_organization', 'workflow', NULL, NULL, 1, '', 1, 0, 450, 45, 0);
INSERT INTO `s_menu` VALUES (451, 'workflow_def', '流程定义', '', 'workflow_def', NULL, NULL, 1, '', 2, 450, 450, 1, 0);
INSERT INTO `s_menu` VALUES (452, 'workflow_ins', '流程实例', '', 'workflow_ins', NULL, NULL, 1, '', 2, 450, 450, 2, 0);
INSERT INTO `s_menu` VALUES (453, 'workflow_example', '流程示例', '', 'workflow_example', NULL, NULL, 1, '', 2, 450, 450, 3, 0);
INSERT INTO `s_menu` VALUES (500, 'customer', '客户管理', 'icon-common_organization', 'customer', NULL, NULL, 0, '', 1, 0, 500, 50, 0);
INSERT INTO `s_menu` VALUES (501, 'customer_ent', '生产经营单位', '', 'customer_ent', NULL, NULL, 1, '', 2, 500, 500, 1, 0);
INSERT INTO `s_menu` VALUES (502, 'customer_org', '政府机构', '', 'customer_org', NULL, NULL, 1, '', 2, 500, 500, 2, 0);
INSERT INTO `s_menu` VALUES (503, 'customer_partner', '合作伙伴', '', 'customer_partner', NULL, NULL, 1, '', 2, 500, 500, 3, 0);
INSERT INTO `s_menu` VALUES (600, 'industry', '行业管理', 'icon-common_organization', 'industry', NULL, NULL, 0, '', 1, 0, 600, 60, 0);
INSERT INTO `s_menu` VALUES (601, 'industry_manage', '行业管理', '', 'industry_manage', '', NULL, 1, '', 2, 600, 600, 1, 0);
INSERT INTO `s_menu` VALUES (650, 'kms', '行业智库', 'icon-common_organization', 'kms', '/kms/index', NULL, 0, '', 1, 0, 650, 65, 0);
INSERT INTO `s_menu` VALUES (651, 'kms_checklist', '清单管理', '', 'kms_checklist', '', NULL, 1, '', 2, 650, 650, 1, 0);
INSERT INTO `s_menu` VALUES (652, 'kms_art', '内容管理', '', 'kms_art', '', NULL, 1, '', 2, 650, 650, 2, 0);
INSERT INTO `s_menu` VALUES (653, 'kms_doc', '文件管理', '', 'kms_doc', '', NULL, 1, '', 2, 650, 650, 3, 0);
INSERT INTO `s_menu` VALUES (654, 'kms_manage', '智库管理', '', 'kms_manage', '', NULL, 1, '', 2, 650, 650, 4, 0);
INSERT INTO `s_menu` VALUES (700, 'system_setting', '系统配置', 'icon-common_organization', 'system_setting', '/system/config/groupCat', NULL, 0, '', 1, 0, 700, 70, 0);
INSERT INTO `s_menu` VALUES (701, 'setting_ent_cat', '企业类别', '', 'system_setting_ent_cat', '', NULL, 1, '', 2, 700, 700, 1, 0);
INSERT INTO `s_menu` VALUES (702, 'setting_org_cat', '机构类别', '', 'system_setting_org_cat', '', NULL, 1, '', 2, 700, 700, 2, 0);
INSERT INTO `s_menu` VALUES (703, 'setting_partner_cat', '合作伙伴分类', '', 'system_setting_partner_cat', '', NULL, 1, '', 2, 700, 700, 3, 0);
INSERT INTO `s_menu` VALUES (704, 'setting_group_cat', '群组类别', '', 'system_setting_group_cat', '', NULL, 1, '', 2, 700, 700, 4, 0);
INSERT INTO `s_menu` VALUES (705, 'setting_task_cat', '任务类别', '', 'system_setting_task_cat', '', NULL, 1, '', 2, 700, 700, 5, 0);
INSERT INTO `s_menu` VALUES (706, 'setting_measure_type', '措施类别', '', 'system_setting_measure_type', '', NULL, NULL, '', NULL, NULL, NULL, NULL, 0);
INSERT INTO `s_menu` VALUES (707, 'setting_alert_type', '预警类别', '', 'system_setting_alert_type', '', NULL, NULL, '', NULL, NULL, NULL, NULL, 0);
INSERT INTO `s_menu` VALUES (708, 'system_setting_app_cat', '应用类别', '', 'system_setting_app_cat', '', '', NULL, '', NULL, NULL, NULL, NULL, 0);
INSERT INTO `s_menu` VALUES (800, 'job', '作业管理', 'icon-common_organization', 'job', '/job/index', NULL, 0, '', 1, 0, 800, 80, 0);
INSERT INTO `s_menu` VALUES (801, 'job_def', '系统作业', '', 'job_def', '', NULL, 1, '', 2, 800, 800, 1, 0);
INSERT INTO `s_menu` VALUES (802, 'job_trigger', '作业触发器', '', 'job_trigger', '', NULL, 1, '', 2, 800, 800, 2, 0);
INSERT INTO `s_menu` VALUES (803, 'job_schedule', '作业调度', '', 'job_schedule', '', NULL, 1, '', 2, 800, 800, 3, 0);
INSERT INTO `s_menu` VALUES (900, 'app_center', '应用中心', 'icon-common_organization', 'app', '/app/index', NULL, 0, '', 1, 0, 900, 90, 0);
INSERT INTO `s_menu` VALUES (901, 'app_manage', '应用管理', '', 'app_manage', '', NULL, 1, '', 2, 900, 900, 1, 0);
INSERT INTO `s_menu` VALUES (902, 'app_cat', '应用类别', '', 'app_cat', '', NULL, 1, '', 2, 900, 900, 2, 0);
INSERT INTO `s_menu` VALUES (903, 'app_permit', '应用授权', '', 'app_permit', '', NULL, 1, '', 2, 900, 900, 3, 0);
INSERT INTO `s_menu` VALUES (1000, 'ent_panorama', '数字全景', '', 'ent_panorama', '', NULL, NULL, '', NULL, NULL, NULL, NULL, 0);
INSERT INTO `s_menu` VALUES (1001, 'ent_warning_center', '预警中心', '', 'ent_warning_center', '', NULL, NULL, '', NULL, NULL, NULL, NULL, 0);
INSERT INTO `s_menu` VALUES (1002, 'ent_workplace', '我的工作台', '', 'ent_workplace', '', NULL, NULL, '', NULL, NULL, NULL, NULL, 0);
INSERT INTO `s_menu` VALUES (1003, 'ent_visualize', '可视化管理', '', 'ent_visualize', '', NULL, NULL, '', NULL, NULL, NULL, NULL, 0);
INSERT INTO `s_menu` VALUES (1004, 'ent_monitor_center', '监控中心', '', 'ent_monitor_center', '', NULL, NULL, '', NULL, NULL, NULL, NULL, 0);
INSERT INTO `s_menu` VALUES (1100, 'ent_app_center', '应用中心', '', 'ent_app_center', '', NULL, NULL, '', NULL, NULL, NULL, NULL, 0);
INSERT INTO `s_menu` VALUES (1200, 'ent_management', '管理体系', '', 'ent_management', '', NULL, NULL, '', NULL, NULL, NULL, NULL, 0);
INSERT INTO `s_menu` VALUES (1201, 'ent_management_leading_group', '领导小组', '', 'ent_management_leading_group', '', NULL, NULL, '', NULL, NULL, NULL, NULL, 0);
INSERT INTO `s_menu` VALUES (1202, 'ent_management_regulation', '制度规范', '', 'ent_management_regulation', '', NULL, NULL, '', NULL, NULL, NULL, NULL, 0);
INSERT INTO `s_menu` VALUES (1203, 'ent_management_hazard', '危险源库', '', 'ent_management_hazard', '', NULL, NULL, '', NULL, NULL, NULL, NULL, 0);
INSERT INTO `s_menu` VALUES (1204, 'ent_management_checklist', '检查清单', '', 'ent_management_checklist', '', NULL, NULL, '', NULL, NULL, NULL, NULL, 0);
INSERT INTO `s_menu` VALUES (1260, 'ent_scene', '网格化管理', '', 'ent_scene', '', NULL, NULL, '', NULL, NULL, NULL, NULL, 0);
INSERT INTO `s_menu` VALUES (1261, 'ent_scene_grid', '网格', '', 'ent_scene_grid', '', NULL, NULL, '', NULL, NULL, NULL, NULL, 0);
INSERT INTO `s_menu` VALUES (1262, 'ent_scene_riskpoint', '风险点', '', 'ent_scene_riskpoint', '', NULL, NULL, '', NULL, NULL, NULL, NULL, 0);
INSERT INTO `s_menu` VALUES (1263, 'ent_scene_map', '地图', '', 'ent_scene_map', '', NULL, NULL, '', NULL, NULL, NULL, NULL, 0);
INSERT INTO `s_menu` VALUES (1300, 'ent_task_center', '任务中心', '', 'ent_task_center', '', NULL, NULL, '', NULL, NULL, NULL, NULL, 0);
INSERT INTO `s_menu` VALUES (1301, 'ent_task_plan', '任务计划', '', 'ent_task_plan', '', NULL, NULL, '', NULL, NULL, NULL, NULL, 0);
INSERT INTO `s_menu` VALUES (1302, 'ent_task_manage', '任务管理', '', 'ent_task_manage', '', NULL, NULL, '', NULL, NULL, NULL, NULL, 0);
INSERT INTO `s_menu` VALUES (1303, 'ent_task_record', '检查记录', '', 'ent_task_record', '', NULL, NULL, '', NULL, NULL, NULL, NULL, 0);
INSERT INTO `s_menu` VALUES (1400, 'ent_danger', '隐患管理', '', 'ent_danger', '', NULL, NULL, '', NULL, NULL, NULL, NULL, 0);
INSERT INTO `s_menu` VALUES (1450, 'ent_equipment', '设备中心', '', 'ent_equipment', '', NULL, NULL, '', NULL, NULL, NULL, NULL, 0);
INSERT INTO `s_menu` VALUES (1480, 'ent_report_center', '台帐中心', '', 'ent_report', '', NULL, NULL, '', NULL, NULL, NULL, NULL, 0);
INSERT INTO `s_menu` VALUES (1500, 'ent_file_center', '文件中心', '', 'ent_file_center', '', NULL, NULL, '', NULL, NULL, NULL, NULL, 0);
INSERT INTO `s_menu` VALUES (1600, 'ent_art_center', '知识库', '', 'ent_art_center', '', NULL, NULL, '', NULL, NULL, NULL, NULL, 0);
INSERT INTO `s_menu` VALUES (1800, 'ent_org_setting', '组织管理', '', 'ent_org_setting', '', NULL, NULL, '', NULL, NULL, NULL, NULL, 0);
INSERT INTO `s_menu` VALUES (1801, 'ent_profile', '公司信息', '', 'ent_profile', '', NULL, NULL, '', NULL, NULL, NULL, NULL, 0);
INSERT INTO `s_menu` VALUES (1802, 'ent_group_user', '组织人员', '', 'ent_group_user', '', NULL, NULL, '', NULL, NULL, NULL, NULL, 0);
INSERT INTO `s_menu` VALUES (1803, 'ent_position', '岗位管理', '', 'ent_position', '', NULL, NULL, '', NULL, NULL, NULL, NULL, 0);
INSERT INTO `s_menu` VALUES (1900, 'ent_setting', '系统配置', '', 'ent_setting', '', NULL, NULL, '', NULL, NULL, NULL, NULL, 0);
INSERT INTO `s_menu` VALUES (1901, 'ent_setting_group_cat', '部门类别', '', 'ent_setting_group_cat', '', NULL, NULL, '', NULL, NULL, NULL, NULL, 0);
INSERT INTO `s_menu` VALUES (1902, 'ent_setting_task_cat', '任务类别', '', 'ent_setting_task_cat', '', NULL, NULL, '', NULL, NULL, NULL, NULL, 0);
INSERT INTO `s_menu` VALUES (1903, 'ent_setting_checklist_cat', '清单类别', '', 'ent_setting_checklist_cat', '', NULL, NULL, '', NULL, NULL, NULL, NULL, 0);
INSERT INTO `s_menu` VALUES (1904, 'ent_setting_riskpoint_cat', '风险点类别', '', 'ent_setting_riskpoint_cat', '', NULL, NULL, '', NULL, NULL, NULL, NULL, 0);
INSERT INTO `s_menu` VALUES (1905, 'ent_setting_ctrl_level', '风险管控层级', '', 'ent_setting_ctrl_level', '', NULL, NULL, '', NULL, NULL, NULL, NULL, 0);
INSERT INTO `s_menu` VALUES (1906, 'ent_setting_danger_cat', '隐患类别', '', 'ent_setting_danger_cat', '', NULL, NULL, '', NULL, NULL, NULL, NULL, 0);
INSERT INTO `s_menu` VALUES (1907, 'ent_setting_equipment_cat', '设备类别', '', 'ent_setting_equipment_cat', '', NULL, NULL, '', NULL, NULL, NULL, NULL, 0);
INSERT INTO `s_menu` VALUES (1908, 'ent_setting_ctrl_level', '管控层级', '', 'ent_setting_ctrl_level', '', NULL, NULL, '', NULL, NULL, NULL, NULL, 0);

-- ----------------------------
-- Table structure for s_position
-- ----------------------------
DROP TABLE IF EXISTS `s_position`;
CREATE TABLE `s_position`  (
  `oc_id` bigint(11) NULL DEFAULT NULL,
  `position_id` bigint(11) NOT NULL COMMENT '主键',
  `position_name` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '岗位名称',
  `position_desc` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '岗位描述',
  `is_fixed` bigint(4) NULL DEFAULT 0 COMMENT '固定不能修改',
  `created_by` bigint(4) NULL DEFAULT NULL COMMENT '创建人',
  `created_at` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `updated_by` bigint(11) NULL DEFAULT NULL COMMENT '更新人',
  `updated_at` timestamp(0) NULL DEFAULT NULL COMMENT '更新时间',
  `deleted_flag` bigint(11) NULL DEFAULT 0 COMMENT '删除标记0正常 1删除',
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  `deleted_at` timestamp(0) NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '删除时间',
  PRIMARY KEY (`position_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '岗位表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of s_position
-- ----------------------------
INSERT INTO `s_position` VALUES (1, 1, 'CTO', 'CTO', 1, NULL, '2021-10-16 21:12:01', 1, NULL, 0, NULL, '2021-10-16 21:12:01');
INSERT INTO `s_position` VALUES (2, 2, '管理员', '公司系统管理员', 1, 0, '2020-02-27 14:39:56', 0, NULL, 0, 0, '2020-02-27 14:39:56');
INSERT INTO `s_position` VALUES (1, 406179, 'ccc', 'cccxx', 0, 1, '2020-03-10 18:08:45', 1, NULL, 1, NULL, '2020-03-11 00:00:00');
INSERT INTO `s_position` VALUES (1, 406180, 'A', 'A', 0, 1, '2021-10-07 23:43:28', 1, NULL, 1, NULL, '2021-10-07 23:43:28');
INSERT INTO `s_position` VALUES (1, 406181, 'B', 'B', 0, 1, '2021-10-07 23:43:28', 1, NULL, 1, NULL, '2021-10-07 23:43:28');
INSERT INTO `s_position` VALUES (1, 406184, 'A', 'A', 1, 0, '2021-10-07 23:43:28', 1, NULL, 1, 0, '2021-10-07 23:43:28');
INSERT INTO `s_position` VALUES (1, 406194, '研发经理', '研发经理', 1, 0, '2021-10-16 21:12:08', 1, NULL, 0, 0, '2021-10-16 21:12:08');
INSERT INTO `s_position` VALUES (1, 406210, '车间主任', '车间主任', 0, 1, '2021-10-08 22:19:05', 1, NULL, 0, NULL, '2021-10-08 22:19:05');
INSERT INTO `s_position` VALUES (1, 406211, '班组长', '班组长', 0, 1, '2021-10-08 00:01:22', 1, NULL, 0, NULL, '2021-10-08 00:01:22');
INSERT INTO `s_position` VALUES (1, 406212, '安全员', '安全员1', 0, 1, '2021-10-08 00:01:28', 1, NULL, 0, NULL, '2021-10-08 00:01:28');
INSERT INTO `s_position` VALUES (1, 406213, '技工', '技工', 0, 1, '2021-10-07 23:43:28', 1, NULL, 1, NULL, '2021-10-07 23:43:28');
INSERT INTO `s_position` VALUES (406282, 406282, '管理员', '公司系统管理员', 1, 0, '2020-02-27 14:40:00', 0, NULL, 0, 0, '2020-02-27 14:40:00');
INSERT INTO `s_position` VALUES (406283, 406283, '管理员', '公司系统管理员管理员管理员管理员管理员', 1, 0, '2021-11-22 12:23:37', 406283, NULL, 0, 0, '2021-11-22 12:23:37');
INSERT INTO `s_position` VALUES (406283, 406284, '车间主任', '车间主任jilkl', 0, NULL, '2021-11-22 12:43:15', 406283, NULL, 0, NULL, '2021-11-22 12:43:15');
INSERT INTO `s_position` VALUES (406283, 406307, '班组长', '班组长', 0, 406283, '2021-12-02 12:12:53', 406283, NULL, 0, NULL, '2021-12-02 12:12:53');
INSERT INTO `s_position` VALUES (406283, 406308, '厂长', '厂长', 0, 406283, '2021-12-02 12:12:56', 406283, NULL, 0, NULL, '2021-12-02 12:12:56');
INSERT INTO `s_position` VALUES (406283, 406309, '安全员', '安全员', 0, 406283, '2021-12-02 12:06:24', 406283, NULL, 0, NULL, '2021-12-02 12:06:24');
INSERT INTO `s_position` VALUES (1, 183126907224065, 'a', 'a', 0, 1, '2021-10-08 00:02:00', NULL, NULL, 1, NULL, '2021-10-08 00:02:01');
INSERT INTO `s_position` VALUES (1, 183127007887361, 'bb', 'bb', 0, 1, '2021-12-10 12:07:38', 1, NULL, 1, NULL, '2021-12-10 12:07:38');
INSERT INTO `s_position` VALUES (1, 183136891764737, 'ccc', 'ccc', 0, 1, '2021-12-10 12:07:36', 1, NULL, 1, NULL, '2021-12-10 12:07:36');
INSERT INTO `s_position` VALUES (1, 183136898056193, 'd', 'd', 0, 1, '2021-10-16 21:12:30', 1, NULL, 1, NULL, '2021-10-16 21:12:31');
INSERT INTO `s_position` VALUES (1, 183136904347649, 'e', 'e', 0, 1, '2021-10-16 21:12:28', 1, NULL, 1, NULL, '2021-10-16 21:12:28');
INSERT INTO `s_position` VALUES (1, 183136910639105, 'f', 'f', 0, 1, '2021-10-16 21:12:18', 1, NULL, 1, NULL, '2021-10-16 21:12:18');
INSERT INTO `s_position` VALUES (1, 183136919027713, 'g', 'g', 0, 1, '2021-10-16 21:12:21', 1, NULL, 1, NULL, '2021-10-16 21:12:21');
INSERT INTO `s_position` VALUES (1, 183300253614081, 'y', 'y', 0, 1, '2021-10-14 00:42:02', 1, NULL, 1, NULL, '2021-10-14 00:42:01');
INSERT INTO `s_position` VALUES (1, 184736234405889, 'GG', 'GG', 0, 1, '2021-10-16 21:12:26', NULL, NULL, 1, NULL, '2021-10-16 21:12:26');
INSERT INTO `s_position` VALUES (1, 185627326873601, 'ddd', 'ddd', 0, 1, '2021-12-10 12:07:33', 1, NULL, 1, NULL, '2021-12-10 12:07:34');
INSERT INTO `s_position` VALUES (185853792026625, 185853792026625, '管理员', '管理员', 1, NULL, '2021-10-23 21:04:06', NULL, NULL, 0, NULL, NULL);
INSERT INTO `s_position` VALUES (185967392653313, 185967392653313, '管理员', '管理员', 1, NULL, '2021-10-23 22:37:53', NULL, NULL, 0, NULL, NULL);
INSERT INTO `s_position` VALUES (185974646702081, 185974646702081, '管理员', '管理员', 1, NULL, '2021-10-23 22:04:01', NULL, NULL, 0, NULL, NULL);
INSERT INTO `s_position` VALUES (185996373196801, 185996373196801, '管理员', '管理员', 1, NULL, '2021-10-23 21:03:58', NULL, NULL, 0, NULL, NULL);

-- ----------------------------
-- Table structure for s_position_permit
-- ----------------------------
DROP TABLE IF EXISTS `s_position_permit`;
CREATE TABLE `s_position_permit`  (
  `oc_id` bigint(20) NOT NULL,
  `position_id` bigint(20) NOT NULL,
  `menu_id` bigint(20) NOT NULL,
  `sort_no` int(11) NULL DEFAULT NULL,
  `parent_id` bigint(11) NULL DEFAULT NULL,
  `root_id` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`oc_id`, `position_id`, `menu_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '企业岗位授权表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of s_position_permit
-- ----------------------------
INSERT INTO `s_position_permit` VALUES (406283, 406284, 110, 1, 0, NULL);

-- ----------------------------
-- Table structure for s_role
-- ----------------------------
DROP TABLE IF EXISTS `s_role`;
CREATE TABLE `s_role`  (
  `role_id` bigint(11) NOT NULL,
  `role_name` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `role_code` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `role_desc` varchar(512) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `role_type_id` bigint(11) NULL DEFAULT 2 COMMENT '角色类型：1私有、2公共',
  `status` bigint(11) NOT NULL DEFAULT 1,
  `is_fixed` bigint(4) NULL DEFAULT 0,
  `sort_no` bigint(11) NOT NULL DEFAULT 0,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `created_at` timestamp(0) NULL DEFAULT NULL,
  `updated_at` timestamp(0) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  `deleted_at` timestamp(0) NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP(0),
  PRIMARY KEY (`role_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '角色表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of s_role
-- ----------------------------
INSERT INTO `s_role` VALUES (1, '超级管理员', NULL, '超级管理员经理经理经理经理经理经理经理经理经理经理经理经理经理经理经理经理经理经理经理经理', 1, 1, 1, 1, NULL, 1, NULL, '2019-05-17 00:00:00', 0, NULL, '2020-02-27 05:55:26');
INSERT INTO `s_role` VALUES (2, '平台管理员', NULL, '平台管理员DD', 1, 1, 1, 0, NULL, 1, NULL, NULL, 0, NULL, '2021-10-15 13:16:10');
INSERT INTO `s_role` VALUES (3, '平台普通人员', NULL, '平台管理员', 2, 1, 1, 0, NULL, NULL, NULL, NULL, 0, NULL, '2020-02-27 06:32:46');
INSERT INTO `s_role` VALUES (4, '机构管理员', NULL, '机构管理员', 1, 1, 1, 2, NULL, 1, NULL, '2019-06-28 00:00:00', 0, NULL, '2020-03-14 04:13:48');
INSERT INTO `s_role` VALUES (5, '机构普通用户', NULL, '机构普通用户', 1, 1, 1, 3, NULL, 1, NULL, '2019-06-28 00:00:00', 0, NULL, '2020-02-27 06:37:49');
INSERT INTO `s_role` VALUES (6, '企业端管理员', NULL, '企业端管理员企业端管理员企业端管理员企业端管理员', 1, 1, 1, 5, NULL, 1, NULL, '2019-05-17 00:00:00', 0, NULL, '2020-03-13 06:49:08');
INSERT INTO `s_role` VALUES (7, '企业普通用户', NULL, '企业普通用户', 1, 1, 1, 5, NULL, 1, '2019-01-03 17:52:27', '2019-05-17 00:00:00', 0, NULL, '2020-02-27 06:37:47');
INSERT INTO `s_role` VALUES (8, '合作方管理员', NULL, '合作方管理员g', 1, 11, 1, 5, NULL, 1, NULL, NULL, 0, NULL, '2020-03-16 06:41:21');
INSERT INTO `s_role` VALUES (9, '合作方普通用户', NULL, '合作方普通用户', 1, 1, 1, 10, NULL, 1, NULL, '2019-11-22 00:00:00', 0, NULL, '2020-02-27 08:29:17');
INSERT INTO `s_role` VALUES (406171, 'tewt', NULL, 'tewt', 2, 1, 0, 0, 1, NULL, '2020-03-10 00:00:00', NULL, 1, NULL, '2020-03-10 00:00:00');
INSERT INTO `s_role` VALUES (406172, '节能', NULL, '节能', 2, 1, 0, 0, 1, NULL, '2020-03-10 00:00:00', NULL, 1, NULL, '2020-03-10 00:00:00');
INSERT INTO `s_role` VALUES (406173, 'ABC', NULL, 'ABC', 2, 1, 0, 0, 1, NULL, '2020-03-10 00:00:00', NULL, 1, NULL, '2020-03-10 00:00:00');
INSERT INTO `s_role` VALUES (406174, 'TEST', NULL, 'TESTTESTABCDEFG', 2, 1, 0, 0, 1, 1, '2020-03-10 00:00:00', NULL, 1, NULL, '2020-03-11 00:00:00');
INSERT INTO `s_role` VALUES (406201, 'ABC', NULL, 'ABCDEFGH', 2, 1, 0, 0, 1, 1, '2020-03-16 00:00:00', NULL, 1, NULL, '2020-03-16 00:00:00');

-- ----------------------------
-- Table structure for s_role_member
-- ----------------------------
DROP TABLE IF EXISTS `s_role_member`;
CREATE TABLE `s_role_member`  (
  `rm_id` bigint(11) NOT NULL,
  `oc_id` bigint(11) NULL DEFAULT NULL,
  `role_id` bigint(11) NULL DEFAULT NULL,
  `account_id` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`rm_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '角色成员表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of s_role_member
-- ----------------------------
INSERT INTO `s_role_member` VALUES (1, NULL, 1, 1);
INSERT INTO `s_role_member` VALUES (406189, 1, 4, 406188);
INSERT INTO `s_role_member` VALUES (406215, 1, 4, 406214);
INSERT INTO `s_role_member` VALUES (406219, 1, 4, 406218);
INSERT INTO `s_role_member` VALUES (406223, 1, 4, 406222);
INSERT INTO `s_role_member` VALUES (406230, 1, 4, 406229);
INSERT INTO `s_role_member` VALUES (406261, 1, 4, 406260);
INSERT INTO `s_role_member` VALUES (406282, NULL, 6, 406282);
INSERT INTO `s_role_member` VALUES (406283, NULL, 6, 406283);
INSERT INTO `s_role_member` VALUES (406288, 406283, 4, 406287);
INSERT INTO `s_role_member` VALUES (406303, 406283, 4, 406302);
INSERT INTO `s_role_member` VALUES (406871, 406283, 4, 406870);
INSERT INTO `s_role_member` VALUES (407697, 406283, 7, 407696);
INSERT INTO `s_role_member` VALUES (184171131633666, 1, 7, 184171131633665);
INSERT INTO `s_role_member` VALUES (185853792026625, 185853792026625, 4, 185853792026625);
INSERT INTO `s_role_member` VALUES (185967392653313, 185967392653313, 6, 185967392653313);
INSERT INTO `s_role_member` VALUES (185974646702081, 185974646702081, 6, 185974646702081);
INSERT INTO `s_role_member` VALUES (185996373196801, 185996373196801, 4, 185996373196801);

-- ----------------------------
-- Table structure for s_role_permit
-- ----------------------------
DROP TABLE IF EXISTS `s_role_permit`;
CREATE TABLE `s_role_permit`  (
  `role_id` bigint(11) NOT NULL,
  `menu_id` bigint(11) NOT NULL,
  `parent_id` bigint(11) NULL DEFAULT NULL,
  `root_id` bigint(11) NULL DEFAULT NULL,
  `sort_no` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`role_id`, `menu_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '角色权限表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of s_role_permit
-- ----------------------------
INSERT INTO `s_role_permit` VALUES (1, 100, 0, 100, 10);
INSERT INTO `s_role_permit` VALUES (1, 300, 0, 300, 30);
INSERT INTO `s_role_permit` VALUES (1, 301, 300, 300, 1);
INSERT INTO `s_role_permit` VALUES (1, 302, 300, 300, 2);
INSERT INTO `s_role_permit` VALUES (1, 303, 300, 300, 3);
INSERT INTO `s_role_permit` VALUES (1, 400, 0, 400, 40);
INSERT INTO `s_role_permit` VALUES (1, 401, 400, 400, 1);
INSERT INTO `s_role_permit` VALUES (1, 402, 400, 400, 2);
INSERT INTO `s_role_permit` VALUES (1, 450, 0, 450, 45);
INSERT INTO `s_role_permit` VALUES (1, 451, 450, 450, 1);
INSERT INTO `s_role_permit` VALUES (1, 452, 450, 450, 2);
INSERT INTO `s_role_permit` VALUES (1, 453, 450, 450, 3);
INSERT INTO `s_role_permit` VALUES (1, 500, 0, 500, 50);
INSERT INTO `s_role_permit` VALUES (1, 501, 500, 500, 1);
INSERT INTO `s_role_permit` VALUES (1, 502, 500, 500, 2);
INSERT INTO `s_role_permit` VALUES (1, 503, 500, 500, 3);
INSERT INTO `s_role_permit` VALUES (1, 600, 0, 600, 60);
INSERT INTO `s_role_permit` VALUES (1, 601, 600, 600, 1);
INSERT INTO `s_role_permit` VALUES (1, 650, 0, 650, 65);
INSERT INTO `s_role_permit` VALUES (1, 651, 650, 650, 1);
INSERT INTO `s_role_permit` VALUES (1, 652, 650, 650, 2);
INSERT INTO `s_role_permit` VALUES (1, 653, 650, 650, 3);
INSERT INTO `s_role_permit` VALUES (1, 654, 650, 650, 4);
INSERT INTO `s_role_permit` VALUES (1, 700, 0, 700, 70);
INSERT INTO `s_role_permit` VALUES (1, 701, 700, 700, 1);
INSERT INTO `s_role_permit` VALUES (1, 702, 700, 700, 2);
INSERT INTO `s_role_permit` VALUES (1, 703, 700, 700, 3);
INSERT INTO `s_role_permit` VALUES (1, 704, 700, 700, 4);
INSERT INTO `s_role_permit` VALUES (1, 705, 700, 700, 5);
INSERT INTO `s_role_permit` VALUES (1, 706, 700, 700, 6);
INSERT INTO `s_role_permit` VALUES (1, 707, 700, 700, 7);
INSERT INTO `s_role_permit` VALUES (1, 708, 700, 700, 8);
INSERT INTO `s_role_permit` VALUES (1, 800, 0, 0, 80);
INSERT INTO `s_role_permit` VALUES (1, 801, 800, 800, 1);
INSERT INTO `s_role_permit` VALUES (1, 802, 800, 800, 2);
INSERT INTO `s_role_permit` VALUES (1, 803, 800, 800, 3);
INSERT INTO `s_role_permit` VALUES (1, 900, 0, 900, 90);
INSERT INTO `s_role_permit` VALUES (1, 901, 900, 900, 1);
INSERT INTO `s_role_permit` VALUES (1, 902, 900, 900, 2);
INSERT INTO `s_role_permit` VALUES (1, 903, 900, 900, 3);
INSERT INTO `s_role_permit` VALUES (4, 700, 0, 700, 70);
INSERT INTO `s_role_permit` VALUES (4, 706, 700, 700, 6);
INSERT INTO `s_role_permit` VALUES (4, 1000, 0, 1000, 1000);
INSERT INTO `s_role_permit` VALUES (4, 1001, 0, 1001, 1001);
INSERT INTO `s_role_permit` VALUES (4, 1002, 0, 1002, 1002);
INSERT INTO `s_role_permit` VALUES (4, 1003, 0, 1003, 1003);
INSERT INTO `s_role_permit` VALUES (4, 1004, 0, 1004, 1004);
INSERT INTO `s_role_permit` VALUES (4, 1200, 0, 1200, 1200);
INSERT INTO `s_role_permit` VALUES (4, 1201, 1200, 1200, 1);
INSERT INTO `s_role_permit` VALUES (4, 1202, 1200, 1200, 2);
INSERT INTO `s_role_permit` VALUES (4, 1203, 1200, 1200, 3);
INSERT INTO `s_role_permit` VALUES (4, 1204, 1200, 1200, 4);
INSERT INTO `s_role_permit` VALUES (4, 1260, 0, 1260, 1260);
INSERT INTO `s_role_permit` VALUES (4, 1261, 1260, 1260, 1);
INSERT INTO `s_role_permit` VALUES (4, 1262, 1260, 1260, 2);
INSERT INTO `s_role_permit` VALUES (4, 1263, 1260, 1260, 3);
INSERT INTO `s_role_permit` VALUES (4, 1300, 0, 1300, 1300);
INSERT INTO `s_role_permit` VALUES (4, 1301, 1300, 1300, 1);
INSERT INTO `s_role_permit` VALUES (4, 1302, 1300, 1300, 2);
INSERT INTO `s_role_permit` VALUES (4, 1303, 1300, 1300, 3);
INSERT INTO `s_role_permit` VALUES (4, 1400, 0, 1400, 1400);
INSERT INTO `s_role_permit` VALUES (4, 1450, 0, 1450, 1450);
INSERT INTO `s_role_permit` VALUES (4, 1480, 0, 1480, 1480);
INSERT INTO `s_role_permit` VALUES (4, 1500, 0, 1500, 1500);
INSERT INTO `s_role_permit` VALUES (4, 1600, 0, 1600, 1600);
INSERT INTO `s_role_permit` VALUES (4, 1800, 0, 1800, 1800);
INSERT INTO `s_role_permit` VALUES (4, 1801, 1800, 1800, 1);
INSERT INTO `s_role_permit` VALUES (4, 1802, 1800, 1800, 2);
INSERT INTO `s_role_permit` VALUES (4, 1803, 1800, 1800, 3);
INSERT INTO `s_role_permit` VALUES (4, 1900, 0, 1900, 1900);
INSERT INTO `s_role_permit` VALUES (4, 1901, 1900, 1900, 1);
INSERT INTO `s_role_permit` VALUES (4, 1902, 1900, 1900, 2);
INSERT INTO `s_role_permit` VALUES (4, 1903, 1900, 1900, 3);
INSERT INTO `s_role_permit` VALUES (4, 1904, 1900, 1900, 4);
INSERT INTO `s_role_permit` VALUES (4, 1905, 1900, 1900, 5);
INSERT INTO `s_role_permit` VALUES (4, 1906, 1900, 1900, 6);
INSERT INTO `s_role_permit` VALUES (4, 1907, 1900, 1900, 7);
INSERT INTO `s_role_permit` VALUES (4, 1908, 1900, 1900, 8);
INSERT INTO `s_role_permit` VALUES (6, 700, 0, 700, 70);
INSERT INTO `s_role_permit` VALUES (6, 706, 700, 700, 6);
INSERT INTO `s_role_permit` VALUES (6, 1000, 0, 1000, 1000);
INSERT INTO `s_role_permit` VALUES (6, 1001, 0, 1001, 1001);
INSERT INTO `s_role_permit` VALUES (6, 1002, 0, 1002, 1002);
INSERT INTO `s_role_permit` VALUES (6, 1003, 0, 1003, 1003);
INSERT INTO `s_role_permit` VALUES (6, 1004, 0, 1004, 1004);
INSERT INTO `s_role_permit` VALUES (6, 1200, 0, 1200, 1200);
INSERT INTO `s_role_permit` VALUES (6, 1201, 1200, 1200, 1);
INSERT INTO `s_role_permit` VALUES (6, 1202, 1200, 1200, 2);
INSERT INTO `s_role_permit` VALUES (6, 1203, 1200, 1200, 3);
INSERT INTO `s_role_permit` VALUES (6, 1204, 1200, 1200, 4);
INSERT INTO `s_role_permit` VALUES (6, 1260, 0, 1260, 1260);
INSERT INTO `s_role_permit` VALUES (6, 1261, 1260, 1260, 1);
INSERT INTO `s_role_permit` VALUES (6, 1262, 1260, 1260, 2);
INSERT INTO `s_role_permit` VALUES (6, 1263, 1260, 1260, 3);
INSERT INTO `s_role_permit` VALUES (6, 1300, 0, 1300, 1300);
INSERT INTO `s_role_permit` VALUES (6, 1301, 1300, 1300, 1);
INSERT INTO `s_role_permit` VALUES (6, 1302, 1300, 1300, 2);
INSERT INTO `s_role_permit` VALUES (6, 1303, 1300, 1300, 3);
INSERT INTO `s_role_permit` VALUES (6, 1400, 0, 1400, 1400);
INSERT INTO `s_role_permit` VALUES (6, 1450, 0, 1450, 1450);
INSERT INTO `s_role_permit` VALUES (6, 1480, 0, 1480, 1480);
INSERT INTO `s_role_permit` VALUES (6, 1500, 0, 1500, 1500);
INSERT INTO `s_role_permit` VALUES (6, 1600, 0, 1600, 1600);
INSERT INTO `s_role_permit` VALUES (6, 1800, 0, 1800, 1800);
INSERT INTO `s_role_permit` VALUES (6, 1801, 1800, 1800, 1);
INSERT INTO `s_role_permit` VALUES (6, 1802, 1800, 1800, 2);
INSERT INTO `s_role_permit` VALUES (6, 1803, 1800, 1800, 3);
INSERT INTO `s_role_permit` VALUES (6, 1900, 0, 1900, 1900);
INSERT INTO `s_role_permit` VALUES (6, 1901, 1900, 1900, 1);
INSERT INTO `s_role_permit` VALUES (6, 1902, 1900, 1900, 2);
INSERT INTO `s_role_permit` VALUES (6, 1903, 1900, 1900, 3);
INSERT INTO `s_role_permit` VALUES (6, 1904, 1900, 1900, 4);
INSERT INTO `s_role_permit` VALUES (6, 1905, 1900, 1900, 5);
INSERT INTO `s_role_permit` VALUES (6, 1906, 1900, 1900, 6);
INSERT INTO `s_role_permit` VALUES (6, 1907, 1900, 1900, 7);
INSERT INTO `s_role_permit` VALUES (6, 1908, 1900, 1900, 8);

-- ----------------------------
-- Table structure for s_role_type
-- ----------------------------
DROP TABLE IF EXISTS `s_role_type`;
CREATE TABLE `s_role_type`  (
  `role_type_id` bigint(11) NOT NULL,
  `role_type_title` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `role_type_desc` varchar(511) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `role_type_fixed` bigint(4) NULL DEFAULT 0,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`role_type_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '角色类型表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of s_role_type
-- ----------------------------
INSERT INTO `s_role_type` VALUES (1, '系统角色', '系统角色', NULL, NULL, 0, NULL, 0, '2020-02-12 21:43:54', 0, 1);
INSERT INTO `s_role_type` VALUES (2, '企业角色', '企业角色', NULL, NULL, 0, NULL, 0, '2020-02-12 21:43:57', 0, 1);

-- ----------------------------
-- Table structure for snapshot
-- ----------------------------
DROP TABLE IF EXISTS `snapshot`;
CREATE TABLE `snapshot`  (
  `oc_id` bigint(11) NOT NULL,
  `submit_group_id` bigint(11) NULL DEFAULT NULL,
  `submit_account_id` bigint(11) NULL DEFAULT NULL,
  `submit_time` datetime(0) NULL DEFAULT NULL,
  `handle_group_id` bigint(11) NULL DEFAULT NULL,
  `handle_account_id` bigint(11) NULL DEFAULT NULL,
  `handle_time` datetime(0) NULL DEFAULT NULL,
  `snapshot_id` bigint(11) NOT NULL,
  `snapshot_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `snapshot_remark` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `status` bigint(11) NULL DEFAULT NULL,
  `danger_id` bigint(11) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `cretaed_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`oc_id`, `snapshot_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '随手拍' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of snapshot
-- ----------------------------

-- ----------------------------
-- Table structure for snapshot_attach
-- ----------------------------
DROP TABLE IF EXISTS `snapshot_attach`;
CREATE TABLE `snapshot_attach`  (
  `oc_id` bigint(11) NOT NULL,
  `snapshot_id` bigint(11) NOT NULL,
  `event_id` bigint(11) NULL DEFAULT NULL,
  `file_id` bigint(11) NOT NULL,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`oc_id`, `snapshot_id`, `file_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '随手拍附件' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of snapshot_attach
-- ----------------------------

-- ----------------------------
-- Table structure for snapshot_event
-- ----------------------------
DROP TABLE IF EXISTS `snapshot_event`;
CREATE TABLE `snapshot_event`  (
  `oc_id` bigint(11) NOT NULL,
  `snapshot_id` bigint(11) NULL DEFAULT NULL,
  `group_id` bigint(11) NULL DEFAULT NULL,
  `account_id` bigint(11) NULL DEFAULT NULL,
  `event_id` bigint(11) NULL DEFAULT NULL,
  `event_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `event_remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `event_time` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `created_at` datetime(0) NULL DEFAULT NULL,
  PRIMARY KEY (`oc_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '随手拍处理事件' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of snapshot_event
-- ----------------------------

-- ----------------------------
-- Table structure for task
-- ----------------------------
DROP TABLE IF EXISTS `task`;
CREATE TABLE `task`  (
  `oc_id` bigint(11) NOT NULL COMMENT 'OC ID',
  `task_id` bigint(11) NOT NULL COMMENT 'TASK ID',
  `task_code` varchar(63) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '任务编码',
  `task_title` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '标题',
  `task_desc` varchar(2047) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '描述',
  `task_cat_id` bigint(11) NULL DEFAULT NULL COMMENT '类别ID',
  `task_type_id` bigint(11) NULL DEFAULT NULL COMMENT '类型ID',
  `expected_start_time` datetime(0) NULL DEFAULT NULL COMMENT '期望开始时间',
  `expected_end_time` datetime(0) NULL DEFAULT NULL COMMENT '期望结速时间',
  `actual_start_time` datetime(0) NULL DEFAULT NULL COMMENT '实际开始时间',
  `actual_end_time` datetime(0) NULL DEFAULT NULL COMMENT '实际结束时间',
  `task_priority` bigint(11) NOT NULL COMMENT '优先级',
  `task_urgency` bigint(11) NULL DEFAULT NULL COMMENT '紧急程度',
  `task_level` bigint(11) NULL DEFAULT NULL COMMENT '任务层级',
  `status` bigint(11) NULL DEFAULT 0 COMMENT '状态 0L; // 未开始  \r\n 1L; // 处理中  \r\n 2L; // 已取消  \r\n 3L; // 已完成  ',
  `parent_id` bigint(11) NULL DEFAULT NULL COMMENT '父ID',
  `root_id` bigint(20) NULL DEFAULT NULL COMMENT '根任务',
  `task_origin` bigint(11) NULL DEFAULT NULL COMMENT '任务来源',
  `launch_account_id` bigint(11) NULL DEFAULT NULL COMMENT '发起人ID',
  `launch_position_id` bigint(11) NULL DEFAULT NULL COMMENT '发起人岗位ID',
  `launch_group_id` bigint(11) NULL DEFAULT NULL COMMENT '发起人群组ID',
  `launch_time` datetime(0) NULL DEFAULT NULL COMMENT '发起时间',
  `execute_account_id` bigint(11) NULL DEFAULT NULL COMMENT '执行人ID',
  `execute_position_id` bigint(11) NULL DEFAULT NULL COMMENT '执行人岗位ID',
  `execute_group_id` bigint(11) NULL DEFAULT NULL COMMENT '执行人群组ID',
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  PRIMARY KEY (`task_id`, `oc_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '任务' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of task
-- ----------------------------
INSERT INTO `task` VALUES (406283, 407319, '20211130182330664', 'TASK1', 'TASK1', 406310, 2, '2021-11-30 00:00:00', '2021-12-09 00:00:00', '2021-11-30 18:49:20', '2021-11-30 23:29:53', 2, NULL, NULL, 3, NULL, NULL, NULL, 406283, 406283, 406283, NULL, 406283, NULL, 406283, '2021-11-30 18:23:31', 406283, '2021-11-30 19:00:30', 406283, NULL, NULL, 0);
INSERT INTO `task` VALUES (406283, 407437, '20211201163654336', '扫码巡检任务', '扫码巡检任务', NULL, 3, '2021-12-01 16:36:54', '2021-12-08 16:36:54', NULL, NULL, 2, NULL, NULL, 1, NULL, NULL, NULL, 406283, 406283, 406283, NULL, 406283, 406283, 406283, '2021-12-01 16:36:54', 406283, NULL, NULL, NULL, NULL, 0);
INSERT INTO `task` VALUES (406283, 407475, '20211207140900802', '扫码巡检任务', '扫码巡检任务', NULL, 3, '2021-12-07 14:09:01', '2021-12-14 14:09:01', NULL, NULL, 2, NULL, NULL, 1, NULL, NULL, NULL, 406283, 406283, 406283, NULL, 406283, 406283, 406283, '2021-12-07 14:09:01', 406283, NULL, NULL, NULL, NULL, 0);
INSERT INTO `task` VALUES (406283, 407493, '20211207154254769', '扫码巡检任务', '扫码巡检任务', NULL, 3, '2021-12-07 15:42:55', '2021-12-14 15:42:55', NULL, NULL, 2, NULL, NULL, 1, NULL, NULL, NULL, 406283, 406283, 406283, NULL, 406283, 406283, 406283, '2021-12-07 15:42:55', 406283, NULL, NULL, NULL, NULL, 0);
INSERT INTO `task` VALUES (406283, 407511, '20211207163653572', '扫码巡检任务', '扫码巡检任务', NULL, 3, '2021-12-07 16:36:54', '2021-12-14 16:36:54', NULL, NULL, 2, NULL, NULL, 1, NULL, NULL, NULL, 406283, 406283, 406283, NULL, 406283, 406283, 406283, '2021-12-07 16:36:54', 406283, NULL, NULL, NULL, NULL, 0);
INSERT INTO `task` VALUES (406283, 407529, '20211207164856611', '扫码巡检任务', '扫码巡检任务', NULL, 3, '2021-12-07 16:48:57', '2021-12-14 16:48:57', NULL, '2021-12-08 11:38:21', 2, NULL, NULL, 3, NULL, NULL, NULL, 406283, 406283, 406283, NULL, 406283, 406283, 406283, '2021-12-07 16:48:57', 406283, NULL, NULL, NULL, NULL, 0);
INSERT INTO `task` VALUES (406283, 407547, '20211207170630527', '扫码巡检任务', '扫码巡检任务', NULL, 3, '2021-12-07 17:06:31', '2021-12-14 17:06:31', NULL, NULL, 2, NULL, NULL, 1, NULL, NULL, NULL, 406283, 406283, 406283, NULL, 406283, 406283, 406283, '2021-12-07 17:06:31', 406283, NULL, NULL, NULL, NULL, 0);
INSERT INTO `task` VALUES (406283, 407565, '20211207171005764', '扫码巡检任务', '扫码巡检任务', NULL, 3, '2021-12-07 17:10:06', '2021-12-14 17:10:06', NULL, NULL, 2, NULL, NULL, 1, NULL, NULL, NULL, 406283, 406283, 406283, NULL, 406283, 406283, 406283, '2021-12-07 17:10:06', 406283, NULL, NULL, NULL, NULL, 0);
INSERT INTO `task` VALUES (406283, 407583, '20211207173235512', '扫码巡检任务', '扫码巡检任务', NULL, 3, '2021-12-07 17:32:36', '2021-12-14 17:32:36', NULL, '2021-12-07 17:32:49', 2, NULL, NULL, 3, NULL, NULL, NULL, 406283, 406283, 406283, NULL, 406283, 406283, 406283, '2021-12-07 17:32:36', 406283, NULL, NULL, NULL, NULL, 0);
INSERT INTO `task` VALUES (406283, 407602, '20211207174513520', '扫码巡检任务', '扫码巡检任务', NULL, 3, '2021-12-07 17:45:14', '2021-12-14 17:45:14', NULL, NULL, 2, NULL, NULL, 1, NULL, NULL, NULL, 406283, 406283, 406283, NULL, 406283, 406283, 406283, '2021-12-07 17:45:14', 406283, NULL, NULL, NULL, NULL, 0);
INSERT INTO `task` VALUES (406283, 407637, '20211207181437381', '扫码巡检任务', '扫码巡检任务', NULL, 3, '2021-12-07 18:14:37', '2021-12-14 18:14:37', NULL, '2021-12-08 11:39:38', 2, NULL, NULL, 3, NULL, NULL, NULL, 406283, 406283, 406283, NULL, 406283, 406283, 406283, '2021-12-07 18:14:37', 406283, NULL, NULL, NULL, NULL, 0);
INSERT INTO `task` VALUES (406283, 407669, '20211208174018996', '扫码巡检任务', '扫码巡检任务', NULL, 3, '2021-12-08 17:40:19', '2021-12-15 17:40:19', NULL, '2021-12-09 18:47:02', 2, NULL, NULL, 3, NULL, NULL, NULL, 406283, 406283, 406283, NULL, 406283, 406283, 406283, '2021-12-08 17:40:19', 406283, NULL, NULL, NULL, NULL, 0);

-- ----------------------------
-- Table structure for task_cat
-- ----------------------------
DROP TABLE IF EXISTS `task_cat`;
CREATE TABLE `task_cat`  (
  `task_cat_id` bigint(11) NOT NULL,
  `task_cat_title` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `task_cat_desc` varchar(512) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `is_fixed` bigint(11) NULL DEFAULT 0,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  PRIMARY KEY (`task_cat_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '任务类别 ' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of task_cat
-- ----------------------------
INSERT INTO `task_cat` VALUES (406286, 'AA', 'BB', 0, 0, NULL, 1, '2021-12-13 11:13:44', 0, 0, NULL);
INSERT INTO `task_cat` VALUES (406287, 'BB', 'CC', 0, 0, NULL, 0, NULL, 1, 0, '2020-03-03 20:25:53');
INSERT INTO `task_cat` VALUES (406288, 'CC', 'DD', 0, 0, NULL, 0, NULL, 0, 0, NULL);
INSERT INTO `task_cat` VALUES (406310, '日常检查任务', '日常检查任务', 0, 406283, '2020-03-20 08:13:42', 406283, '2020-12-20 22:35:33', 0, NULL, NULL);
INSERT INTO `task_cat` VALUES (406311, '专项检查任务', '专项检查任务', 0, 406283, '2020-03-20 08:15:37', 406283, '2020-12-20 22:35:55', 0, NULL, NULL);
INSERT INTO `task_cat` VALUES (406312, '临时任务', '临时任务', 0, 406283, '2020-03-20 08:17:08', 406283, '2020-12-20 22:36:59', 0, NULL, NULL);
INSERT INTO `task_cat` VALUES (406547, 'D', 'D', 0, 406283, '2020-12-07 01:26:49', NULL, NULL, 1, NULL, NULL);

-- ----------------------------
-- Table structure for task_event
-- ----------------------------
DROP TABLE IF EXISTS `task_event`;
CREATE TABLE `task_event`  (
  `oc_id` bigint(11) NOT NULL,
  `task_id` bigint(11) NOT NULL,
  `group_id_fr` bigint(11) NULL DEFAULT NULL,
  `position_id_fr` bigint(11) NULL DEFAULT NULL,
  `account_id_fr` bigint(11) NOT NULL COMMENT '事件发起者',
  `account_id_to` bigint(11) NULL DEFAULT NULL COMMENT '事件接收者',
  `position_id_to` bigint(11) NULL DEFAULT NULL,
  `group_id_to` bigint(11) NULL DEFAULT NULL,
  `event_id` bigint(11) NOT NULL,
  `event_code` varchar(63) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `event_time` datetime(0) NULL DEFAULT NULL,
  `event_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `event_desc` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`oc_id`, `task_id`, `event_id`, `account_id_fr`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '任务事件' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of task_event
-- ----------------------------
INSERT INTO `task_event` VALUES (406283, 407437, 406283, 406283, 406283, NULL, NULL, NULL, 407437, 'TASK_CREATE', '2021-12-01 16:36:54', NULL, NULL, '2021-12-01 16:36:54', 406283);
INSERT INTO `task_event` VALUES (406283, 407437, 406283, 406283, 406283, NULL, NULL, NULL, 407438, 'TASK_START', '2021-12-01 16:36:55', NULL, NULL, '2021-12-01 16:36:55', 406283);
INSERT INTO `task_event` VALUES (406283, 407475, 406283, 406283, 406283, NULL, NULL, NULL, 407475, 'TASK_CREATE', '2021-12-07 14:09:01', NULL, NULL, '2021-12-07 14:09:01', 406283);
INSERT INTO `task_event` VALUES (406283, 407475, 406283, 406283, 406283, NULL, NULL, NULL, 407476, 'TASK_START', '2021-12-07 14:09:01', NULL, NULL, '2021-12-07 14:09:01', 406283);
INSERT INTO `task_event` VALUES (406283, 407493, 406283, 406283, 406283, NULL, NULL, NULL, 407493, 'TASK_CREATE', '2021-12-07 15:42:55', NULL, NULL, '2021-12-07 15:42:55', 406283);
INSERT INTO `task_event` VALUES (406283, 407493, 406283, 406283, 406283, NULL, NULL, NULL, 407494, 'TASK_START', '2021-12-07 15:42:55', NULL, NULL, '2021-12-07 15:42:55', 406283);
INSERT INTO `task_event` VALUES (406283, 407511, 406283, 406283, 406283, NULL, NULL, NULL, 407511, 'TASK_CREATE', '2021-12-07 16:36:54', NULL, NULL, '2021-12-07 16:36:54', 406283);
INSERT INTO `task_event` VALUES (406283, 407511, 406283, 406283, 406283, NULL, NULL, NULL, 407512, 'TASK_START', '2021-12-07 16:36:54', NULL, NULL, '2021-12-07 16:36:54', 406283);
INSERT INTO `task_event` VALUES (406283, 407547, 406283, 406283, 406283, NULL, NULL, NULL, 407547, 'TASK_CREATE', '2021-12-07 17:06:31', NULL, NULL, '2021-12-07 17:06:31', 406283);
INSERT INTO `task_event` VALUES (406283, 407547, 406283, 406283, 406283, NULL, NULL, NULL, 407548, 'TASK_START', '2021-12-07 17:06:31', NULL, NULL, '2021-12-07 17:06:31', 406283);
INSERT INTO `task_event` VALUES (406283, 407565, 406283, 406283, 406283, NULL, NULL, NULL, 407565, 'TASK_CREATE', '2021-12-07 17:10:06', NULL, NULL, '2021-12-07 17:10:06', 406283);
INSERT INTO `task_event` VALUES (406283, 407565, 406283, 406283, 406283, NULL, NULL, NULL, 407566, 'TASK_START', '2021-12-07 17:10:06', NULL, NULL, '2021-12-07 17:10:06', 406283);
INSERT INTO `task_event` VALUES (406283, 407602, 406283, 406283, 406283, NULL, NULL, NULL, 407602, 'TASK_CREATE', '2021-12-07 17:45:14', NULL, NULL, '2021-12-07 17:45:14', 406283);
INSERT INTO `task_event` VALUES (406283, 407602, 406283, 406283, 406283, NULL, NULL, NULL, 407603, 'TASK_START', '2021-12-07 17:45:14', NULL, NULL, '2021-12-07 17:45:14', 406283);

-- ----------------------------
-- Table structure for task_event_log
-- ----------------------------
DROP TABLE IF EXISTS `task_event_log`;
CREATE TABLE `task_event_log`  (
  `oc_id` bigint(11) NOT NULL,
  `task_id` bigint(11) NOT NULL,
  `group_id_fr` bigint(11) NULL DEFAULT NULL,
  `position_id_fr` bigint(11) NULL DEFAULT NULL,
  `account_id_fr` bigint(11) NOT NULL COMMENT '事件发起者',
  `account_id_to` bigint(11) NULL DEFAULT NULL COMMENT '事件接收者',
  `position_id_to` bigint(11) NULL DEFAULT NULL,
  `group_id_to` bigint(11) NULL DEFAULT NULL,
  `event_id` bigint(11) NOT NULL,
  `event_code` varchar(63) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `event_time` datetime(0) NULL DEFAULT NULL,
  `event_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `event_desc` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`oc_id`, `task_id`, `event_id`, `account_id_fr`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '任务事件' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of task_event_log
-- ----------------------------
INSERT INTO `task_event_log` VALUES (406283, 407319, 406283, 406283, 406283, NULL, NULL, NULL, 407319, 'TASK_CREATE', '2021-11-30 18:23:31', NULL, NULL, '2021-11-30 18:23:31', 406283);
INSERT INTO `task_event_log` VALUES (406283, 407319, 406283, 406283, 406283, NULL, NULL, NULL, 407320, 'TASK_START', '2021-11-30 18:49:21', NULL, NULL, '2021-11-30 18:49:21', 406283);
INSERT INTO `task_event_log` VALUES (406283, 407319, 406283, 406283, 406283, NULL, NULL, NULL, 407341, 'TASK_TRANSFER', '2021-11-30 19:00:30', NULL, NULL, '2021-11-30 19:00:30', 406283);
INSERT INTO `task_event_log` VALUES (406283, 407319, 406283, 406283, 406283, NULL, NULL, NULL, 407342, 'TASK_COMPLETE', '2021-11-30 23:29:53', NULL, NULL, '2021-11-30 23:29:53', 406283);
INSERT INTO `task_event_log` VALUES (406283, 407529, 406283, 406283, 406283, NULL, NULL, NULL, 407529, 'TASK_CREATE', '2021-12-07 16:48:57', NULL, NULL, '2021-12-07 16:48:57', 406283);
INSERT INTO `task_event_log` VALUES (406283, 407529, 406283, 406283, 406283, NULL, NULL, NULL, 407530, 'TASK_START', '2021-12-07 16:48:57', NULL, NULL, '2021-12-07 16:48:57', 406283);
INSERT INTO `task_event_log` VALUES (406283, 407529, 406283, 406283, 406283, NULL, NULL, NULL, 407660, 'TASK_COMPLETE', '2021-12-08 11:38:21', NULL, NULL, '2021-12-08 11:38:21', 406283);
INSERT INTO `task_event_log` VALUES (406283, 407583, 406283, 406283, 406283, NULL, NULL, NULL, 407583, 'TASK_CREATE', '2021-12-07 17:32:36', NULL, NULL, '2021-12-07 17:32:36', 406283);
INSERT INTO `task_event_log` VALUES (406283, 407583, 406283, 406283, 406283, NULL, NULL, NULL, 407584, 'TASK_START', '2021-12-07 17:32:36', NULL, NULL, '2021-12-07 17:32:36', 406283);
INSERT INTO `task_event_log` VALUES (406283, 407583, 406283, 406283, 406283, NULL, NULL, NULL, 407601, 'TASK_COMPLETE', '2021-12-07 17:32:50', NULL, NULL, '2021-12-07 17:32:50', 406283);
INSERT INTO `task_event_log` VALUES (406283, 407637, 406283, 406283, 406283, NULL, NULL, NULL, 407637, 'TASK_CREATE', '2021-12-07 18:14:38', NULL, NULL, '2021-12-07 18:14:38', 406283);
INSERT INTO `task_event_log` VALUES (406283, 407637, 406283, 406283, 406283, NULL, NULL, NULL, 407638, 'TASK_START', '2021-12-07 18:14:38', NULL, NULL, '2021-12-07 18:14:38', 406283);
INSERT INTO `task_event_log` VALUES (406283, 407637, 406283, 406283, 406283, NULL, NULL, NULL, 407661, 'TASK_COMPLETE', '2021-12-08 11:39:25', NULL, NULL, '2021-12-08 11:39:25', 406283);
INSERT INTO `task_event_log` VALUES (406283, 407637, 406283, 406283, 406283, NULL, NULL, NULL, 407662, 'TASK_COMPLETE', '2021-12-08 11:39:39', NULL, NULL, '2021-12-08 11:39:39', 406283);
INSERT INTO `task_event_log` VALUES (406283, 407669, 406283, 406283, 406283, NULL, NULL, NULL, 407669, 'TASK_CREATE', '2021-12-08 17:40:19', NULL, NULL, '2021-12-08 17:40:19', 406283);
INSERT INTO `task_event_log` VALUES (406283, 407669, 406283, 406283, 406283, NULL, NULL, NULL, 407670, 'TASK_START', '2021-12-08 17:40:19', NULL, NULL, '2021-12-08 17:40:19', 406283);
INSERT INTO `task_event_log` VALUES (406283, 407669, 406283, 406283, 406283, NULL, NULL, NULL, 407708, 'TASK_COMPLETE', '2021-12-09 18:46:15', NULL, NULL, '2021-12-09 18:46:15', 406283);
INSERT INTO `task_event_log` VALUES (406283, 407669, 406283, 406283, 406283, NULL, NULL, NULL, 407709, 'TASK_COMPLETE', '2021-12-09 18:47:02', NULL, NULL, '2021-12-09 18:47:02', 406283);

-- ----------------------------
-- Table structure for uid_sequence
-- ----------------------------
DROP TABLE IF EXISTS `uid_sequence`;
CREATE TABLE `uid_sequence`  (
  `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT,
  `stub` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `stub`(`stub`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 407750 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = 'ID生成器' ROW_FORMAT = Fixed;

-- ----------------------------
-- Records of uid_sequence
-- ----------------------------
INSERT INTO `uid_sequence` VALUES (407749, 'a');

-- ----------------------------
-- Table structure for user
-- ----------------------------
DROP TABLE IF EXISTS `user`;
CREATE TABLE `user`  (
  `oc_id` bigint(11) NOT NULL,
  `user_id` bigint(11) NOT NULL COMMENT '用户ID',
  `user_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '用户姓名',
  `user_sex` bigint(255) NULL DEFAULT NULL COMMENT '性别',
  `user_birth` date NULL DEFAULT NULL COMMENT '出生日期',
  `user_tel1` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '电话1',
  `user_tel2` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '电话2',
  `user_phone1` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '手机1',
  `user_phone2` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '手机2',
  `user_email` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '电子邮件',
  `user_addr` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '家庭地址',
  `user_id_number` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '身份证号',
  `created_by` bigint(11) UNSIGNED NULL DEFAULT NULL,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  PRIMARY KEY (`user_id`, `oc_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '用户基本信息表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of user
-- ----------------------------

-- ----------------------------
-- Table structure for user_token
-- ----------------------------
DROP TABLE IF EXISTS `user_token`;
CREATE TABLE `user_token`  (
  `id` bigint(255) NOT NULL AUTO_INCREMENT,
  `client_secret` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `oc_id` bigint(11) NULL DEFAULT NULL,
  `oc_type_id` bigint(11) NULL DEFAULT NULL,
  `user_id` bigint(11) NULL DEFAULT NULL,
  `role_id` bigint(11) NULL DEFAULT NULL,
  `role_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `group_id` bigint(11) NULL DEFAULT NULL,
  `group_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `group_left` bigint(11) NULL DEFAULT NULL,
  `group_right` bigint(11) NULL DEFAULT NULL,
  `position_id` bigint(11) NULL DEFAULT NULL,
  `position_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `grant_group_id` bigint(11) NULL DEFAULT NULL,
  `grant_group_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `token` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `secret` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `express_in` bigint(11) NULL DEFAULT NULL,
  `version` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `revoked` tinyint(1) NULL DEFAULT NULL,
  `created_at` datetime(0) NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 559 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '用户TOKEN' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of user_token
-- ----------------------------
INSERT INTO `user_token` VALUES (514, '', 1, 1, 1, 1, '超级管理员', 1, '中国人解放军', 0, 11, 1, 'CTO', 0, '', '[REDACTED], 'secret', 1582795972, 'v1', 0, '2020-02-27 16:32:52');
INSERT INTO `user_token` VALUES (515, '', 1, 1, 1, 1, '超级管理员', 1, '西安智慧创新信息科技有限公司', 1, 2, 1, 'CTO', 0, '', '[REDACTED], 'secret', 1582796523, 'v1', 0, '2020-02-27 16:42:03');
INSERT INTO `user_token` VALUES (516, '', 1, 1, 1, 1, '超级管理员', 1, '西安智慧创新信息科技有限公司', 1, 2, 1, 'CTO', 0, '', '[REDACTED], 'secret', 1582802280, 'v1', 0, '2020-02-27 18:18:00');
INSERT INTO `user_token` VALUES (517, '', 406283, 2, 406283, 8, '合作方管理员', 406283, '中国公司01', 1, 2, 406283, '管理员', 0, '', '[REDACTED], 'secret', 1582803298, 'v1', 0, '2020-02-27 18:34:58');
INSERT INTO `user_token` VALUES (518, '', 1, 1, 1, 1, '超级管理员', 1, '西安智慧创新信息科技有限公司', 1, 2, 1, 'CTO', 0, '', '[REDACTED], 'secret', 1582803318, 'v1', 0, '2020-02-27 18:35:18');
INSERT INTO `user_token` VALUES (519, '', 1, 1, 1, 1, '超级管理员', 1, '西安智慧创新信息科技有限公司', 1, 2, 1, 'CTO', 0, '', '[REDACTED], 'secret', 1582807343, 'v1', 0, '2020-02-27 19:42:23');
INSERT INTO `user_token` VALUES (520, '', 1, 1, 1, 1, '超级管理员', 1, '西安智慧创新信息科技有限公司', 1, 2, 1, 'CTO', 0, '', '[REDACTED], 'secret', 1582808998, 'v1', 0, '2020-02-27 20:09:58');
INSERT INTO `user_token` VALUES (521, '', 406282, 2, 406282, 6, '企业端管理员', 406282, '中国公司', 1, 2, 406282, '管理员', 0, '', '[REDACTED], 'secret', 1582816155, 'v1', 0, '2020-02-27 22:09:15');
INSERT INTO `user_token` VALUES (522, '', 406283, 2, 406283, 6, '企业端管理员', 406283, '中国公司01', 1, 2, 406283, '管理员', 0, '', '[REDACTED], 'secret', 1582817472, 'v1', 0, '2020-02-27 22:31:12');
INSERT INTO `user_token` VALUES (523, '', 406283, 2, 406283, 6, '企业端管理员', 406283, '中国公司01', 1, 2, 406283, '管理员', 0, '', '[REDACTED], 'secret', 1582818044, 'v1', 0, '2020-02-27 22:40:44');
INSERT INTO `user_token` VALUES (524, '', 406283, 2, 406283, 6, '企业端管理员', 406283, '中国公司01', 1, 2, 406283, '管理员', 0, '', '[REDACTED], 'secret', 1582818125, 'v1', 0, '2020-02-27 22:42:05');
INSERT INTO `user_token` VALUES (525, '', 406283, 2, 406283, 6, '企业端管理员', 406283, '中国公司01', 1, 2, 406283, '管理员', 0, '', '[REDACTED], 'secret', 1582819173, 'v1', 0, '2020-02-27 22:59:33');
INSERT INTO `user_token` VALUES (526, '', 1, 1, 1, 1, '超级管理员', 1, '西安智慧创新信息科技有限公司', 1, 2, 1, 'CTO', 0, '', '[REDACTED], 'secret', 1582822590, 'v1', 0, '2020-02-27 23:56:30');
INSERT INTO `user_token` VALUES (527, '', 406283, 2, 406283, 6, '企业端管理员', 406283, '中国公司01', 1, 2, 406283, '管理员', 0, '', '[REDACTED], 'secret', 1582822856, 'v1', 0, '2020-02-28 00:00:56');
INSERT INTO `user_token` VALUES (528, '', 406283, 2, 406283, 6, '企业端管理员', 406283, '中国公司01', 1, 2, 406283, '管理员', 0, '', '[REDACTED], 'secret', 1582853319, 'v1', 0, '2020-02-28 08:28:39');
INSERT INTO `user_token` VALUES (529, '', 406283, 2, 406283, 6, '企业端管理员', 406283, '中国公司01', 1, 2, 406283, '管理员', 0, '', '[REDACTED], 'secret', 1582861619, 'v1', 0, '2020-02-28 10:46:59');
INSERT INTO `user_token` VALUES (530, '', 406283, 2, 406283, 6, '企业端管理员', 406283, '中国公司01', 1, 2, 406283, '管理员', 0, '', '[REDACTED], 'secret', 1582875553, 'v1', 0, '2020-02-28 14:39:13');
INSERT INTO `user_token` VALUES (531, '', 406283, 2, 406283, 6, '企业端管理员', 406283, '中国公司01', 1, 2, 406283, '管理员', 0, '', '[REDACTED], 'secret', 1582875690, 'v1', 0, '2020-02-28 14:41:30');
INSERT INTO `user_token` VALUES (532, '', 406283, 2, 406283, 6, '企业端管理员', 406283, '中国公司01', 1, 2, 406283, '管理员', 0, '', '[REDACTED], 'secret', 1582876632, 'v1', 0, '2020-02-28 14:57:12');
INSERT INTO `user_token` VALUES (533, '', 406283, 2, 406283, 6, '企业端管理员', 406283, '中国公司01', 1, 2, 406283, '管理员', 0, '', '[REDACTED], 'secret', 1582882288, 'v1', 0, '2020-02-28 16:31:28');
INSERT INTO `user_token` VALUES (534, '', 406283, 2, 406283, 6, '企业端管理员', 406283, '中国公司01', 1, 2, 406283, '管理员', 0, '', '[REDACTED], 'secret', 1582883573, 'v1', 0, '2020-02-28 16:52:53');
INSERT INTO `user_token` VALUES (535, '', 406283, 2, 406283, 6, '企业端管理员', 406283, '中国公司01', 1, 2, 406283, '管理员', 0, '', '[REDACTED], 'secret', 1582887204, 'v1', 0, '2020-02-28 17:53:24');
INSERT INTO `user_token` VALUES (536, '', 406283, 2, 406283, 6, '企业端管理员', 406283, '中国公司01', 1, 2, 406283, '管理员', 0, '', '[REDACTED], 'secret', 1582909706, 'v1', 0, '2020-02-29 00:08:26');
INSERT INTO `user_token` VALUES (537, '', 406283, 2, 406283, 6, '企业端管理员', 406283, '中国公司01', 1, 2, 406283, '管理员', 0, '', '[REDACTED], 'secret', 1582939859, 'v1', 0, '2020-02-29 08:30:59');
INSERT INTO `user_token` VALUES (538, '', 406283, 2, 406283, 6, '企业端管理员', 406283, '中国公司01', 1, 2, 406283, '管理员', 0, '', '[REDACTED], 'secret', 1582941618, 'v1', 0, '2020-02-29 09:00:18');
INSERT INTO `user_token` VALUES (539, '', 406283, 2, 406283, 6, '企业端管理员', 406283, '中国公司01', 1, 2, 406283, '管理员', 0, '', '[REDACTED], 'secret', 1582945344, 'v1', 0, '2020-02-29 10:02:24');
INSERT INTO `user_token` VALUES (540, '', 406283, 2, 406283, 6, '企业端管理员', 406283, '中国公司01', 1, 2, 406283, '管理员', 0, '', '[REDACTED], 'secret', 1582948397, 'v1', 0, '2020-02-29 10:53:17');
INSERT INTO `user_token` VALUES (541, '', 406283, 2, 406283, 6, '企业端管理员', 406283, '中国公司01', 1, 2, 406283, '管理员', 0, '', '[REDACTED], 'secret', 1582949100, 'v1', 0, '2020-02-29 11:05:00');
INSERT INTO `user_token` VALUES (542, '', 406283, 2, 406283, 6, '企业端管理员', 406283, '中国公司01', 1, 2, 406283, '管理员', 0, '', '[REDACTED], 'secret', 1582952728, 'v1', 0, '2020-02-29 12:05:28');
INSERT INTO `user_token` VALUES (543, '', 406283, 2, 406283, 6, '企业端管理员', 406283, '中国公司01', 1, 2, 406283, '管理员', 0, '', '[REDACTED], 'secret', 1583156326, 'v1', 0, '2020-03-02 20:38:46');
INSERT INTO `user_token` VALUES (544, '', 406283, 2, 406283, 6, '企业端管理员', 406283, '中国公司01', 1, 2, 406283, '管理员', 0, '', '[REDACTED], 'secret', 1583158062, 'v1', 0, '2020-03-02 21:07:42');
INSERT INTO `user_token` VALUES (545, '', 1, 1, 1, 1, '超级管理员', 1, '西安智慧创新信息科技有限公司', 1, 2, 1, 'CTO', 0, '', '[REDACTED], 'secret', 1583158087, 'v1', 0, '2020-03-02 21:08:07');
INSERT INTO `user_token` VALUES (546, '', 406283, 2, 406283, 6, '企业端管理员', 406283, '中国公司01', 1, 2, 406283, '管理员', 0, '', '[REDACTED], 'secret', 1583158370, 'v1', 0, '2020-03-02 21:12:50');
INSERT INTO `user_token` VALUES (547, '', 406283, 2, 406283, 6, '企业端管理员', 406283, '中国公司01', 1, 2, 406283, '管理员', 0, '', '[REDACTED], 'secret', 1583162495, 'v1', 0, '2020-03-02 22:21:35');
INSERT INTO `user_token` VALUES (548, '', 406283, 2, 406283, 6, '企业端管理员', 406283, '中国公司01', 1, 2, 406283, '管理员', 0, '', '[REDACTED], 'secret', 1583162778, 'v1', 0, '2020-03-02 22:26:18');
INSERT INTO `user_token` VALUES (549, '', 406283, 2, 406283, 6, '企业端管理员', 406283, '中国公司01', 1, 2, 406283, '管理员', 0, '', '[REDACTED], 'secret', 1583207008, 'v1', 0, '2020-03-03 10:43:28');
INSERT INTO `user_token` VALUES (550, '', 406283, 2, 406283, 6, '企业端管理员', 406283, '中国公司01', 1, 2, 406283, '管理员', 0, '', '[REDACTED], 'secret', 1583230091, 'v1', 0, '2020-03-03 17:08:11');
INSERT INTO `user_token` VALUES (551, '', 406283, 2, 406283, 6, '企业端管理员', 406283, '中国公司01', 1, 2, 406283, '管理员', 0, '', '[REDACTED], 'secret', 1583237656, 'v1', 0, '2020-03-03 19:14:16');
INSERT INTO `user_token` VALUES (552, '', 406283, 2, 406283, 6, '企业端管理员', 406283, '中国公司01', 1, 2, 406283, '管理员', 0, '', '[REDACTED], 'secret', 1583241445, 'v1', 0, '2020-03-03 20:17:25');
INSERT INTO `user_token` VALUES (553, '', 406283, 2, 406283, 6, '企业端管理员', 406283, '中国公司01', 1, 2, 406283, '管理员', 0, '', '[REDACTED], 'secret', 1583247746, 'v1', 0, '2020-03-03 22:02:26');
INSERT INTO `user_token` VALUES (554, '', 406283, 2, 406283, 6, '企业端管理员', 406283, '中国公司01', 1, 2, 406283, '管理员', 0, '', '[REDACTED], 'secret', 1583247795, 'v1', 0, '2020-03-03 22:03:15');
INSERT INTO `user_token` VALUES (555, '', 406283, 2, 406283, 6, '企业端管理员', 406283, '中国公司01', 1, 2, 406283, '管理员', 0, '', '[REDACTED], 'secret', 1583247808, 'v1', 0, '2020-03-03 22:03:28');
INSERT INTO `user_token` VALUES (556, '', 406283, 2, 406283, 6, '企业端管理员', 406283, '中国公司01', 1, 2, 406283, '管理员', 0, '', '[REDACTED], 'secret', 1583251540, 'v1', 0, '2020-03-03 23:05:40');
INSERT INTO `user_token` VALUES (557, '', 406283, 2, 406283, 6, '企业端管理员', 406283, '中国公司01', 1, 2, 406283, '管理员', 0, '', '[REDACTED], 'secret', 1583252669, 'v1', 0, '2020-03-03 23:24:29');
INSERT INTO `user_token` VALUES (558, '', 406283, 2, 406283, 6, '企业端管理员', 406283, '中国公司01', 1, 2, 406283, '管理员', 0, '', '[REDACTED], 'secret', 1583252681, 'v1', 0, '2020-03-03 23:24:41');

-- ----------------------------
-- Table structure for wf_def
-- ----------------------------
DROP TABLE IF EXISTS `wf_def`;
CREATE TABLE `wf_def`  (
  `wf_def_id` bigint(11) NOT NULL,
  `wf_def_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `wf_def_desc` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`wf_def_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '工作流程表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of wf_def
-- ----------------------------
INSERT INTO `wf_def` VALUES (1, '隐患整改流程', '隐患整改流程', NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_def` VALUES (2, '简易隐患整改流程', '简易隐患整改流程', NULL, NULL, NULL, NULL, 0, NULL, NULL);

-- ----------------------------
-- Table structure for wf_example
-- ----------------------------
DROP TABLE IF EXISTS `wf_example`;
CREATE TABLE `wf_example`  (
  `example_id` bigint(11) NOT NULL,
  `oc_id` bigint(11) NOT NULL,
  `example_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `example_desc` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `wf_def_id` bigint(11) NULL DEFAULT NULL,
  `wf_ins_id` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`example_id`, `oc_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '流程示例表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of wf_example
-- ----------------------------
INSERT INTO `wf_example` VALUES (406794, 1, 'SS', 'SSS', 1, 406792);
INSERT INTO `wf_example` VALUES (406797, 1, 'wer', 'wer', 1, 406795);
INSERT INTO `wf_example` VALUES (406804, 1, 'a', 'a', 1, 406802);
INSERT INTO `wf_example` VALUES (406807, 1, 'b', 'd', 1, 406805);

-- ----------------------------
-- Table structure for wf_ins
-- ----------------------------
DROP TABLE IF EXISTS `wf_ins`;
CREATE TABLE `wf_ins`  (
  `oc_id` bigint(11) NOT NULL COMMENT '单位ID',
  `wf_def_id` bigint(11) NOT NULL COMMENT '流程ID',
  `wf_ins_id` bigint(11) NOT NULL COMMENT '流程实例ID',
  `wf_ins_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '实例标题 ',
  `begin_time` datetime(0) NULL DEFAULT NULL,
  `finish_time` datetime(0) NULL DEFAULT NULL,
  `status` bigint(11) NULL DEFAULT NULL COMMENT '状态：0初始，1执行中，2完成，-1撤消',
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`oc_id`, `wf_ins_id`, `wf_def_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '工作流程实例表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of wf_ins
-- ----------------------------
INSERT INTO `wf_ins` VALUES (406283, 1, 407010, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-01-23 00:00:36', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407011, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-01-23 00:09:07', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407012, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-01-23 07:33:22', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407013, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-01-23 07:51:14', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407014, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-01-23 07:58:49', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407015, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-01-23 08:13:34', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407016, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-01-23 08:24:01', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407017, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-01-23 09:01:55', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407018, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-01-23 09:02:31', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407019, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-01-23 09:06:13', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407020, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-01-23 09:06:28', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407021, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-01-23 09:10:31', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407022, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-01-23 09:14:41', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407023, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-01-23 09:16:08', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407024, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-01-23 09:16:47', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407025, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-01-23 09:17:10', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407026, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-01-23 09:21:54', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407027, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-01-23 09:31:01', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407028, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-01-23 09:45:00', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407029, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-01-23 09:45:49', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407030, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-01-23 11:12:07', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407031, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-01-23 11:13:00', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407032, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-01-23 11:13:58', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407033, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-01-23 11:18:09', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407034, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-01-23 11:19:21', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407035, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 2, '2021-01-23 11:20:47', 406283, '2021-01-24 14:55:40', 406283, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407038, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-01-24 10:07:00', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407039, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-01-24 10:08:47', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407040, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-01-24 10:10:24', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407041, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-01-24 10:15:26', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407042, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-01-24 10:15:47', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407043, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-01-24 10:45:20', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407044, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 1, '2021-01-24 10:47:47', 406283, '2021-01-24 11:07:29', 406283, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407051, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-01-25 00:22:52', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407052, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-01-25 00:28:46', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407053, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-01-25 00:29:41', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407054, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-01-25 00:30:23', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407055, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-01-25 00:33:22', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407056, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-01-25 00:35:23', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407057, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-01-25 09:43:52', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407058, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-01-25 09:46:19', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407059, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-01-25 09:55:27', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407060, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-01-25 09:55:53', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407061, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-01-25 09:57:02', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407062, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 2, '2021-01-25 10:01:36', 406283, '2021-02-10 00:06:51', 406283, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407065, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 1, '2021-01-25 22:57:24', 406283, '2021-08-27 09:52:55', 406283, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407250, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-03-29 10:46:02', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407251, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-03-29 10:59:46', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407256, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-08-09 10:38:30', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407267, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-08-27 10:01:48', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407307, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-29 14:23:54', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407308, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-29 14:23:59', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407312, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-29 23:48:10', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407313, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-29 23:49:33', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407314, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-29 23:52:48', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407462, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-01 21:53:01', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407463, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-01 21:54:45', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407464, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-01 21:57:19', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407465, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-01 22:01:13', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407466, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-01 22:02:47', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407467, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-01 22:04:41', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407468, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-01 22:04:58', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407469, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-01 22:07:13', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407470, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-01 23:15:50', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407471, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-01 23:15:59', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407472, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-01 23:31:28', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407473, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-06 14:14:27', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407474, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-06 14:23:50', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407655, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-08 09:43:52', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407656, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-08 09:44:12', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407657, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-08 09:44:36', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407658, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-08 09:46:20', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407659, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-08 09:54:31', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407663, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-08 15:51:12', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407664, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-08 15:59:46', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407665, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-08 16:02:10', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407666, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-08 16:10:15', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407667, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-08 16:10:20', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407668, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-08 17:39:58', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407687, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-08 17:40:35', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407692, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-09 14:30:02', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407701, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-09 17:37:02', 406287, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407702, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-09 17:59:09', 406287, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407703, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-09 17:59:43', 406287, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407704, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-09 18:08:22', 406287, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407705, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-09 18:08:56', 406287, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407706, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-09 18:28:39', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407707, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-09 18:29:54', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407710, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-09 18:48:26', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407713, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-10 09:16:11', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407714, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-10 09:32:04', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407715, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-10 09:40:55', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407716, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-10 14:11:28', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407717, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-10 14:11:29', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407718, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-10 14:11:33', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407719, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-10 14:26:59', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407720, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-10 14:27:15', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407721, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-10 14:28:02', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407722, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-10 14:28:05', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407723, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-10 14:28:12', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407724, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-10 14:29:52', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407725, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-10 14:31:33', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407726, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-10 14:44:21', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407727, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-10 14:44:50', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407728, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-10 14:46:22', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407729, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-10 15:08:02', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407730, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-10 15:08:43', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407731, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-10 15:09:05', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407732, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-10 15:25:04', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407733, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-10 15:26:49', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407734, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 1, '2021-12-10 15:31:41', 406283, '2021-12-10 15:32:18', 406283, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407736, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-10 15:32:56', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407737, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-10 15:33:56', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407738, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-10 15:34:36', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407739, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-10 15:35:14', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407740, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-10 15:36:14', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407741, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-10 15:36:19', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407742, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-10 15:36:47', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407743, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-10 15:41:32', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407744, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-10 15:41:33', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407745, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-10 15:42:00', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407746, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-10 15:42:02', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407747, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-10 15:42:50', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407748, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-10 16:05:34', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 407749, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-12-10 16:07:06', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 172577544798209, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-08-10 18:43:07', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 172578530459649, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-08-10 18:50:57', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 188497635901441, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-06 15:24:37', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 188498558648321, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-06 15:31:57', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 188498839666689, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-06 15:34:11', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 188500295090177, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-06 15:45:45', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 188549076942849, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-06 22:13:26', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 188557054509057, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-06 23:16:50', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 188558226817025, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-06 23:26:10', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 188558568652801, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-06 23:28:53', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 188559935995905, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-06 23:39:44', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 188561236230145, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-06 23:50:05', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 188562400149505, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-06 23:59:20', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 188562999934977, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-07 00:04:05', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 188564518273025, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-07 00:16:09', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 188564725891073, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-07 00:17:48', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 188565420048385, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-07 00:23:19', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 188568054071297, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-07 00:44:15', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 188568360255489, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-07 00:46:41', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 188568886640641, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-07 00:50:53', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 188569473843201, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-07 00:55:33', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 188570310606849, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-07 01:02:12', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 188571262713857, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-07 01:09:45', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 188572304998401, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-07 01:18:03', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 188574068703233, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-07 01:32:03', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 188574337138689, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-07 01:34:12', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 188574748180481, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-07 01:37:27', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 188634256965633, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-07 09:30:24', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 188636377186305, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-07 09:47:14', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 188637155229697, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-07 09:53:25', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 188637973118977, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-07 09:59:56', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 188638224777217, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-07 10:01:55', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 188638526767105, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-07 10:04:19', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 188638702927873, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-07 10:05:43', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 188638942003201, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 1, '2021-11-07 10:07:37', 406283, '2021-11-07 10:08:30', 406283, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 188639267061761, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 1, '2021-11-07 10:10:12', 406283, '2021-11-07 10:10:42', 406283, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 188639405473793, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 1, '2021-11-07 10:11:18', 406283, '2021-11-07 10:14:05', 406283, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 188639753601025, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 1, '2021-11-07 10:14:05', 406283, '2021-11-07 10:14:48', 406283, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 188640091242497, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 1, '2021-11-07 10:16:45', 406283, '2021-11-07 10:17:06', 406283, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 188640416301057, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 1, '2021-11-07 10:19:21', 406283, '2021-11-07 10:19:42', 406283, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 188641022377985, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 1, '2021-11-07 10:24:10', 406283, '2021-11-07 10:24:39', 406283, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 188642515550209, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 2, '2021-11-07 10:36:02', 406283, '2021-11-07 20:13:03', 406283, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 188697811156993, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-07 17:55:29', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 188715628560385, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 2, '2021-11-07 20:17:05', 406283, '2021-11-07 20:40:08', 406283, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 188722228297729, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-07 21:09:31', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 188722307989505, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-07 21:10:10', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 189081986334721, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-09 20:48:37', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 189092377722881, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-09 22:11:12', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 189092495163393, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-09 22:12:08', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 189094374211585, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-09 22:27:05', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 189094625869825, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-09 22:29:05', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 189094644744193, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-09 22:29:13', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 189094890110977, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-09 22:31:10', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 189095007551489, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-09 22:32:07', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 189095026425857, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-09 22:32:15', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 189095043203073, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-09 22:32:24', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 189095529742337, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-09 22:36:15', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 189095798177793, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-09 22:38:23', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 189095852703745, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-09 22:38:50', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 189096439906305, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-09 22:43:30', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 189096536375297, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 2, '2021-11-09 22:44:16', 406283, '2021-11-11 15:23:35', 406283, 1, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 189248246448129, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-10 18:49:56', 406283, NULL, NULL, 1, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 189252786782209, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-10 19:26:02', 406283, NULL, NULL, 1, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 189253220892673, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-10 19:29:28', 406283, NULL, NULL, 1, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 189253606768641, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-10 19:32:32', 406283, NULL, NULL, 1, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 189254382714881, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-10 19:38:43', 406283, NULL, NULL, 1, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 189254728744961, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-10 19:41:28', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 189255064289281, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-10 19:44:07', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 189262184120321, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-10 20:40:43', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 189263205433345, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 1, '2021-11-10 20:48:49', 406283, '2021-11-10 20:52:50', 406283, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 189264103014401, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 2, '2021-11-10 20:55:57', 406283, '2021-12-09 17:36:17', 406287, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 189264321118209, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-10 20:57:41', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 189264373547009, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 1, '2021-11-10 20:58:06', 406283, '2021-11-10 20:58:32', 406283, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 189264690216961, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 0, '2021-11-10 21:00:38', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_ins` VALUES (406283, 1, 189264704897025, '隐患整改流程', '2020-01-01 20:20:20', '2021-12-11 23:32:56', 2, '2021-11-10 21:00:44', 406283, '2021-12-09 17:34:33', 406287, 0, NULL, NULL);

-- ----------------------------
-- Table structure for wf_ins_attach
-- ----------------------------
DROP TABLE IF EXISTS `wf_ins_attach`;
CREATE TABLE `wf_ins_attach`  (
  `oc_id` bigint(11) NOT NULL,
  `wf_ins_id` bigint(11) NOT NULL,
  `task_ins_id` bigint(11) NULL DEFAULT NULL,
  `file_id` bigint(11) NOT NULL,
  `created_at` datetime(0) NOT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT NULL,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`oc_id`, `wf_ins_id`, `file_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = ' 流程任务附件表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of wf_ins_attach
-- ----------------------------
INSERT INTO `wf_ins_attach` VALUES (406283, 407035, 407035, 407037, '2021-01-23 11:33:45', 406283, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wf_ins_attach` VALUES (406283, 407035, 407047, 407049, '2021-01-24 14:41:57', 406283, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wf_ins_attach` VALUES (406283, 407035, 407048, 407050, '2021-01-24 14:55:40', 406283, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wf_ins_attach` VALUES (406283, 407044, 407044, 407046, '2021-01-24 11:07:29', 406283, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wf_ins_attach` VALUES (406283, 407062, 407062, 407064, '2021-01-25 10:02:13', 406283, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wf_ins_attach` VALUES (406283, 407062, 407068, 407070, '2021-01-26 17:52:51', 406283, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wf_ins_attach` VALUES (406283, 407062, 407071, 407073, '2021-01-26 18:00:52', 406283, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wf_ins_attach` VALUES (406283, 407062, 407071, 407074, '2021-01-26 18:00:52', 406283, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wf_ins_attach` VALUES (406283, 407062, 407075, 407077, '2021-01-26 18:10:17', 406283, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wf_ins_attach` VALUES (406283, 407062, 407078, 407080, '2021-01-26 18:14:18', 406283, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wf_ins_attach` VALUES (406283, 407062, 407079, 407149, '2021-02-10 00:06:52', 406283, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wf_ins_attach` VALUES (406283, 407065, 407207, 407266, '2021-08-27 09:52:55', 406283, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wf_ins_attach` VALUES (406283, 189096536375297, 189096536375297, 189096658010114, '2021-11-09 22:45:14', 406283, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wf_ins_attach` VALUES (406283, 189096536375297, 189096536375297, 189096660107265, '2021-11-09 22:45:14', 406283, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wf_ins_attach` VALUES (406283, 189096536375297, 189096658010113, 189371812741122, '2021-11-11 11:11:58', 406283, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wf_ins_attach` VALUES (406283, 189264704897025, 189264765714433, 407691, '2021-12-09 14:28:16', 406283, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wf_ins_attach` VALUES (406283, 189264704897025, 407690, 407695, '2021-12-09 16:10:38', 406287, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wf_ins_attach` VALUES (406283, 189264704897025, 407694, 407700, '2021-12-09 17:34:33', 406287, NULL, NULL, NULL, NULL, NULL);

-- ----------------------------
-- Table structure for wf_task_action_def
-- ----------------------------
DROP TABLE IF EXISTS `wf_task_action_def`;
CREATE TABLE `wf_task_action_def`  (
  `wf_def_id` bigint(11) NOT NULL,
  `task_def_id` bigint(11) NOT NULL,
  `action_id` bigint(11) NOT NULL,
  `action_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `form_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `action_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `action_desc` varchar(511) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `target_task_def_id` bigint(11) NULL DEFAULT NULL,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`wf_def_id`, `task_def_id`, `action_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '任务动作定义表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of wf_task_action_def
-- ----------------------------
INSERT INTO `wf_task_action_def` VALUES (1, 1, 1, 'submit', '-', '提交', '提交评审', 2, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_def` VALUES (1, 2, 1, 'submit', '-', '提交', '提交', 3, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_def` VALUES (1, 2, 2, 'return', '-', '退回', '退回上一关', 1, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_def` VALUES (1, 2, 3, 'transfer', '1', '转派', '转派', 2, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_def` VALUES (1, 3, 1, 'submit', '-', '提交', '提交验收', 4, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_def` VALUES (1, 3, 2, 'return', '-', '退回', '退回', 2, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_def` VALUES (1, 3, 3, 'transfer', '-', '转派', '转派', 3, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_def` VALUES (1, 4, 1, 'complete', '-', '完成', '验收通过', 1000, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_def` VALUES (1, 4, 2, 'return', '-', '退回', '退回', 3, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_def` VALUES (1, 4, 3, 'transfer', '-', '转派', '转派', 4, NULL, NULL, NULL, NULL, 0, NULL, NULL);

-- ----------------------------
-- Table structure for wf_task_action_ins
-- ----------------------------
DROP TABLE IF EXISTS `wf_task_action_ins`;
CREATE TABLE `wf_task_action_ins`  (
  `oc_id` bigint(11) NOT NULL COMMENT '单位ID',
  `wf_def_id` bigint(11) NULL DEFAULT NULL COMMENT '流程定义ID',
  `wf_ins_id` bigint(11) NOT NULL COMMENT '流程实例ID',
  `task_def_id` bigint(11) NULL DEFAULT NULL COMMENT '任务定义ID',
  `task_ins_id` bigint(11) NOT NULL COMMENT '任务实例ID',
  `action_id` bigint(11) NOT NULL COMMENT '动作ID',
  `action_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '动作标题',
  `action_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '动作编码',
  `form_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '表单编码',
  `action_time` datetime(0) NULL DEFAULT NULL COMMENT '动作时间',
  `action_remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '操作说明',
  `action_result` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '生成的操作结果描述',
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(20) NULL DEFAULT NULL,
  `updated_by` bigint(20) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`oc_id`, `wf_ins_id`, `task_ins_id`, `action_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '流程动作记录表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of wf_task_action_ins
-- ----------------------------
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 407035, 1, 407035, 1, '提交评审', 'review', '-', NULL, 'test', '', '2021-01-23 11:33:44', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 407035, 2, 407036, 1, '提交整改', 'rectify', 'review', NULL, 'danger11', '', '2021-01-24 12:25:23', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 407035, 3, 407047, 1, '整改完成', 'accept', 'rectify', NULL, 'bcd', '', '2021-01-24 14:41:57', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 407035, 4, 407048, 1, '验收通过', 'complete', 'complete', NULL, '中国公司22', '', '2021-01-24 14:55:40', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 407044, 1, 407044, 1, '提交评审', 'review', '-', NULL, 'DANGER20', '', '2021-01-24 11:07:29', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 407062, 1, 407062, 1, '提交评审', 'review', '-', NULL, 'DANGER21DANGER21DANGER21DANGER21DANGER21', '', '2021-01-25 10:02:12', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 407062, 2, 407063, 3, '转派', 'transfer', '1', NULL, 'test', '', '2021-01-26 10:53:16', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 407062, 2, 407067, 1, '提交', 'submit', '-', NULL, '通过', '', '2021-01-26 17:46:40', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 407062, 3, 407068, 1, '提交', 'submit', '-', NULL, '原因分析原因分析原因分析原因分析', '', '2021-01-26 17:52:50', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 407062, 4, 407069, 2, '退回', 'return', '-', NULL, '', '', '2021-01-26 18:00:08', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 407062, 3, 407071, 1, '提交', 'submit', '-', NULL, '任务处理\n任务处理\n任务处理\n', '', '2021-01-26 18:00:51', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 407062, 4, 407072, 2, '退回', 'return', '-', NULL, '', '', '2021-01-26 18:09:12', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 407062, 3, 407075, 1, '提交', 'submit', '-', NULL, '原因分析\n原因分析\n原因分析\n原因分析\n', '', '2021-01-26 18:10:17', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 407062, 4, 407076, 2, '退回', 'return', '-', NULL, 'gd', '', '2021-01-26 18:13:49', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 407062, 3, 407078, 1, '提交', 'submit', '-', NULL, 'test', '', '2021-01-26 18:14:17', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 407062, 4, 407079, 1, '完成', 'complete', '-', NULL, '验收通过', '', '2021-02-10 00:06:51', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 407065, 1, 407065, 1, '提交评审', 'review', '-', NULL, 'DANGER22', '', '2021-01-25 22:58:02', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 407065, 2, 407066, 1, '提交', 'submit', '-', NULL, 'test', '', '2021-02-27 11:58:49', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 407065, 3, 407207, 3, '转派', 'transfer', '-', NULL, 'ssss', '', '2021-08-27 09:52:55', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 407734, 1, 407734, 1, '提交', 'submit', '-', NULL, '阿达地方', '', '2021-12-10 15:32:17', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 188638942003201, 1, 188638942003201, 1, '提交', 'submit', '-', NULL, 'd1', '', '2021-11-07 10:08:30', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 188639267061761, 1, 188639267061761, 1, '提交', 'submit', '-', NULL, 'd1', '', '2021-11-07 10:10:42', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 188639405473793, 1, 188639405473793, 1, '提交', 'submit', '-', NULL, 'd1', '', '2021-11-07 10:14:05', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 188639753601025, 1, 188639753601025, 1, '提交', 'submit', '-', NULL, 'd1', '', '2021-11-07 10:14:48', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 188640091242497, 1, 188640091242497, 1, '提交', 'submit', '-', NULL, 'dd', '', '2021-11-07 10:17:05', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 188640416301057, 1, 188640416301057, 1, '提交', 'submit', '-', NULL, 'd', '', '2021-11-07 10:19:42', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 188641022377985, 1, 188641022377985, 1, '提交', 'submit', '-', NULL, 'd', '', '2021-11-07 10:24:39', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 188642515550209, 1, 188642515550209, 1, '提交', 'submit', '-', NULL, 'd', '', '2021-11-07 10:36:25', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 188642515550209, 2, 188642563784705, 2, '退回', 'return', '-', NULL, 'ddddd', '', '2021-11-07 14:57:25', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 188642515550209, 1, 188675407282177, 1, '提交', 'submit', '-', NULL, 'D', '', '2021-11-07 18:21:57', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 188642515550209, 2, 188701143531521, 1, '提交', 'submit', '-', NULL, 'DDD', '', '2021-11-07 18:22:21', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 188642515550209, 3, 188701193863169, 1, '提交', 'submit', '-', NULL, 'ddd', '', '2021-11-07 20:02:01', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 188642515550209, 4, 188713734832129, 1, '完成', 'complete', '-', NULL, 'sss', '', '2021-11-07 20:12:59', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 188715628560385, 1, 188715628560385, 1, '提交', 'submit', '-', NULL, 'D2', '', '2021-11-07 20:17:51', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 188715628560385, 2, 188715727126529, 1, '提交', 'submit', '-', NULL, 'dddd', '', '2021-11-07 20:18:08', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 188715628560385, 3, 188715760680961, 1, '提交', 'submit', '-', NULL, 'dd3', '', '2021-11-07 20:33:30', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 188715628560385, 4, 188717696352257, 1, '完成', 'complete', '-', NULL, 'ddddd', '', '2021-11-07 20:40:08', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 189096536375297, 1, 189096536375297, 1, '提交', 'submit', '-', NULL, 'd2', '', '2021-11-09 22:45:14', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 189096536375297, 2, 189096658010113, 1, '提交', 'submit', '-', NULL, 'sssss', '', '2021-11-11 11:11:58', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 189096536375297, 3, 189371812741121, 1, '提交', 'submit', '-', NULL, 'fff', '', '2021-11-11 14:00:26', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 189096536375297, 4, 189393012850689, 1, '完成', 'complete', '-', NULL, 'dddd', '', '2021-11-11 15:23:35', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 189263205433345, 1, 189263205433345, 1, '提交', 'submit', '-', NULL, 'dddd', '', '2021-11-10 20:52:50', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 189264103014401, 4, 407693, 1, '完成', 'complete', '-', NULL, 'qwerqwerweqr', '', '2021-12-09 17:36:16', 406287, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 189264103014401, 1, 189264103014401, 1, '提交', 'submit', '-', NULL, 'ddd', '', '2021-11-10 20:56:34', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 189264103014401, 2, 189264180609025, 1, '提交', 'submit', '-', NULL, 'ddd', '', '2021-11-11 11:13:18', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 189264103014401, 3, 189371982610433, 1, '提交', 'submit', '-', NULL, '打发顺丰2', '', '2021-12-09 15:09:09', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 189264373547009, 1, 189264373547009, 1, '提交', 'submit', '-', NULL, '', '', '2021-11-10 20:58:32', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 189264704897025, 3, 407690, 1, '提交', 'submit', '-', NULL, 'qwqwqw', '', '2021-12-09 16:10:37', 406287, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 189264704897025, 4, 407694, 1, '完成', 'complete', '-', NULL, 'asdfasdfasd ', '', '2021-12-09 17:34:33', 406287, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 189264704897025, 1, 189264704897025, 1, '提交', 'submit', '-', NULL, '', '', '2021-11-10 21:01:13', 406283, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_action_ins` VALUES (406283, 1, 189264704897025, 2, 189264765714433, 1, '提交', 'submit', '-', NULL, '阿斯顿发送到', '', '2021-12-09 14:28:05', 406283, NULL, NULL, 0, NULL, NULL);

-- ----------------------------
-- Table structure for wf_task_def
-- ----------------------------
DROP TABLE IF EXISTS `wf_task_def`;
CREATE TABLE `wf_task_def`  (
  `wf_def_id` bigint(11) NOT NULL COMMENT '流程ID',
  `task_def_id` bigint(11) NOT NULL COMMENT '子任务ID',
  `task_def_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '任务标题',
  `task_def_desc` varchar(511) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '描述',
  `task_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `form_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '表单编码',
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`task_def_id`, `wf_def_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '流程任务定义表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of wf_task_def
-- ----------------------------
INSERT INTO `wf_task_def` VALUES (1, 1, '提交隐患', '提交隐患', 'submit', 'submit', NULL, NULL, '2021-12-10 07:44:10', 1, 0, NULL, NULL);
INSERT INTO `wf_task_def` VALUES (2, 1, '隐患登记', '隐患登记', NULL, 'submit', NULL, NULL, '2021-10-22 21:11:36', 1, 0, NULL, NULL);
INSERT INTO `wf_task_def` VALUES (1, 2, '评审', '隐患评审', 'review', 'review', NULL, NULL, '2021-10-22 21:11:36', 1, 0, NULL, NULL);
INSERT INTO `wf_task_def` VALUES (2, 2, '整改', '隐患整改', NULL, 'rectify', NULL, NULL, '2021-10-22 21:11:36', 1, 0, NULL, NULL);
INSERT INTO `wf_task_def` VALUES (1, 3, '整改', '隐患整改', 'rectify', 'recity', NULL, NULL, '2021-10-22 21:11:36', 1, 0, NULL, NULL);
INSERT INTO `wf_task_def` VALUES (2, 3, '验收', '隐患验收', NULL, 'accept', NULL, NULL, '2021-10-22 21:11:36', 1, 0, NULL, NULL);
INSERT INTO `wf_task_def` VALUES (1, 4, '验收', '隐患验收', 'accept', 'accept', NULL, NULL, '2021-10-22 21:11:36', 1, 0, NULL, NULL);

-- ----------------------------
-- Table structure for wf_task_ins
-- ----------------------------
DROP TABLE IF EXISTS `wf_task_ins`;
CREATE TABLE `wf_task_ins`  (
  `oc_id` bigint(11) NOT NULL,
  `wf_def_id` bigint(11) NULL DEFAULT NULL,
  `task_def_id` bigint(11) NULL DEFAULT NULL,
  `wf_ins_id` bigint(11) NOT NULL,
  `task_ins_id` bigint(11) NOT NULL,
  `task_ins_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `group_id` bigint(11) NOT NULL,
  `position_id` bigint(11) NULL DEFAULT NULL,
  `account_id` bigint(11) NULL DEFAULT NULL,
  `task_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `form_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `status` bigint(11) NULL DEFAULT NULL COMMENT '0:未处理；1：已完成',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '完成时间',
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`oc_id`, `wf_ins_id`, `task_ins_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '流程任务实例表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of wf_task_ins
-- ----------------------------
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407010, 407010, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-01-23 00:00:00', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407011, 407011, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-01-23 00:00:00', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407012, 407012, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-01-23 00:00:00', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407013, 407013, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-01-23 00:00:00', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407014, 407014, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-01-23 00:00:00', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407015, 407015, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-01-23 00:00:00', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407016, 407016, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-01-23 00:00:00', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407017, 407017, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-01-23 00:00:00', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407018, 407018, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-01-23 00:00:00', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407019, 407019, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-01-23 00:00:00', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407020, 407020, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-01-23 00:00:00', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407021, 407021, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-01-23 00:00:00', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407022, 407022, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-01-23 00:00:00', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407023, 407023, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-01-23 00:00:00', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407024, 407024, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-01-23 00:00:00', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407025, 407025, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-01-23 00:00:00', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407026, 407026, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-01-23 00:00:00', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407027, 407027, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-01-23 00:00:00', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407028, 407028, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-01-23 00:00:00', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407029, 407029, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-01-23 00:00:00', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407030, 407030, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-01-23 00:00:00', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407031, 407031, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-01-23 00:00:00', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407032, 407032, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-01-23 00:00:00', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407033, 407033, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-01-23 00:00:00', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407034, 407034, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-01-23 00:00:00', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407035, 407035, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 1, '2021-01-23 00:00:00', '2021-01-23 00:00:00', NULL, NULL, '2021-01-23 00:00:00', 406283, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 2, 407035, 407036, '评审', 406283, 406283, 406283, 'review', 'review', 1, '2021-01-23 00:00:00', '2021-01-24 00:00:00', '2021-01-23 00:00:00', '406283', '2021-01-24 00:00:00', 406283, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 3, 407035, 407047, '整改', 406283, 406283, 406283, 'rectify', 'rectify', 1, '2021-01-24 00:00:00', '2021-01-24 00:00:00', '2021-01-24 00:00:00', '406283', '2021-01-24 00:00:00', 406283, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 4, 407035, 407048, '验收', 406283, 406283, 406283, 'accept', 'accept', 1, '2021-01-24 00:00:00', '2021-01-24 00:00:00', '2021-01-24 00:00:00', '406283', '2021-01-24 00:00:00', 406283, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407038, 407038, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-01-24 00:00:00', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407039, 407039, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-01-24 00:00:00', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407040, 407040, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-01-24 00:00:00', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407041, 407041, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-01-24 00:00:00', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407042, 407042, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-01-24 00:00:00', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407043, 407043, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-01-24 00:00:00', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407044, 407044, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 1, '2021-01-24 00:00:00', '2021-01-24 00:00:00', NULL, NULL, '2021-01-24 00:00:00', 406283, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 2, 407044, 407045, '评审', 406283, 406309, 406870, 'review', 'review', 0, '2021-01-24 00:00:00', NULL, '2021-01-24 00:00:00', '406283', NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407051, 407051, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-01-25 00:00:00', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407052, 407052, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-01-25 00:00:00', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407053, 407053, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-01-25 00:00:00', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407054, 407054, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-01-25 00:00:00', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407055, 407055, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-01-25 00:00:00', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407056, 407056, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-01-25 00:00:00', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407057, 407057, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-01-25 00:00:00', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407058, 407058, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-01-25 00:00:00', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407059, 407059, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-01-25 00:00:00', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407060, 407060, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-01-25 00:00:00', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407061, 407061, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-01-25 00:00:00', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407062, 407062, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 1, '2021-01-25 00:00:00', '2021-01-25 00:00:00', NULL, NULL, '2021-01-25 00:00:00', 406283, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 2, 407062, 407063, '评审', 406283, 406283, 406283, 'review', 'review', 1, '2021-01-25 00:00:00', '2021-01-26 00:00:00', '2021-01-25 00:00:00', '406283', '2021-01-26 00:00:00', 406283, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 2, 407062, 407067, '评审', 406283, 406283, 406283, 'review', 'review', 1, '2021-01-26 00:00:00', '2021-01-26 00:00:00', '2021-01-26 00:00:00', '406283', '2021-01-26 00:00:00', 406283, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 3, 407062, 407068, '整改', 406283, 406283, 406283, 'rectify', 'rectify', 1, '2021-01-26 00:00:00', '2021-01-26 00:00:00', '2021-01-26 00:00:00', '406283', '2021-01-26 00:00:00', 406283, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 4, 407062, 407069, '验收', 406283, 406283, 406283, 'accept', 'accept', 1, '2021-01-26 00:00:00', '2021-01-26 00:00:00', '2021-01-26 00:00:00', '406283', '2021-01-26 00:00:00', 406283, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 3, 407062, 407071, '整改', 406283, 406283, 406283, 'rectify', 'rectify', 1, '2021-01-26 00:00:00', '2021-01-26 00:00:00', '2021-01-26 00:00:00', '406283', '2021-01-26 00:00:00', 406283, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 4, 407062, 407072, '验收', 406283, 406283, 406283, 'accept', 'accept', 1, '2021-01-26 00:00:00', '2021-01-26 00:00:00', '2021-01-26 00:00:00', '406283', '2021-01-26 00:00:00', 406283, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 3, 407062, 407075, '整改', 406283, 406283, 406283, 'rectify', 'rectify', 1, '2021-01-26 00:00:00', '2021-01-26 00:00:00', '2021-01-26 00:00:00', '406283', '2021-01-26 00:00:00', 406283, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 4, 407062, 407076, '验收', 406283, 406283, 406283, 'accept', 'accept', 1, '2021-01-26 00:00:00', '2021-01-26 00:00:00', '2021-01-26 00:00:00', '406283', '2021-01-26 00:00:00', 406283, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 3, 407062, 407078, '整改', 406283, 406283, 406283, 'rectify', 'rectify', 1, '2021-01-26 00:00:00', '2021-01-26 00:00:00', '2021-01-26 00:00:00', '406283', '2021-01-26 00:00:00', 406283, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 4, 407062, 407079, '验收', 406283, 406283, 406283, 'accept', 'accept', 1, '2021-01-26 00:00:00', '2021-02-10 00:06:51', '2021-01-26 00:00:00', '406283', '2021-02-10 00:06:51', 406283, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407065, 407065, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 1, '2021-01-25 00:00:00', '2021-01-25 00:00:00', NULL, NULL, '2021-01-25 00:00:00', 406283, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 2, 407065, 407066, '评审', 406283, 406283, 406283, 'review', 'review', 1, '2021-01-25 00:00:00', '2021-02-27 11:58:49', '2021-01-25 00:00:00', '406283', '2021-02-27 11:58:49', 406283, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 3, 407065, 407207, '整改', 406283, 406283, 406283, 'rectify', 'rectify', 1, '2021-02-27 11:58:49', '2021-08-27 09:52:55', '2021-02-27 11:58:49', '406283', '2021-08-27 09:52:55', 406283, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 3, 407065, 407265, '整改', 406281, 406284, 406287, 'rectify', 'rectify', 0, '2021-08-27 09:52:55', NULL, '2021-08-27 09:52:55', '406283', NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407250, 407250, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-03-29 10:46:02', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407251, 407251, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-03-29 10:59:46', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407256, 407256, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-08-09 10:38:30', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407267, 407267, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-08-27 10:01:48', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407307, 407307, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-29 14:23:54', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407308, 407308, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-29 14:23:59', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407312, 407312, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-29 23:48:10', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407313, 407313, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-29 23:49:33', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407314, 407314, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-29 23:52:48', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407462, 407462, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-01 21:53:01', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407463, 407463, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-01 21:54:45', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407464, 407464, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-01 21:57:19', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407465, 407465, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-01 22:01:14', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407466, 407466, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-01 22:02:47', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407467, 407467, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-01 22:04:41', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407468, 407468, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-01 22:04:58', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407469, 407469, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-01 22:07:13', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407470, 407470, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-01 23:15:50', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407471, 407471, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-01 23:15:59', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407472, 407472, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-01 23:31:28', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407473, 407473, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-06 14:14:27', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407474, 407474, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-06 14:23:50', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407655, 407655, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-08 09:43:52', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407656, 407656, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-08 09:44:12', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407657, 407657, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-08 09:44:36', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407658, 407658, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-08 09:46:21', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407659, 407659, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-08 09:54:31', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407663, 407663, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-08 15:51:12', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407664, 407664, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-08 15:59:46', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407665, 407665, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-08 16:02:10', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407666, 407666, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-08 16:10:16', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407667, 407667, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-08 16:10:20', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407668, 407668, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-08 17:39:58', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407687, 407687, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-08 17:40:35', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407692, 407692, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-09 14:30:02', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407701, 407701, '提交隐患', 406300, 406309, 406287, 'submit', 'submit', 0, '2021-12-09 17:37:02', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407702, 407702, '提交隐患', 406300, 406309, 406287, 'submit', 'submit', 0, '2021-12-09 17:59:09', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407703, 407703, '提交隐患', 406300, 406309, 406287, 'submit', 'submit', 0, '2021-12-09 17:59:43', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407704, 407704, '提交隐患', 406300, 406309, 406287, 'submit', 'submit', 0, '2021-12-09 18:08:22', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407705, 407705, '提交隐患', 406300, 406309, 406287, 'submit', 'submit', 0, '2021-12-09 18:08:56', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407706, 407706, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-09 18:28:39', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407707, 407707, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-09 18:29:54', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407710, 407710, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-09 18:48:26', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407713, 407713, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-10 09:16:11', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407714, 407714, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-10 09:32:04', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407715, 407715, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-10 09:40:55', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407716, 407716, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-10 14:11:28', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407717, 407717, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-10 14:11:29', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407718, 407718, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-10 14:11:33', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407719, 407719, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-10 14:26:59', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407720, 407720, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-10 14:27:15', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407721, 407721, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-10 14:28:02', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407722, 407722, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-10 14:28:05', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407723, 407723, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-10 14:28:12', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407724, 407724, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-10 14:29:52', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407725, 407725, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-10 14:31:33', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407726, 407726, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-10 14:44:21', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407727, 407727, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-10 14:44:50', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407728, 407728, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-10 14:46:22', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407729, 407729, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-10 15:08:02', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407730, 407730, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-10 15:08:43', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407731, 407731, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-10 15:09:05', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407732, 407732, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-10 15:25:04', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407733, 407733, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-10 15:26:49', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407734, 407734, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 1, '2021-12-10 15:31:42', '2021-12-10 15:32:17', NULL, NULL, '2021-12-10 15:32:17', 406283, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 2, 407734, 407735, '评审', 406281, 406284, 406287, 'review', 'review', 0, '2021-12-10 15:32:17', NULL, '2021-12-10 15:32:17', '406283', NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407736, 407736, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-10 15:32:56', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407737, 407737, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-10 15:33:56', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407738, 407738, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-10 15:34:36', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407739, 407739, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-10 15:35:14', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407740, 407740, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-10 15:36:14', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407741, 407741, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-10 15:36:19', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407742, 407742, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-10 15:36:47', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407743, 407743, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-10 15:41:32', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407744, 407744, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-10 15:41:33', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407745, 407745, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-10 15:42:00', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407746, 407746, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-10 15:42:03', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407747, 407747, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-10 15:42:50', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407748, 407748, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-10 16:05:35', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 407749, 407749, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-12-10 16:07:07', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 172577544798209, 172577544798209, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-08-10 18:43:07', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 172578530459649, 172578530459649, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-08-10 18:50:57', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 188497635901441, 188497635901441, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-06 15:24:37', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 188498558648321, 188498558648321, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-06 15:31:57', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 188498839666689, 188498839666689, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-06 15:34:11', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 188500295090177, 188500295090177, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-06 15:45:45', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 188549076942849, 188549076942849, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-06 22:13:27', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 188557054509057, 188557054509057, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-06 23:16:51', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 188558226817025, 188558226817025, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-06 23:26:10', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 188558568652801, 188558568652801, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-06 23:28:53', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 188559935995905, 188559935995905, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-06 23:39:45', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 188561236230145, 188561236230145, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-06 23:50:05', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 188562400149505, 188562400149505, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-06 23:59:20', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 188562999934977, 188562999934977, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-07 00:04:05', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 188564518273025, 188564518273025, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-07 00:16:09', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 188564725891073, 188564725891073, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-07 00:17:49', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 188565420048385, 188565420048385, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-07 00:23:19', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 188568054071297, 188568054071297, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-07 00:44:15', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 188568360255489, 188568360255489, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-07 00:46:42', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 188568886640641, 188568886640641, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-07 00:50:53', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 188569473843201, 188569473843201, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-07 00:55:33', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 188570310606849, 188570310606849, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-07 01:02:12', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 188571262713857, 188571262713857, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-07 01:09:45', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 188572304998401, 188572304998401, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-07 01:18:03', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 188574068703233, 188574068703233, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-07 01:32:03', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 188574337138689, 188574337138689, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-07 01:34:12', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 188574748180481, 188574748180481, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-07 01:37:28', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 188634256965633, 188634256965633, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-07 09:30:24', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 188636377186305, 188636377186305, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-07 09:47:14', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 188637155229697, 188637155229697, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-07 09:53:25', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 188637973118977, 188637973118977, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-07 09:59:56', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 188638224777217, 188638224777217, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-07 10:01:55', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 188638526767105, 188638526767105, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-07 10:04:19', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 188638702927873, 188638702927873, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-07 10:05:43', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 188638942003201, 188638942003201, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 1, '2021-11-07 10:07:37', '2021-11-07 10:08:30', NULL, NULL, '2021-11-07 10:08:30', 406283, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 2, 188638942003201, 188639053152257, '评审', 406283, 406283, 406283, 'review', 'review', 0, '2021-11-07 10:08:30', NULL, '2021-11-07 10:08:30', '406283', NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 188639267061761, 188639267061761, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 1, '2021-11-07 10:10:13', '2021-11-07 10:10:42', NULL, NULL, '2021-11-07 10:10:42', 406283, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 2, 188639267061761, 188639329976321, '评审', 406283, 406283, 406283, 'review', 'review', 0, '2021-11-07 10:10:42', NULL, '2021-11-07 10:10:42', '406283', NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 188639405473793, 188639405473793, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 1, '2021-11-07 10:11:18', '2021-11-07 10:14:02', NULL, NULL, '2021-11-07 10:14:02', 406283, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 2, 188639405473793, 188639753601026, '评审', 406283, 406283, 406283, 'review', 'review', 0, '2021-11-07 10:14:05', NULL, '2021-11-07 10:14:05', '406283', NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 188639753601025, 188639753601025, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 1, '2021-11-07 10:14:05', '2021-11-07 10:14:44', NULL, NULL, '2021-11-07 10:14:44', 406283, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 2, 188639753601025, 188639843778561, '评审', 406283, 406283, 406283, 'review', 'review', 0, '2021-11-07 10:14:48', NULL, '2021-11-07 10:14:48', '406283', NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 188640091242497, 188640091242497, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 1, '2021-11-07 10:16:46', '2021-11-07 10:17:05', NULL, NULL, '2021-11-07 10:17:05', 406283, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 2, 188640091242497, 188640133185537, '评审', 406283, 406283, 406283, 'review', 'review', 0, '2021-11-07 10:17:05', NULL, '2021-11-07 10:17:05', '406283', NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 188640416301057, 188640416301057, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 1, '2021-11-07 10:19:21', '2021-11-07 10:19:42', NULL, NULL, '2021-11-07 10:19:42', 406283, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 2, 188640416301057, 188640460341249, '评审', 406283, 406283, 406283, 'review', 'review', 0, '2021-11-07 10:19:42', NULL, '2021-11-07 10:19:42', '406283', NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 188641022377985, 188641022377985, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 1, '2021-11-07 10:24:10', '2021-11-07 10:24:39', NULL, NULL, '2021-11-07 10:24:39', 406283, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 2, 188641022377985, 188641083195393, '评审', 406283, 406283, 406283, 'review', 'review', 0, '2021-11-07 10:24:39', NULL, '2021-11-07 10:24:39', '406283', NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 188642515550209, 188642515550209, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 1, '2021-11-07 10:36:02', '2021-11-07 10:36:24', NULL, NULL, '2021-11-07 10:36:24', 406283, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 2, 188642515550209, 188642563784705, '评审', 406283, 406283, 406283, 'review', 'Review', 1, '2021-11-07 10:36:25', '2021-11-07 14:57:25', '2021-11-07 10:36:25', '406283', '2021-11-07 14:57:25', 406283, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 188642515550209, 188675407282177, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 1, '2021-11-07 14:57:25', '2021-11-07 18:21:57', '2021-11-07 14:57:25', '406283', '2021-11-07 18:21:57', 406283, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 2, 188642515550209, 188701143531521, '评审', 406283, 406283, 406283, 'review', 'review', 1, '2021-11-07 18:21:57', '2021-11-07 18:22:21', '2021-11-07 18:21:57', '406283', '2021-11-07 18:22:21', 406283, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 3, 188642515550209, 188701193863169, '整改', 406283, 406283, 406283, 'rectify', 'recity', 1, '2021-11-07 18:22:21', '2021-11-07 20:02:01', '2021-11-07 18:22:21', '406283', '2021-11-07 20:02:01', 406283, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 4, 188642515550209, 188713734832129, '验收', 406283, 406283, 406283, 'accept', 'accept', 1, '2021-11-07 20:02:01', '2021-11-07 20:12:42', '2021-11-07 20:02:01', '406283', '2021-11-07 20:12:42', 406283, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 188697811156993, 188697811156993, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-07 17:55:29', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 188715628560385, 188715628560385, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 1, '2021-11-07 20:17:05', '2021-11-07 20:17:51', NULL, NULL, '2021-11-07 20:17:51', 406283, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 2, 188715628560385, 188715727126529, '评审', 406283, 406283, 406283, 'review', 'review', 1, '2021-11-07 20:17:51', '2021-11-07 20:18:07', '2021-11-07 20:17:51', '406283', '2021-11-07 20:18:07', 406283, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 3, 188715628560385, 188715760680961, '整改', 406283, 406283, 406283, 'rectify', 'recity', 1, '2021-11-07 20:18:08', '2021-11-07 20:33:30', '2021-11-07 20:18:08', '406283', '2021-11-07 20:33:30', 406283, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 4, 188715628560385, 188717696352257, '验收', 406283, 406283, 406283, 'accept', 'accept', 1, '2021-11-07 20:33:30', '2021-11-07 20:40:08', '2021-11-07 20:33:30', '406283', '2021-11-07 20:40:08', 406283, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 188722228297729, 188722228297729, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-07 21:09:31', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 188722307989505, 188722307989505, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-07 21:10:10', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 189081986334721, 189081986334721, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-09 20:48:38', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 189092377722881, 189092377722881, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-09 22:11:12', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 189092495163393, 189092495163393, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-09 22:12:09', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 189094374211585, 189094374211585, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-09 22:27:05', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 189094625869825, 189094625869825, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-09 22:29:05', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 189094644744193, 189094644744193, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-09 22:29:14', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 189094890110977, 189094890110977, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-09 22:31:11', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 189095007551489, 189095007551489, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-09 22:32:07', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 189095026425857, 189095026425857, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-09 22:32:16', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 189095043203073, 189095043203073, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-09 22:32:24', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 189095529742337, 189095529742337, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-09 22:36:15', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 189095798177793, 189095798177793, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-09 22:38:23', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 189095852703745, 189095852703745, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-09 22:38:50', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 189096439906305, 189096439906305, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-09 22:43:30', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 189096536375297, 189096536375297, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 1, '2021-11-09 22:44:16', '2021-11-09 22:45:14', NULL, NULL, '2021-11-09 22:45:14', 406283, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 2, 189096536375297, 189096658010113, '评审', 406283, 406283, 406283, 'review', 'review', 1, '2021-11-09 22:45:14', '2021-11-11 11:11:58', '2021-11-09 22:45:14', '406283', '2021-11-11 11:11:58', 406283, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 3, 189096536375297, 189371812741121, '整改', 406283, 406283, 406283, 'rectify', 'recity', 1, '2021-11-11 11:11:58', '2021-11-11 14:00:26', '2021-11-11 11:11:58', '406283', '2021-11-11 14:00:26', 406283, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 4, 189096536375297, 189393012850689, '验收', 406283, 406283, 406283, 'accept', 'accept', 1, '2021-11-11 14:00:26', '2021-11-11 15:23:35', '2021-11-11 14:00:26', '406283', '2021-11-11 15:23:35', 406283, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 189248246448129, 189248246448129, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-10 18:49:56', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 189252786782209, 189252786782209, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-10 19:26:02', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 189253220892673, 189253220892673, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-10 19:29:29', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 189253606768641, 189253606768641, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-10 19:32:33', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 189254382714881, 189254382714881, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-10 19:38:43', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 189254728744961, 189254728744961, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-10 19:41:28', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 189255064289281, 189255064289281, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-10 19:44:08', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 189262184120321, 189262184120321, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-10 20:40:43', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 189263205433345, 189263205433345, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 1, '2021-11-10 20:48:49', '2021-11-10 20:52:50', NULL, NULL, '2021-11-10 20:52:50', 406283, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 2, 189263205433345, 189263710846977, '评审', 406283, 406283, 406283, 'review', 'review', 0, '2021-11-10 20:52:50', NULL, '2021-11-10 20:52:50', '406283', NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 4, 189264103014401, 407693, '验收', 406281, 406284, 406287, 'accept', 'accept', 1, '2021-12-09 15:09:09', '2021-12-09 17:36:16', '2021-12-09 15:09:09', '406283', '2021-12-09 17:36:16', 406287, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 189264103014401, 189264103014401, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 1, '2021-11-10 20:55:57', '2021-11-10 20:56:34', NULL, NULL, '2021-11-10 20:56:34', 406283, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 2, 189264103014401, 189264180609025, '评审', 406283, 406283, 406283, 'review', 'review', 1, '2021-11-10 20:56:35', '2021-11-11 11:13:18', '2021-11-10 20:56:35', '406283', '2021-11-11 11:13:18', 406283, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 3, 189264103014401, 189371982610433, '整改', 406283, 406283, 406283, 'rectify', 'recity', 1, '2021-11-11 11:13:18', '2021-12-09 15:09:09', '2021-11-11 11:13:18', '406283', '2021-12-09 15:09:09', 406283, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 189264321118209, 189264321118209, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-10 20:57:41', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 189264373547009, 189264373547009, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 1, '2021-11-10 20:58:06', '2021-11-10 20:58:32', NULL, NULL, '2021-11-10 20:58:32', 406283, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 2, 189264373547009, 189264428072961, '评审', 406283, 406283, 406283, 'review', 'review', 0, '2021-11-10 20:58:32', NULL, '2021-11-10 20:58:32', '406283', NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 189264690216961, 189264690216961, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 0, '2021-11-10 21:00:38', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 3, 189264704897025, 407690, '整改', 406281, 406284, 406287, 'rectify', 'recity', 1, '2021-12-09 14:28:06', '2021-12-09 16:10:37', '2021-12-09 14:28:06', '406283', '2021-12-09 16:10:37', 406287, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 4, 189264704897025, 407694, '验收', 406281, 406284, 406287, 'accept', 'accept', 1, '2021-12-09 16:10:38', '2021-12-09 17:34:33', '2021-12-09 16:10:38', '406287', '2021-12-09 17:34:33', 406287, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 1, 189264704897025, 189264704897025, '提交隐患', 406283, 406283, 406283, 'submit', 'submit', 1, '2021-11-10 21:00:44', '2021-11-10 21:01:13', NULL, NULL, '2021-11-10 21:01:13', 406283, 0, NULL, NULL);
INSERT INTO `wf_task_ins` VALUES (406283, 1, 2, 189264704897025, 189264765714433, '评审', 406283, 406283, 406283, 'review', 'review', 1, '2021-11-10 21:01:13', '2021-12-09 14:28:05', '2021-11-10 21:01:13', '406283', '2021-12-09 14:28:05', 406283, 0, NULL, NULL);

-- ----------------------------
-- Table structure for wf_task_member
-- ----------------------------
DROP TABLE IF EXISTS `wf_task_member`;
CREATE TABLE `wf_task_member`  (
  `oc_id` bigint(11) NOT NULL,
  `wf_def_id` bigint(11) NULL DEFAULT NULL,
  `task_def_id` bigint(11) NULL DEFAULT NULL,
  `group_id` bigint(11) NULL DEFAULT NULL,
  `position_id` bigint(11) NULL DEFAULT NULL,
  `account_id` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`oc_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '流程任务成员配置表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of wf_task_member
-- ----------------------------

-- ----------------------------
-- Table structure for zk_checklist
-- ----------------------------
DROP TABLE IF EXISTS `zk_checklist`;
CREATE TABLE `zk_checklist`  (
  `industry_id` bigint(11) NOT NULL,
  `checklist_id` bigint(11) NULL DEFAULT NULL,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT 0,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`industry_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '智库清单' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of zk_checklist
-- ----------------------------
INSERT INTO `zk_checklist` VALUES (407126, 407134, '2021-02-23 23:03:16', 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `zk_checklist` VALUES (407127, 407136, '2021-02-24 08:15:53', 1, NULL, NULL, 0, NULL, NULL);

-- ----------------------------
-- Table structure for zk_hazard_ctrl_level
-- ----------------------------
DROP TABLE IF EXISTS `zk_hazard_ctrl_level`;
CREATE TABLE `zk_hazard_ctrl_level`  (
  `ctrl_level_id` bigint(11) NOT NULL,
  `ctrl_level_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `ctrl_level_value` bigint(11) NULL DEFAULT NULL,
  `ctrl_level_desc` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `created_at` datetime(0) NULL DEFAULT NULL,
  `created_by` bigint(11) NULL DEFAULT NULL,
  `updated_at` datetime(0) NULL DEFAULT NULL,
  `updated_by` bigint(11) NULL DEFAULT NULL,
  `deleted_flag` bigint(11) NULL DEFAULT NULL,
  `deleted_at` datetime(0) NULL DEFAULT NULL,
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  PRIMARY KEY (`ctrl_level_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '危险源库管控层级定义' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of zk_hazard_ctrl_level
-- ----------------------------
INSERT INTO `zk_hazard_ctrl_level` VALUES (1, '公司级', 1, '1', NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `zk_hazard_ctrl_level` VALUES (2, '车间级', 2, '2', NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `zk_hazard_ctrl_level` VALUES (3, '班组级', 3, '3', NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `zk_hazard_ctrl_level` VALUES (4, '岗位级', 4, '4', NULL, NULL, NULL, NULL, 0, NULL, NULL);

-- ----------------------------
-- Table structure for zk_hazard_position
-- ----------------------------
DROP TABLE IF EXISTS `zk_hazard_position`;
CREATE TABLE `zk_hazard_position`  (
  `position_id` bigint(11) NOT NULL COMMENT '主键',
  `position_name` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '岗位名称',
  `position_desc` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '岗位描述',
  `position_order` varchar(8) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '岗位序号',
  `is_fixed` bigint(4) NULL DEFAULT 0 COMMENT '固定不能修改',
  `is_permitted` bigint(4) NULL DEFAULT 0 COMMENT '是否有授权',
  `created_by` bigint(4) NULL DEFAULT NULL COMMENT '创建人',
  `created_at` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `updated_by` bigint(11) NULL DEFAULT NULL COMMENT '更新人',
  `updated_at` timestamp(0) NULL DEFAULT NULL COMMENT '更新时间',
  `deleted_flag` bigint(11) NULL DEFAULT 0 COMMENT '删除标记0正常 1删除',
  `deleted_by` bigint(11) NULL DEFAULT NULL,
  `deleted_at` timestamp(0) NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '删除时间',
  PRIMARY KEY (`position_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '岗位表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of zk_hazard_position
-- ----------------------------
INSERT INTO `zk_hazard_position` VALUES (1, 'CTO', 'CTO2222222222222222', NULL, 1, NULL, NULL, '2020-12-24 08:41:05', 1, NULL, 1, NULL, '2020-12-24 00:00:00');
INSERT INTO `zk_hazard_position` VALUES (2, '管理员', '公司系统管理员', NULL, 1, NULL, 0, '2020-02-27 14:39:56', 0, NULL, 0, 0, '2020-02-27 14:39:56');
INSERT INTO `zk_hazard_position` VALUES (406179, 'ccc', 'cccxx', NULL, 0, 0, 1, '2020-12-24 08:40:40', 1, NULL, 1, NULL, '2020-12-24 00:00:00');
INSERT INTO `zk_hazard_position` VALUES (406180, 'A', 'A', NULL, 0, 0, 1, '2020-12-24 08:40:45', NULL, NULL, 1, NULL, '2020-12-24 00:00:00');
INSERT INTO `zk_hazard_position` VALUES (406181, 'B', 'B', NULL, 0, 0, 1, '2020-12-24 08:40:48', NULL, NULL, 1, NULL, '2020-12-24 00:00:00');
INSERT INTO `zk_hazard_position` VALUES (406184, 'A', 'A', NULL, 1, NULL, 0, '2020-12-24 08:40:53', 0, NULL, 1, 0, '2020-12-24 00:00:00');
INSERT INTO `zk_hazard_position` VALUES (406194, '研发经理', '研发经理111111111111111', NULL, 1, NULL, 0, '2020-12-24 08:40:09', 1, NULL, 0, 0, '2020-12-24 08:40:09');
INSERT INTO `zk_hazard_position` VALUES (406210, '车间主任', '车间主任', NULL, 0, 0, 1, '2020-03-17 00:00:00', NULL, NULL, 0, NULL, NULL);
INSERT INTO `zk_hazard_position` VALUES (406211, '班组长', '班组长', NULL, 0, 0, 1, '2020-03-17 00:00:00', NULL, NULL, 0, NULL, NULL);
INSERT INTO `zk_hazard_position` VALUES (406212, '安全员', '安全员', NULL, 0, 0, 1, '2020-03-17 00:00:00', NULL, NULL, 0, NULL, NULL);
INSERT INTO `zk_hazard_position` VALUES (406213, '技工', '技工', NULL, 0, 0, 1, '2020-03-17 00:00:00', NULL, NULL, 0, NULL, NULL);
INSERT INTO `zk_hazard_position` VALUES (406282, '管理员', '公司系统管理员', NULL, 1, NULL, 0, '2020-02-27 14:40:00', 0, NULL, 0, 0, '2020-02-27 14:40:00');
INSERT INTO `zk_hazard_position` VALUES (406283, '管理员', '公司系统管理员管理员管理员管理员管理员', NULL, 1, 0, 0, '2021-01-18 22:58:02', 1, NULL, 0, 0, '2021-01-18 22:58:02');
INSERT INTO `zk_hazard_position` VALUES (406284, '车间主任', '车间主任jilkl', NULL, 0, 1, NULL, '2020-03-19 13:25:57', 0, NULL, 0, NULL, '2020-03-19 13:25:57');
INSERT INTO `zk_hazard_position` VALUES (406307, '班组长', '班组长', NULL, 0, 1, 406283, '2020-03-19 13:25:58', NULL, NULL, 0, NULL, '2020-03-19 13:25:58');
INSERT INTO `zk_hazard_position` VALUES (406308, '厂长', '厂长', NULL, 0, 1, 406283, '2020-06-11 02:06:47', NULL, NULL, 0, NULL, '2020-06-11 02:06:47');
INSERT INTO `zk_hazard_position` VALUES (406309, '安全员', '安全员', NULL, 0, 0, 406283, '2020-03-19 00:00:00', NULL, NULL, 0, NULL, NULL);

SET FOREIGN_KEY_CHECKS = 1;
