

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for archive_file_record
-- ----------------------------
DROP TABLE IF EXISTS `archive_file_record`;
CREATE TABLE `archive_file_record`  (
  `pid` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键id',
  `archive_template_pid` int(11) NOT NULL COMMENT 'sys_archive_template_setting表pid',
  `workflow_apply_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '流程id',
  `archive_mode` tinyint(2) NOT NULL COMMENT '归档模式：1 自动归档 2 手动归档',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业id',
  `archive_creator` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '归档人id',
  `archive_date` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '归档时间',
  PRIMARY KEY (`pid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of archive_file_record
-- ----------------------------

-- ----------------------------
-- Table structure for b_analysis_sql
-- ----------------------------
DROP TABLE IF EXISTS `b_analysis_sql`;
CREATE TABLE `b_analysis_sql`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `code` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '标题',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '描述',
  `query_sql` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT 'sql',
  PRIMARY KEY (`pid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 367 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of b_analysis_sql
-- ----------------------------
INSERT INTO `b_analysis_sql` VALUES (247, 'current_user_applying_count', '当前申请中', '当前申请中', 'U0VMRUNUIERBVEVfRk9STUFUKGNyZWF0ZV9kYXRlLCN7Zm9ybWF0fSkgbGFiZWwsQ09VTlQoMSkgdmFsdWUgRlJPTSB3X3dvcmtmbG93X2FwcGx5IFdIRVJFIGNyZWF0ZV9kYXRlIEJFVFdFRU4gI3txdWVyeURheUJlZ2lufSBBTkQgI3txdWVyeURheUVuZH0gQU5EIHN0YXR1cyBpbigxLDMpIEFORCBjcmVhdG9yPSN7Y3VycmVudFVzZXJJZH0gR1JPVVAgQlkgbGFiZWwgT1JERVIgQlkgbGFiZWw=');
INSERT INTO `b_analysis_sql` VALUES (248, 'current_user_apply_count', '当前用户每日申请', '首页，用户当前流程申请数量', 'U0VMRUNUIERBVEVfRk9STUFUKGNyZWF0ZV9kYXRlLCN7Zm9ybWF0fSkgbGFiZWwsQ09VTlQoMSkgdmFsdWUgRlJPTSB3X3dvcmtmbG93X2FwcGx5IFdIRVJFIGNyZWF0ZV9kYXRlIEJFVFdFRU4gI3txdWVyeURheUJlZ2lufSBBTkQgI3txdWVyeURheUVuZH0gQU5EIHN0YXR1cyAhPTAgQU5EIGNyZWF0b3I9I3tjdXJyZW50VXNlcklkfSBHUk9VUCBCWSBsYWJlbCBPUkRFUiBCWSBsYWJlbA==');
INSERT INTO `b_analysis_sql` VALUES (249, 'current_user_seal_used_and_apply', '当前用户每日申请与使用', '首页，当前用户每日申请与使用', 'IFNFTEVDVCBEQVRFX0ZPUk1BVChjcmVhdGVfZGF0ZSwgJyVZLSVtLSVkJykgbGFiZWwsQ09OQ0FUKCBTVU0oIGFwcGx5X2NvdW50ICsgYXBwbHlfY3Jvc3NQYWdlU2VhbF9jb3VudCApLCAnLCcsIFNVTSggdXNlZF9jb3VudCArIHVzZWRfY3Jvc3NQYWdlU2VhbF9jb3VudCkgKSBzdHJWYWx1ZSBGUk9NIGJfdXNlZF9zZWFsX3N0YXR1cyBXSEVSRSBjcmVhdG9yID0gI3tjdXJyZW50VXNlcklkfSAgYW5kIGNyZWF0ZV9kYXRlIEJFVFdFRU4gI3txdWVyeURheUJlZ2lufSBBTkQgI3txdWVyeURheUVuZH0gR1JPVVAgQlkgbGFiZWwgT1JERVIgQlkgbGFiZWw7');
INSERT INTO `b_analysis_sql` VALUES (250, 'current_user_start_use_seal', '当前用户每日授权数', '首页，当前用户每日授权数', 'U0VMRUNUIERBVEVfRk9STUFUKHN0YXJ0X2RhdGUsI3tmb3JtYXR9KSBsYWJlbCxDT1VOVCgxKSB2YWx1ZSBGUk9NIGJfdXNlZF9zZWFsX3N0YXR1cyBXSEVSRSBjcmVhdG9yPSN7Y3VycmVudFVzZXJJZH0gYW5kIHN0YXR1cyA9IDEgQU5EIGNyZWF0ZV9kYXRlIEJFVFdFRU4gI3txdWVyeURheUJlZ2lufSBBTkQgI3txdWVyeURheUVuZH0gYW5kIHNhZmVfY29kZSAhPSAnJyBhbmQgc3RhcnRfZGF0ZSBpcyBub3QgbnVsbCAgR1JPVVAgQlkgbGFiZWw=');
INSERT INTO `b_analysis_sql` VALUES (251, 'current_user_total_count', '主页总数统计', '首页，主页总数统计', 'U0VMRUNUICdhcHBseWluZycgbGFiZWwsQ09VTlQoMSkgdmFsdWUgIEZST00gd193b3JrZmxvd19hcHBseSBXSEVSRSBzdGF0dXMgaW4oMSwzKSBBTkQgY3JlYXRvciA9I3tjdXJyZW50VXNlcklkfSBBTkQgY3JlYXRlX2RhdGUgQkVUV0VFTiAje3F1ZXJ5RGF5QmVnaW59IEFORCAje3F1ZXJ5RGF5RW5kfSBVTklPTiBTRUxFQ1QgJ3VzZWluZycgbGFiZWwsY291bnQoMSkgdmFsdWUgRlJPTSBiX3VzZWRfc2VhbF9zdGF0dXMgV0hFUkUgYHN0YXR1c2AgPSAxIGFuZCBgY3JlYXRvcmAgPSAje2N1cnJlbnRVc2VySWR9IEFORCBjcmVhdGVfZGF0ZSBCRVRXRUVOICN7cXVlcnlEYXlCZWdpbn0gQU5EICN7cXVlcnlEYXlFbmR9IGFuZCBzdGFydF9kYXRlIGlzIG5vdCBudWxsIFVOSU9OIFNFTEVDVCAnZXhlY3V0ZScgbGFiZWwsQ09VTlQoMSkgdmFsdWUgRlJPTSBiX2V4ZWN1dGVfdXNlciBXSEVSRSBgc3RhdHVzYD0wIEFORCB1c2VyX2lkPSN7Y3VycmVudFVzZXJJZH0gQU5EIGNyZWF0ZV9kYXRlIEJFVFdFRU4gI3txdWVyeURheUJlZ2lufSBBTkQgI3txdWVyeURheUVuZH0gVU5JT04gU0VMRUNUICdhcHBseV9jb3VudCcgbGFiZWwsQ09VTlQoMSkgdmFsdWUgRlJPTSB3X3dvcmtmbG93X2FwcGx5IFdIRVJFIGBzdGF0dXNgICE9MCBBTkQgY3JlYXRvcj0je2N1cnJlbnRVc2VySWR9IEFORCBjcmVhdGVfZGF0ZSBCRVRXRUVOICN7cXVlcnlEYXlCZWdpbn0gQU5EICN7cXVlcnlEYXlFbmR9IFVOSU9OIFNFTEVDVCAndXNlZF9jb3VudCcgbGFiZWwsU1VNKCB1c2VkX2NvdW50ICsgdXNlZF9jcm9zc1BhZ2VTZWFsX2NvdW50KSB2YWx1ZSBGUk9NIGJfdXNlZF9zZWFsX3N0YXR1cyBXSEVSRSBjcmVhdG9yID0je2N1cnJlbnRVc2VySWR9IEFORCBjcmVhdGVfZGF0ZSBCRVRXRUVOICN7cXVlcnlEYXlCZWdpbn0gQU5EICN7cXVlcnlEYXlFbmR9IFVOSU9OIFNFTEVDVCAndXNlZF9zZWFsX3RvdGFsX2NvdW50JyBsYWJlbCxTVU0oIGFwcGx5X2NvdW50ICsgYXBwbHlfY3Jvc3NQYWdlU2VhbF9jb3VudCApIHN0clZhbHVlIEZST00gYl91c2VkX3NlYWxfc3RhdHVzIFdIRVJFIGNyZWF0b3IgPSAje2N1cnJlbnRVc2VySWR9ICBhbmQgY3JlYXRlX2RhdGUgQkVUV0VFTiAje3F1ZXJ5RGF5QmVnaW59IEFORCAje3F1ZXJ5RGF5RW5kfQ==');
INSERT INTO `b_analysis_sql` VALUES (252, 'current_user_used_seal_info_count', '当前用户盖章次数', '首页，当前用户盖章次数', 'IFNFTEVDVCBEQVRFX0ZPUk1BVChjcmVhdGVfZGF0ZSwgI3tmb3JtYXR9KSBsYWJlbCAsU1VNKCB1c2VkX2NvdW50ICsgdXNlZF9jcm9zc1BhZ2VTZWFsX2NvdW50KSB2YWx1ZSBGUk9NIGJfdXNlZF9zZWFsX3N0YXR1cyB3aGVyZSBjcmVhdG9yPSN7Y3VycmVudFVzZXJJZH0gIGFuZCBjcmVhdGVfZGF0ZSBCRVRXRUVOICN7cXVlcnlEYXlCZWdpbn0gQU5EICN7cXVlcnlEYXlFbmR9ICBHUk9VUCBCWSBsYWJlbCBPUkRFUiBCWSBsYWJlbDs=');
INSERT INTO `b_analysis_sql` VALUES (253, 'power_department_seal_apply_used_all', NULL, '部门下的印章申请与使用数', 'U0VMRUNUIFNVTShhcHBseV9jb3VudCkgdmFsdWUsU1VNKHVzZWRfY291bnQpIHN0clZhbHVlLChTRUxFQ1QgZC5uYW1lIEZST00gc3lzX2RlcGFydG1lbnQgZCBXSEVSRSBkLmNvbXBhbnlfaWQ9IHMuY29tcGFueV9pZCBBTkQgZC5pZCA9IHMuZGVwYXJ0bWVudF9pZCkgbGFiZWwgRlJPTSBiX3VzZWRfc2VhbF9zdGF0dXMgcyB3aGVyZSAgcy5jb21wYW55X2lkPSN7Y29tcGFueUlkfSBhbmQgcy5zdGF0dXMgaW4gKDEsMikgYW5kIHMuY3JlYXRlX2RhdGUgYmV0d2VlbiAgI3txdWVyeURheUJlZ2lufSBBTkQgI3txdWVyeURheUVuZH0gR1JPVVAgQlkgbGFiZWw=');
INSERT INTO `b_analysis_sql` VALUES (254, 'power_department_seal_apply_used_company', NULL, '部门下的印章申请与使用数', 'U0VMRUNUIFNVTShhcHBseV9jb3VudCkgdmFsdWUsU1VNKHVzZWRfY291bnQpIHN0clZhbHVlLChTRUxFQ1QgZC5uYW1lIEZST00gc3lzX2RlcGFydG1lbnQgZCBXSEVSRSBkLmNvbXBhbnlfaWQ9IHMuY29tcGFueV9pZCBBTkQgZC5pZCA9IHMuZGVwYXJ0bWVudF9pZCkgbGFiZWwgRlJPTSBiX3VzZWRfc2VhbF9zdGF0dXMgcyBsZWZ0IGpvaW4gc3lzX2RlcGFydG1lbnQgc2Qgb24gcy5kZXBhcnRtZW50X2lkID0gc2QuaWQgd2hlcmUgIHMuY29tcGFueV9pZD0je2NvbXBhbnlJZH0gYW5kIHMuc3RhdHVzIGluICgxLDIpIGFuZCBzLmNyZWF0ZV9kYXRlIGJldHdlZW4gICN7cXVlcnlEYXlCZWdpbn0gQU5EICN7cXVlcnlEYXlFbmR9ICBBTkQgc2Qub3JnTm8gIGxpa2UgY29uY2F0KCN7Y3VycmVudERlcGFydG1lbnRFaWRPcmd9LCclJykgYW5kIHNkLmVpZCA9ICN7Y3VycmVudERlcGFydG1lbnRFaWR9IGFuZCBzZC5jb21wYW55X2lkID0gI3tjb21wYW55SWR9ICBHUk9VUCBCWSBsYWJlbA==');
INSERT INTO `b_analysis_sql` VALUES (255, 'power_department_seal_apply_used_company_son', NULL, '部门下的印章申请与使用数', 'U0VMRUNUIFNVTShhcHBseV9jb3VudCkgdmFsdWUsU1VNKHVzZWRfY291bnQpIHN0clZhbHVlLChTRUxFQ1QgZC5uYW1lIEZST00gc3lzX2RlcGFydG1lbnQgZCBXSEVSRSBkLmNvbXBhbnlfaWQ9IHMuY29tcGFueV9pZCBBTkQgZC5pZCA9IHMuZGVwYXJ0bWVudF9pZCkgbGFiZWwgRlJPTSBiX3VzZWRfc2VhbF9zdGF0dXMgcyBsZWZ0IGpvaW4gc3lzX2RlcGFydG1lbnQgc2Qgb24gcy5kZXBhcnRtZW50X2lkID0gc2QuaWQgd2hlcmUgIHMuY29tcGFueV9pZD0je2NvbXBhbnlJZH0gYW5kIHMuc3RhdHVzIGluICgxLDIpIGFuZCBzLmNyZWF0ZV9kYXRlIGJldHdlZW4gICN7cXVlcnlEYXlCZWdpbn0gQU5EICN7cXVlcnlEYXlFbmR9ICBBTkQgc2Qub3JnTm8gIGxpa2UgY29uY2F0KCN7Y3VycmVudERlcGFydG1lbnRFaWRPcmd9LCclJykgYW5kIHNkLmNvbXBhbnlfaWQgPSAje2NvbXBhbnlJZH0gR1JPVVAgQlkgbGFiZWw=');
INSERT INTO `b_analysis_sql` VALUES (256, 'power_department_seal_apply_used_department', NULL, '部门下的印章申请与使用数', 'U0VMRUNUIFNVTShhcHBseV9jb3VudCkgdmFsdWUsU1VNKHVzZWRfY291bnQpIHN0clZhbHVlLChTRUxFQ1QgZC5uYW1lIEZST00gc3lzX2RlcGFydG1lbnQgZCBXSEVSRSBkLmNvbXBhbnlfaWQ9IHMuY29tcGFueV9pZCBBTkQgZC5pZCA9IHMuZGVwYXJ0bWVudF9pZCkgbGFiZWwgRlJPTSBiX3VzZWRfc2VhbF9zdGF0dXMgcyBsZWZ0IGpvaW4gc3lzX2RlcGFydG1lbnQgc2Qgb24gc2QuaWQgPSBzLmRlcGFydG1lbnRfaWQgd2hlcmUgcy5jb21wYW55X2lkPSN7Y29tcGFueUlkfSBhbmQgcy5zdGF0dXMgaW4gKDEsMikgYW5kIHMuY3JlYXRlX2RhdGUgYmV0d2VlbiAgI3txdWVyeURheUJlZ2lufSBBTkQgI3txdWVyeURheUVuZH0gQU5EIHNkLm9yZ05vID0je2N1cnJlbnRVc2VyT3JnTm99IGFuZCBzZC5jb21wYW55X2lkID0gI3tjb21wYW55SWR9IEdST1VQIEJZIGxhYmVs');
INSERT INTO `b_analysis_sql` VALUES (257, 'power_department_seal_apply_used_department_son', NULL, '部门下的印章申请与使用数', 'U0VMRUNUIFNVTShhcHBseV9jb3VudCkgdmFsdWUsU1VNKHVzZWRfY291bnQpIHN0clZhbHVlLChTRUxFQ1QgZC5uYW1lIEZST00gc3lzX2RlcGFydG1lbnQgZCBXSEVSRSBkLmNvbXBhbnlfaWQ9IHMuY29tcGFueV9pZCBBTkQgZC5pZCA9IHMuZGVwYXJ0bWVudF9pZCkgbGFiZWwgRlJPTSBiX3VzZWRfc2VhbF9zdGF0dXMgcyBsZWZ0IGpvaW4gc3lzX2RlcGFydG1lbnQgc2Qgb24gc2QuaWQgPSBzLmRlcGFydG1lbnRfaWQgd2hlcmUgIHMuY29tcGFueV9pZD0je2NvbXBhbnlJZH0gYW5kIHMuc3RhdHVzIGluICgxLDIpIGFuZCBzLmNyZWF0ZV9kYXRlIGJldHdlZW4gICN7cXVlcnlEYXlCZWdpbn0gQU5EICN7cXVlcnlEYXlFbmR9ICBBTkQgc2Qub3JnTm8gbGlrZSBjb25jYXQoI3tjdXJyZW50VXNlck9yZ05vfSwnJScpIGFuZCBzZC5laWQgPSAje2N1cnJlbnREZXBhcnRtZW50RWlkfSBhbmQgc2QuY29tcGFueV9pZCA9ICN7Y29tcGFueUlkfSAgR1JPVVAgQlkgbGFiZWw=');
INSERT INTO `b_analysis_sql` VALUES (258, 'power_department_seal_apply_used_user', NULL, '部门下的印章申请与使用数', 'U0VMRUNUIFNVTShhcHBseV9jb3VudCkgdmFsdWUsU1VNKHVzZWRfY291bnQpIHN0clZhbHVlLChTRUxFQ1QgZC5uYW1lIEZST00gc3lzX2RlcGFydG1lbnQgZCBXSEVSRSBkLmNvbXBhbnlfaWQ9IHMuY29tcGFueV9pZCBBTkQgZC5pZCA9IHMuZGVwYXJ0bWVudF9pZCkgbGFiZWwgRlJPTSBiX3VzZWRfc2VhbF9zdGF0dXMgcyB3aGVyZSAgcy5jb21wYW55X2lkPSN7Y29tcGFueUlkfSBhbmQgcy5zdGF0dXMgaW4gKDEsMikgYW5kIHMuY3JlYXRlX2RhdGUgYmV0d2VlbiAgI3txdWVyeURheUJlZ2lufSBBTkQgI3txdWVyeURheUVuZH0gIEFORCBzLmNyZWF0b3I9I3tjdXJyZW50VXNlcklkfSAgR1JPVVAgQlkgbGFiZWw=');
INSERT INTO `b_analysis_sql` VALUES (259, 'power_department_seal_count_all', NULL, '部门印章数，全部', 'U0VMRUNUIGQuTkFNRSBsYWJlbCwgZC5vcmdObyBzdHJWYWx1ZSwgQ09VTlQoIDEgKSBWQUxVRSBGUk9NIHNlYWxfYmFzZSBiIElOTkVSIEpPSU4gc3lzX2RlcGFydG1lbnQgZCBPTiBkLmlkID0gYi5kZXBhcnRtZW50X2lkIEFORCBkLmNvbXBhbnlfaWQgPSBiLmNvbXBhbnlfaWQgV0hFUkUgYi5jb21wYW55X2lkID0gI3tjb21wYW55SWR9IEdST1VQIEJZICBsYWJlbCxzdHJWYWx1ZQ==');
INSERT INTO `b_analysis_sql` VALUES (260, 'power_department_seal_count_company', NULL, '部门印章数', 'U0VMRUNUIGQuTkFNRSBsYWJlbCwgZC5vcmdObyBzdHJWYWx1ZSwgQ09VTlQoIDEgKSBWQUxVRSBGUk9NIHNlYWxfYmFzZSBiIElOTkVSIEpPSU4gc3lzX2RlcGFydG1lbnQgZCBPTiBkLmlkID0gYi5kZXBhcnRtZW50X2lkIEFORCBkLmNvbXBhbnlfaWQ9Yi5jb21wYW55X2lkIFdIRVJFIGIuY29tcGFueV9pZD0je2NvbXBhbnlJZH0gYW5kIGQub3JnTm8gbGlrZSBjb25jYXQoI3tjdXJyZW50RGVwYXJ0bWVudEVpZE9yZ30sJyUnKSBhbmQgZC5laWQgPSAje2N1cnJlbnREZXBhcnRtZW50RWlkfSAgR1JPVVAgQlkgbGFiZWwsc3RyVmFsdWU=');
INSERT INTO `b_analysis_sql` VALUES (261, 'power_department_seal_count_company_son', NULL, '部门印章数', 'U0VMRUNUIGQuTkFNRSBsYWJlbCwgZC5vcmdObyBzdHJWYWx1ZSwgQ09VTlQoIDEgKSBWQUxVRSBGUk9NIHNlYWxfYmFzZSBiIElOTkVSIEpPSU4gc3lzX2RlcGFydG1lbnQgZCBPTiBkLmlkID0gYi5kZXBhcnRtZW50X2lkIEFORCBkLmNvbXBhbnlfaWQ9Yi5jb21wYW55X2lkIFdIRVJFIGIuY29tcGFueV9pZD0je2NvbXBhbnlJZH0gYW5kIGQub3JnTm8gIGxpa2UgY29uY2F0KCN7Y3VycmVudERlcGFydG1lbnRFaWRPcmd9LCclJykgIEdST1VQIEJZIGxhYmVsLHN0clZhbHVl');
INSERT INTO `b_analysis_sql` VALUES (262, 'power_department_seal_count_department', NULL, '部门印章数，本部门', 'U0VMRUNUIGQuTkFNRSBsYWJlbCwgZC5vcmdObyBzdHJWYWx1ZSwgQ09VTlQoIDEgKSBWQUxVRSBGUk9NIHNlYWxfYmFzZSBiIElOTkVSIEpPSU4gc3lzX2RlcGFydG1lbnQgZCBPTiBkLmlkID0gYi5kZXBhcnRtZW50X2lkIEFORCBkLmNvbXBhbnlfaWQ9Yi5jb21wYW55X2lkIFdIRVJFIGIuY29tcGFueV9pZD0je2NvbXBhbnlJZH0gYW5kIGQub3JnTm8gPSN7Y3VycmVudFVzZXJPcmdOb30gR1JPVVAgQlkgbGFiZWwsc3RyVmFsdWU=');
INSERT INTO `b_analysis_sql` VALUES (263, 'power_department_seal_count_department_son', NULL, '部门印章数，本部门及下属部门', 'U0VMRUNUIGQuTkFNRSBsYWJlbCwgZC5vcmdObyBzdHJWYWx1ZSwgQ09VTlQoIDEgKSBWQUxVRSBGUk9NIHNlYWxfYmFzZSBiIElOTkVSIEpPSU4gc3lzX2RlcGFydG1lbnQgZCBPTiBkLmlkID0gYi5kZXBhcnRtZW50X2lkIEFORCBkLmNvbXBhbnlfaWQ9Yi5jb21wYW55X2lkIFdIRVJFIGIuY29tcGFueV9pZD0je2NvbXBhbnlJZH0gYW5kIGQub3JnTm8gIGxpa2UgY29uY2F0KCN7Y3VycmVudFVzZXJPcmdOb30sJyUnKSBhbmQgZC5laWQgPSAje2N1cnJlbnREZXBhcnRtZW50RWlkfSBHUk9VUCBCWSBsYWJlbCxzdHJWYWx1ZQ==');
INSERT INTO `b_analysis_sql` VALUES (264, 'power_department_seal_count_user', NULL, '部门印章数，本人', 'U0VMRUNUIGQuTkFNRSBsYWJlbCwgZC5vcmdObyBzdHJWYWx1ZSwgQ09VTlQoIDEgKSBWQUxVRSBGUk9NIHNlYWxfYmFzZSBiIElOTkVSIEpPSU4gc3lzX2RlcGFydG1lbnQgZCBPTiBkLmlkID0gYi5kZXBhcnRtZW50X2lkIEFORCBkLmNvbXBhbnlfaWQ9Yi5jb21wYW55X2lkIFdIRVJFIGIuY29tcGFueV9pZD0je2NvbXBhbnlJZH0gYW5kIGIuYWRtaW5faWQ9I3tjdXJyZW50VXNlcklkfSAgR1JPVVAgQlkgbGFiZWwsc3RyVmFsdWU=');
INSERT INTO `b_analysis_sql` VALUES (265, 'power_key_word_warning_all', NULL, '关键词预警', 'U0VMRUNUIERBVEVfRk9STUFUKGNyZWF0ZV9kYXRlLCN7Zm9ybWF0fSkgbGFiZWwsQ09VTlQoMSkgdmFsdWUgRlJPTSBzeXNfbWVzc2FnZSBXSEVSRSAgd2ViX2NvZGU9MTAwMzMgQU5EIGNvbXBhbnlfaWQ9I3tjb21wYW55SWR9IGFuZCBjcmVhdGVfZGF0ZSBiZXR3ZWVuICN7cXVlcnlEYXlCZWdpbn0gQU5EICN7cXVlcnlEYXlFbmR9IEdST1VQIEJZIGxhYmVsIE9SREVSIEJZIGxhYmVs');
INSERT INTO `b_analysis_sql` VALUES (266, 'power_key_word_warning_company', NULL, '关键词预警', 'U0VMRUNUIERBVEVfRk9STUFUKGNyZWF0ZV9kYXRlLCN7Zm9ybWF0fSkgbGFiZWwsQ09VTlQoMSkgdmFsdWUgRlJPTSBzeXNfbWVzc2FnZSBXSEVSRSAgd2ViX2NvZGU9MTAwMzMgQU5EIGNvbXBhbnlfaWQ9I3tjb21wYW55SWR9IGFuZCBjcmVhdGVfZGF0ZSBiZXR3ZWVuICN7cXVlcnlEYXlCZWdpbn0gQU5EICN7cXVlcnlEYXlFbmR9IEFORCB0b191c2VyPSN7Y3VycmVudFVzZXJJZH0gR1JPVVAgQlkgbGFiZWwgT1JERVIgQlkgbGFiZWw=');
INSERT INTO `b_analysis_sql` VALUES (267, 'power_key_word_warning_company_son', NULL, '关键词预警', 'U0VMRUNUIERBVEVfRk9STUFUKGNyZWF0ZV9kYXRlLCN7Zm9ybWF0fSkgbGFiZWwsQ09VTlQoMSkgdmFsdWUgRlJPTSBzeXNfbWVzc2FnZSBXSEVSRSAgd2ViX2NvZGU9MTAwMzMgQU5EIGNvbXBhbnlfaWQ9I3tjb21wYW55SWR9IGFuZCBjcmVhdGVfZGF0ZSBiZXR3ZWVuICN7cXVlcnlEYXlCZWdpbn0gQU5EICN7cXVlcnlEYXlFbmR9IEFORCB0b191c2VyPSN7Y3VycmVudFVzZXJJZH0gR1JPVVAgQlkgbGFiZWwgT1JERVIgQlkgbGFiZWw=');
INSERT INTO `b_analysis_sql` VALUES (268, 'power_key_word_warning_department', NULL, '关键词预警', 'U0VMRUNUIERBVEVfRk9STUFUKGNyZWF0ZV9kYXRlLCN7Zm9ybWF0fSkgbGFiZWwsQ09VTlQoMSkgdmFsdWUgRlJPTSBzeXNfbWVzc2FnZSBXSEVSRSAgd2ViX2NvZGU9MTAwMzMgQU5EIGNvbXBhbnlfaWQ9I3tjb21wYW55SWR9IGFuZCBjcmVhdGVfZGF0ZSBiZXR3ZWVuICN7cXVlcnlEYXlCZWdpbn0gQU5EICN7cXVlcnlEYXlFbmR9IEFORCB0b191c2VyPSN7Y3VycmVudFVzZXJJZH0gR1JPVVAgQlkgbGFiZWwgT1JERVIgQlkgbGFiZWw=');
INSERT INTO `b_analysis_sql` VALUES (269, 'power_key_word_warning_department_son', NULL, '关键词预警', 'U0VMRUNUIERBVEVfRk9STUFUKGNyZWF0ZV9kYXRlLCN7Zm9ybWF0fSkgbGFiZWwsQ09VTlQoMSkgdmFsdWUgRlJPTSBzeXNfbWVzc2FnZSBXSEVSRSAgd2ViX2NvZGU9MTAwMzMgQU5EIGNvbXBhbnlfaWQ9I3tjb21wYW55SWR9IGFuZCBjcmVhdGVfZGF0ZSBiZXR3ZWVuICN7cXVlcnlEYXlCZWdpbn0gQU5EICN7cXVlcnlEYXlFbmR9IEFORCB0b191c2VyPSN7Y3VycmVudFVzZXJJZH0gR1JPVVAgQlkgbGFiZWwgT1JERVIgQlkgbGFiZWw=');
INSERT INTO `b_analysis_sql` VALUES (270, 'power_key_word_warning_user', NULL, '关键词预警', 'U0VMRUNUIERBVEVfRk9STUFUKGNyZWF0ZV9kYXRlLCN7Zm9ybWF0fSkgbGFiZWwsQ09VTlQoMSkgdmFsdWUgRlJPTSBzeXNfbWVzc2FnZSBXSEVSRSAgd2ViX2NvZGU9MTAwMzMgQU5EIGNvbXBhbnlfaWQ9I3tjb21wYW55SWR9IGFuZCBjcmVhdGVfZGF0ZSBiZXR3ZWVuICN7cXVlcnlEYXlCZWdpbn0gQU5EICN7cXVlcnlEYXlFbmR9IEFORCB0b191c2VyPSN7Y3VycmVudFVzZXJJZH0gR1JPVVAgQlkgbGFiZWwgT1JERVIgQlkgbGFiZWw=');
INSERT INTO `b_analysis_sql` VALUES (271, 'power_long_pressing_warning_count_by_department_all', NULL, '长按压预警，部门统计次数', 'U0VMRUNUIENPVU5UKDEpIHZhbHVlLCAoU0VMRUNUIG5hbWUgRlJPTSBzeXNfZGVwYXJ0bWVudCBXSEVSRSBjb21wYW55X2lkPWIuY29tcGFueV9pZCBBTkQgaWQgPWIuZGVwYXJ0bWVudF9pZCkgbGFiZWwgRlJPTSBiX3NlYWxfd2FybmluZyB3IExFRlQgSk9JTiBzZWFsX2Jhc2UgYiBPTiBiLmlkPXcuc2VhbF9pZCBBTkQgdy5jb21wYW55X2lkPWIuY29tcGFueV9pZCBXSEVSRSB3Lndhcm5pbmdfdHlwZSA9IDAgIEFORCBiLmNvbXBhbnlfaWQ9I3tjb21wYW55SWR9IEdST1VQIEJZIGxhYmVs');
INSERT INTO `b_analysis_sql` VALUES (272, 'power_long_pressing_warning_count_by_department_company', NULL, '长按压预警，部门统计次数', 'U0VMRUNUIENPVU5UKCAxICkgVkFMVUUsKCBTRUxFQ1QgTkFNRSBGUk9NIHN5c19kZXBhcnRtZW50IFdIRVJFIGNvbXBhbnlfaWQgPSBiLmNvbXBhbnlfaWQgQU5EIGlkID0gYi5kZXBhcnRtZW50X2lkICkgbGFiZWwgRlJPTSBiX3NlYWxfd2FybmluZyB3IExFRlQgSk9JTiBzZWFsX2Jhc2UgYiBPTiBiLmlkID0gdy5zZWFsX2lkIEFORCB3LmNvbXBhbnlfaWQgPSBiLmNvbXBhbnlfaWQgbGVmdCBqb2luIHN5c191c2VyX2RlcGFydG1lbnQgc3VkIG9uIHcudXNlcl9pZCA9IHN1ZC51c2VyaWQgbGVmdCBqb2luIHN5c19kZXBhcnRtZW50IHNkIG9uIHN1ZC5kZXBhcnRpZCA9IHNkLmlkIFdIRVJFIHcud2FybmluZ190eXBlID0gMCBBTkQgYi5jb21wYW55X2lkID0gI3tjb21wYW55SWR9IEFORCBzZC5vcmdObyBsaWtlICBDT05DQVQoI3tjdXJyZW50RGVwYXJ0bWVudEVpZE9yZ30sJyUnKSBBTkQgc2QuZWlkID0gI3tjdXJyZW50RGVwYXJ0bWVudEVpZH0gQU5EIHNkLmNvbXBhbnlfaWQgPSAje2NvbXBhbnlJZH0gR1JPVVAgQlkgbGFiZWw=');
INSERT INTO `b_analysis_sql` VALUES (273, 'power_long_pressing_warning_count_by_department_company_son', NULL, '长按压预警，部门统计次数', 'U0VMRUNUIENPVU5UKCAxICkgVkFMVUUsKCBTRUxFQ1QgTkFNRSBGUk9NIHN5c19kZXBhcnRtZW50IFdIRVJFIGNvbXBhbnlfaWQgPSBiLmNvbXBhbnlfaWQgQU5EIGlkID0gYi5kZXBhcnRtZW50X2lkICkgbGFiZWwgRlJPTSBiX3NlYWxfd2FybmluZyB3IExFRlQgSk9JTiBzZWFsX2Jhc2UgYiBPTiBiLmlkID0gdy5zZWFsX2lkIEFORCB3LmNvbXBhbnlfaWQgPSBiLmNvbXBhbnlfaWQgbGVmdCBqb2luIHN5c191c2VyX2RlcGFydG1lbnQgc3VkIG9uIHcudXNlcl9pZCA9IHN1ZC51c2VyaWQgbGVmdCBqb2luIHN5c19kZXBhcnRtZW50IHNkIG9uIHN1ZC5kZXBhcnRpZCA9IHNkLmlkIFdIRVJFIHcud2FybmluZ190eXBlID0gMCBBTkQgYi5jb21wYW55X2lkID0gI3tjb21wYW55SWR9IEFORCBzZC5vcmdObyBsaWtlICBDT05DQVQoI3tjdXJyZW50RGVwYXJ0bWVudEVpZE9yZ30sJyUnKSBBTkQgc2QuY29tcGFueV9pZCA9ICN7Y29tcGFueUlkfSBHUk9VUCBCWSBsYWJlbA==');
INSERT INTO `b_analysis_sql` VALUES (274, 'power_long_pressing_warning_count_by_department_department', NULL, '长按压预警，部门统计次数', 'U0VMRUNUIENPVU5UKCAxICkgVkFMVUUsKCBTRUxFQ1QgTkFNRSBGUk9NIHN5c19kZXBhcnRtZW50IFdIRVJFIGNvbXBhbnlfaWQgPSBiLmNvbXBhbnlfaWQgQU5EIGlkID0gYi5kZXBhcnRtZW50X2lkICkgbGFiZWwgRlJPTSBiX3NlYWxfd2FybmluZyB3IExFRlQgSk9JTiBzZWFsX2Jhc2UgYiBPTiBiLmlkID0gdy5zZWFsX2lkIEFORCB3LmNvbXBhbnlfaWQgPSBiLmNvbXBhbnlfaWQgbGVmdCBqb2luIHN5c191c2VyX2RlcGFydG1lbnQgc3VkIG9uIHcudXNlcl9pZCA9IHN1ZC51c2VyaWQgbGVmdCBqb2luIHN5c19kZXBhcnRtZW50IHNkIG9uIHN1ZC5kZXBhcnRpZCA9IHNkLmlkIFdIRVJFIHcud2FybmluZ190eXBlID0gMCBBTkQgYi5jb21wYW55X2lkID0gI3tjb21wYW55SWR9IEFORCBzZC5vcmdObyA9ICN7Y3VycmVudFVzZXJPcmdOb30gQU5EIHNkLmNvbXBhbnlfaWQgPSAje2NvbXBhbnlJZH0gR1JPVVAgQlkgbGFiZWw=');
INSERT INTO `b_analysis_sql` VALUES (275, 'power_long_pressing_warning_count_by_department_department_son', NULL, '长按压预警，部门统计次数', 'U0VMRUNUIENPVU5UKCAxICkgVkFMVUUsKCBTRUxFQ1QgTkFNRSBGUk9NIHN5c19kZXBhcnRtZW50IFdIRVJFIGNvbXBhbnlfaWQgPSBiLmNvbXBhbnlfaWQgQU5EIGlkID0gYi5kZXBhcnRtZW50X2lkICkgbGFiZWwgRlJPTSBiX3NlYWxfd2FybmluZyB3IExFRlQgSk9JTiBzZWFsX2Jhc2UgYiBPTiBiLmlkID0gdy5zZWFsX2lkIEFORCB3LmNvbXBhbnlfaWQgPSBiLmNvbXBhbnlfaWQgbGVmdCBqb2luIHN5c191c2VyX2RlcGFydG1lbnQgc3VkIG9uIHcudXNlcl9pZCA9IHN1ZC51c2VyaWQgbGVmdCBqb2luIHN5c19kZXBhcnRtZW50IHNkIG9uIHN1ZC5kZXBhcnRpZCA9IHNkLmlkIFdIRVJFIHcud2FybmluZ190eXBlID0gMCBBTkQgYi5jb21wYW55X2lkID0gI3tjb21wYW55SWR9IEFORCBzZC5vcmdObyBsaWtlICBDT05DQVQoI3tjdXJyZW50VXNlck9yZ05vfSwnJScpIEFORCBzZC5laWQgPSAje2N1cnJlbnREZXBhcnRtZW50RWlkfSBBTkQgc2QuY29tcGFueV9pZCA9ICN7Y29tcGFueUlkfSBHUk9VUCBCWSBsYWJlbA==');
INSERT INTO `b_analysis_sql` VALUES (276, 'power_long_pressing_warning_count_by_department_user', NULL, '长按压预警，部门统计次数', 'U0VMRUNUIENPVU5UKDEpIHZhbHVlLCAoU0VMRUNUIG5hbWUgRlJPTSBzeXNfZGVwYXJ0bWVudCBXSEVSRSBjb21wYW55X2lkPWIuY29tcGFueV9pZCBBTkQgaWQgPWIuZGVwYXJ0bWVudF9pZCkgbGFiZWwgRlJPTSBiX3NlYWxfd2FybmluZyB3IExFRlQgSk9JTiBzZWFsX2Jhc2UgYiBPTiBiLmlkPXcuc2VhbF9pZCBBTkQgdy5jb21wYW55X2lkPWIuY29tcGFueV9pZCBXSEVSRSB3Lndhcm5pbmdfdHlwZSA9IDAgQU5EIGIuY29tcGFueV9pZD0je2NvbXBhbnlJZH0gYW5kIHcudXNlcl9pZD0je2N1cnJlbnRVc2VySWR9IEdST1VQIEJZIGxhYmVs');
INSERT INTO `b_analysis_sql` VALUES (277, 'power_long_pressing_warning_count_by_seal_all', NULL, '长按压预警，印章预警次数统计', 'U0VMRUNUIENPVU5UKDEpIHZhbHVlLCB3LnNlYWxfbmFtZSBsYWJlbCBGUk9NIGJfc2VhbF93YXJuaW5nIHcgTEVGVCBKT0lOIHNlYWxfYmFzZSBiIE9OIGIuaWQ9dy5zZWFsX2lkIEFORCB3LmNvbXBhbnlfaWQ9Yi5jb21wYW55X2lkIFdIRVJFIHcud2FybmluZ190eXBlID0wICBBTkQgYi5jb21wYW55X2lkPSN7Y29tcGFueUlkfSBHUk9VUCBCWSBsYWJlbA==');
INSERT INTO `b_analysis_sql` VALUES (278, 'power_long_pressing_warning_count_by_seal_company', NULL, '长按压预警，印章预警次数统计', 'U0VMRUNUIENPVU5UKDEpIHZhbHVlLCB3LnNlYWxfbmFtZSBsYWJlbCBGUk9NIGJfc2VhbF93YXJuaW5nIHcgTEVGVCBKT0lOIHNlYWxfYmFzZSBiIE9OIGIuaWQgPSB3LnNlYWxfaWQgQU5EIHcuY29tcGFueV9pZCA9IGIuY29tcGFueV9pZCBsZWZ0IGpvaW4gc3lzX3VzZXJfZGVwYXJ0bWVudCBzdWQgb24gdy51c2VyX2lkID0gc3VkLnVzZXJpZCBsZWZ0IGpvaW4gc3lzX2RlcGFydG1lbnQgc2Qgb24gc3VkLmRlcGFydGlkID0gc2QuaWQgV0hFUkUgdy53YXJuaW5nX3R5cGUgPSAwIEFORCBiLmNvbXBhbnlfaWQgPSAje2NvbXBhbnlJZH0gQU5EIHNkLm9yZ05vIGxpa2UgIENPTkNBVCgje2N1cnJlbnREZXBhcnRtZW50RWlkT3JnfSwnJScpIEFORCBzZC5laWQgPSAje2N1cnJlbnREZXBhcnRtZW50RWlkfSBBTkQgc2QuY29tcGFueV9pZCA9ICN7Y29tcGFueUlkfSBHUk9VUCBCWSBsYWJlbA==');
INSERT INTO `b_analysis_sql` VALUES (279, 'power_long_pressing_warning_count_by_seal_company_son', NULL, '长按压预警，印章预警次数统计', 'U0VMRUNUIENPVU5UKDEpIHZhbHVlLCB3LnNlYWxfbmFtZSBsYWJlbCBGUk9NIGJfc2VhbF93YXJuaW5nIHcgTEVGVCBKT0lOIHNlYWxfYmFzZSBiIE9OIGIuaWQgPSB3LnNlYWxfaWQgQU5EIHcuY29tcGFueV9pZCA9IGIuY29tcGFueV9pZCBsZWZ0IGpvaW4gc3lzX3VzZXJfZGVwYXJ0bWVudCBzdWQgb24gdy51c2VyX2lkID0gc3VkLnVzZXJpZCBsZWZ0IGpvaW4gc3lzX2RlcGFydG1lbnQgc2Qgb24gc3VkLmRlcGFydGlkID0gc2QuaWQgV0hFUkUgdy53YXJuaW5nX3R5cGUgPSAwIEFORCBiLmNvbXBhbnlfaWQgPSAje2NvbXBhbnlJZH0gQU5EIHNkLm9yZ05vIGxpa2UgIENPTkNBVCgje2N1cnJlbnREZXBhcnRtZW50RWlkT3JnfSwnJScpIEFORCBzZC5jb21wYW55X2lkID0gI3tjb21wYW55SWR9IEdST1VQIEJZIGxhYmVs');
INSERT INTO `b_analysis_sql` VALUES (280, 'power_long_pressing_warning_count_by_seal_department', NULL, '长按压预警，印章预警次数统计', 'U0VMRUNUIENPVU5UKDEpIFZBTFVFLCB3LnNlYWxfbmFtZSBsYWJlbCBGUk9NIGJfc2VhbF93YXJuaW5nIHcgTEVGVCBKT0lOIHNlYWxfYmFzZSBiIE9OIGIuaWQgPSB3LnNlYWxfaWQgQU5EIHcuY29tcGFueV9pZCA9IGIuY29tcGFueV9pZCBsZWZ0IGpvaW4gc3lzX3VzZXJfZGVwYXJ0bWVudCBzdWQgb24gdy51c2VyX2lkID0gc3VkLnVzZXJpZCBsZWZ0IGpvaW4gc3lzX2RlcGFydG1lbnQgc2Qgb24gc3VkLmRlcGFydGlkID0gc2QuaWQgV0hFUkUgdy53YXJuaW5nX3R5cGUgPSAwIEFORCBiLmNvbXBhbnlfaWQgPSAje2NvbXBhbnlJZH0gQU5EIHNkLm9yZ05vID0gI3tjdXJyZW50VXNlck9yZ05vfSBBTkQgc2QuY29tcGFueV9pZCA9ICN7Y29tcGFueUlkfSBHUk9VUCBCWSBsYWJlbA==');
INSERT INTO `b_analysis_sql` VALUES (281, 'power_long_pressing_warning_count_by_seal_department_son', NULL, '长按压预警，印章预警次数统计', 'U0VMRUNUIENPVU5UKDEpIHZhbHVlLCB3LnNlYWxfbmFtZSBsYWJlbCBGUk9NIGJfc2VhbF93YXJuaW5nIHcgTEVGVCBKT0lOIHNlYWxfYmFzZSBiIE9OIGIuaWQgPSB3LnNlYWxfaWQgQU5EIHcuY29tcGFueV9pZCA9IGIuY29tcGFueV9pZCBsZWZ0IGpvaW4gc3lzX3VzZXJfZGVwYXJ0bWVudCBzdWQgb24gdy51c2VyX2lkID0gc3VkLnVzZXJpZCBsZWZ0IGpvaW4gc3lzX2RlcGFydG1lbnQgc2Qgb24gc3VkLmRlcGFydGlkID0gc2QuaWQgV0hFUkUgdy53YXJuaW5nX3R5cGUgPSAwIEFORCBiLmNvbXBhbnlfaWQgPSAje2NvbXBhbnlJZH0gQU5EIHNkLm9yZ05vIGxpa2UgIENPTkNBVCgje2N1cnJlbnRVc2VyT3JnTm99LCclJykgQU5EIHNkLmVpZCA9ICN7Y3VycmVudERlcGFydG1lbnRFaWR9IEFORCBzZC5jb21wYW55X2lkID0gI3tjb21wYW55SWR9IEdST1VQIEJZIGxhYmVs');
INSERT INTO `b_analysis_sql` VALUES (282, 'power_long_pressing_warning_count_by_seal_user', NULL, '长按压预警，印章预警次数统计', 'U0VMRUNUIENPVU5UKDEpIHZhbHVlLCB3LnNlYWxfbmFtZSBsYWJlbCBGUk9NIGJfc2VhbF93YXJuaW5nIHcgTEVGVCBKT0lOIHNlYWxfYmFzZSBiIE9OIGIuaWQ9dy5zZWFsX2lkIEFORCB3LmNvbXBhbnlfaWQ9Yi5jb21wYW55X2lkIFdIRVJFIHcud2FybmluZ190eXBlID0gMCAgQU5EIGIuY29tcGFueV9pZD0je2NvbXBhbnlJZH0gIEFORCB3LnVzZXJfaWQ9I3tjdXJyZW50VXNlcklkfSBHUk9VUCBCWSBsYWJlbA==');
INSERT INTO `b_analysis_sql` VALUES (283, 'power_long_pressing_warning_count_by_user_all', NULL, '长按压预警，触发人统计次数', 'U0VMRUNUIENPVU5UKDEpIHZhbHVlLCB3LnVzZXJuYW1lIGxhYmVsIEZST00gYl9zZWFsX3dhcm5pbmcgdyBMRUZUIEpPSU4gc2VhbF9iYXNlIGIgT04gYi5pZD13LnNlYWxfaWQgYW5kIGIuY29tcGFueV9pZD13LmNvbXBhbnlfaWQgV0hFUkUgdy53YXJuaW5nX3R5cGUgPTAgYW5kIGIuY29tcGFueV9pZD0je2NvbXBhbnlJZH0gR1JPVVAgQlkgbGFiZWw=');
INSERT INTO `b_analysis_sql` VALUES (284, 'power_long_pressing_warning_count_by_user_company', NULL, '长按压预警，触发人统计次数', 'U0VMRUNUIENPVU5UKDEpIHZhbHVlLCB3LnNlYWxfbmFtZSBsYWJlbCBGUk9NIGJfc2VhbF93YXJuaW5nIHcgTEVGVCBKT0lOIHNlYWxfYmFzZSBiIE9OIGIuaWQgPSB3LnNlYWxfaWQgQU5EIHcuY29tcGFueV9pZCA9IGIuY29tcGFueV9pZCBsZWZ0IGpvaW4gc3lzX3VzZXJfZGVwYXJ0bWVudCBzdWQgb24gdy51c2VyX2lkID0gc3VkLnVzZXJpZCBsZWZ0IGpvaW4gc3lzX2RlcGFydG1lbnQgc2Qgb24gc3VkLmRlcGFydGlkID0gc2QuaWQgV0hFUkUgdy53YXJuaW5nX3R5cGUgPSAwIEFORCBiLmNvbXBhbnlfaWQgPSAje2NvbXBhbnlJZH0gQU5EIHNkLm9yZ05vIGxpa2UgIENPTkNBVCgje2N1cnJlbnREZXBhcnRtZW50RWlkT3JnfSwnJScpIEFORCBzZC5laWQgPSAje2N1cnJlbnREZXBhcnRtZW50RWlkfSBBTkQgc2QuY29tcGFueV9pZCA9ICN7Y29tcGFueUlkfSBHUk9VUCBCWSBsYWJlbA==');
INSERT INTO `b_analysis_sql` VALUES (285, 'power_long_pressing_warning_count_by_user_company_son', NULL, '长按压预警，触发人统计次数', 'U0VMRUNUIENPVU5UKDEpIHZhbHVlLCB3LnNlYWxfbmFtZSBsYWJlbCBGUk9NIGJfc2VhbF93YXJuaW5nIHcgTEVGVCBKT0lOIHNlYWxfYmFzZSBiIE9OIGIuaWQgPSB3LnNlYWxfaWQgQU5EIHcuY29tcGFueV9pZCA9IGIuY29tcGFueV9pZCBsZWZ0IGpvaW4gc3lzX3VzZXJfZGVwYXJ0bWVudCBzdWQgb24gdy51c2VyX2lkID0gc3VkLnVzZXJpZCBsZWZ0IGpvaW4gc3lzX2RlcGFydG1lbnQgc2Qgb24gc3VkLmRlcGFydGlkID0gc2QuaWQgV0hFUkUgdy53YXJuaW5nX3R5cGUgPSAwIEFORCBiLmNvbXBhbnlfaWQgPSAje2NvbXBhbnlJZH0gQU5EIHNkLm9yZ05vIGxpa2UgIENPTkNBVCgje2N1cnJlbnREZXBhcnRtZW50RWlkT3JnfSwnJScpIEFORCBzZC5jb21wYW55X2lkID0gI3tjb21wYW55SWR9IEdST1VQIEJZIGxhYmVs');
INSERT INTO `b_analysis_sql` VALUES (286, 'power_long_pressing_warning_count_by_user_department', NULL, '长按压预警，触发人统计次数', 'U0VMRUNUIENPVU5UKDEpIFZBTFVFLCB3LnVzZXJuYW1lIGxhYmVsIEZST00gYl9zZWFsX3dhcm5pbmcgdyBMRUZUIEpPSU4gc2VhbF9iYXNlIGIgT04gYi5pZCA9IHcuc2VhbF9pZCBBTkQgdy5jb21wYW55X2lkID0gYi5jb21wYW55X2lkIGxlZnQgam9pbiBzeXNfdXNlcl9kZXBhcnRtZW50IHN1ZCBvbiB3LnVzZXJfaWQgPSBzdWQudXNlcmlkIGxlZnQgam9pbiBzeXNfZGVwYXJ0bWVudCBzZCBvbiBzdWQuZGVwYXJ0aWQgPSBzZC5pZCBXSEVSRSB3Lndhcm5pbmdfdHlwZSA9IDAgQU5EIGIuY29tcGFueV9pZCA9ICN7Y29tcGFueUlkfSBBTkQgc2Qub3JnTm8gPSAje2N1cnJlbnRVc2VyT3JnTm99IEFORCBzZC5jb21wYW55X2lkID0gI3tjb21wYW55SWR9IEdST1VQIEJZIGxhYmVs');
INSERT INTO `b_analysis_sql` VALUES (287, 'power_long_pressing_warning_count_by_user_department_son', NULL, '长按压预警，触发人统计次数', 'U0VMRUNUIENPVU5UKDEpIHZhbHVlLCB3LnVzZXJuYW1lIGxhYmVsIEZST00gYl9zZWFsX3dhcm5pbmcgdyBMRUZUIEpPSU4gc2VhbF9iYXNlIGIgT04gYi5pZCA9IHcuc2VhbF9pZCBBTkQgdy5jb21wYW55X2lkID0gYi5jb21wYW55X2lkIGxlZnQgam9pbiBzeXNfdXNlcl9kZXBhcnRtZW50IHN1ZCBvbiB3LnVzZXJfaWQgPSBzdWQudXNlcmlkIGxlZnQgam9pbiBzeXNfZGVwYXJ0bWVudCBzZCBvbiBzdWQuZGVwYXJ0aWQgPSBzZC5pZCBXSEVSRSB3Lndhcm5pbmdfdHlwZSA9IDAgQU5EIGIuY29tcGFueV9pZCA9ICN7Y29tcGFueUlkfSBBTkQgc2Qub3JnTm8gbGlrZSAgQ09OQ0FUKCN7Y3VycmVudFVzZXJPcmdOb30sJyUnKSBBTkQgc2QuZWlkID0gI3tjdXJyZW50RGVwYXJ0bWVudEVpZH0gQU5EIHNkLmNvbXBhbnlfaWQgPSAje2NvbXBhbnlJZH0gR1JPVVAgQlkgbGFiZWw=');
INSERT INTO `b_analysis_sql` VALUES (288, 'power_long_pressing_warning_count_by_user_user', NULL, '长按压预警，触发人统计次数', 'U0VMRUNUIENPVU5UKDEpIHZhbHVlLCB3LnVzZXJuYW1lIGxhYmVsIEZST00gYl9zZWFsX3dhcm5pbmcgdyBMRUZUIEpPSU4gc2VhbF9iYXNlIGIgT04gYi5pZD13LnNlYWxfaWQgYW5kIGIuY29tcGFueV9pZD13LmNvbXBhbnlfaWQgV0hFUkUgdy53YXJuaW5nX3R5cGUgPTAgYW5kIGIuY29tcGFueV9pZD0je2NvbXBhbnlJZH0gQU5EIHcudXNlcl9pZD0je2N1cnJlbnRVc2VySWR9IEdST1VQIEJZIGxhYmVs');
INSERT INTO `b_analysis_sql` VALUES (289, 'power_out_address_warning_count_by_department_all', NULL, '异地预警，部门统计次数', 'U0VMRUNUIENPVU5UKDEpIHZhbHVlLCAoU0VMRUNUIG5hbWUgRlJPTSBzeXNfZGVwYXJ0bWVudCBXSEVSRSBjb21wYW55X2lkPWIuY29tcGFueV9pZCBBTkQgaWQgPWIuZGVwYXJ0bWVudF9pZCkgbGFiZWwgRlJPTSBiX3NlYWxfd2FybmluZyB3IExFRlQgSk9JTiBzZWFsX2Jhc2UgYiBPTiBiLmlkPXcuc2VhbF9pZCBBTkQgdy5jb21wYW55X2lkPWIuY29tcGFueV9pZCBXSEVSRSB3Lndhcm5pbmdfdHlwZSA9IDEgIEFORCBiLmNvbXBhbnlfaWQ9I3tjb21wYW55SWR9IEdST1VQIEJZIGxhYmVs');
INSERT INTO `b_analysis_sql` VALUES (290, 'power_out_address_warning_count_by_department_company', NULL, '异地预警，部门统计次数', 'U0VMRUNUIENPVU5UKDEpIHZhbHVlLCAoU0VMRUNUIG5hbWUgRlJPTSBzeXNfZGVwYXJ0bWVudCBXSEVSRSBjb21wYW55X2lkPWIuY29tcGFueV9pZCBBTkQgaWQgPWIuZGVwYXJ0bWVudF9pZCkgbGFiZWwgRlJPTSBiX3NlYWxfd2FybmluZyB3IExFRlQgSk9JTiBzZWFsX2Jhc2UgYiBPTiBiLmlkID0gdy5zZWFsX2lkIEFORCB3LmNvbXBhbnlfaWQgPSBiLmNvbXBhbnlfaWQgbGVmdCBqb2luIHN5c191c2VyX2RlcGFydG1lbnQgc3VkIG9uIHcudXNlcl9pZCA9IHN1ZC51c2VyaWQgbGVmdCBqb2luIHN5c19kZXBhcnRtZW50IHNkIG9uIHN1ZC5kZXBhcnRpZCA9IHNkLmlkIFdIRVJFIHcud2FybmluZ190eXBlID0gMCBBTkQgYi5jb21wYW55X2lkID0gI3tjb21wYW55SWR9IEFORCBzZC5vcmdObyBsaWtlICBDT05DQVQoI3tjdXJyZW50RGVwYXJ0bWVudEVpZE9yZ30sJyUnKSBBTkQgc2QuZWlkID0gI3tjdXJyZW50RGVwYXJ0bWVudEVpZH0gQU5EIHNkLmNvbXBhbnlfaWQgPSAje2NvbXBhbnlJZH0gR1JPVVAgQlkgbGFiZWw=');
INSERT INTO `b_analysis_sql` VALUES (291, 'power_out_address_warning_count_by_department_company_son', NULL, '异地预警，部门统计次数', 'U0VMRUNUIENPVU5UKDEpIHZhbHVlLCAoU0VMRUNUIG5hbWUgRlJPTSBzeXNfZGVwYXJ0bWVudCBXSEVSRSBjb21wYW55X2lkPWIuY29tcGFueV9pZCBBTkQgaWQgPWIuZGVwYXJ0bWVudF9pZCkgbGFiZWwgRlJPTSBiX3NlYWxfd2FybmluZyB3IExFRlQgSk9JTiBzZWFsX2Jhc2UgYiBPTiBiLmlkID0gdy5zZWFsX2lkIEFORCB3LmNvbXBhbnlfaWQgPSBiLmNvbXBhbnlfaWQgbGVmdCBqb2luIHN5c191c2VyX2RlcGFydG1lbnQgc3VkIG9uIHcudXNlcl9pZCA9IHN1ZC51c2VyaWQgbGVmdCBqb2luIHN5c19kZXBhcnRtZW50IHNkIG9uIHN1ZC5kZXBhcnRpZCA9IHNkLmlkIFdIRVJFIHcud2FybmluZ190eXBlID0gMCBBTkQgYi5jb21wYW55X2lkID0gI3tjb21wYW55SWR9IEFORCBzZC5vcmdObyBsaWtlICBDT05DQVQoI3tjdXJyZW50RGVwYXJ0bWVudEVpZE9yZ30sJyUnKSBBTkQgc2QuY29tcGFueV9pZCA9ICN7Y29tcGFueUlkfSBHUk9VUCBCWSBsYWJlbA==');
INSERT INTO `b_analysis_sql` VALUES (292, 'power_out_address_warning_count_by_department_department', NULL, '异地预警，部门统计次数', 'U0VMRUNUIENPVU5UKDEpIHZhbHVlLCAoU0VMRUNUIG5hbWUgRlJPTSBzeXNfZGVwYXJ0bWVudCBXSEVSRSBjb21wYW55X2lkPWIuY29tcGFueV9pZCBBTkQgaWQgPWIuZGVwYXJ0bWVudF9pZCkgbGFiZWwgRlJPTSBiX3NlYWxfd2FybmluZyB3IExFRlQgSk9JTiBzZWFsX2Jhc2UgYiBPTiBiLmlkID0gdy5zZWFsX2lkIEFORCB3LmNvbXBhbnlfaWQgPSBiLmNvbXBhbnlfaWQgbGVmdCBqb2luIHN5c191c2VyX2RlcGFydG1lbnQgc3VkIG9uIHcudXNlcl9pZCA9IHN1ZC51c2VyaWQgbGVmdCBqb2luIHN5c19kZXBhcnRtZW50IHNkIG9uIHN1ZC5kZXBhcnRpZCA9IHNkLmlkIFdIRVJFIHcud2FybmluZ190eXBlID0gMCBBTkQgYi5jb21wYW55X2lkID0gI3tjb21wYW55SWR9IEFORCBzZC5vcmdObyA9ICN7Y3VycmVudFVzZXJPcmdOb30gQU5EIHNkLmNvbXBhbnlfaWQgPSAje2NvbXBhbnlJZH0gR1JPVVAgQlkgbGFiZWw=');
INSERT INTO `b_analysis_sql` VALUES (293, 'power_out_address_warning_count_by_department_department_son', NULL, '异地预警，部门统计次数', 'U0VMRUNUIENPVU5UKDEpIHZhbHVlLCAoU0VMRUNUIG5hbWUgRlJPTSBzeXNfZGVwYXJ0bWVudCBXSEVSRSBjb21wYW55X2lkPWIuY29tcGFueV9pZCBBTkQgaWQgPWIuZGVwYXJ0bWVudF9pZCkgbGFiZWwgRlJPTSBiX3NlYWxfd2FybmluZyB3IExFRlQgSk9JTiBzZWFsX2Jhc2UgYiBPTiBiLmlkID0gdy5zZWFsX2lkIEFORCB3LmNvbXBhbnlfaWQgPSBiLmNvbXBhbnlfaWQgbGVmdCBqb2luIHN5c191c2VyX2RlcGFydG1lbnQgc3VkIG9uIHcudXNlcl9pZCA9IHN1ZC51c2VyaWQgbGVmdCBqb2luIHN5c19kZXBhcnRtZW50IHNkIG9uIHN1ZC5kZXBhcnRpZCA9IHNkLmlkIFdIRVJFIHcud2FybmluZ190eXBlID0gMCBBTkQgYi5jb21wYW55X2lkID0gI3tjb21wYW55SWR9IEFORCBzZC5vcmdObyBsaWtlICBDT05DQVQoI3tjdXJyZW50VXNlck9yZ05vfSwnJScpIEFORCBzZC5laWQgPSAje2N1cnJlbnREZXBhcnRtZW50RWlkfSBBTkQgc2QuY29tcGFueV9pZCA9ICN7Y29tcGFueUlkfSBHUk9VUCBCWSBsYWJlbA==');
INSERT INTO `b_analysis_sql` VALUES (294, 'power_out_address_warning_count_by_department_user', NULL, '异地预警，部门统计次数', 'U0VMRUNUIENPVU5UKDEpIHZhbHVlLCAoU0VMRUNUIG5hbWUgRlJPTSBzeXNfZGVwYXJ0bWVudCBXSEVSRSBjb21wYW55X2lkPWIuY29tcGFueV9pZCBBTkQgaWQgPWIuZGVwYXJ0bWVudF9pZCkgbGFiZWwgRlJPTSBiX3NlYWxfd2FybmluZyB3IExFRlQgSk9JTiBzZWFsX2Jhc2UgYiBPTiBiLmlkPXcuc2VhbF9pZCBBTkQgdy5jb21wYW55X2lkPWIuY29tcGFueV9pZCBXSEVSRSB3Lndhcm5pbmdfdHlwZSA9IDEgIEFORCBiLmNvbXBhbnlfaWQ9I3tjb21wYW55SWR9IGFuZCB3LnVzZXJfaWQ9I3tjdXJyZW50VXNlcklkfSBHUk9VUCBCWSBsYWJlbA==');
INSERT INTO `b_analysis_sql` VALUES (295, 'power_out_address_warning_count_by_seal_all', NULL, '异地预警，印章预警次数统计', 'U0VMRUNUIENPVU5UKDEpIHZhbHVlLCB3LnNlYWxfbmFtZSBsYWJlbCBGUk9NIGJfc2VhbF93YXJuaW5nIHcgTEVGVCBKT0lOIHNlYWxfYmFzZSBiIE9OIGIuaWQ9dy5zZWFsX2lkIEFORCB3LmNvbXBhbnlfaWQ9Yi5jb21wYW55X2lkIFdIRVJFIHcud2FybmluZ190eXBlID0gMSAgQU5EIGIuY29tcGFueV9pZD0je2NvbXBhbnlJZH0gR1JPVVAgQlkgbGFiZWw=');
INSERT INTO `b_analysis_sql` VALUES (296, 'power_out_address_warning_count_by_seal_company', NULL, '异地预警，印章预警次数统计', 'U0VMRUNUIENPVU5UKDEpIHZhbHVlLCB3LnNlYWxfbmFtZSBsYWJlbCBGUk9NIGJfc2VhbF93YXJuaW5nIHcgTEVGVCBKT0lOIHNlYWxfYmFzZSBiIE9OIGIuaWQgPSB3LnNlYWxfaWQgQU5EIHcuY29tcGFueV9pZCA9IGIuY29tcGFueV9pZCBsZWZ0IGpvaW4gc3lzX3VzZXJfZGVwYXJ0bWVudCBzdWQgb24gdy51c2VyX2lkID0gc3VkLnVzZXJpZCBsZWZ0IGpvaW4gc3lzX2RlcGFydG1lbnQgc2Qgb24gc3VkLmRlcGFydGlkID0gc2QuaWQgV0hFUkUgdy53YXJuaW5nX3R5cGUgPSAwIEFORCBiLmNvbXBhbnlfaWQgPSAje2NvbXBhbnlJZH0gQU5EIHNkLm9yZ05vIGxpa2UgIENPTkNBVCgje2N1cnJlbnREZXBhcnRtZW50RWlkT3JnfSwnJScpIEFORCBzZC5laWQgPSAje2N1cnJlbnREZXBhcnRtZW50RWlkfSBBTkQgc2QuY29tcGFueV9pZCA9ICN7Y29tcGFueUlkfSBHUk9VUCBCWSBsYWJlbA==');
INSERT INTO `b_analysis_sql` VALUES (297, 'power_out_address_warning_count_by_seal_company_son', NULL, '异地预警，印章预警次数统计', 'U0VMRUNUIENPVU5UKDEpIHZhbHVlLCB3LnNlYWxfbmFtZSBsYWJlbCBGUk9NIGJfc2VhbF93YXJuaW5nIHcgTEVGVCBKT0lOIHNlYWxfYmFzZSBiIE9OIGIuaWQgPSB3LnNlYWxfaWQgQU5EIHcuY29tcGFueV9pZCA9IGIuY29tcGFueV9pZCBsZWZ0IGpvaW4gc3lzX3VzZXJfZGVwYXJ0bWVudCBzdWQgb24gdy51c2VyX2lkID0gc3VkLnVzZXJpZCBsZWZ0IGpvaW4gc3lzX2RlcGFydG1lbnQgc2Qgb24gc3VkLmRlcGFydGlkID0gc2QuaWQgV0hFUkUgdy53YXJuaW5nX3R5cGUgPSAwIEFORCBiLmNvbXBhbnlfaWQgPSAje2NvbXBhbnlJZH0gQU5EIHNkLm9yZ05vIGxpa2UgIENPTkNBVCgje2N1cnJlbnREZXBhcnRtZW50RWlkT3JnfSwnJScpIEFORCBzZC5jb21wYW55X2lkID0gI3tjb21wYW55SWR9IEdST1VQIEJZIGxhYmVs');
INSERT INTO `b_analysis_sql` VALUES (298, 'power_out_address_warning_count_by_seal_department', NULL, '异地预警，印章预警次数统计', 'U0VMRUNUIENPVU5UKDEpIHZhbHVlLCB3LnNlYWxfbmFtZSBsYWJlbCBGUk9NIGJfc2VhbF93YXJuaW5nIHcgTEVGVCBKT0lOIHNlYWxfYmFzZSBiIE9OIGIuaWQgPSB3LnNlYWxfaWQgQU5EIHcuY29tcGFueV9pZCA9IGIuY29tcGFueV9pZCBsZWZ0IGpvaW4gc3lzX3VzZXJfZGVwYXJ0bWVudCBzdWQgb24gdy51c2VyX2lkID0gc3VkLnVzZXJpZCBsZWZ0IGpvaW4gc3lzX2RlcGFydG1lbnQgc2Qgb24gc3VkLmRlcGFydGlkID0gc2QuaWQgV0hFUkUgdy53YXJuaW5nX3R5cGUgPSAwIEFORCBiLmNvbXBhbnlfaWQgPSAje2NvbXBhbnlJZH0gQU5EIHNkLm9yZ05vID0gI3tjdXJyZW50VXNlck9yZ05vfSBBTkQgc2QuY29tcGFueV9pZCA9ICN7Y29tcGFueUlkfSBHUk9VUCBCWSBsYWJlbA==');
INSERT INTO `b_analysis_sql` VALUES (299, 'power_out_address_warning_count_by_seal_department_son', NULL, '异地预警，印章预警次数统计', 'U0VMRUNUIENPVU5UKDEpIHZhbHVlLCB3LnNlYWxfbmFtZSBsYWJlbCBGUk9NIGJfc2VhbF93YXJuaW5nIHcgTEVGVCBKT0lOIHNlYWxfYmFzZSBiIE9OIGIuaWQgPSB3LnNlYWxfaWQgQU5EIHcuY29tcGFueV9pZCA9IGIuY29tcGFueV9pZCBsZWZ0IGpvaW4gc3lzX3VzZXJfZGVwYXJ0bWVudCBzdWQgb24gdy51c2VyX2lkID0gc3VkLnVzZXJpZCBsZWZ0IGpvaW4gc3lzX2RlcGFydG1lbnQgc2Qgb24gc3VkLmRlcGFydGlkID0gc2QuaWQgV0hFUkUgdy53YXJuaW5nX3R5cGUgPSAwIEFORCBiLmNvbXBhbnlfaWQgPSAje2NvbXBhbnlJZH0gQU5EIHNkLm9yZ05vIGxpa2UgIENPTkNBVCgje2N1cnJlbnRVc2VyT3JnTm99LCclJykgQU5EIHNkLmVpZCA9ICN7Y3VycmVudERlcGFydG1lbnRFaWR9IEFORCBzZC5jb21wYW55X2lkID0gI3tjb21wYW55SWR9IEdST1VQIEJZIGxhYmVs');
INSERT INTO `b_analysis_sql` VALUES (300, 'power_out_address_warning_count_by_seal_user', NULL, '异地预警，印章预警次数统计', 'U0VMRUNUIENPVU5UKDEpIHZhbHVlLCB3LnNlYWxfbmFtZSBsYWJlbCBGUk9NIGJfc2VhbF93YXJuaW5nIHcgTEVGVCBKT0lOIHNlYWxfYmFzZSBiIE9OIGIuaWQ9dy5zZWFsX2lkIEFORCB3LmNvbXBhbnlfaWQ9Yi5jb21wYW55X2lkIFdIRVJFIHcud2FybmluZ190eXBlID0gMSAgQU5EIGIuY29tcGFueV9pZD0je2NvbXBhbnlJZH0gIEFORCB3LnVzZXJfaWQ9I3tjdXJyZW50VXNlcklkfSBHUk9VUCBCWSBsYWJlbA==');
INSERT INTO `b_analysis_sql` VALUES (301, 'power_out_address_warning_count_by_user_all', NULL, '异地预警，触发人统计次数', 'U0VMRUNUIENPVU5UKDEpIHZhbHVlLCB3LnVzZXJuYW1lIGxhYmVsIEZST00gYl9zZWFsX3dhcm5pbmcgdyBMRUZUIEpPSU4gc2VhbF9iYXNlIGIgT04gYi5pZD13LnNlYWxfaWQgYW5kIGIuY29tcGFueV9pZD13LmNvbXBhbnlfaWQgV0hFUkUgdy53YXJuaW5nX3R5cGUgPSAxIGFuZCBiLmNvbXBhbnlfaWQ9I3tjb21wYW55SWR9ICBHUk9VUCBCWSBsYWJlbA==');
INSERT INTO `b_analysis_sql` VALUES (302, 'power_out_address_warning_count_by_user_company', NULL, '异地预警，触发人统计次数', 'U0VMRUNUIENPVU5UKDEpIHZhbHVlLCB3LnVzZXJuYW1lIGxhYmVsIEZST00gYl9zZWFsX3dhcm5pbmcgdyBMRUZUIEpPSU4gc2VhbF9iYXNlIGIgT04gYi5pZCA9IHcuc2VhbF9pZCBBTkQgdy5jb21wYW55X2lkID0gYi5jb21wYW55X2lkIGxlZnQgam9pbiBzeXNfdXNlcl9kZXBhcnRtZW50IHN1ZCBvbiB3LnVzZXJfaWQgPSBzdWQudXNlcmlkIGxlZnQgam9pbiBzeXNfZGVwYXJ0bWVudCBzZCBvbiBzdWQuZGVwYXJ0aWQgPSBzZC5pZCBXSEVSRSB3Lndhcm5pbmdfdHlwZSA9IDAgQU5EIGIuY29tcGFueV9pZCA9ICN7Y29tcGFueUlkfSBBTkQgc2Qub3JnTm8gbGlrZSAgQ09OQ0FUKCN7Y3VycmVudERlcGFydG1lbnRFaWRPcmd9LCclJykgQU5EIHNkLmVpZCA9ICN7Y3VycmVudERlcGFydG1lbnRFaWR9IEFORCBzZC5jb21wYW55X2lkID0gI3tjb21wYW55SWR9IEdST1VQIEJZIGxhYmVs');
INSERT INTO `b_analysis_sql` VALUES (303, 'power_out_address_warning_count_by_user_company_son', NULL, '异地预警，触发人统计次数', 'U0VMRUNUIENPVU5UKDEpIHZhbHVlLCB3LnVzZXJuYW1lIGxhYmVsIEZST00gYl9zZWFsX3dhcm5pbmcgdyBMRUZUIEpPSU4gc2VhbF9iYXNlIGIgT04gYi5pZCA9IHcuc2VhbF9pZCBBTkQgdy5jb21wYW55X2lkID0gYi5jb21wYW55X2lkIGxlZnQgam9pbiBzeXNfdXNlcl9kZXBhcnRtZW50IHN1ZCBvbiB3LnVzZXJfaWQgPSBzdWQudXNlcmlkIGxlZnQgam9pbiBzeXNfZGVwYXJ0bWVudCBzZCBvbiBzdWQuZGVwYXJ0aWQgPSBzZC5pZCBXSEVSRSB3Lndhcm5pbmdfdHlwZSA9IDAgQU5EIGIuY29tcGFueV9pZCA9ICN7Y29tcGFueUlkfSBBTkQgc2Qub3JnTm8gbGlrZSAgQ09OQ0FUKCN7Y3VycmVudERlcGFydG1lbnRFaWRPcmd9LCclJykgQU5EIHNkLmNvbXBhbnlfaWQgPSAje2NvbXBhbnlJZH0gR1JPVVAgQlkgbGFiZWw=');
INSERT INTO `b_analysis_sql` VALUES (304, 'power_out_address_warning_count_by_user_department', NULL, '异地预警，触发人统计次数', 'U0VMRUNUIENPVU5UKDEpIHZhbHVlLCB3LnVzZXJuYW1lIGxhYmVsIEZST00gYl9zZWFsX3dhcm5pbmcgdyBMRUZUIEpPSU4gc2VhbF9iYXNlIGIgT04gYi5pZCA9IHcuc2VhbF9pZCBBTkQgdy5jb21wYW55X2lkID0gYi5jb21wYW55X2lkIGxlZnQgam9pbiBzeXNfdXNlcl9kZXBhcnRtZW50IHN1ZCBvbiB3LnVzZXJfaWQgPSBzdWQudXNlcmlkIGxlZnQgam9pbiBzeXNfZGVwYXJ0bWVudCBzZCBvbiBzdWQuZGVwYXJ0aWQgPSBzZC5pZCBXSEVSRSB3Lndhcm5pbmdfdHlwZSA9IDAgQU5EIGIuY29tcGFueV9pZCA9ICN7Y29tcGFueUlkfSBBTkQgc2Qub3JnTm8gPSAje2N1cnJlbnRVc2VyT3JnTm99IEFORCBzZC5jb21wYW55X2lkID0gI3tjb21wYW55SWR9IEdST1VQIEJZIGxhYmVs');
INSERT INTO `b_analysis_sql` VALUES (305, 'power_out_address_warning_count_by_user_department_son', NULL, '异地预警，触发人统计次数', 'U0VMRUNUIENPVU5UKDEpIHZhbHVlLCB3LnVzZXJuYW1lIGxhYmVsIEZST00gYl9zZWFsX3dhcm5pbmcgdyBMRUZUIEpPSU4gc2VhbF9iYXNlIGIgT04gYi5pZCA9IHcuc2VhbF9pZCBBTkQgdy5jb21wYW55X2lkID0gYi5jb21wYW55X2lkIGxlZnQgam9pbiBzeXNfdXNlcl9kZXBhcnRtZW50IHN1ZCBvbiB3LnVzZXJfaWQgPSBzdWQudXNlcmlkIGxlZnQgam9pbiBzeXNfZGVwYXJ0bWVudCBzZCBvbiBzdWQuZGVwYXJ0aWQgPSBzZC5pZCBXSEVSRSB3Lndhcm5pbmdfdHlwZSA9IDAgQU5EIGIuY29tcGFueV9pZCA9ICN7Y29tcGFueUlkfSBBTkQgc2Qub3JnTm8gbGlrZSAgQ09OQ0FUKCN7Y3VycmVudFVzZXJPcmdOb30sJyUnKSBBTkQgc2QuZWlkID0gI3tjdXJyZW50RGVwYXJ0bWVudEVpZH0gQU5EIHNkLmNvbXBhbnlfaWQgPSAje2NvbXBhbnlJZH0gR1JPVVAgQlkgbGFiZWw=');
INSERT INTO `b_analysis_sql` VALUES (306, 'power_out_address_warning_count_by_user_user', NULL, '异地预警，触发人统计次数', 'U0VMRUNUIENPVU5UKDEpIHZhbHVlLCB3LnVzZXJuYW1lIGxhYmVsIEZST00gYl9zZWFsX3dhcm5pbmcgdyBMRUZUIEpPSU4gc2VhbF9iYXNlIGIgT04gYi5pZD13LnNlYWxfaWQgYW5kIGIuY29tcGFueV9pZD13LmNvbXBhbnlfaWQgV0hFUkUgdy53YXJuaW5nX3R5cGUgPSAxIGFuZCBiLmNvbXBhbnlfaWQ9I3tjb21wYW55SWR9IEFORCB3LnVzZXJfaWQgPSAoI3tjdXJyZW50VXNlcklkfSkgR1JPVVAgQlkgbGFiZWw=');
INSERT INTO `b_analysis_sql` VALUES (307, 'power_seal_address_all', NULL, '印章最后定位地址，全部', 'U0VMRUNUIGEucHJvdmluY2UgbGFiZWwsQ09VTlQoMSkgdmFsdWUgRlJPTSBzZWFsX2Jhc2UgYiBJTk5FUiBKT0lOIHNlYWxfY3VycmVudF9hZGRyZXNzIGEgT04gYi5pZD1hLmlkIFdIRVJFIGIuY29tcGFueV9pZD0je2NvbXBhbnlJZH0gYW5kIGIuc2VhbF9zdGF0dXMgaW4gKDAsMSkgR1JPVVAgQlkgYS5wcm92aW5jZQ==');
INSERT INTO `b_analysis_sql` VALUES (308, 'power_seal_address_company', NULL, '印章最后定位地址', 'U0VMRUNUIGEucHJvdmluY2UgbGFiZWwsQ09VTlQoMSkgdmFsdWUgRlJPTSBzZWFsX2Jhc2UgYiBJTk5FUiBKT0lOIHNlYWxfY3VycmVudF9hZGRyZXNzIGEgT04gYi5pZD1hLmlkIGxlZnQgam9pbiBzeXNfZGVwYXJ0bWVudCBzZCBvbiBzZC5pZCA9IGIuZGVwYXJ0bWVudF9pZCBXSEVSRSBiLmNvbXBhbnlfaWQ9I3tjb21wYW55SWR9IGFuZCBiLnNlYWxfc3RhdHVzIGluICgwLDEpIGFuZCBzZC5vcmdObyBsaWtlIGNvbmNhdCgje2N1cnJlbnREZXBhcnRtZW50RWlkT3JnfSwnJScpIGFuZCBzZC5laWQgPSAje2N1cnJlbnREZXBhcnRtZW50RWlkfSBHUk9VUCBCWSBhLnByb3ZpbmNl');
INSERT INTO `b_analysis_sql` VALUES (309, 'power_seal_address_company_son', NULL, '印章最后定位地址', 'U0VMRUNUIGEucHJvdmluY2UgbGFiZWwsQ09VTlQoMSkgdmFsdWUgRlJPTSBzZWFsX2Jhc2UgYiBJTk5FUiBKT0lOIHNlYWxfY3VycmVudF9hZGRyZXNzIGEgT04gYi5pZD1hLmlkIGxlZnQgam9pbiBzeXNfZGVwYXJ0bWVudCBzZCBvbiBzZC5pZCA9IGIuZGVwYXJ0bWVudF9pZCBXSEVSRSBiLmNvbXBhbnlfaWQ9I3tjb21wYW55SWR9IGFuZCBiLnNlYWxfc3RhdHVzIGluICgwLDEpIGFuZCBzZC5vcmdObyBsaWtlIGNvbmNhdCgje2N1cnJlbnREZXBhcnRtZW50RWlkT3JnfSwnJScpICBHUk9VUCBCWSBhLnByb3ZpbmNl');
INSERT INTO `b_analysis_sql` VALUES (310, 'power_seal_address_department', NULL, '印章最后定位地址，本部门', 'U0VMRUNUIGEucHJvdmluY2UgbGFiZWwsQ09VTlQoMSkgdmFsdWUgRlJPTSBzZWFsX2Jhc2UgYiBJTk5FUiBKT0lOIHNlYWxfY3VycmVudF9hZGRyZXNzIGEgT04gYi5pZD1hLmlkIGxlZnQgam9pbiBzeXNfZGVwYXJ0bWVudCBzZCBvbiBzZC5pZCA9IGIuZGVwYXJ0bWVudF9pZCBXSEVSRSBiLmNvbXBhbnlfaWQ9I3tjb21wYW55SWR9IGFuZCBiLnNlYWxfc3RhdHVzIGluICgwLDEpIGFuZCBzZC5vcmdObyA9I3tjdXJyZW50VXNlck9yZ05vfSBHUk9VUCBCWSBhLnByb3ZpbmNl');
INSERT INTO `b_analysis_sql` VALUES (311, 'power_seal_address_department_son', NULL, '印章最后定位地址，本部门及下属部门', 'U0VMRUNUIGEucHJvdmluY2UgbGFiZWwsQ09VTlQoMSkgdmFsdWUgRlJPTSBzZWFsX2Jhc2UgYiBJTk5FUiBKT0lOIHNlYWxfY3VycmVudF9hZGRyZXNzIGEgT04gYi5pZD1hLmlkIGxlZnQgam9pbiBzeXNfZGVwYXJ0bWVudCBzZCBvbiBzZC5pZCA9IGIuZGVwYXJ0bWVudF9pZCBXSEVSRSBiLmNvbXBhbnlfaWQ9I3tjb21wYW55SWR9IGFuZCBiLnNlYWxfc3RhdHVzIGluICgwLDEpIGFuZCBzZC5vcmdObyBsaWtlIGNvbmNhdCgje2N1cnJlbnRVc2VyT3JnTm99LCclJykgYW5kIHNkLmVpZCA9ICN7Y3VycmVudERlcGFydG1lbnRFaWR9IEdST1VQIEJZIGEucHJvdmluY2U=');
INSERT INTO `b_analysis_sql` VALUES (312, 'power_seal_address_user', NULL, '印章最后定位地址，本人', 'U0VMRUNUIGEucHJvdmluY2UgbGFiZWwsQ09VTlQoMSkgdmFsdWUgRlJPTSBzZWFsX2Jhc2UgYiBJTk5FUiBKT0lOIHNlYWxfY3VycmVudF9hZGRyZXNzIGEgT04gYi5pZD1hLmlkIFdIRVJFIGIuY29tcGFueV9pZD0je2NvbXBhbnlJZH0gYW5kIGIuc2VhbF9zdGF0dXMgaW4gKDAsMSkgYW5kIGIuYWRtaW5faWQ9I3tjdXJyZW50VXNlcklkfSBHUk9VUCBCWSBhLnByb3ZpbmNl');
INSERT INTO `b_analysis_sql` VALUES (313, 'power_seal_status_all', NULL, '印章状态，全部', 'U0VMRUNUICggQ0FTRSBzZWFsX3N0YXR1cyBXSEVOIDAgVEhFTiAn5Zyo55SoJyBXSEVOIDEgVEhFTiAn56aB55SoJyBFTkQgKSBBUyBsYWJlbCAsQ09VTlQoMSkgdmFsdWUgRlJPTSBzZWFsX2Jhc2UgV0hFUkUgc2VhbF9zdGF0dXMgaW4gKDAsMSkgQU5EIGNvbXBhbnlfaWQ9I3tjb21wYW55SWR9ICBHUk9VUCBCWSBzZWFsX3N0YXR1cw==');
INSERT INTO `b_analysis_sql` VALUES (314, 'power_seal_status_company', NULL, '印章状态', 'U0VMRUNUICggQ0FTRSBiLnNlYWxfc3RhdHVzIFdIRU4gMCBUSEVOICflnKjnlKgnIFdIRU4gMSBUSEVOICfnpoHnlKgnIEVORCApIEFTIGxhYmVsICxDT1VOVCgxKSB2YWx1ZSBGUk9NIHNlYWxfYmFzZSBiIGxlZnQgam9pbiBzeXNfZGVwYXJ0bWVudCBzZCBvbiBzZC5pZCA9IGIuZGVwYXJ0bWVudF9pZCBXSEVSRSBiLnNlYWxfc3RhdHVzIGluICgwLDEpIEFORCBiLmNvbXBhbnlfaWQ9I3tjb21wYW55SWR9IGFuZCBzZC5vcmdObyBsaWtlIGNvbmNhdCgje2N1cnJlbnREZXBhcnRtZW50RWlkT3JnfSwnJScpIGFuZCBzZC5laWQgPSAje2N1cnJlbnREZXBhcnRtZW50RWlkfSBHUk9VUCBCWSBiLnNlYWxfc3RhdHVz');
INSERT INTO `b_analysis_sql` VALUES (315, 'power_seal_status_company_son', NULL, '印章状态', 'U0VMRUNUICggQ0FTRSBiLnNlYWxfc3RhdHVzIFdIRU4gMCBUSEVOICflnKjnlKgnIFdIRU4gMSBUSEVOICfnpoHnlKgnIEVORCApIEFTIGxhYmVsICxDT1VOVCgxKSB2YWx1ZSBGUk9NIHNlYWxfYmFzZSBiIGxlZnQgam9pbiBzeXNfZGVwYXJ0bWVudCBzZCBvbiBzZC5pZCA9IGIuZGVwYXJ0bWVudF9pZCBXSEVSRSBiLnNlYWxfc3RhdHVzIGluICgwLDEpIEFORCBiLmNvbXBhbnlfaWQ9I3tjb21wYW55SWR9IGFuZCBzZC5vcmdObyBsaWtlIGNvbmNhdCgje2N1cnJlbnREZXBhcnRtZW50RWlkT3JnfSwnJScpIEdST1VQIEJZIGIuc2VhbF9zdGF0dXM=');
INSERT INTO `b_analysis_sql` VALUES (316, 'power_seal_status_department', NULL, '印章状态，本部门', 'U0VMRUNUICggQ0FTRSBiLnNlYWxfc3RhdHVzIFdIRU4gMCBUSEVOICflnKjnlKgnIFdIRU4gMSBUSEVOICfnpoHnlKgnIEVORCApIEFTIGxhYmVsICxDT1VOVCgxKSB2YWx1ZSBGUk9NIHNlYWxfYmFzZSBiIGxlZnQgam9pbiBzeXNfZGVwYXJ0bWVudCBzZCBvbiBzZC5pZCA9IGIuZGVwYXJ0bWVudF9pZCBXSEVSRSBiLnNlYWxfc3RhdHVzIGluICgwLDEpIEFORCBiLmNvbXBhbnlfaWQ9I3tjb21wYW55SWR9IGFuZCBzZC5vcmdObyA9I3tjdXJyZW50VXNlck9yZ05vfSBHUk9VUCBCWSBiLnNlYWxfc3RhdHVz');
INSERT INTO `b_analysis_sql` VALUES (317, 'power_seal_status_department_son', NULL, '印章状态，本部门及下属部门', 'U0VMRUNUICggQ0FTRSBiLnNlYWxfc3RhdHVzIFdIRU4gMCBUSEVOICflnKjnlKgnIFdIRU4gMSBUSEVOICfnpoHnlKgnIEVORCApIEFTIGxhYmVsICxDT1VOVCgxKSB2YWx1ZSBGUk9NIHNlYWxfYmFzZSBiIGxlZnQgam9pbiBzeXNfZGVwYXJ0bWVudCBzZCBvbiBzZC5pZCA9IGIuZGVwYXJ0bWVudF9pZCBXSEVSRSBiLnNlYWxfc3RhdHVzIGluICgwLDEpIEFORCBiLmNvbXBhbnlfaWQ9I3tjb21wYW55SWR9IGFuZCBzZC5vcmdObyBsaWtlIGNvbmNhdCgje2N1cnJlbnRVc2VyT3JnTm99LCclJykgYW5kIHNkLmVpZCA9ICN7Y3VycmVudERlcGFydG1lbnRFaWR9IEdST1VQIEJZIGIuc2VhbF9zdGF0dXM=');
INSERT INTO `b_analysis_sql` VALUES (318, 'power_seal_status_user', NULL, '印章状态，本人', 'U0VMRUNUICggQ0FTRSBzZWFsX3N0YXR1cyBXSEVOIDAgVEhFTiAn5Zyo55SoJyBXSEVOIDEgVEhFTiAn56aB55SoJyBFTkQgKSBBUyBsYWJlbCAsQ09VTlQoMSkgdmFsdWUgRlJPTSBzZWFsX2Jhc2UgV0hFUkUgc2VhbF9zdGF0dXMgaW4gKDAsMSkgQU5EIGNvbXBhbnlfaWQ9I3tjb21wYW55SWR9IEFORCBhZG1pbl9pZD0je2N1cnJlbnRVc2VySWR9IEdST1VQIEJZICBzZWFsX3N0YXR1cw==');
INSERT INTO `b_analysis_sql` VALUES (319, 'power_seal_type_all', NULL, '印章分类，全部', 'U0VMRUNUICBzZWFsX3R5cGUgbGFiZWwsQ09VTlQoMSkgdmFsdWUgRlJPTSBzZWFsX2Jhc2UgV0hFUkUgc2VhbF9zdGF0dXMgaW4gKDAsMSkgQU5EIGNvbXBhbnlfaWQ9I3tjb21wYW55SWR9ICBHUk9VUCBCWSBzZWFsX3R5cGU=');
INSERT INTO `b_analysis_sql` VALUES (320, 'power_seal_type_company', NULL, '印章分类', 'U0VMRUNUICBiLnNlYWxfdHlwZSBsYWJlbCxDT1VOVCgxKSB2YWx1ZSBGUk9NIHNlYWxfYmFzZSBiIGxlZnQgam9pbiBzeXNfZGVwYXJ0bWVudCBzZCBvbiBzZC5pZCA9IGIuZGVwYXJ0bWVudF9pZCBXSEVSRSBiLnNlYWxfc3RhdHVzIGluICgwLDEpIEFORCBiLmNvbXBhbnlfaWQ9I3tjb21wYW55SWR9IGFuZCBzZC5vcmdObyBsaWtlIGNvbmNhdCgje2N1cnJlbnREZXBhcnRtZW50RWlkT3JnfSwnJScpIGFuZCBzZC5laWQgPSAje2N1cnJlbnREZXBhcnRtZW50RWlkfSBHUk9VUCBCWSBzZWFsX3R5cGU=');
INSERT INTO `b_analysis_sql` VALUES (321, 'power_seal_type_company_son', NULL, '印章分类', 'U0VMRUNUIGIuc2VhbF90eXBlIGxhYmVsLENPVU5UKDEpIHZhbHVlIEZST00gc2VhbF9iYXNlIGIgbGVmdCBqb2luIHN5c19kZXBhcnRtZW50IHNkIG9uIHNkLmlkID0gYi5kZXBhcnRtZW50X2lkIFdIRVJFIGIuc2VhbF9zdGF0dXMgaW4gKDAsMSkgQU5EIGIuY29tcGFueV9pZD0je2NvbXBhbnlJZH0gYW5kIHNkLm9yZ05vIGxpa2UgY29uY2F0KCN7Y3VycmVudERlcGFydG1lbnRFaWRPcmd9LCclJykgR1JPVVAgQlkgYi5zZWFsX3R5cGU=');
INSERT INTO `b_analysis_sql` VALUES (322, 'power_seal_type_department', NULL, '印章分类，本部门', 'U0VMRUNUICBiLnNlYWxfdHlwZSBsYWJlbCxDT1VOVCgxKSB2YWx1ZSBGUk9NIHNlYWxfYmFzZSBiIGxlZnQgam9pbiBzeXNfZGVwYXJ0bWVudCBzZCBvbiBzZC5pZCA9IGIuZGVwYXJ0bWVudF9pZCBXSEVSRSBiLnNlYWxfc3RhdHVzIGluICgwLDEpIEFORCBiLmNvbXBhbnlfaWQ9I3tjb21wYW55SWR9IGFuZCBzZC5vcmdObyA9I3tjdXJyZW50VXNlck9yZ05vfSBHUk9VUCBCWSBzZWFsX3R5cGU=');
INSERT INTO `b_analysis_sql` VALUES (323, 'power_seal_type_department_son', NULL, '印章分类，本部门及下属部门', 'U0VMRUNUIGIuc2VhbF90eXBlIGxhYmVsLENPVU5UKDEpIHZhbHVlIEZST00gc2VhbF9iYXNlIGIgbGVmdCBqb2luIHN5c19kZXBhcnRtZW50IHNkIG9uIHNkLmlkID0gYi5kZXBhcnRtZW50X2lkIFdIRVJFIGIuc2VhbF9zdGF0dXMgaW4gKDAsMSkgQU5EIGIuY29tcGFueV9pZD0je2NvbXBhbnlJZH0gYW5kIHNkLm9yZ05vIGxpa2UgY29uY2F0KCN7Y3VycmVudFVzZXJPcmdOb30sJyUnKSBhbmQgc2QuZWlkID0gI3tjdXJyZW50RGVwYXJ0bWVudEVpZH0gR1JPVVAgQlkgYi5zZWFsX3R5cGU=');
INSERT INTO `b_analysis_sql` VALUES (324, 'power_seal_type_used_count_all', NULL, '印章类型下印章申请及盖章次数', 'U0VMRUNUIFNVTShpbmZvLmFwcGx5KSB2YWx1ZSxTVU0oaW5mby51c2VkKSBzdHJWYWx1ZSx0eXBlIGxhYmVsIGZyb20oU0VMRUNUIFNVTShhcHBseV9jb3VudCkgYXBwbHksU1VNKHVzZWRfY291bnQpIHVzZWQsKFNFTEVDVCBzZWFsX3R5cGUgRlJPTSBzZWFsX2Jhc2UgV0hFUkUgaWQgPSBzLnNlYWxfaWQpIHR5cGUgRlJPTSBiX3VzZWRfc2VhbF9zdGF0dXMgcyB3aGVyZSBzLmNvbXBhbnlfaWQ9I3tjb21wYW55SWR9IGFuZCBzLnN0YXR1cyBpbiAoMSwyKSBhbmQgcy5jcmVhdGVfZGF0ZSBiZXR3ZWVuICAje3F1ZXJ5RGF5QmVnaW59IEFORCAje3F1ZXJ5RGF5RW5kfSAgR1JPVVAgQlkgdHlwZSlpbmZvIEdST1VQIEJZIGluZm8udHlwZQ==');
INSERT INTO `b_analysis_sql` VALUES (325, 'power_seal_type_used_count_company', NULL, '印章分类', 'U0VMRUNUIFNVTSggaW5mby5hcHBseSApIFZBTFVFLFNVTSggaW5mby51c2VkICkgc3RyVmFsdWUsdHlwZSBsYWJlbCBGUk9NICgoU0VMRUNUIFNVTSggYXBwbHlfY291bnQgKSBhcHBseSxTVU0oIHVzZWRfY291bnQgKSB1c2VkLHR5cGUgZnJvbSAoc2VsZWN0IGFwcGx5X2NvdW50LHVzZWRfY291bnQsKCBTRUxFQ1Qgc2VhbF90eXBlIEZST00gc2VhbF9iYXNlIFdIRVJFIGlkID0gc2VhbF9pZCApIHR5cGUgZnJvbSBiX3VzZWRfc2VhbF9zdGF0dXMgcyBsZWZ0IGpvaW4gc3lzX2RlcGFydG1lbnQgc2Qgb24gc2QuaWQgPSBzLmRlcGFydG1lbnRfaWQgV0hFUkUgcy5jb21wYW55X2lkPSN7Y29tcGFueUlkfSBhbmQgcy5zdGF0dXMgaW4gKDEsMikgYW5kIHMuY3JlYXRlX2RhdGUgYmV0d2VlbiAgI3txdWVyeURheUJlZ2lufSBBTkQgI3txdWVyeURheUVuZH0gYW5kIHNkLm9yZ05vIGxpa2UgY29uY2F0KCN7Y3VycmVudERlcGFydG1lbnRFaWRPcmd9LCclJykgYW5kIHNkLmVpZCA9ICN7Y3VycmVudERlcGFydG1lbnRFaWR9KSBjYyBncm91cCBieSB0eXBlICkpIGluZm8gZ3JvdXAgYnkgaW5mby50eXBl');
INSERT INTO `b_analysis_sql` VALUES (326, 'power_seal_type_used_count_company_son', NULL, '印章分类', 'U0VMRUNUIFNVTSggaW5mby5hcHBseSApIFZBTFVFLFNVTSggaW5mby51c2VkICkgc3RyVmFsdWUsdHlwZSBsYWJlbCBGUk9NICgoU0VMRUNUIFNVTSggYXBwbHlfY291bnQgKSBhcHBseSxTVU0oIHVzZWRfY291bnQgKSB1c2VkLHR5cGUgZnJvbSAoc2VsZWN0IGFwcGx5X2NvdW50LHVzZWRfY291bnQsKCBTRUxFQ1Qgc2VhbF90eXBlIEZST00gc2VhbF9iYXNlIFdIRVJFIGlkID0gc2VhbF9pZCApIHR5cGUgZnJvbSBiX3VzZWRfc2VhbF9zdGF0dXMgcyBsZWZ0IGpvaW4gc3lzX2RlcGFydG1lbnQgc2Qgb24gc2QuaWQgPSBzLmRlcGFydG1lbnRfaWQgV0hFUkUgcy5jb21wYW55X2lkPSN7Y29tcGFueUlkfSBhbmQgcy5zdGF0dXMgaW4gKDEsMikgYW5kIHMuY3JlYXRlX2RhdGUgYmV0d2VlbiAgI3txdWVyeURheUJlZ2lufSBBTkQgI3txdWVyeURheUVuZH0gYW5kIHNkLm9yZ05vIGxpa2UgY29uY2F0KCN7Y3VycmVudERlcGFydG1lbnRFaWRPcmd9LCclJykpIGNjIGdyb3VwIGJ5IHR5cGUgKSkgaW5mbyBncm91cCBieSBpbmZvLnR5cGU=');
INSERT INTO `b_analysis_sql` VALUES (327, 'power_seal_type_used_count_department', NULL, '印章类型下印章申请及盖章次数', 'U0VMRUNUIFNVTSggaW5mby5hcHBseSApIFZBTFVFLFNVTSggaW5mby51c2VkICkgc3RyVmFsdWUsdHlwZSBsYWJlbCBGUk9NICgoU0VMRUNUIFNVTSggYXBwbHlfY291bnQgKSBhcHBseSxTVU0oIHVzZWRfY291bnQgKSB1c2VkLHR5cGUgZnJvbSAoc2VsZWN0IGFwcGx5X2NvdW50LHVzZWRfY291bnQsKCBTRUxFQ1Qgc2VhbF90eXBlIEZST00gc2VhbF9iYXNlIFdIRVJFIGlkID0gc2VhbF9pZCApIHR5cGUgZnJvbSBiX3VzZWRfc2VhbF9zdGF0dXMgcyBsZWZ0IGpvaW4gc3lzX2RlcGFydG1lbnQgc2Qgb24gc2QuaWQgPSBzLmRlcGFydG1lbnRfaWQgV0hFUkUgcy5jb21wYW55X2lkPSN7Y29tcGFueUlkfSBhbmQgcy5zdGF0dXMgaW4gKDEsMikgYW5kIHMuY3JlYXRlX2RhdGUgYmV0d2VlbiAgI3txdWVyeURheUJlZ2lufSBBTkQgI3txdWVyeURheUVuZH0gQU5EIHNkLm9yZ05vID0je2N1cnJlbnRVc2VyT3JnTm99KSBjYyBncm91cCBieSB0eXBlICkpIGluZm8gZ3JvdXAgYnkgaW5mby50eXBl');
INSERT INTO `b_analysis_sql` VALUES (328, 'power_seal_type_used_count_department_son', NULL, '印章类型下印章申请及盖章次数', 'U0VMRUNUIFNVTSggaW5mby5hcHBseSApIFZBTFVFLFNVTSggaW5mby51c2VkICkgc3RyVmFsdWUsdHlwZSBsYWJlbCBGUk9NICgoU0VMRUNUIFNVTSggYXBwbHlfY291bnQgKSBhcHBseSxTVU0oIHVzZWRfY291bnQgKSB1c2VkLHR5cGUgZnJvbSAoc2VsZWN0IGFwcGx5X2NvdW50LHVzZWRfY291bnQsKCBTRUxFQ1Qgc2VhbF90eXBlIEZST00gc2VhbF9iYXNlIFdIRVJFIGlkID0gc2VhbF9pZCApIHR5cGUgZnJvbSBiX3VzZWRfc2VhbF9zdGF0dXMgcyBsZWZ0IGpvaW4gc3lzX2RlcGFydG1lbnQgc2Qgb24gc2QuaWQgPSBzLmRlcGFydG1lbnRfaWQgV0hFUkUgcy5jb21wYW55X2lkPSN7Y29tcGFueUlkfSBhbmQgcy5zdGF0dXMgaW4gKDEsMikgYW5kIHMuY3JlYXRlX2RhdGUgYmV0d2VlbiAgI3txdWVyeURheUJlZ2lufSBBTkQgI3txdWVyeURheUVuZH0gQU5EIHNkLm9yZ05vIGxpa2UgI3tjdXJyZW50VXNlck9yZ05vfSBhbmQgc2QuZWlkID0gI3tjdXJyZW50RGVwYXJ0bWVudEVpZH0gKSBjYyBncm91cCBieSB0eXBlICkpIGluZm8gZ3JvdXAgYnkgaW5mby50eXBl');
INSERT INTO `b_analysis_sql` VALUES (329, 'power_seal_type_used_count_user', NULL, '印章类型下印章申请及盖章次数', 'U0VMRUNUIFNVTShpbmZvLmFwcGx5KSB2YWx1ZSxTVU0oaW5mby51c2VkKSBzdHJWYWx1ZSx0eXBlIGxhYmVsIGZyb20oU0VMRUNUIFNVTShhcHBseV9jb3VudCkgYXBwbHksU1VNKHVzZWRfY291bnQpIHVzZWQsKFNFTEVDVCBzZWFsX3R5cGUgRlJPTSBzZWFsX2Jhc2UgV0hFUkUgaWQgPSBzLnNlYWxfaWQpIHR5cGUgRlJPTSBiX3VzZWRfc2VhbF9zdGF0dXMgcyB3aGVyZSBzLmNvbXBhbnlfaWQ9I3tjb21wYW55SWR9IGFuZCBzLnN0YXR1cyBpbiAoMSwyKSBhbmQgcy5jcmVhdGVfZGF0ZSBiZXR3ZWVuICAje3F1ZXJ5RGF5QmVnaW59IEFORCAje3F1ZXJ5RGF5RW5kfSBBTkQgcy5jcmVhdG9yPSN7Y3VycmVudFVzZXJJZH0gIEdST1VQIEJZIHR5cGUpaW5mbyBHUk9VUCBCWSBpbmZvLnR5cGU=');
INSERT INTO `b_analysis_sql` VALUES (330, 'power_seal_type_user', NULL, '印章分类，本人', 'U0VMRUNUICBzZWFsX3R5cGUgbGFiZWwsQ09VTlQoMSkgdmFsdWUgRlJPTSBzZWFsX2Jhc2UgV0hFUkUgc2VhbF9zdGF0dXMgaW4gKDAsMSkgQU5EIGNvbXBhbnlfaWQ9I3tjb21wYW55SWR9IEFORCBhZG1pbl9pZD0je2N1cnJlbnRVc2VySWR9IEdST1VQIEJZIHNlYWxfdHlwZQ==');
INSERT INTO `b_analysis_sql` VALUES (331, 'power_used_seal_address_all', NULL, '盖章地址分布，全部', 'U0VMRUNUIGkucHJvdmluY2UgbGFiZWwsQ09VTlQoMSkgdmFsdWUgRlJPTSB3X3dvcmtmbG93X2FwcGx5IGEgaW5uZXIgSk9JTiBiX3VzZWRfc2VhbF9pbmZvIGkgT04gaS5mb3JtX2lkPWEuaWQgV0hFUkUgYS5jb21wYW55X2lkPSN7Y29tcGFueUlkfSBHUk9VUCBCWSBwcm92aW5jZQ==');
INSERT INTO `b_analysis_sql` VALUES (332, 'power_used_seal_address_company', NULL, '盖章地址分布', 'U0VMRUNUIGkucHJvdmluY2UgbGFiZWwsQ09VTlQoMSkgdmFsdWUgRlJPTSB3X3dvcmtmbG93X2FwcGx5IGEgaW5uZXIgSk9JTiBiX3VzZWRfc2VhbF9pbmZvIGkgT04gaS5mb3JtX2lkPWEuaWQgbGVmdCBqb2luIHN5c19kZXBhcnRtZW50IHNkIG9uIHNkLmlkID0gYS5kZXBhcnRtZW50X2lkIFdIRVJFIGEuY29tcGFueV9pZD0je2NvbXBhbnlJZH0gYW5kIHNkLm9yZ05vIGxpa2UgY29uY2F0KCN7Y3VycmVudERlcGFydG1lbnRFaWRPcmd9LCclJykgYW5kIHNkLmVpZCA9ICN7Y3VycmVudERlcGFydG1lbnRFaWR9IEdST1VQIEJZIHByb3ZpbmNl');
INSERT INTO `b_analysis_sql` VALUES (333, 'power_used_seal_address_company_son', NULL, '盖章地址分布', 'U0VMRUNUIGkucHJvdmluY2UgbGFiZWwsQ09VTlQoMSkgdmFsdWUgRlJPTSB3X3dvcmtmbG93X2FwcGx5IGEgaW5uZXIgSk9JTiBiX3VzZWRfc2VhbF9pbmZvIGkgT04gaS5mb3JtX2lkPWEuaWQgbGVmdCBqb2luIHN5c19kZXBhcnRtZW50IHNkIG9uIHNkLmlkID0gYS5kZXBhcnRtZW50X2lkIFdIRVJFIGEuY29tcGFueV9pZD0je2NvbXBhbnlJZH0gYW5kIHNkLm9yZ05vIGxpa2UgY29uY2F0KCN7Y3VycmVudERlcGFydG1lbnRFaWRPcmd9LCclJykgR1JPVVAgQlkgcHJvdmluY2U=');
INSERT INTO `b_analysis_sql` VALUES (334, 'power_used_seal_address_department', NULL, '盖章地址分布，本部门', 'U0VMRUNUIGkucHJvdmluY2UgbGFiZWwsQ09VTlQoMSkgdmFsdWUgRlJPTSB3X3dvcmtmbG93X2FwcGx5IGEgaW5uZXIgSk9JTiBiX3VzZWRfc2VhbF9pbmZvIGkgT04gaS5mb3JtX2lkPWEuaWQgbGVmdCBqb2luIHN5c19kZXBhcnRtZW50IHNkIG9uIHNkLmlkID0gYS5kZXBhcnRtZW50X2lkIFdIRVJFIGEuY29tcGFueV9pZD0je2NvbXBhbnlJZH0gYW5kIHNkLm9yZ05vID0je2N1cnJlbnRVc2VyT3JnTm99IEdST1VQIEJZIHByb3ZpbmNl');
INSERT INTO `b_analysis_sql` VALUES (335, 'power_used_seal_address_department_son', NULL, '盖章地址分布，本部门及下属部门', 'U0VMRUNUIGkucHJvdmluY2UgbGFiZWwsQ09VTlQoMSkgdmFsdWUgRlJPTSB3X3dvcmtmbG93X2FwcGx5IGEgaW5uZXIgSk9JTiBiX3VzZWRfc2VhbF9pbmZvIGkgT04gaS5mb3JtX2lkPWEuaWQgbGVmdCBqb2luIHN5c19kZXBhcnRtZW50IHNkIG9uIHNkLmlkID0gYS5kZXBhcnRtZW50X2lkIFdIRVJFIGEuY29tcGFueV9pZD0je2NvbXBhbnlJZH0gYW5kIHNkLm9yZ05vIGxpa2UgY29uY2F0KCN7Y3VycmVudFVzZXJPcmdOb30sJyUnKSBhbmQgc2QuZWlkID0gI3tjdXJyZW50RGVwYXJ0bWVudEVpZH0gR1JPVVAgQlkgcHJvdmluY2U=');
INSERT INTO `b_analysis_sql` VALUES (336, 'power_used_seal_address_user', NULL, '盖章地址分布，本人', 'U0VMRUNUIGkucHJvdmluY2UgbGFiZWwsQ09VTlQoMSkgdmFsdWUgRlJPTSB3X3dvcmtmbG93X2FwcGx5IGEgaW5uZXIgSk9JTiBiX3VzZWRfc2VhbF9pbmZvIGkgT04gaS5mb3JtX2lkPWEuaWQgV0hFUkUgYS5jb21wYW55X2lkPSN7Y29tcGFueUlkfSBBTkQgYS5jcmVhdG9yPSN7Y3VycmVudFVzZXJJZH0gIEdST1VQIEJZIHByb3ZpbmNl');
INSERT INTO `b_analysis_sql` VALUES (337, 'power_work_apply_count_by_department_all', NULL, '部门流程申请数', 'U0VMRUNUIENPVU5UKDEpIHZhbHVlLChTRUxFQ1QgbmFtZSBGUk9NIHN5c19kZXBhcnRtZW50IGQgV0hFUkUgZC5jb21wYW55X2lkPSN7Y29tcGFueUlkfSBBTkQgZC5pZD13b3JrZmxvdy5kZXBhcnRtZW50X2lkKSBsYWJlbCBGUk9NIChTRUxFQ1Qgcy53b3JrZmxvd19hcHBseUlELHMuZGVwYXJ0bWVudF9pZCBGUk9NIGJfdXNlZF9zZWFsX3N0YXR1cyBzIHdoZXJlIHMuY29tcGFueV9pZD0je2NvbXBhbnlJZH0gYW5kIHMuc3RhdHVzIGluICgxLDIpIGFuZCBzLmNyZWF0ZV9kYXRlIGJldHdlZW4gICN7cXVlcnlEYXlCZWdpbn0gQU5EICN7cXVlcnlEYXlFbmR9IEdST1VQIEJZIHMud29ya2Zsb3dfYXBwbHlJRCxzLmRlcGFydG1lbnRfaWQpIHdvcmtmbG93IEdST1VQIEJZIHdvcmtmbG93LmRlcGFydG1lbnRfaWQ=');
INSERT INTO `b_analysis_sql` VALUES (338, 'power_work_apply_count_by_department_company', NULL, '部门流程申请数', 'U0VMRUNUIENPVU5UKDEpIHZhbHVlLChTRUxFQ1QgbmFtZSBGUk9NIHN5c19kZXBhcnRtZW50IGQgV0hFUkUgZC5jb21wYW55X2lkPSN7Y29tcGFueUlkfSBBTkQgZC5pZD13b3JrZmxvdy5kZXBhcnRtZW50X2lkKSBsYWJlbCBGUk9NIChTRUxFQ1Qgcy53b3JrZmxvd19hcHBseUlELHMuZGVwYXJ0bWVudF9pZCBGUk9NIGJfdXNlZF9zZWFsX3N0YXR1cyBzIGxlZnQgam9pbiBzeXNfZGVwYXJ0bWVudCBzZCBvbiBzZC5pZCA9IHMuZGVwYXJ0bWVudF9pZCB3aGVyZSBzLmNvbXBhbnlfaWQ9I3tjb21wYW55SWR9IGFuZCBzLnN0YXR1cyBpbiAoMSwyKSBhbmQgcy5jcmVhdGVfZGF0ZSBiZXR3ZWVuICAje3F1ZXJ5RGF5QmVnaW59IEFORCAje3F1ZXJ5RGF5RW5kfSAgQU5EIHNkLm9yZ05vIGxpa2UgY29uY2F0KCN7Y3VycmVudERlcGFydG1lbnRFaWRPcmd9LCclJykgYW5kIHNkLmVpZCA9ICN7Y3VycmVudERlcGFydG1lbnRFaWR9ICBHUk9VUCBCWSBzLndvcmtmbG93X2FwcGx5SUQscy5kZXBhcnRtZW50X2lkKSB3b3JrZmxvdyBHUk9VUCBCWSB3b3JrZmxvdy5kZXBhcnRtZW50X2lk');
INSERT INTO `b_analysis_sql` VALUES (339, 'power_work_apply_count_by_department_company_son', NULL, '部门流程申请数', 'U0VMRUNUIENPVU5UKDEpIHZhbHVlLChTRUxFQ1QgbmFtZSBGUk9NIHN5c19kZXBhcnRtZW50IGQgV0hFUkUgZC5jb21wYW55X2lkPSN7Y29tcGFueUlkfSBBTkQgZC5pZD13b3JrZmxvdy5kZXBhcnRtZW50X2lkKSBsYWJlbCBGUk9NIChTRUxFQ1Qgcy53b3JrZmxvd19hcHBseUlELHMuZGVwYXJ0bWVudF9pZCBGUk9NIGJfdXNlZF9zZWFsX3N0YXR1cyBzIGxlZnQgam9pbiBzeXNfZGVwYXJ0bWVudCBzZCBvbiBzZC5pZCA9IHMuZGVwYXJ0bWVudF9pZCB3aGVyZSBzLmNvbXBhbnlfaWQ9I3tjb21wYW55SWR9IGFuZCBzLnN0YXR1cyBpbiAoMSwyKSBhbmQgcy5jcmVhdGVfZGF0ZSBiZXR3ZWVuICAje3F1ZXJ5RGF5QmVnaW59IEFORCAje3F1ZXJ5RGF5RW5kfSAgQU5EIHNkLm9yZ05vIGxpa2UgY29uY2F0KCN7Y3VycmVudERlcGFydG1lbnRFaWRPcmd9LCclJykgR1JPVVAgQlkgcy53b3JrZmxvd19hcHBseUlELHMuZGVwYXJ0bWVudF9pZCkgd29ya2Zsb3cgR1JPVVAgQlkgd29ya2Zsb3cuZGVwYXJ0bWVudF9pZA==');
INSERT INTO `b_analysis_sql` VALUES (340, 'power_work_apply_count_by_department_department', NULL, '部门流程申请数', 'U0VMRUNUIENPVU5UKDEpIHZhbHVlLChTRUxFQ1QgbmFtZSBGUk9NIHN5c19kZXBhcnRtZW50IGQgV0hFUkUgZC5jb21wYW55X2lkPSN7Y29tcGFueUlkfSBBTkQgZC5pZD13b3JrZmxvdy5kZXBhcnRtZW50X2lkIGFuZCBkLm9yZ05vID0gI3tjdXJyZW50VXNlck9yZ05vfSkgbGFiZWwgRlJPTSAoU0VMRUNUIHMud29ya2Zsb3dfYXBwbHlJRCxzLmRlcGFydG1lbnRfaWQgRlJPTSBiX3VzZWRfc2VhbF9zdGF0dXMgcyBsZWZ0IGpvaW4gc3lzX2RlcGFydG1lbnQgc2Qgb24gc2QuaWQgPSBzLmRlcGFydG1lbnRfaWQgd2hlcmUgcy5jb21wYW55X2lkPSN7Y29tcGFueUlkfSBhbmQgcy5zdGF0dXMgaW4gKDEsMikgYW5kIHMuY3JlYXRlX2RhdGUgYmV0d2VlbiAgI3txdWVyeURheUJlZ2lufSBBTkQgI3txdWVyeURheUVuZH0gIEFORCBzZC5vcmdObyA9I3tjdXJyZW50VXNlck9yZ05vfSAgR1JPVVAgQlkgcy53b3JrZmxvd19hcHBseUlELHMuZGVwYXJ0bWVudF9pZCkgd29ya2Zsb3cgR1JPVVAgQlkgd29ya2Zsb3cuZGVwYXJ0bWVudF9pZA==');
INSERT INTO `b_analysis_sql` VALUES (341, 'power_work_apply_count_by_department_department_son', NULL, '部门流程申请数', 'U0VMRUNUIENPVU5UKDEpIHZhbHVlLChTRUxFQ1QgbmFtZSBGUk9NIHN5c19kZXBhcnRtZW50IGQgV0hFUkUgZC5jb21wYW55X2lkPSN7Y29tcGFueUlkfSBBTkQgZC5pZD13b3JrZmxvdy5kZXBhcnRtZW50X2lkKSBsYWJlbCBGUk9NIChTRUxFQ1Qgcy53b3JrZmxvd19hcHBseUlELHMuZGVwYXJ0bWVudF9pZCBGUk9NIGJfdXNlZF9zZWFsX3N0YXR1cyBzIGxlZnQgam9pbiBzeXNfZGVwYXJ0bWVudCBzZCBvbiBzZC5pZCA9IHMuZGVwYXJ0bWVudF9pZCB3aGVyZSBzLmNvbXBhbnlfaWQ9I3tjb21wYW55SWR9IGFuZCBzLnN0YXR1cyBpbiAoMSwyKSBhbmQgcy5jcmVhdGVfZGF0ZSBiZXR3ZWVuICAje3F1ZXJ5RGF5QmVnaW59IEFORCAje3F1ZXJ5RGF5RW5kfSAgQU5EIHNkLm9yZ05vIGxpa2UgY29uY2F0KCN7Y3VycmVudFVzZXJPcmdOb30sJyUnKSBhbmQgc2QuZWlkID0gI3tjdXJyZW50RGVwYXJ0bWVudEVpZH0gIEdST1VQIEJZIHMud29ya2Zsb3dfYXBwbHlJRCxzLmRlcGFydG1lbnRfaWQpIHdvcmtmbG93IEdST1VQIEJZIHdvcmtmbG93LmRlcGFydG1lbnRfaWQ=');
INSERT INTO `b_analysis_sql` VALUES (342, 'power_work_apply_count_by_department_user', NULL, '部门流程申请数', 'U0VMRUNUIENPVU5UKDEpIHZhbHVlLChTRUxFQ1QgbmFtZSBGUk9NIHN5c19kZXBhcnRtZW50IGQgV0hFUkUgZC5jb21wYW55X2lkPSN7Y29tcGFueUlkfSBBTkQgZC5pZD13b3JrZmxvdy5kZXBhcnRtZW50X2lkKSBsYWJlbCBGUk9NIChTRUxFQ1Qgcy53b3JrZmxvd19hcHBseUlELHMuZGVwYXJ0bWVudF9pZCBGUk9NIGJfdXNlZF9zZWFsX3N0YXR1cyBzIHdoZXJlIHMuY29tcGFueV9pZD0je2NvbXBhbnlJZH0gYW5kIHMuc3RhdHVzIGluICgxLDIpIGFuZCBzLmNyZWF0ZV9kYXRlIGJldHdlZW4gICN7cXVlcnlEYXlCZWdpbn0gQU5EICN7cXVlcnlEYXlFbmR9ICBBTkQgcy5jcmVhdG9yPSN7Y3VycmVudFVzZXJJZH0gR1JPVVAgQlkgcy53b3JrZmxvd19hcHBseUlELHMuZGVwYXJ0bWVudF9pZCkgd29ya2Zsb3cgR1JPVVAgQlkgd29ya2Zsb3cuZGVwYXJ0bWVudF9pZA==');
INSERT INTO `b_analysis_sql` VALUES (343, 'power_work_apply_count_by_seal_type_all', NULL, '印章类型的流程申请数', 'U0VMRUNUIFNVTShpbmZvLmNvdW50KSB2YWx1ZSx0eXBlIGxhYmVsIGZyb20oU0VMRUNUIGNvdW50KDEpIGNvdW50LChTRUxFQ1Qgc2VhbF90eXBlIEZST00gc2VhbF9iYXNlIFdIRVJFIGlkPXNlYWxfaWQpIHR5cGUgRlJPTSBiX3VzZWRfc2VhbF9zdGF0dXMgcyB3aGVyZSBzLmNvbXBhbnlfaWQ9I3tjb21wYW55SWR9IGFuZCBzLnN0YXR1cyBpbiAoMSwyKSBhbmQgcy5jcmVhdGVfZGF0ZSBiZXR3ZWVuICAje3F1ZXJ5RGF5QmVnaW59IEFORCAje3F1ZXJ5RGF5RW5kfSAgR1JPVVAgQlkgdHlwZSlpbmZvIEdST1VQIEJZIGluZm8udHlwZQ==');
INSERT INTO `b_analysis_sql` VALUES (344, 'power_work_apply_count_by_seal_type_company', NULL, '印章类型的流程申请数', 'U0VMRUNUIFNVTSggaW5mby5jb3VudCApIFZBTFVFLHR5cGUgbGFiZWwgRlJPTSAoKFNFTEVDVCBjb3VudCgxKSBjb3VudCx0eXBlIGZyb20gKHNlbGVjdCAoIFNFTEVDVCBzZWFsX3R5cGUgRlJPTSBzZWFsX2Jhc2UgV0hFUkUgaWQgPSBzZWFsX2lkICkgdHlwZSBmcm9tIGJfdXNlZF9zZWFsX3N0YXR1cyBzIGxlZnQgam9pbiBzeXNfZGVwYXJ0bWVudCBzZCBvbiBzZC5pZCA9IHMuZGVwYXJ0bWVudF9pZCBXSEVSRSBzLmNvbXBhbnlfaWQ9I3tjb21wYW55SWR9IGFuZCBzLnN0YXR1cyBpbiAoMSwyKSBhbmQgcy5jcmVhdGVfZGF0ZSBiZXR3ZWVuICAje3F1ZXJ5RGF5QmVnaW59IEFORCAje3F1ZXJ5RGF5RW5kfSBBTkQgc2Qub3JnTm8gbGlrZSBjb25jYXQoI3tjdXJyZW50RGVwYXJ0bWVudEVpZE9yZ30sJyUnKSBhbmQgc2QuZWlkID0gI3tjdXJyZW50RGVwYXJ0bWVudEVpZH0pIGNjIGdyb3VwIGJ5IHR5cGUgKSkgaW5mbyBncm91cCBieSBpbmZvLnR5cGU=');
INSERT INTO `b_analysis_sql` VALUES (345, 'power_work_apply_count_by_seal_type_company_son', NULL, '印章类型的流程申请数', 'U0VMRUNUIFNVTSggaW5mby5jb3VudCApIFZBTFVFLHR5cGUgbGFiZWwgRlJPTSAoKFNFTEVDVCBjb3VudCgxKSBjb3VudCx0eXBlIGZyb20gKHNlbGVjdCAoIFNFTEVDVCBzZWFsX3R5cGUgRlJPTSBzZWFsX2Jhc2UgV0hFUkUgaWQgPSBzZWFsX2lkICkgdHlwZSBmcm9tIGJfdXNlZF9zZWFsX3N0YXR1cyBzIGxlZnQgam9pbiBzeXNfZGVwYXJ0bWVudCBzZCBvbiBzZC5pZCA9IHMuZGVwYXJ0bWVudF9pZCBXSEVSRSBzLmNvbXBhbnlfaWQ9I3tjb21wYW55SWR9IGFuZCBzLnN0YXR1cyBpbiAoMSwyKSBhbmQgcy5jcmVhdGVfZGF0ZSBiZXR3ZWVuICAje3F1ZXJ5RGF5QmVnaW59IEFORCAje3F1ZXJ5RGF5RW5kfSBBTkQgc2Qub3JnTm8gbGlrZSBjb25jYXQoI3tjdXJyZW50RGVwYXJ0bWVudEVpZE9yZ30sJyUnKSkgY2MgZ3JvdXAgYnkgdHlwZSApKSBpbmZvIGdyb3VwIGJ5IGluZm8udHlwZQ==');
INSERT INTO `b_analysis_sql` VALUES (346, 'power_work_apply_count_by_seal_type_department', NULL, '印章类型的流程申请数', 'U0VMRUNUIFNVTSggaW5mby5jb3VudCApIFZBTFVFLHR5cGUgbGFiZWwgRlJPTSAoKFNFTEVDVCBjb3VudCgxKSBjb3VudCx0eXBlIGZyb20gKHNlbGVjdCAoIFNFTEVDVCBzZWFsX3R5cGUgRlJPTSBzZWFsX2Jhc2UgV0hFUkUgaWQgPSBzZWFsX2lkICkgdHlwZSBmcm9tIGJfdXNlZF9zZWFsX3N0YXR1cyBzIGxlZnQgam9pbiBzeXNfZGVwYXJ0bWVudCBzZCBvbiBzZC5pZCA9IHMuZGVwYXJ0bWVudF9pZCBXSEVSRSBzLmNvbXBhbnlfaWQ9I3tjb21wYW55SWR9IGFuZCBzLnN0YXR1cyBpbiAoMSwyKSBhbmQgcy5jcmVhdGVfZGF0ZSBiZXR3ZWVuICAje3F1ZXJ5RGF5QmVnaW59IEFORCAje3F1ZXJ5RGF5RW5kfSBBTkQgc2Qub3JnTm8gPSN7Y3VycmVudFVzZXJPcmdOb30pIGNjIGdyb3VwIGJ5IHR5cGUgKSkgaW5mbyBncm91cCBieSBpbmZvLnR5cGU=');
INSERT INTO `b_analysis_sql` VALUES (347, 'power_work_apply_count_by_seal_type_department_son', NULL, '印章类型的流程申请数', 'U0VMRUNUIFNVTSggaW5mby5jb3VudCApIFZBTFVFLHR5cGUgbGFiZWwgRlJPTSAoKFNFTEVDVCBjb3VudCgxKSBjb3VudCx0eXBlIGZyb20gKHNlbGVjdCAoIFNFTEVDVCBzZWFsX3R5cGUgRlJPTSBzZWFsX2Jhc2UgV0hFUkUgaWQgPSBzZWFsX2lkICkgdHlwZSBmcm9tIGJfdXNlZF9zZWFsX3N0YXR1cyBzIGxlZnQgam9pbiBzeXNfZGVwYXJ0bWVudCBzZCBvbiBzZC5pZCA9IHMuZGVwYXJ0bWVudF9pZCBXSEVSRSBzLmNvbXBhbnlfaWQ9I3tjb21wYW55SWR9IGFuZCBzLnN0YXR1cyBpbiAoMSwyKSBhbmQgcy5jcmVhdGVfZGF0ZSBiZXR3ZWVuICAje3F1ZXJ5RGF5QmVnaW59IEFORCAje3F1ZXJ5RGF5RW5kfSBBTkQgc2Qub3JnTm8gbGlrZSBjb25jYXQoI3tjdXJyZW50VXNlck9yZ05vfSwnJScpIGFuZCBzZC5laWQgPSAje2N1cnJlbnREZXBhcnRtZW50RWlkfSkgY2MgZ3JvdXAgYnkgdHlwZSApKSBpbmZvIGdyb3VwIGJ5IGluZm8udHlwZQ==');
INSERT INTO `b_analysis_sql` VALUES (348, 'power_work_apply_count_by_seal_type_user', NULL, '印章类型的流程申请数', 'U0VMRUNUIFNVTShpbmZvLmNvdW50KSB2YWx1ZSx0eXBlIGxhYmVsIGZyb20oU0VMRUNUIGNvdW50KDEpIGNvdW50LChTRUxFQ1Qgc2VhbF90eXBlIEZST00gc2VhbF9iYXNlIFdIRVJFIGlkPXNlYWxfaWQpIHR5cGUgRlJPTSBiX3VzZWRfc2VhbF9zdGF0dXMgcyB3aGVyZSBzLmNvbXBhbnlfaWQ9I3tjb21wYW55SWR9IGFuZCBzLnN0YXR1cyBpbiAoMSwyKSBhbmQgcy5jcmVhdGVfZGF0ZSBiZXR3ZWVuICAje3F1ZXJ5RGF5QmVnaW59IEFORCAje3F1ZXJ5RGF5RW5kfSBBTkQgcy5jcmVhdG9yPSN7Y3VycmVudFVzZXJJZH0gIEdST1VQIEJZIHR5cGUpaW5mbyBHUk9VUCBCWSBpbmZvLnR5cGU=');
INSERT INTO `b_analysis_sql` VALUES (349, 'power_work_flow_apply_count_all', NULL, '流程申请数', 'U0VMRUNUIGEuZCBsYWJlbCxDT1VOVCgxKSBWQUxVRSBGUk9NICggU0VMRUNUIERBVEVfRk9STUFUKGEuY3JlYXRlX2RhdGUsICN7Zm9ybWF0fSkgZCBGUk9NIHdfd29ya2Zsb3dfYXBwbHkgYSAgV0hFUkUgYS5jb21wYW55X2lkID0je2NvbXBhbnlJZH0gQU5EIGEuZm9ybV90eXBlPTIgQU5EIGEuU1RBVFVTIT0wICBhbmQgYS5jcmVhdGVfZGF0ZSBCRVRXRUVOICN7cXVlcnlEYXlCZWdpbn0gQU5EICN7cXVlcnlEYXlFbmR9IClhIEdST1VQIEJZIGEuZCBPUkRFUiBCWSBhLmQ=');
INSERT INTO `b_analysis_sql` VALUES (350, 'power_work_flow_apply_count_company', NULL, '流程申请数', 'U0VMRUNUIGEuZCBsYWJlbCxDT1VOVCgxKSBWQUxVRSBGUk9NICggU0VMRUNUIERBVEVfRk9STUFUKGEuY3JlYXRlX2RhdGUsICN7Zm9ybWF0fSkgZCBGUk9NIHdfd29ya2Zsb3dfYXBwbHkgYSAgbGVmdCBqb2luIHN5c19kZXBhcnRtZW50IHNkIG9uIHNkLmlkID0gYS5kZXBhcnRtZW50X2lkIFdIRVJFIGEuY29tcGFueV9pZCA9I3tjb21wYW55SWR9IEFORCBhLmZvcm1fdHlwZT0yIEFORCBhLlNUQVRVUyE9MCAgYW5kIGEuY3JlYXRlX2RhdGUgQkVUV0VFTiAje3F1ZXJ5RGF5QmVnaW59IEFORCAje3F1ZXJ5RGF5RW5kfSBhbmQgc2Qub3JnTm8gbGlrZSBjb25jYXQoI3tjdXJyZW50RGVwYXJ0bWVudEVpZE9yZ30sJyUnKSBhbmQgc2QuZWlkID0gI3tjdXJyZW50RGVwYXJ0bWVudEVpZH0gKWEgR1JPVVAgQlkgYS5kIE9SREVSIEJZIGEuZA==');
INSERT INTO `b_analysis_sql` VALUES (351, 'power_work_flow_apply_count_company_son', NULL, '流程申请数', 'U0VMRUNUIGEuZCBsYWJlbCxDT1VOVCgxKSBWQUxVRSBGUk9NICggU0VMRUNUIERBVEVfRk9STUFUKGEuY3JlYXRlX2RhdGUsICN7Zm9ybWF0fSkgZCBGUk9NIHdfd29ya2Zsb3dfYXBwbHkgYSBsZWZ0IGpvaW4gc3lzX2RlcGFydG1lbnQgc2Qgb24gc2QuaWQgPSBhLmRlcGFydG1lbnRfaWQgV0hFUkUgYS5jb21wYW55X2lkID0je2NvbXBhbnlJZH0gQU5EIGEuZm9ybV90eXBlPTIgQU5EIGEuU1RBVFVTIT0wICBhbmQgYS5jcmVhdGVfZGF0ZSBCRVRXRUVOICN7cXVlcnlEYXlCZWdpbn0gQU5EICN7cXVlcnlEYXlFbmR9ICBhbmQgIHNkLm9yZ05vIGxpa2UgY29uY2F0KCN7Y3VycmVudERlcGFydG1lbnRFaWRPcmd9LCclJykgKWEgR1JPVVAgQlkgYS5kIE9SREVSIEJZIGEuZA==');
INSERT INTO `b_analysis_sql` VALUES (352, 'power_work_flow_apply_count_department', NULL, '流程申请数', 'U0VMRUNUIGEuZCBsYWJlbCxDT1VOVCgxKSBWQUxVRSBGUk9NICggU0VMRUNUIERBVEVfRk9STUFUKGEuY3JlYXRlX2RhdGUsICN7Zm9ybWF0fSkgZCBGUk9NIHdfd29ya2Zsb3dfYXBwbHkgYSAgbGVmdCBqb2luIHN5c19kZXBhcnRtZW50IHNkIG9uIHNkLmlkID0gYS5kZXBhcnRtZW50X2lkIFdIRVJFIGEuY29tcGFueV9pZCA9I3tjb21wYW55SWR9IEFORCBhLmZvcm1fdHlwZT0yIEFORCBhLlNUQVRVUyE9MCAgYW5kIGEuY3JlYXRlX2RhdGUgQkVUV0VFTiAje3F1ZXJ5RGF5QmVnaW59IEFORCAje3F1ZXJ5RGF5RW5kfSBhbmQgc2Qub3JnTm8gPSN7Y3VycmVudFVzZXJPcmdOb30gKWEgR1JPVVAgQlkgYS5kIE9SREVSIEJZIGEuZA==');
INSERT INTO `b_analysis_sql` VALUES (353, 'power_work_flow_apply_count_department_son', NULL, '流程申请数', 'U0VMRUNUIGEuZCBsYWJlbCxDT1VOVCgxKSBWQUxVRSBGUk9NICggU0VMRUNUIERBVEVfRk9STUFUKGEuY3JlYXRlX2RhdGUsICN7Zm9ybWF0fSkgZCBGUk9NIHdfd29ya2Zsb3dfYXBwbHkgYSBsZWZ0IGpvaW4gc3lzX2RlcGFydG1lbnQgc2Qgb24gc2QuaWQgPSBhLmRlcGFydG1lbnRfaWQgV0hFUkUgYS5jb21wYW55X2lkID0je2NvbXBhbnlJZH0gQU5EIGEuZm9ybV90eXBlPTIgQU5EIGEuU1RBVFVTIT0wICBhbmQgYS5jcmVhdGVfZGF0ZSBCRVRXRUVOICN7cXVlcnlEYXlCZWdpbn0gQU5EICN7cXVlcnlEYXlFbmR9ICBhbmQgIHNkLm9yZ05vIGxpa2UgY29uY2F0KCN7Y3VycmVudFVzZXJPcmdOb30sJyUnKSBhbmQgc2QuZWlkID0gI3tjdXJyZW50RGVwYXJ0bWVudEVpZH0gIClhIEdST1VQIEJZIGEuZCBPUkRFUiBCWSBhLmQ=');
INSERT INTO `b_analysis_sql` VALUES (354, 'power_work_flow_apply_count_user', NULL, '流程申请数', 'U0VMRUNUIGEuZCBsYWJlbCxDT1VOVCgxKSBWQUxVRSBGUk9NICggU0VMRUNUIERBVEVfRk9STUFUKGEuY3JlYXRlX2RhdGUsICN7Zm9ybWF0fSkgZCBGUk9NIHdfd29ya2Zsb3dfYXBwbHkgYSBXSEVSRSBhLmNvbXBhbnlfaWQgPSN7Y29tcGFueUlkfSBBTkQgYS5mb3JtX3R5cGU9MiBBTkQgYS5TVEFUVVMhPTAgIGFuZCBhLmNyZWF0ZV9kYXRlIEJFVFdFRU4gI3txdWVyeURheUJlZ2lufSBBTkQgI3txdWVyeURheUVuZH0gYW5kICBhLmNyZWF0b3I9I3tjdXJyZW50VXNlcklkfSApYSBHUk9VUCBCWSBhLmQgT1JERVIgQlkgYS5k');
INSERT INTO `b_analysis_sql` VALUES (355, 'power_work_flow_seal_used_all', NULL, '流程中印章使用率', 'U0VMRUNUIFNVTShpbmZvLmFwcGx5KSB2YWx1ZSxTVU0oaW5mby51c2VkKSBzdHJWYWx1ZSxkIGxhYmVsIGZyb20gKFNFTEVDVCBhcHBseV9jb3VudCBhcHBseSx1c2VkX2NvdW50IHVzZWQsREFURV9GT1JNQVQoY3JlYXRlX2RhdGUsJyVZLSVtLSVkJykgZCBGUk9NIGJfdXNlZF9zZWFsX3N0YXR1cyBzIHdoZXJlIHMuY29tcGFueV9pZD0je2NvbXBhbnlJZH0gYW5kIHMuc3RhdHVzIGluICgxLDIpIGFuZCBzLmNyZWF0ZV9kYXRlIGJldHdlZW4gICN7cXVlcnlEYXlCZWdpbn0gQU5EICN7cXVlcnlEYXlFbmR9ICApaW5mbyBHUk9VUCBCWSBpbmZvLmQgT1JERVIgQlkgaW5mby5k');
INSERT INTO `b_analysis_sql` VALUES (356, 'power_work_flow_seal_used_company', NULL, '流程中印章使用率', 'U0VMRUNUIFNVTShpbmZvLmFwcGx5KSB2YWx1ZSxTVU0oaW5mby51c2VkKSBzdHJWYWx1ZSxkIGxhYmVsIGZyb20gKFNFTEVDVCBhcHBseV9jb3VudCBhcHBseSx1c2VkX2NvdW50IHVzZWQsREFURV9GT1JNQVQoY3JlYXRlX2RhdGUsJyVZLSVtLSVkJykgZCBGUk9NIGJfdXNlZF9zZWFsX3N0YXR1cyBzICBsZWZ0IGpvaW4gc3lzX2RlcGFydG1lbnQgc2Qgb24gc2QuaWQgPSBzLmRlcGFydG1lbnRfaWQgd2hlcmUgcy5jb21wYW55X2lkPSN7Y29tcGFueUlkfSBhbmQgcy5zdGF0dXMgaW4gKDEsMikgYW5kIHMuY3JlYXRlX2RhdGUgYmV0d2VlbiAgI3txdWVyeURheUJlZ2lufSBBTkQgI3txdWVyeURheUVuZH0gQU5EIHNkLm9yZ05vIGxpa2UgY29uY2F0KCN7Y3VycmVudERlcGFydG1lbnRFaWRPcmd9LCclJykgYW5kIHNkLmVpZCA9ICN7Y3VycmVudERlcGFydG1lbnRFaWR9IClpbmZvIEdST1VQIEJZIGluZm8uZCBPUkRFUiBCWSBpbmZvLmQ=');
INSERT INTO `b_analysis_sql` VALUES (357, 'power_work_flow_seal_used_company_son', NULL, '流程中印章使用率', 'U0VMRUNUIFNVTShpbmZvLmFwcGx5KSB2YWx1ZSxTVU0oaW5mby51c2VkKSBzdHJWYWx1ZSxkIGxhYmVsIGZyb20gKFNFTEVDVCBhcHBseV9jb3VudCBhcHBseSx1c2VkX2NvdW50IHVzZWQsREFURV9GT1JNQVQoY3JlYXRlX2RhdGUsJyVZLSVtLSVkJykgZCBGUk9NIGJfdXNlZF9zZWFsX3N0YXR1cyBzICAgbGVmdCBqb2luIHN5c19kZXBhcnRtZW50IHNkIG9uIHNkLmlkID0gcy5kZXBhcnRtZW50X2lkIHdoZXJlIHMuY29tcGFueV9pZD0je2NvbXBhbnlJZH0gYW5kIHMuc3RhdHVzIGluICgxLDIpIGFuZCBzLmNyZWF0ZV9kYXRlIGJldHdlZW4gICN7cXVlcnlEYXlCZWdpbn0gQU5EICN7cXVlcnlEYXlFbmR9ICAgQU5EIHNkLm9yZ05vIGxpa2UgY29uY2F0KCN7Y3VycmVudERlcGFydG1lbnRFaWRPcmd9LCclJyl9IClpbmZvIEdST1VQIEJZIGluZm8uZCBPUkRFUiBCWSBpbmZvLmQ=');
INSERT INTO `b_analysis_sql` VALUES (358, 'power_work_flow_seal_used_department', NULL, '流程中印章使用率', 'U0VMRUNUIFNVTShpbmZvLmFwcGx5KSB2YWx1ZSxTVU0oaW5mby51c2VkKSBzdHJWYWx1ZSxkIGxhYmVsIGZyb20gKFNFTEVDVCBhcHBseV9jb3VudCBhcHBseSx1c2VkX2NvdW50IHVzZWQsREFURV9GT1JNQVQoY3JlYXRlX2RhdGUsJyVZLSVtLSVkJykgZCBGUk9NIGJfdXNlZF9zZWFsX3N0YXR1cyBzICBsZWZ0IGpvaW4gc3lzX2RlcGFydG1lbnQgc2Qgb24gc2QuaWQgPSBzLmRlcGFydG1lbnRfaWQgd2hlcmUgcy5jb21wYW55X2lkPSN7Y29tcGFueUlkfSBhbmQgcy5zdGF0dXMgaW4gKDEsMikgYW5kIHMuY3JlYXRlX2RhdGUgYmV0d2VlbiAgI3txdWVyeURheUJlZ2lufSBBTkQgI3txdWVyeURheUVuZH0gQU5EIHNkLm9yZ05vID0je2N1cnJlbnRVc2VyT3JnTm99IClpbmZvIEdST1VQIEJZIGluZm8uZCBPUkRFUiBCWSBpbmZvLmQ=');
INSERT INTO `b_analysis_sql` VALUES (359, 'power_work_flow_seal_used_department_son', NULL, '流程中印章使用率', 'U0VMRUNUIFNVTShpbmZvLmFwcGx5KSB2YWx1ZSxTVU0oaW5mby51c2VkKSBzdHJWYWx1ZSxkIGxhYmVsIGZyb20gKFNFTEVDVCBhcHBseV9jb3VudCBhcHBseSx1c2VkX2NvdW50IHVzZWQsREFURV9GT1JNQVQoY3JlYXRlX2RhdGUsJyVZLSVtLSVkJykgZCBGUk9NIGJfdXNlZF9zZWFsX3N0YXR1cyBzICAgbGVmdCBqb2luIHN5c19kZXBhcnRtZW50IHNkIG9uIHNkLmlkID0gcy5kZXBhcnRtZW50X2lkIHdoZXJlIHMuY29tcGFueV9pZD0je2NvbXBhbnlJZH0gYW5kIHMuc3RhdHVzIGluICgxLDIpIGFuZCBzLmNyZWF0ZV9kYXRlIGJldHdlZW4gICN7cXVlcnlEYXlCZWdpbn0gQU5EICN7cXVlcnlEYXlFbmR9ICAgIEFORCBzZC5vcmdObyBsaWtlIGNvbmNhdCgje2N1cnJlbnRVc2VyT3JnTm99LCclJykgYW5kIHNkLmVpZCA9ICN7Y3VycmVudERlcGFydG1lbnRFaWR9IClpbmZvIEdST1VQIEJZIGluZm8uZCBPUkRFUiBCWSBpbmZvLmQ=');
INSERT INTO `b_analysis_sql` VALUES (360, 'power_work_flow_seal_used_user', NULL, '流程中印章使用率', 'U0VMRUNUIFNVTShpbmZvLmFwcGx5KSB2YWx1ZSxTVU0oaW5mby51c2VkKSBzdHJWYWx1ZSxkIGxhYmVsIGZyb20gKFNFTEVDVCBhcHBseV9jb3VudCBhcHBseSx1c2VkX2NvdW50IHVzZWQsREFURV9GT1JNQVQoY3JlYXRlX2RhdGUsJyVZLSVtLSVkJykgZCBGUk9NIGJfdXNlZF9zZWFsX3N0YXR1cyBzIHdoZXJlIHMuY29tcGFueV9pZD0je2NvbXBhbnlJZH0gYW5kIHMuc3RhdHVzIGluICgxLDIpIGFuZCBzLmNyZWF0ZV9kYXRlIGJldHdlZW4gICN7cXVlcnlEYXlCZWdpbn0gQU5EICN7cXVlcnlEYXlFbmR9ICBBTkQgcy5jcmVhdG9yPSN7Y3VycmVudFVzZXJJZH0gIClpbmZvIEdST1VQIEJZIGluZm8uZCBPUkRFUiBCWSBpbmZvLmQ=');
INSERT INTO `b_analysis_sql` VALUES (361, 'power_work_flow_used_all', NULL, '流程使用率', 'U0VMRUNUIENPVU5UKDEpIHZhbHVlLHdvcmtmbG93LmQgbGFiZWwgRlJPTSAoU0VMRUNUIHMud29ya2Zsb3dfYXBwbHlJRCxEQVRFX0ZPUk1BVChzLmNyZWF0ZV9kYXRlLCN7Zm9ybWF0fSkgZCBGUk9NIGJfdXNlZF9zZWFsX3N0YXR1cyBzIFdIRVJFIHN0YXR1cyBpbiAoMSwyKSBhbmQgcy5jb21wYW55X2lkPSN7Y29tcGFueUlkfSAgYW5kIHMuY3JlYXRlX2RhdGUgYmV0d2VlbiAgI3txdWVyeURheUJlZ2lufSBBTkQgI3txdWVyeURheUVuZH0gR1JPVVAgQlkgcy53b3JrZmxvd19hcHBseUlELGQpIHdvcmtmbG93IEdST1VQIEJZIHdvcmtmbG93LmQgT1JERVIgQlkgd29ya2Zsb3cuZA==');
INSERT INTO `b_analysis_sql` VALUES (362, 'power_work_flow_used_company', NULL, '流程使用率', 'U0VMRUNUIENPVU5UKDEpIHZhbHVlLHdvcmtmbG93LmQgbGFiZWwgRlJPTSAoU0VMRUNUIHMud29ya2Zsb3dfYXBwbHlJRCxEQVRFX0ZPUk1BVChzLmNyZWF0ZV9kYXRlLCN7Zm9ybWF0fSkgZCBGUk9NIGJfdXNlZF9zZWFsX3N0YXR1cyBzIGxlZnQgam9pbiBzeXNfZGVwYXJ0bWVudCBzZCBvbiBzZC5pZCA9IHMuZGVwYXJ0bWVudF9pZCBXSEVSRSBzLnN0YXR1cyBpbiAoMSwyKSAgYW5kIHMuY29tcGFueV9pZD0je2NvbXBhbnlJZH0gIGFuZCBzLmNyZWF0ZV9kYXRlIGJldHdlZW4gICN7cXVlcnlEYXlCZWdpbn0gQU5EICN7cXVlcnlEYXlFbmR9ICBBTkQgc2Qub3JnTm8gbGlrZSBjb25jYXQoI3tjdXJyZW50RGVwYXJ0bWVudEVpZE9yZ30sJyUnKSBhbmQgc2QuZWlkID0gI3tjdXJyZW50RGVwYXJ0bWVudEVpZH0gR1JPVVAgQlkgcy53b3JrZmxvd19hcHBseUlELGQpIHdvcmtmbG93IEdST1VQIEJZIHdvcmtmbG93LmQgT1JERVIgQlkgd29ya2Zsb3cuZA==');
INSERT INTO `b_analysis_sql` VALUES (363, 'power_work_flow_used_company_son', NULL, '流程使用率', 'U0VMRUNUIENPVU5UKDEpIHZhbHVlLHdvcmtmbG93LmQgbGFiZWwgRlJPTSAoU0VMRUNUIHMud29ya2Zsb3dfYXBwbHlJRCxEQVRFX0ZPUk1BVChzLmNyZWF0ZV9kYXRlLCN7Zm9ybWF0fSkgZCBGUk9NIGJfdXNlZF9zZWFsX3N0YXR1cyBzIGxlZnQgam9pbiBzeXNfZGVwYXJ0bWVudCBzZCBvbiBzZC5pZCA9IHMuZGVwYXJ0bWVudF9pZCBXSEVSRSBzLnN0YXR1cyBpbiAoMSwyKSBhbmQgcy5jb21wYW55X2lkPSN7Y29tcGFueUlkfSAgYW5kIHMuY3JlYXRlX2RhdGUgYmV0d2VlbiAgI3txdWVyeURheUJlZ2lufSBBTkQgI3txdWVyeURheUVuZH0gIEFORCBzZC5vcmdObyBsaWtlIGNvbmNhdCgje2N1cnJlbnREZXBhcnRtZW50RWlkT3JnfSwnJScpIEdST1VQIEJZIHMud29ya2Zsb3dfYXBwbHlJRCxkKSB3b3JrZmxvdyBHUk9VUCBCWSB3b3JrZmxvdy5kIE9SREVSIEJZIHdvcmtmbG93LmQ=');
INSERT INTO `b_analysis_sql` VALUES (364, 'power_work_flow_used_department', NULL, '流程使用率', 'U0VMRUNUIENPVU5UKDEpIHZhbHVlLHdvcmtmbG93LmQgbGFiZWwgRlJPTSAoU0VMRUNUIHMud29ya2Zsb3dfYXBwbHlJRCxEQVRFX0ZPUk1BVChzLmNyZWF0ZV9kYXRlLCN7Zm9ybWF0fSkgZCBGUk9NIGJfdXNlZF9zZWFsX3N0YXR1cyBzIGxlZnQgam9pbiBzeXNfZGVwYXJ0bWVudCBzZCBvbiBzZC5pZCA9IHMuZGVwYXJ0bWVudF9pZCBXSEVSRSBzLnN0YXR1cyBpbiAoMSwyKSAgYW5kIHMuY29tcGFueV9pZD0je2NvbXBhbnlJZH0gIGFuZCBzLmNyZWF0ZV9kYXRlIGJldHdlZW4gICN7cXVlcnlEYXlCZWdpbn0gQU5EICN7cXVlcnlEYXlFbmR9ICBBTkQgc2Qub3JnTm8gPSN7Y3VycmVudFVzZXJPcmdOb30gR1JPVVAgQlkgcy53b3JrZmxvd19hcHBseUlELGQpIHdvcmtmbG93IEdST1VQIEJZIHdvcmtmbG93LmQgT1JERVIgQlkgd29ya2Zsb3cuZA==');
INSERT INTO `b_analysis_sql` VALUES (365, 'power_work_flow_used_department_son', NULL, '流程使用率', 'U0VMRUNUIENPVU5UKDEpIHZhbHVlLHdvcmtmbG93LmQgbGFiZWwgRlJPTSAoU0VMRUNUIHMud29ya2Zsb3dfYXBwbHlJRCxEQVRFX0ZPUk1BVChzLmNyZWF0ZV9kYXRlLCN7Zm9ybWF0fSkgZCBGUk9NIGJfdXNlZF9zZWFsX3N0YXR1cyBzIGxlZnQgam9pbiBzeXNfZGVwYXJ0bWVudCBzZCBvbiBzZC5pZCA9IHMuZGVwYXJ0bWVudF9pZCBXSEVSRSBzLnN0YXR1cyBpbiAoMSwyKSBhbmQgcy5jb21wYW55X2lkPSN7Y29tcGFueUlkfSAgYW5kIHMuY3JlYXRlX2RhdGUgYmV0d2VlbiAgI3txdWVyeURheUJlZ2lufSBBTkQgI3txdWVyeURheUVuZH0gIEFORCBzZC5vcmdObyBsaWtlIGNvbmNhdCgje2N1cnJlbnRVc2VyT3JnTm99LCclJykgYW5kIHNkLmVpZCA9ICN7Y3VycmVudERlcGFydG1lbnRFaWR9IEdST1VQIEJZIHMud29ya2Zsb3dfYXBwbHlJRCxkKSB3b3JrZmxvdyBHUk9VUCBCWSB3b3JrZmxvdy5kIE9SREVSIEJZIHdvcmtmbG93LmQ=');
INSERT INTO `b_analysis_sql` VALUES (366, 'power_work_flow_used_user', NULL, '流程使用率', 'U0VMRUNUIENPVU5UKDEpIHZhbHVlLHdvcmtmbG93LmQgbGFiZWwgRlJPTSAoU0VMRUNUIHMud29ya2Zsb3dfYXBwbHlJRCxEQVRFX0ZPUk1BVChzLmNyZWF0ZV9kYXRlLCN7Zm9ybWF0fSkgZCBGUk9NIGJfdXNlZF9zZWFsX3N0YXR1cyBzIFdIRVJFIHN0YXR1cyBpbiAoMSwyKSBhbmQgcy5jb21wYW55X2lkPSN7Y29tcGFueUlkfSAgYW5kIHMuY3JlYXRlX2RhdGUgYmV0d2VlbiAgI3txdWVyeURheUJlZ2lufSBBTkQgI3txdWVyeURheUVuZH0gIEFORCBzLmNyZWF0b3I9I3tjdXJyZW50VXNlcklkfSBHUk9VUCBCWSBzLndvcmtmbG93X2FwcGx5SUQsZCkgd29ya2Zsb3cgR1JPVVAgQlkgd29ya2Zsb3cuZCBPUkRFUiBCWSB3b3JrZmxvdy5k');

-- ----------------------------
-- Table structure for b_apply_seal_out
-- ----------------------------
DROP TABLE IF EXISTS `b_apply_seal_out`;
CREATE TABLE `b_apply_seal_out`  (
  `pid` int(10) NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `apply_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `seal_out_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  PRIMARY KEY (`pid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of b_apply_seal_out
-- ----------------------------

-- ----------------------------
-- Table structure for b_bill_rule
-- ----------------------------
DROP TABLE IF EXISTS `b_bill_rule`;
CREATE TABLE `b_bill_rule`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `bill_header` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '前段',
  `rule` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '规则',
  `table_type` int(2) NULL DEFAULT NULL COMMENT '应用名',
  `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业号',
  `header_text` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '头部描述',
  `current_no` int(10) NOT NULL COMMENT '当前号段',
  `rule_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '规则名称',
  `self_increment` tinyint(10) NOT NULL DEFAULT 0 COMMENT '是否自增(0为自增，1为不自增)',
  `starting_value` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '1' COMMENT '编号起始值',
  `available_status` tinyint(4) NOT NULL DEFAULT 1 COMMENT '启用标志，0:未启用，1：启用',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 25 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of b_bill_rule
-- ----------------------------
INSERT INTO `b_bill_rule` VALUES (19, '1', NULL, 'yyyyMMdd', 1, '2018-12-10 00:00:00', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 'KZ', 1, '刻章编号', 0, '1', 1);
INSERT INTO `b_bill_rule` VALUES (20, '2', NULL, 'yyyyMMdd', 2, '2018-12-10 00:00:00', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 'YY', 1, '用印编号', 0, '1', 1);
INSERT INTO `b_bill_rule` VALUES (21, '3', NULL, 'yyyyMMdd', 3, '2018-12-10 00:00:00', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 'BG', 1, '变更编号', 0, '1', 1);
INSERT INTO `b_bill_rule` VALUES (22, '4', NULL, 'yyyyMMdd', 4, '2018-12-10 00:00:00', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 'LY', 1, '移交编号', 0, '1', 1);
INSERT INTO `b_bill_rule` VALUES (23, '5', NULL, 'yyyyMMdd', 5, '2018-12-10 00:00:00', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 'HZ', 1, '换章编号', 0, '1', 1);
INSERT INTO `b_bill_rule` VALUES (24, 'd0a7afd4-9efe-11ea-9a9c-e454e8ca3c54', NULL, 'yyyy', 6, '2020-05-26 11:13:04', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 'YZ', 1, '印章编号', 0, '1', 1);

-- ----------------------------
-- Table structure for b_bill_rule_setting
-- ----------------------------
DROP TABLE IF EXISTS `b_bill_rule_setting`;
CREATE TABLE `b_bill_rule_setting`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `rule_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '规则id，对应b_bill_rule主键',
  `item_type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '字段类型（fixed：固定，date：日期，serialNum：流水号）',
  `item_format` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '各类型对应值',
  `item_separator` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '分隔符',
  `item_length` int(11) NOT NULL DEFAULT 0 COMMENT '数据长度，此阶段仅对流水号有效',
  `auto_increase` tinyint(4) NOT NULL DEFAULT 0 COMMENT '是否根据日期自增，0：否，1：是',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '企业号',
  `sort` int(11) NOT NULL DEFAULT 0 COMMENT '排序',
  `del_status` tinyint(4) NOT NULL DEFAULT 0 COMMENT '是否删除：0：否，1：是',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 250 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '编号规则子表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of b_bill_rule_setting
-- ----------------------------
INSERT INTO `b_bill_rule_setting` VALUES (232, 'd1fc892a-9efe-11ea-9a9c-e454e8ca3c54', '1', 'fixed', 'KZ', '-', 0, 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0);
INSERT INTO `b_bill_rule_setting` VALUES (233, 'd1fc8b3d-9efe-11ea-9a9c-e454e8ca3c54', '2', 'fixed', 'YY', '-', 0, 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0);
INSERT INTO `b_bill_rule_setting` VALUES (234, 'd1fc8bd6-9efe-11ea-9a9c-e454e8ca3c54', '3', 'fixed', 'BG', '-', 0, 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0);
INSERT INTO `b_bill_rule_setting` VALUES (235, 'd1fc8c36-9efe-11ea-9a9c-e454e8ca3c54', '4', 'fixed', 'LY', '-', 0, 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0);
INSERT INTO `b_bill_rule_setting` VALUES (236, 'd1fc8c98-9efe-11ea-9a9c-e454e8ca3c54', '5', 'fixed', 'HZ', '-', 0, 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0);
INSERT INTO `b_bill_rule_setting` VALUES (237, 'd1fc8cec-9efe-11ea-9a9c-e454e8ca3c54', 'd0a7afd4-9efe-11ea-9a9c-e454e8ca3c54', 'fixed', 'YZ', '-', 0, 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0);
INSERT INTO `b_bill_rule_setting` VALUES (238, 'da118226-9efe-11ea-9a9c-e454e8ca3c54', '1', 'date', 'yyyyMMdd', '-', 0, 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 2, 0);
INSERT INTO `b_bill_rule_setting` VALUES (239, 'da118ad2-9efe-11ea-9a9c-e454e8ca3c54', '2', 'date', 'yyyyMMdd', '-', 0, 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 2, 0);
INSERT INTO `b_bill_rule_setting` VALUES (240, 'da118dff-9efe-11ea-9a9c-e454e8ca3c54', '3', 'date', 'yyyyMMdd', '-', 0, 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 2, 0);
INSERT INTO `b_bill_rule_setting` VALUES (241, 'da118fd9-9efe-11ea-9a9c-e454e8ca3c54', '4', 'date', 'yyyyMMdd', '-', 0, 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 2, 0);
INSERT INTO `b_bill_rule_setting` VALUES (242, 'da1191c1-9efe-11ea-9a9c-e454e8ca3c54', '5', 'date', 'yyyyMMdd', '-', 0, 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 2, 0);
INSERT INTO `b_bill_rule_setting` VALUES (243, 'da119355-9efe-11ea-9a9c-e454e8ca3c54', 'd0a7afd4-9efe-11ea-9a9c-e454e8ca3c54', 'date', 'yyyy', '-', 0, 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 2, 0);
INSERT INTO `b_bill_rule_setting` VALUES (244, 'dbcd9f25-9efe-11ea-9a9c-e454e8ca3c54', '1', 'serialNum', '1', '', 3, 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 3, 0);
INSERT INTO `b_bill_rule_setting` VALUES (245, 'dbcda66c-9efe-11ea-9a9c-e454e8ca3c54', '2', 'serialNum', '1', '', 3, 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 3, 0);
INSERT INTO `b_bill_rule_setting` VALUES (246, 'dbcda8e3-9efe-11ea-9a9c-e454e8ca3c54', '3', 'serialNum', '1', '', 3, 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 3, 0);
INSERT INTO `b_bill_rule_setting` VALUES (247, 'dbcdaaa5-9efe-11ea-9a9c-e454e8ca3c54', '4', 'serialNum', '1', '', 3, 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 3, 0);
INSERT INTO `b_bill_rule_setting` VALUES (248, 'dbcdac93-9efe-11ea-9a9c-e454e8ca3c54', '5', 'serialNum', '1', '', 3, 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 3, 0);
INSERT INTO `b_bill_rule_setting` VALUES (249, 'dbcdae30-9efe-11ea-9a9c-e454e8ca3c54', 'd0a7afd4-9efe-11ea-9a9c-e454e8ca3c54', 'serialNum', '1', '', 3, 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 3, 0);

-- ----------------------------
-- Table structure for b_device_corner
-- ----------------------------
DROP TABLE IF EXISTS `b_device_corner`;
CREATE TABLE `b_device_corner`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `workflow_applyID` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '申请id',
  `type` tinyint(1) NOT NULL COMMENT '类型0装章1取章',
  `seal_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '印章id',
  `device_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '设备id',
  `execute_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '执行人id',
  `status` tinyint(1) NOT NULL DEFAULT 0 COMMENT '状态0默认1结束',
  `create_date` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建日期',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '公司id',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE,
  INDEX `idx_apply_id_execute_id`(`workflow_applyID`, `execute_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 20 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '装章，取章数据' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of b_device_corner
-- ----------------------------

-- ----------------------------
-- Table structure for b_emergency_image
-- ----------------------------
DROP TABLE IF EXISTS `b_emergency_image`;
CREATE TABLE `b_emergency_image`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `emergency_pwd` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '应急密码 ',
  `pwd_create_time` double(50, 0) NULL DEFAULT NULL COMMENT '密码创建日期',
  `device_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '设备id',
  `seal_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '印章id',
  `seal_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '印章名',
  `batch_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '批次id',
  `image_create_time` double(50, 0) NULL DEFAULT NULL COMMENT '设备盖章时间',
  `create_date` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建日期',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '公司id',
  `path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '图片路径',
  `path_s` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '小图路径',
  `device_type` tinyint(4) NOT NULL COMMENT '0印控台1盖章机',
  `parent_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '挂载点',
  `image_type` tinyint(4) NOT NULL DEFAULT 0 COMMENT '0盖章1人脸7补拍',
  `province` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '省',
  `city` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '市',
  `address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '地址',
  `file_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '源文件名',
  `use_seal_code` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '用印码',
  `code_valid_status` tinyint(4) NOT NULL DEFAULT 0 COMMENT '用印码0无;1有效;2无效;3异常匹配多个流程',
  `workflow_apply_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '流程申请ID',
  `bill_no` varchar(127) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '流程编号',
  `bind_type` tinyint(4) NOT NULL DEFAULT 0 COMMENT '0无;1用印码;2流程编号',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE,
  INDEX `idx_emergency_workflow_apply_id_image_type`(`workflow_apply_id`, `image_type`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 153 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of b_emergency_image
-- ----------------------------

-- ----------------------------
-- Table structure for b_emergency_used_seal
-- ----------------------------
DROP TABLE IF EXISTS `b_emergency_used_seal`;
CREATE TABLE `b_emergency_used_seal`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `emergency_pwd` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '应急密码 ',
  `pwd_create_time` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '密码创建日期',
  `device_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '设备id',
  `seal_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '印章id',
  `seal_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '印章名',
  `machine_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '终端设备',
  `machine_type` tinyint(1) NOT NULL COMMENT '设备类型0印控台1盖章机',
  `admin_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '管理员id',
  `admin_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '管理员名',
  `user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '使用人id',
  `user_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '使用人名称',
  `create_date` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建日期',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '公司id',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of b_emergency_used_seal
-- ----------------------------

-- ----------------------------
-- Table structure for b_execute_user
-- ----------------------------
DROP TABLE IF EXISTS `b_execute_user`;
CREATE TABLE `b_execute_user`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `workflow_applyID` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '流程申请id',
  `user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '选中用户id',
  `user_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '用印人名字',
  `safe_code` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '安全码',
  `status` tinyint(1) NOT NULL DEFAULT 0 COMMENT '状态',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '公司id',
  `create_date` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建日期',
  `statusId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用于关联b_used_seal_status表的Id',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE,
  INDEX `idx_user_id_workflow_applyID`(`user_id`, `workflow_applyID`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 30 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of b_execute_user
-- ----------------------------

-- ----------------------------
-- Table structure for b_face_validate_info
-- ----------------------------
DROP TABLE IF EXISTS `b_face_validate_info`;
CREATE TABLE `b_face_validate_info`  (
  `pid` int(10) NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `used_seal_info_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'b_used_seal_info的id',
  `used_seal_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用印人',
  `is_self` tinyint(1) NOT NULL DEFAULT 1 COMMENT '是否是授权人',
  `is_force_validate` tinyint(1) NOT NULL DEFAULT 0 COMMENT '是否是强制校验',
  `is_donor_register_face` tinyint(1) NOT NULL DEFAULT 0 COMMENT '授权人是否注册了人脸',
  PRIMARY KEY (`pid`) USING BTREE,
  INDEX `idx_used_seal_info_id`(`used_seal_info_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of b_face_validate_info
-- ----------------------------

-- ----------------------------
-- Table structure for b_key_word
-- ----------------------------
DROP TABLE IF EXISTS `b_key_word`;
CREATE TABLE `b_key_word`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `content` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '内容',
  `type` tinyint(2) NOT NULL DEFAULT 0 COMMENT '类型：0 预警关键词 1 高风险关键词',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '公司id',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 28 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of b_key_word
-- ----------------------------

-- ----------------------------
-- Table structure for b_print_info
-- ----------------------------
DROP TABLE IF EXISTS `b_print_info`;
CREATE TABLE `b_print_info`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `file_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '文件id',
  `file_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '文件名',
  `parent_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '流程id',
  `parent_title` varchar(300) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程标题',
  `creator` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建者id',
  `create_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建者名',
  `create_date` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建日期',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '公司id',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of b_print_info
-- ----------------------------

-- ----------------------------
-- Table structure for b_remote_authorization
-- ----------------------------
DROP TABLE IF EXISTS `b_remote_authorization`;
CREATE TABLE `b_remote_authorization`  (
  `pid` int(10) NOT NULL AUTO_INCREMENT COMMENT '自增主键',
  `workflow_apply_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程ID',
  `seal_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '印章ID',
  `validate_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '远程授权标识ID',
  `admin_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '印章管理员ID',
  `status` int(1) NULL DEFAULT NULL COMMENT '1 未处理 2 同意  3拒绝',
  `authorization_date` datetime(0) NULL DEFAULT NULL COMMENT '授权处理时间',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '公司ID',
  PRIMARY KEY (`pid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of b_remote_authorization
-- ----------------------------

-- ----------------------------
-- Table structure for b_seal_label
-- ----------------------------
DROP TABLE IF EXISTS `b_seal_label`;
CREATE TABLE `b_seal_label`  (
  `pid` int(1) NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '唯一',
  `seal_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '印章id',
  `label_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '标签id',
  `create_date` datetime(0) NOT NULL COMMENT '修改时间',
  PRIMARY KEY (`pid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of b_seal_label
-- ----------------------------

-- ----------------------------
-- Table structure for b_seal_lowfrequency
-- ----------------------------
DROP TABLE IF EXISTS `b_seal_lowfrequency`;
CREATE TABLE `b_seal_lowfrequency`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `seal_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '印章id',
  `lowfrequency_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '低频预警id',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '公司id',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of b_seal_lowfrequency
-- ----------------------------

-- ----------------------------
-- Table structure for b_seal_master_warning
-- ----------------------------
DROP TABLE IF EXISTS `b_seal_master_warning`;
CREATE TABLE `b_seal_master_warning`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `warning_type` tinyint(1) NULL DEFAULT 0 COMMENT '预警类型（1：文件摄像头，2：人脸摄像头，3：4G模块，4：指纹模块）',
  `seal_master_num` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '印控台编码',
  `content` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '预警提示信息',
  `province` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '省',
  `city` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '市',
  `address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '地址',
  `create_date` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0),
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `warning_status` tinyint(1) NOT NULL DEFAULT 0 COMMENT '预警状态0默认1正常2异常',
  `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更改日期',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注,审核意见',
  `params` varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '参数',
  `checker_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '审核人id',
  `checker_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '审核人名称',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE,
  INDEX `idx_create_date`(`create_date`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 164 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of b_seal_master_warning
-- ----------------------------

-- ----------------------------
-- Table structure for b_seal_out_info
-- ----------------------------
DROP TABLE IF EXISTS `b_seal_out_info`;
CREATE TABLE `b_seal_out_info`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `type` tinyint(1) NOT NULL DEFAULT 0 COMMENT '类型0外借1流程外借',
  `seal_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '印章id',
  `parent_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程id',
  `seal_used_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '借印人',
  `seal_used` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '借印人id',
  `out_city` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '外带城市',
  `out_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '外带地址',
  `expect_out_time` datetime(0) NULL DEFAULT NULL COMMENT '同意借出开始时间',
  `out_time` datetime(0) NULL DEFAULT NULL COMMENT '实际借出时间',
  `expect_back_time` datetime(0) NULL DEFAULT NULL COMMENT '预计归还时间',
  `back_time` datetime(0) NULL DEFAULT NULL COMMENT '时间归还时间',
  `status` tinyint(1) NOT NULL COMMENT '3外借中 4已归还 5逾期未还 6逾期归还',
  `remark` varchar(300) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
  `create_date` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建日期',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '公司id',
  `proposer_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '申请人id',
  `proposer` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '申请人姓名',
  `back_used_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '归还人id',
  `back_used_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '归还人名字',
  `agent_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '代取人id',
  `agent_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '代取人姓名',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE,
  INDEX `idx_b_seal_out_info_seal_id`(`seal_id`) USING BTREE,
  INDEX `idx_b_seal_out_info_parent_id`(`parent_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of b_seal_out_info
-- ----------------------------

-- ----------------------------
-- Table structure for b_seal_out_seal_admin
-- ----------------------------
DROP TABLE IF EXISTS `b_seal_out_seal_admin`;
CREATE TABLE `b_seal_out_seal_admin`  (
  `pid` int(10) NOT NULL AUTO_INCREMENT COMMENT '自增主键',
  `seal_out_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '印章外带ID',
  `admin_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '管理员ID',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '公司ID',
  PRIMARY KEY (`pid`) USING BTREE,
  INDEX `idx_seal_out_id`(`seal_out_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of b_seal_out_seal_admin
-- ----------------------------

-- ----------------------------
-- Table structure for b_seal_statement
-- ----------------------------
DROP TABLE IF EXISTS `b_seal_statement`;
CREATE TABLE `b_seal_statement`  (
  `pid` int(10) NOT NULL AUTO_INCREMENT,
  `seal_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '印章id',
  `date` date NOT NULL,
  `workflow_wait_to_use_count` int(10) NOT NULL COMMENT '每天的待用印流程数.在当天之前的所有在授权节点的流程数\r\n\r\n',
  `workflow_used_count` int(10) NOT NULL COMMENT '当天的已完成流程数',
  `wait_to_use_count` int(10) NOT NULL COMMENT '每天的待用印总数',
  `use_count` int(10) NOT NULL COMMENT '当天用印数',
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  PRIMARY KEY (`pid`) USING BTREE,
  INDEX `idx_seal_id_date`(`seal_id`(36), `date`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 21 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of b_seal_statement
-- ----------------------------

-- ----------------------------
-- Table structure for b_seal_temp_video
-- ----------------------------
DROP TABLE IF EXISTS `b_seal_temp_video`;
CREATE TABLE `b_seal_temp_video`  (
  `pid` int(11) NOT NULL AUTO_INCREMENT,
  `path` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '可以删除的临时视频路径',
  `create_date` datetime(0) NOT NULL COMMENT '创建时间',
  PRIMARY KEY (`pid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of b_seal_temp_video
-- ----------------------------

-- ----------------------------
-- Table structure for b_seal_transfer_info
-- ----------------------------
DROP TABLE IF EXISTS `b_seal_transfer_info`;
CREATE TABLE `b_seal_transfer_info`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `seal_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '印章的id',
  `cur_parent_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '当前操作人流程id',
  `transfer_parent_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '移交用户的流程id',
  `cur_sealout_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '当前操作人外带信息id',
  `transfer_sealout_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '移交人员的外带流程的id',
  `cur_seal_master_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '当前管理印章的人的id',
  `cur_seal_master_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '当前管理印章的人的名称',
  `transfer_seal_master_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '移交印章的人员id',
  `transfer_seal_master_name` varchar(300) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '移交印章的人员的名称',
  `create_date` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '移交印章的时间',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '公司的id',
  `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '移交理由备注',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of b_seal_transfer_info
-- ----------------------------

-- ----------------------------
-- Table structure for b_seal_video
-- ----------------------------
DROP TABLE IF EXISTS `b_seal_video`;
CREATE TABLE `b_seal_video`  (
  `pid` int(11) NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '关联id',
  `video_duration` int(1) NOT NULL DEFAULT 0 COMMENT '视频时长',
  `video_thumbnail_url` varchar(70) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '视频缩略图地址',
  `video_url` varchar(70) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '视频地址',
  `video_type` tinyint(1) NOT NULL DEFAULT 0 COMMENT '0-异常 1-骑缝章',
  `video_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '视频拍摄地址',
  `apply_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程id',
  `seal_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '印章id',
  `user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '操作人id',
  `create_date` datetime(0) NOT NULL COMMENT '视频创建时间',
  PRIMARY KEY (`pid`) USING BTREE,
  INDEX `idx_apply_id_video_type`(`apply_id`, `video_type`) USING BTREE,
  INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of b_seal_video
-- ----------------------------

-- ----------------------------
-- Table structure for b_seal_warning
-- ----------------------------
DROP TABLE IF EXISTS `b_seal_warning`;
CREATE TABLE `b_seal_warning`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `warning_type` tinyint(1) NOT NULL DEFAULT 0 COMMENT '预警类型0长按压1异地2区域3拆机',
  `parent_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '挂载点',
  `seal_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '印章名',
  `seal_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '印章id',
  `device_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '设备id',
  `content` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '预警提示信息',
  `user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户id，触发人',
  `username` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户名',
  `province` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '省',
  `city` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '市',
  `address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '地址',
  `create_date` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建日期',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '公司id',
  `seal_ble` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '蓝牙编号',
  `status` int(1) NULL DEFAULT 0 COMMENT '预警状态0默认1 处理   /////正常2异常',
  `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更改日期',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注,审核意见',
  `params` varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '参数',
  `checker_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '审核人id',
  `checker_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '审核人名称',
  `department_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '所属部门或者子公司id',
  `serial_num` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '预警串号',
  `del_status` tinyint(4) NULL DEFAULT 0 COMMENT '0正常1删除',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE,
  INDEX `idx_seal_id`(`seal_id`(36)) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 325 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of b_seal_warning
-- ----------------------------

-- ----------------------------
-- Table structure for b_seal_warning_image
-- ----------------------------
DROP TABLE IF EXISTS `b_seal_warning_image`;
CREATE TABLE `b_seal_warning_image`  (
  `pid` int(11) NOT NULL AUTO_INCREMENT,
  `warning_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '预警id',
  `image_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '图片id',
  `apply_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程id',
  `seal_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '印章id',
  PRIMARY KEY (`pid`) USING BTREE,
  INDEX `idx_warning_id`(`warning_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of b_seal_warning_image
-- ----------------------------

-- ----------------------------
-- Table structure for b_seal_warning_longpress
-- ----------------------------
DROP TABLE IF EXISTS `b_seal_warning_longpress`;
CREATE TABLE `b_seal_warning_longpress`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `serial_num` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '预警串号',
  `press_time` datetime(0) NULL DEFAULT NULL COMMENT '下压时间',
  `release_time` datetime(0) NULL DEFAULT NULL COMMENT '释放时间',
  `duration` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '按压时间',
  PRIMARY KEY (`pid`) USING BTREE,
  INDEX `idx_swl_serial_num`(`serial_num`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of b_seal_warning_longpress
-- ----------------------------

-- ----------------------------
-- Table structure for b_use_seal_waiting
-- ----------------------------
DROP TABLE IF EXISTS `b_use_seal_waiting`;
CREATE TABLE `b_use_seal_waiting`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `seal_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '印章id',
  `seal_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '印章名',
  `form_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '表单id',
  `form_title` varchar(300) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '申请事项标题',
  `transact_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '办理人id',
  `transact_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '办理人名',
  `create_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '申请人id',
  `creator` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '申请人',
  `status` tinyint(2) NOT NULL DEFAULT 0 COMMENT '状态0等候1办理中2结束3放弃',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '公司id',
  `create_date` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '结束时间',
  `used_time` double(10, 2) NULL DEFAULT NULL COMMENT '耗时（单位小时）',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of b_use_seal_waiting
-- ----------------------------

-- ----------------------------
-- Table structure for b_used_seal_exception
-- ----------------------------
DROP TABLE IF EXISTS `b_used_seal_exception`;
CREATE TABLE `b_used_seal_exception`  (
  `pid` int(10) NOT NULL AUTO_INCREMENT COMMENT '记录ID，主键',
  `used_seal_status_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '印章明细表id',
  `seal_name` varchar(350) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '印章名称',
  `device_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用印宝识别码',
  `bill_no` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '单据号',
  `apply_count` mediumint(8) NOT NULL COMMENT '申请用印次数',
  `used_count` mediumint(8) NOT NULL COMMENT '实际用印次数',
  `seal_photo_count` mediumint(8) NOT NULL COMMENT '盖章照片数量',
  `face_photo_count` mediumint(8) NOT NULL COMMENT '人脸照片数量',
  `verification_code_count` mediumint(8) NOT NULL COMMENT '验证码验证次数',
  `fingerprint_count` mediumint(8) NOT NULL COMMENT '指纹验证次数',
  `start_date` datetime(0) NULL DEFAULT NULL COMMENT '用印时间',
  `address` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用印地点',
  `exception_type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '异常类型：1：人脸照片缺失；2：用印地点缺失；3：盖章图片数量与用印次数不匹配。多个逗号分隔',
  `create_date` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `IX_unique_usedSealStatusId`(`used_seal_status_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 727 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of b_used_seal_exception
-- ----------------------------

-- ----------------------------
-- Table structure for b_used_seal_info
-- ----------------------------
DROP TABLE IF EXISTS `b_used_seal_info`;
CREATE TABLE `b_used_seal_info`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `form_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '表单id',
  `seal` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '印章',
  `create_date` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建日期',
  `creator` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '创建者id',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '公司id',
  `file_type` tinyint(4) NOT NULL DEFAULT 0 COMMENT '文件类型：0盖章拍照 ，1人脸拍照 ，3补拍，4异常，5事前控制水印，6远程授权验证，7应急补拍，8骑缝章盖章图片，9二维码事前，10补传，14水印和二维码都开启验证的事前图片，16盖章中照片，17按次补拍，18扫描仪照片',
  `used_seal_status_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '印章明细表id',
  `source_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '原图id',
  `image_status` tinyint(1) NOT NULL DEFAULT 0 COMMENT '0未处理1已处理',
  `sort` int(6) NOT NULL DEFAULT 0 COMMENT '排序',
  `validate_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '验证和盖章对应ID',
  `is_contains_table` tinyint(1) NOT NULL DEFAULT 0 COMMENT '0 未检测，1 不含表格，2含表格',
  `risk_level` tinyint(2) NOT NULL DEFAULT 0 COMMENT '风险等级：0 未评估风险，1 低风险，2 中风险，3 高风险',
  `risk_type` tinyint(2) NOT NULL DEFAULT 0 COMMENT '风险项类别：0 未评估风险类型，1 用印照片异常，2 内容异常',
  `recognition_rate` float(5, 2) NOT NULL DEFAULT 0.00 COMMENT 'ocr识别率，百分比',
  `source_machine` tinyint(4) NULL DEFAULT NULL COMMENT '图片来源 0-印控台 1-印章柜 2-盖章机 3-APP 4-用印宝',
  `relevant_image_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '关联盖章中和盖章后图片',
  `address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用印地址',
  `province` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '省',
  `city` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '市',
  `img_show_type` tinyint(4) NOT NULL DEFAULT 0 COMMENT '展示图判断，0为裁剪图，1为原图',
  `image_create_time` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '图片生成时间',
  `url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '图片地址',
  `used_seal_times_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '关联b_used_seal_times表的id',
  `parent_file_id` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '原补传文件id',
  `status` tinyint(2) NOT NULL DEFAULT 0 COMMENT '图片状态 0 正常 1 删除',
  `mark_skip_status` tinyint(1) NOT NULL DEFAULT 0 COMMENT '是否跳过水印验证：0 未跳过；1 自动跳过 2 点击跳过',
  `ocr_handle_status` tinyint(2) NOT NULL DEFAULT 1 COMMENT 'ocr处理状态：0 默认值；1 排队中；2 正在处理；3 处理成功；4 处理失败',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE,
  INDEX `idx_form_id_create_date`(`form_id`, `create_date`) USING BTREE,
  INDEX `idx_busi_create_date`(`create_date`) USING BTREE,
  INDEX `idx_validate_id_file_type`(`validate_id`, `file_type`) USING BTREE,
  INDEX `idx_seal_file_type_create_date`(`seal`, `file_type`, `create_date`) USING BTREE,
  INDEX `idx_file_type`(`file_type`) USING BTREE,
  INDEX `idx_province`(`province`) USING BTREE,
  INDEX `idx_relevant_image_id`(`relevant_image_id`) USING BTREE,
  INDEX `idx_used_seal_status_id`(`used_seal_status_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of b_used_seal_info
-- ----------------------------

-- ----------------------------
-- Table structure for b_used_seal_info_relation
-- ----------------------------
DROP TABLE IF EXISTS `b_used_seal_info_relation`;
CREATE TABLE `b_used_seal_info_relation`  (
  `pid` int(10) NOT NULL AUTO_INCREMENT,
  `id` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `form_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '表单id',
  `server_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '服务编码',
  `longitude` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '经度',
  `latitude` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '纬度',
  `file_warning` tinyint(1) NOT NULL DEFAULT 0 COMMENT '0正常  1字数较少  2内容错误 3注意字符',
  `warning_info` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '关键字词组及坐标',
  `difference_count` int(3) NULL DEFAULT NULL COMMENT '于原图不同点数量',
  `difference` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '不同点内容',
  `img_difference` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '图片异常信息，包含水印未识别、空白页、关键字',
  `extract_seal_count` int(3) NULL DEFAULT NULL COMMENT '提取印章数',
  `water_mark` int(1) NOT NULL DEFAULT -1 COMMENT '水印码-1无0错误，大于0正确',
  `rotate` int(4) NOT NULL DEFAULT 0 COMMENT '旋转角度',
  `file_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '源文件名',
  `left_count` int(11) NULL DEFAULT NULL COMMENT '计次偏移位',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '公司ID',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id_idx`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of b_used_seal_info_relation
-- ----------------------------

-- ----------------------------
-- Table structure for b_used_seal_report
-- ----------------------------
DROP TABLE IF EXISTS `b_used_seal_report`;
CREATE TABLE `b_used_seal_report`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `workflow_apply_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '流程id',
  `used_seal_total_count` mediumint(8) NOT NULL COMMENT '盖章总次数',
  `replenish_img_count` mediumint(8) NOT NULL COMMENT '补传用印照片总数',
  `no_source_img_count` mediumint(8) NOT NULL COMMENT '未匹配到原文件照片总数',
  `white_content_img_count` mediumint(8) NOT NULL COMMENT '空白页照片总数',
  `content_added_img_count` mediumint(8) NOT NULL COMMENT '内容新增照片总数',
  `content_modified_img_count` mediumint(8) NOT NULL COMMENT '内容修改照片总数',
  `content_defect_img_count` mediumint(8) NOT NULL COMMENT '内容缺失照片总数',
  `key_word_warning_img_count` mediumint(8) NOT NULL COMMENT '预警关键字照片总数',
  `no_seal_img_count` mediumint(8) NOT NULL COMMENT '未盖章照片总数',
  `extract_seal_total_count` smallint(4) NOT NULL COMMENT '提取到印章总数',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业id',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `idx_unique_workflow_apply_id`(`workflow_apply_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of b_used_seal_report
-- ----------------------------

-- ----------------------------
-- Table structure for b_used_seal_status
-- ----------------------------
DROP TABLE IF EXISTS `b_used_seal_status`;
CREATE TABLE `b_used_seal_status`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `workflow_applyID` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '申请id',
  `form_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '表单id',
  `seal_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '印章id',
  `seal_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '印章名',
  `apply_count` mediumint(8) UNSIGNED NOT NULL COMMENT '申请次数',
  `used_count` mediumint(8) UNSIGNED NOT NULL COMMENT '已用次数',
  `safe_code` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '安全码',
  `status` tinyint(1) NOT NULL DEFAULT 0 COMMENT '状态0默认，1授权，2结束 3过期',
  `add_status` tinyint(1) NOT NULL DEFAULT 0 COMMENT '是否加签 0默认1 是',
  `user` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '用印人',
  `real_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '用印人名字',
  `expired_date` datetime(0) NULL DEFAULT NULL COMMENT '过期时间，默认创建时间',
  `expired` tinyint(1) NOT NULL DEFAULT 0 COMMENT '过期状态0正常1过期',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '公司id',
  `create_date` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建日期',
  `creator` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人',
  `start_date` datetime(0) NULL DEFAULT NULL COMMENT '首次验证时间',
  `take_out` tinyint(1) NOT NULL DEFAULT 0 COMMENT '外带0否1是',
  `out_start_date` datetime(0) NULL DEFAULT NULL COMMENT '外带开始时间',
  `out_end_date` datetime(0) NULL DEFAULT NULL COMMENT '外带结束时间',
  `exception_count` mediumint(9) NOT NULL DEFAULT 0 COMMENT '异常次数',
  `expired_type` tinyint(1) NULL DEFAULT NULL COMMENT '超时类型1授权2验证',
  `used_seal_html_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '前端对印章明细生成的id',
  `apply_crossPageSeal_count` mediumint(8) NOT NULL DEFAULT 0 COMMENT '骑缝章申请次数',
  `used_crossPageSeal_count` mediumint(8) NOT NULL DEFAULT 0 COMMENT '骑缝章用印次数',
  `department_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '所属部门或者子公司id',
  `repeat_apply_count` int(10) NULL DEFAULT 1 COMMENT '记录印章加签次数',
  `pull_seal_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '其他人代取的取章码',
  `transfer_date` datetime(0) NULL DEFAULT NULL COMMENT '代表数据来源平台升级，无其他意义，其他业务无需插入该字段',
  `end_date` datetime(0) NULL DEFAULT NULL COMMENT '结束时间（status=2或者3的时候更新）',
  `del_status` tinyint(4) NULL DEFAULT 0 COMMENT '0未删除，1删除',
  `is_valid` tinyint(4) NULL DEFAULT 0 COMMENT '0无效，1有效',
  `work_status` tinyint(4) NULL DEFAULT 0 COMMENT '流程状态',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE,
  INDEX `idx_company_id_expired_date`(`company_id`, `expired_date`) USING BTREE,
  INDEX `idx_form_id`(`form_id`(36)) USING BTREE,
  INDEX `idx_user_create_date`(`user`, `create_date`) USING BTREE,
  INDEX `idx_workflow_applyID`(`workflow_applyID`) USING BTREE,
  INDEX `idx_buss_used_count`(`used_count`) USING BTREE,
  INDEX `idx_buss_cross_used_count`(`used_crossPageSeal_count`) USING BTREE,
  INDEX `idx_b_used_seal_status_seal_id`(`seal_id`, `status`) USING BTREE,
  INDEX `idx_buss_safe_code_status_company_id`(`safe_code`, `status`, `company_id`) USING BTREE,
  INDEX `idx_status_del_status_company_id`(`status`, `del_status`, `company_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1556 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of b_used_seal_status
-- ----------------------------

-- ----------------------------
-- Table structure for b_used_seal_status_relation
-- ----------------------------
DROP TABLE IF EXISTS `b_used_seal_status_relation`;
CREATE TABLE `b_used_seal_status_relation`  (
  `pid` int(10) NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束与b_used_seal_status中ID对应',
  `workflow_applyID` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '申请id',
  `org_no` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '',
  `last_address` varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '最后用印地址',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '公司id',
  `province` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '省',
  `city` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '市',
  `out_address` varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '外带地址',
  `longitude` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '经度',
  `latitude` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '纬度',
  `radius` double(11, 0) NULL DEFAULT NULL COMMENT '半径',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id_idx`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of b_used_seal_status_relation
-- ----------------------------

-- ----------------------------
-- Table structure for b_used_seal_times
-- ----------------------------
DROP TABLE IF EXISTS `b_used_seal_times`;
CREATE TABLE `b_used_seal_times`  (
  `pid` int(11) NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `number_of_times` int(1) NULL DEFAULT NULL,
  `apply_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '',
  `used_seal_status_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'b_used_seal_status的id',
  `image_type` tinyint(1) NOT NULL DEFAULT 0,
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE,
  INDEX `idx_status_id_image_type`(`used_seal_status_id`, `image_type`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of b_used_seal_times
-- ----------------------------

-- ----------------------------
-- Table structure for b_used_seal_validate
-- ----------------------------
DROP TABLE IF EXISTS `b_used_seal_validate`;
CREATE TABLE `b_used_seal_validate`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `parent_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '挂载点',
  `validate_type` tinyint(1) NOT NULL COMMENT '验证方式0工号1验证码',
  `validate_key` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '验证值',
  `province` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '省',
  `city` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '市',
  `address` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '地址详情',
  `seal_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '章id',
  `device_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '设备编号',
  `create_date` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建日期',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '公司id',
  `seal_status_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '用印子表ID',
  `used_status` tinyint(1) NULL DEFAULT 0 COMMENT '记录是否使用（0使用，1未使用，为了兼容指纹验证各个版本）',
  `group_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '盖章机切换印章验证前的当次验证',
  `source_machine` tinyint(4) NULL DEFAULT NULL COMMENT '设备来源，0、用印宝 1、印章柜 2、盖章机',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE,
  INDEX `idx_sealid_parent_seal_status`(`seal_id`, `parent_id`, `seal_status_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 708 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of b_used_seal_validate
-- ----------------------------

-- ----------------------------
-- Table structure for b_warn_seal_admin
-- ----------------------------
DROP TABLE IF EXISTS `b_warn_seal_admin`;
CREATE TABLE `b_warn_seal_admin`  (
  `pid` int(10) NOT NULL AUTO_INCREMENT COMMENT '自增主键',
  `warn_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '告警关联ID',
  `admin_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '管理员ID',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '公司ID',
  PRIMARY KEY (`pid`) USING BTREE,
  INDEX `idx_wsa_warn_id`(`warn_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of b_warn_seal_admin
-- ----------------------------

-- ----------------------------
-- Table structure for c_field_mapping
-- ----------------------------
DROP TABLE IF EXISTS `c_field_mapping`;
CREATE TABLE `c_field_mapping`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '记录ID，主键',
  `app_sync_pid` int(10) NOT NULL DEFAULT 0 COMMENT '同步业务pid，关联c_parameter_sync表pid',
  `field_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '群杰字段名称',
  `third_field_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '第三方字段名称',
  `active_flag` tinyint(1) NOT NULL DEFAULT 1 COMMENT '有效标示。枚举值：0：删除；1：正常',
  `add_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '添加人',
  `add_time` timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '添加时间',
  `update_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '修改人',
  `update_time` timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  `delete_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '删除人',
  `delete_time` timestamp(0) NULL DEFAULT NULL COMMENT '删除时间',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '1' COMMENT '公司id',
  `parent_id` int(10) NOT NULL DEFAULT 0 COMMENT '父节点id',
  `field_name_explain` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '中文说明',
  `field_name_describe` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '群杰字段的中文说明',
  `field_name_type` tinyint(1) NOT NULL DEFAULT 1 COMMENT '参数类型,1文本输入框，2下拉选择框',
  `content` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '下拉选择框时的可选内容',
  `required` tinyint(1) NOT NULL DEFAULT 1 COMMENT '是否必填,1必填，0非必填',
  PRIMARY KEY (`pid`) USING BTREE,
  INDEX `idx_appSyncId`(`app_sync_pid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 67 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '字段映射关系配置表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of c_field_mapping
-- ----------------------------
INSERT INTO `c_field_mapping` VALUES (1, 1, 'id', 'id', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 16:30:49', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'id', 'id', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (2, 1, 'name', 'name', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 16:31:07', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'name', 'name', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (3, 1, 'parent_id', 'parentid', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 16:31:17', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'parent_id', 'parent_id', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (4, 1, 'sort', 'order', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 16:31:26', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'sort', 'sort', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (5, 2, 'id', 'userid', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 16:31:46', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'id', 'id', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (6, 2, 'username', 'name', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 16:32:02', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'username', 'username', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (7, 2, 'isAdmin', 'isAdmin', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 16:32:11', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'isAdmin', 'isAdmin', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (8, 2, 'phone', 'mobile', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 16:32:17', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'phone', 'phone', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (9, 2, 'email', 'email', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 16:32:24', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'email', 'email', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (10, 2, 'department', 'department', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 16:32:30', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'department', 'department', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (11, 4, 'id', 'id', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 17:09:43', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'id', 'id', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (12, 4, 'name', 'name', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 17:09:51', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'name', 'name', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (13, 4, 'parent_id', 'parent_id', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 17:09:58', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'parent_id', 'parent_id', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (14, 5, 'id', 'userid', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 17:10:29', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'id', 'id', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (15, 5, 'username', 'name', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 17:10:37', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'username', 'username', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (16, 5, 'isAdmin', 'isAdmin', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 17:10:45', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'isAdmin', 'isAdmin', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (17, 5, 'phone', 'mobile', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 17:10:52', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'phone', 'phone', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (18, 5, 'email', 'email', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 17:10:58', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'email', 'email', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (19, 5, '-', 'department', 0, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 17:11:06', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-18 17:09:40', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:02:19', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, NULL, '', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (20, 5, '-', 'realname', 0, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 17:11:12', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-18 17:09:40', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:02:21', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, NULL, '', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (21, 7, 'id', 'o', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 17:11:47', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'id', 'id', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (22, 7, 'name', 'departmentname', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 17:11:53', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'name', 'name', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (23, 7, 'parent_id', 'smart-parentid', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 17:12:02', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'parent_id', 'parent_id', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (24, 10, 'id', 'id', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 10:53:13', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'id', 'id', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (25, 10, 'name', 'name', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 10:53:22', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'name', 'name', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (26, 10, 'parent_id', 'parent_id', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 10:53:30', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'parent_id', 'parent_id', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (27, 10, 'parent_id', 'parent_id', 0, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 10:53:31', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-18 17:09:40', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 10:53:38', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, NULL, '', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (28, 10, 'parent_id', 'parent_id', 0, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 10:53:32', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-18 17:09:40', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 10:53:36', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, NULL, '', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (29, 11, 'id', 'id', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 10:53:47', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'id', 'id', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (30, 11, 'username', 'username', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 10:53:55', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'username', 'username', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (31, 11, 'realname', 'realname', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 10:54:01', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'realname', 'realname', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (32, 11, 'phone', 'phone', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 10:54:07', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'phone', 'phone', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (33, 11, 'department', 'department', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 10:54:13', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'department', 'department', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (34, 11, 'isAdmin', 'isAdmin', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 10:54:22', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'isAdmin', 'isAdmin', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (35, 11, 'email', 'email', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 10:54:28', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'email', 'email', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (36, 5, 'department', 'department', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 10:56:54', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'department', 'department', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (37, 5, 'realname', 'realname', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 10:57:00', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'realname', 'realname', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (38, 2, 'realname', 'realname', 0, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:00:14', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-18 17:09:41', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:01:31', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, NULL, '', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (39, 13, 'id', 'deptId', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:05:54', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'id', 'id', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (40, 13, 'name', 'deptName', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:06:02', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'name', 'name', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (41, 13, 'parent_id', 'parentDeptId', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:06:13', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'parent_id', 'parent_id', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (42, 14, 'id', 'uid', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:06:31', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'id', 'id', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (43, 14, 'username', 'userName', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:06:58', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'username', 'username', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (44, 14, 'isAdmin', 'isAdmin', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:07:02', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'isAdmin', 'isAdmin', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (45, 14, 'phone', 'mobile', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:07:11', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'phone', 'phone', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (46, 14, 'email', 'email', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:07:17', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'email', 'email', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (47, 14, 'department', 'deptId', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:07:26', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'department', 'department', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (48, 14, 'name', 'realname', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:07:37', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'name', 'name', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (49, 12, 'title', 'requestname', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-19 16:03:39', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'title', 'title', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (50, 12, 'sealId', 'yzxx', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-19 16:03:52', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'sealId', 'sealId', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (51, 12, 'takeOut', 'sfwd', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-19 16:04:07', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'takeOut', 'takeOut', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (52, 12, 'applyCount', 'yycs', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-19 16:04:19', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'applyCount', 'applyCount', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (53, 12, 'applyerUserName', 'sqr', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-19 16:04:36', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'applyerUserName', 'applyerUserName', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (54, 12, 'outStartDate', 'wdkssj', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-19 16:52:46', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'outStartDate', 'outStartDate', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (55, 12, 'outEndDate', 'wdjssj', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-19 16:52:57', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'outEndDate', 'outEndDate', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (56, 12, 'outAddress', 'wddz', 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-19 16:53:09', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'outAddress', 'outAddress', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (57, 100, 'name', 'name', 1, '1', '2021-05-08 09:50:55', '1', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'name', 'name', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (58, 100, 'parent_id', 'parent_department_id', 1, '1', '2021-05-08 09:50:55', '1', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'parent_id', 'parent_id', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (59, 100, 'id', 'open_department_id', 1, '1', '2021-05-08 09:50:55', '1', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'id', 'id', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (60, 101, 'id', 'open_id', 1, '1', '2021-05-08 09:50:56', '1', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'id', 'id', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (61, 101, 'username', 'mobile', 1, '1', '2021-05-08 09:50:56', '1', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'username', 'username', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (62, 101, 'realname', 'name', 1, '1', '2021-05-08 09:50:56', '1', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'realname', 'realname', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (63, 101, 'phone', 'mobile', 1, '1', '2021-05-08 09:50:56', '1', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'phone', 'phone', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (64, 101, 'email', 'email', 1, '1', '2021-05-08 09:50:56', '1', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'email', 'email', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (65, 101, 'department', 'department_ids', 1, '1', '2021-05-08 09:50:56', '1', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'department', 'department', 1, '', 1);
INSERT INTO `c_field_mapping` VALUES (66, 101, 'wx', 'open_id', 1, '1', '2021-05-08 09:50:56', '1', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 'wx', 'wx', 1, '', 1);

-- ----------------------------
-- Table structure for c_parameter
-- ----------------------------
DROP TABLE IF EXISTS `c_parameter`;
CREATE TABLE `c_parameter`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '记录ID，主键',
  `app_pid` int(10) NOT NULL COMMENT '服务pid',
  `app_sync_pid` int(10) NULL DEFAULT 0 COMMENT '同步业务pid',
  `param_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '参数名称',
  `param_key` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '参数key',
  `param_value` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '参数值',
  `param_desc` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '参数描述',
  `config_type` tinyint(1) NULL DEFAULT 0 COMMENT '配置类型。枚举值：0：集成配置；1：服务配置 字段暂时不使用 ',
  `enable_status` tinyint(1) NOT NULL DEFAULT 1 COMMENT '启用状态。枚举值：0：未启用； 1：启用',
  `active_flag` tinyint(1) NOT NULL DEFAULT 1 COMMENT '有效标示。枚举值：0：删除；1：正常',
  `add_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '添加人',
  `add_time` timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '添加时间',
  `update_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '修改人',
  `update_time` timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  `delete_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '删除人',
  `delete_time` timestamp(0) NULL DEFAULT NULL COMMENT '删除时间',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '1' COMMENT '公司id',
  `param_type` tinyint(1) NOT NULL DEFAULT 1 COMMENT '参数类型，1文本输入框，2下拉选择框',
  `visible` tinyint(1) NOT NULL DEFAULT 0 COMMENT '实施人员可见状态 0 否 1是',
  `content` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '下拉选择框时的内容',
  `required` tinyint(1) NOT NULL DEFAULT 1 COMMENT '是否必填，0非必填，1必填',
  PRIMARY KEY (`pid`) USING BTREE,
  INDEX `idx_appSyncId`(`app_sync_pid`) USING BTREE,
  INDEX `idx_paramKey`(`param_key`) USING BTREE,
  INDEX `idx_appPid`(`app_pid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 217 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '参数配置表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of c_parameter
-- ----------------------------
INSERT INTO `c_parameter` VALUES (1, 2, 0, '企业微信配置参数', 'corpid', 'wx2edb54fl17e587ee', '企业微信中的公司 id', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:39:38', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:57', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 1, '', 1);
INSERT INTO `c_parameter` VALUES (2, 2, 0, '企业微信配置参数', 'corpsecret', '3DwP4x7n4MYQ-L4VFIbP9zPk7rO292pjbMkrTg8QGgs', '企业密钥', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:40:13', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:57', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 1, '', 1);
INSERT INTO `c_parameter` VALUES (3, 2, 0, '企业微信配置参数', 'token_url', 'https://qyapi.weixin.qq.com/cgi-bin/gettoken?', '企业微信获取 token 的 URL 地址', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:40:31', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:57', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (4, 2, 0, '企业微信配置参数', 'department_url', 'https://qyapi.weixin.qq.com/cgi-bin/department/list?', '企业微信获取部门列表的地址', 0, 1, 0, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:41:18', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:57', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 14:34:08', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (5, 2, 0, '企业微信配置参数', 'user_url', 'https://qyapi.weixin.qq.com/cgi-bin/user/list?', '企业微信获取人员列表的地址', 0, 1, 0, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:45:35', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-09 17:57:33', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 14:34:11', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (6, 2, 0, '企业微信配置参数', 'field_corpid', 'corpid', '企业微信中的公司 id', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:48:09', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-09 17:57:33', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (7, 2, 0, '企业微信配置参数', 'field_corpsecret', 'corpsecret', '企业密钥', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:48:09', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-09 17:57:33', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (8, 2, 0, '企业微信配置参数', 'field_errcode', 'errcode', '企业微信推送数据中的错误码', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:48:09', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 17:37:39', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (9, 2, 0, '企业微信配置参数', 'field_access_token', 'access_token', '获取的 token', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:48:09', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-09 17:57:33', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (10, 2, 0, '企业微信配置参数', 'field_department', 'department', '部门值', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:48:09', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-09 17:57:33', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (11, 2, 0, '企业微信配置参数', 'field_id', 'id', '企业微信推送数据中的id', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:48:09', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 17:37:50', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (12, 2, 0, '企业微信配置参数', 'field_department_id', 'department_id', '部门 id', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:48:09', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-09 17:57:33', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (13, 2, 0, '企业微信配置参数', 'field_fetch_child', 'fetch_child', '是否有子部门（1：有，0：没有）', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:48:09', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-09 17:57:33', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (14, 2, 0, '企业微信配置参数', 'field_userlist', 'userlist', '人员列表', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:48:09', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-09 17:57:33', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (15, 1, 0, '钉钉配置参数', 'appkey', 'dingbmbgs34mngadkb6g', '企业钉钉自动生成 app 的 key 值', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:48:09', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:57', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 1, '', 1);
INSERT INTO `c_parameter` VALUES (16, 1, 0, '钉钉配置参数', 'appsecret', 'BEkTOI5SfoOhCHkCvP3X0hFZxku1ch-2L-VG03Iyt-hL86uRLx74u-YwyYVNOjh6', '密钥', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:48:09', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:57', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 1, '', 1);
INSERT INTO `c_parameter` VALUES (17, 1, 0, '钉钉配置参数', 'tokenServerUrl', 'https://oapi.dingtalk.com/gettoken', '获取钉钉 token 的地址', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:48:09', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-09 17:57:33', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (18, 1, 0, '钉钉配置参数', 'deptServerUrl', 'https://oapi.dingtalk.com/department/list', '获取钉钉部门列表的地址', 0, 1, 0, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:48:09', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-09 17:57:33', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 14:34:18', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (19, 1, 0, '钉钉配置参数', 'userServerUrl', 'https://oapi.dingtalk.com/user/listbypage', '获取钉钉人员列表的地址', 0, 1, 0, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:48:09', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-09 17:57:33', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 14:34:28', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (20, 1, 0, '钉钉配置参数', 'accessToken', 'access_token', '获取的 token 值', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:48:09', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-09 17:57:33', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (21, 1, 0, '钉钉配置参数', 'department', 'department', '部门数据', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:48:09', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-09 17:57:33', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (22, 1, 0, '钉钉配置参数', 'userlist', 'userlist', '人员数据列表', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:48:09', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-09 17:57:33', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (23, 1, 0, '钉钉配置参数', 'domain', 'https://oapi.dingtalk.com', '钉钉对外 api 的域', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:48:09', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-09 17:57:33', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (24, 1, 0, '钉钉配置参数', 'tokenKey', 'access_token', '获取的 token 值', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:48:09', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-09 17:57:33', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (25, 1, 0, '钉钉配置参数', 'tokenTimeKey', 'create_access_token_time', '获得 token 的时间', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:48:09', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-09 17:57:33', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (26, 1, 0, '钉钉配置参数', 'ticketKey', 'jsapi_ticket', '签名', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:48:09', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-09 17:57:33', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (27, 1, 0, '钉钉配置参数', 'ticketTimeKey', 'create_jsapi_ticket_time', '获取签名的时间', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:48:09', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-09 17:57:33', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (28, 1, 0, '钉钉配置参数', 'serverIP', 'http://ddqj.test.com/api', '服务器地址', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:48:09', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 19:14:23', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (29, 1, 0, '钉钉配置参数', 'aesKey', 'ZRXBfBehcgRcJkLd3U2SnG2NHUbndP3GFjLfQV2DSFF', 'ase 加密方法的密钥', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:48:09', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 19:14:55', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (30, 1, 0, '钉钉配置参数', 'aesToken', 'JDSALJFSA8U30LKJDWSF5421I43', 'ase 加密方法的 token', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:48:09', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 19:15:05', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (31, 1, 0, '钉钉配置参数', 'corpId', 'ding24c5c119c146174b24f2f5cc6abecb85', '钉钉中的公司编号', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:48:09', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-09 17:57:33', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (32, 1, 0, '钉钉配置参数', 'processCode', 'PROC-0F786D37-Shj4-4FA6-92F3-5D8562C27148', '进程编号', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:48:09', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 19:15:27', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (33, 1, 0, '钉钉配置参数', 'remark', '用印事由', '钉钉表单字段 根据用户需要填写', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:48:09', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 16:56:57', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (34, 1, 0, '钉钉配置参数', 'title', '事项标题', '钉钉表单字段 根据用户需要填写', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:48:09', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 16:57:01', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (35, 1, 0, '钉钉配置参数', 'takeOut', '是否外带', '钉钉表单字段 根据用户需要填写', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:48:09', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 16:57:04', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (36, 1, 0, '钉钉配置参数', 'sealDetail', '印章明细', '钉钉表单字段 根据用户需要填写', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:48:09', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 16:57:10', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (37, 1, 0, '钉钉配置参数', 'sealCount', '用印次数', '钉钉表单字段 根据用户需要填写', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:48:09', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 16:57:16', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (38, 1, 0, '钉钉配置参数', 'message', '尊敬的{0},您好：{1}申请的{2}文件已授权成功,用印验证码:{3}', '钉钉表单字段 根据用户需要填写', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:48:09', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 16:57:18', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (39, 1, 0, '钉钉配置参数', 'companyId', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '钉钉表单字段 根据用户需要填写', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:48:09', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 16:57:22', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (40, 1, 0, '钉钉配置参数', 'sealName', '印章名称', '钉钉表单字段 根据用户需要填写', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:48:09', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 16:57:26', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (41, 1, 0, '钉钉配置参数', 'agentId', '844561266', '用户所属企业的 corpid', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:48:09', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 19:15:39', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (42, 3, 0, 'LDAP配置参数', 'provider_url', 'ldap://ldap.xxx.com:1389', '提供服务的地址', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:48:09', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-09 17:57:33', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (43, 3, 0, 'LDAP配置参数', 'security_principal', 'uid=auth_wwwlyzxt,ou=application,ou=people,dc=vank', '安全负责人', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:48:09', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-09 17:57:33', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (44, 3, 0, 'LDAP配置参数', 'security_credentials', 'auzqphsjdio6x3f', '安全凭证', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:48:09', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 19:17:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (45, 3, 0, 'LDAP配置参数', 'dept_base_dn', 'ou=organizations,dc=vanke,dc=com', '部门值所在位置', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:48:09', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 17:40:57', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (46, 3, 0, 'LDAP配置参数', 'dept_filter', '(&(smart-type=E)(!(smart-status=0)))', '部门过滤信息', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:48:09', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 17:41:05', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (47, 3, 0, 'LDAP配置参数', 'user_base_dn', 'ou=people,dc=vanke,dc=com', '人员值所在位置', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:48:09', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 17:41:12', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (48, 3, 0, 'LDAP配置参数', 'user_filter', '(&(smart-adaccount=*)(smart-status=1))', '人员值过滤信息', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:48:09', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 17:41:21', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (49, 3, 0, 'LDAP配置参数', 'dept_attr_name', 'o,smart-parentid,smart-shortname,smart-type,depart', '部门字段', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:48:09', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 17:41:28', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (50, 3, 0, 'LDAP配置参数', 'user_attr_name', 'uid,cn,mobile,mail,employeeNumber,departmentNumber', '人员字段', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:48:09', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 17:41:35', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (51, 4, 0, '泛微的webservice地址', 'webServiceUrl', 'http://192.168.2.228:88/services/HrmService?wsdl', '请求进行服务的地址', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:07:51', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:57', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 1, '', 1);
INSERT INTO `c_parameter` VALUES (52, 4, 0, '泛微webservice参数', 'IP', '192.168.2.56', '本机 ip', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:08:58', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:57', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-19 15:59:55', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 1, '', 1);
INSERT INTO `c_parameter` VALUES (53, 6, 0, 'MI配置参数', 'app_id', 'mi_seal', '小米的应用 id（由小米提供）', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:10:06', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-09 17:57:33', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (54, 6, 0, 'MI配置参数', 'app_key', 'ad86d7bhsjsf4539a1f5067cd6e488c3', '小米发送的 key 值（由小米提供）', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:10:15', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 19:18:46', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (55, 6, 0, 'MI配置参数', 'dept_url', 'http://id.test.b2c.srv/api/department/batch/queryA', '获取部门列表的 URL 地址', 0, 1, 0, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:10:37', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-09 17:57:33', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:57:02', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (56, 6, 0, 'MI配置参数', 'user_url', 'http://id.test.b2c.srv/api/user/batch/findUserPage', '获取人员列表的 URL 地址', 0, 1, 0, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:10:51', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-09 17:57:33', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:57:04', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (57, 5, 0, '单点登录配置参数', 'svc_name', 'BRCSSOService', '实际处理单点登录的服务名', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:19:00', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-09 17:57:33', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (58, 5, 0, '单点登录配置参数', 'callback_url', 'https://api.geelytech.com/pc-gateway/third/check/h', '回调地址', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:19:12', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-09 17:57:33', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (59, 5, 0, '单点登录配置参数', 'callback_field', 'nickName,empno,userid', '回调第三方接口后从结果中获取的字段名', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:19:12', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-09 17:57:33', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (60, 5, 0, '单点登录配置参数', 'home_url', 'http://192.168.2.222:10006/#/home', '单点登录成功后跳转到的平台地址', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:19:55', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-09 17:57:33', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (61, 6, 13, '组织同步配置', 'dept_url', 'http://xxx.com/api/department/batch/queryA', '小米组织同步URL', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:33:56', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 15:30:03', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (62, 6, 14, '人员同步配置', 'user_url', 'http://id.test.b2c.srv/api/user/batch/findUserPage', '小米人员同步URL', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:34:27', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 15:30:47', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (63, 6, 13, '组织同步配置', 'delete_flag', '0', '是否删除（1：是；0：否）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:44:02', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-30 14:23:53', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (64, 6, 13, '组织同步配置', 'override_flag', '0', '是否覆盖（1：是；0：否）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:44:19', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-10 09:33:08', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (65, 6, 13, '组织同步配置', 'update_type', '1', '更新的类型（1：全量2：增量）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:44:32', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-10 09:33:12', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (66, 6, 15, '角色同步配置', 'delete_flag', '0', '是否删除（1：是；0：否）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:45:11', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-30 14:24:21', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (67, 6, 15, '角色同步配置', 'override_flag', '0', '是否覆盖（1：是；0：否）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:45:29', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-10 09:33:37', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (68, 6, 15, '角色同步配置', 'update_type', '1', '更新的类型（1：全量2：增量）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:45:39', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-10 09:33:40', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (69, 6, 14, '人员同步配置', 'pk_name', 'username', '第三方人员数据的主键名', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:46:00', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 15:30:51', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (70, 6, 14, '人员同步配置', 'special_name', 'admin,qjtech,qjserv', '特殊用户名，如admin、root，不会对此用户进行批量操作', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:46:31', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (71, 6, 14, '人员同步配置', 'delete_flag', '0', '是否删除（1：是；0：否）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:46:44', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-30 14:24:05', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (72, 6, 14, '人员同步配置', 'override_flag', '0', '是否覆盖（1：是；0：否）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:46:56', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-10 09:33:24', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (73, 6, 14, '人员同步配置', 'update_type', '1', '更新的类型（1：全量2：增量）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:47:12', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-10 09:33:30', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (74, 1, 4, '组织同步配置', 'deptServerUrl', 'https://oapi.dingtalk.com/department/list', '钉钉组织同步URL', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:58:21', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 19:16:08', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (75, 1, 5, '人员同步配置', 'userServerUrl', 'https://oapi.dingtalk.com/user/listbypage', '钉钉人员同步URL', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:59:35', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-18 17:09:21', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (76, 1, 4, '组织同步配置', 'delete_flag', '0', '是否删除（1：是；0：否）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 13:39:09', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-30 14:19:36', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (77, 1, 4, '组织同步配置', 'override_flag', '0', '是否覆盖（1：是；0：否）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 13:39:28', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-10 09:27:49', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (78, 1, 4, '组织同步配置', 'update_type', '1', '更新的类型（1：全量2：增量）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 13:39:46', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-10 09:26:54', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (79, 1, 5, '人员同步配置', 'pk_name', 'username', '第三方人员数据的主键名', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 13:40:33', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 14:52:47', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (80, 1, 5, '人员同步配置', 'special_name', 'admin,qjtech,qjserv', '特殊用户名，如admin、root，不会对此用户进行批量操作', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 13:41:10', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (81, 1, 5, '人员同步配置', 'delete_flag', '0', '是否删除（1：是；0：否）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 13:41:32', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-30 14:20:01', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (82, 1, 5, '人员同步配置', 'override_flag', '0', '是否覆盖（1：是；0：否）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 13:41:47', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-10 09:29:08', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (83, 1, 5, '人员同步配置', 'update_type', '1', '更新的类型（1：全量2：增量）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 13:42:04', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-10 09:29:13', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (84, 1, 6, '角色同步配置', 'delete_flag', '0', '是否删除（1：是；0：否）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 13:42:28', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-30 14:20:54', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (85, 1, 6, '角色同步配置', 'override_flag', '0', '是否覆盖（1：是；0：否）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 13:42:54', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-10 09:29:38', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (86, 1, 6, '角色同步配置', 'update_type', '1', '更新的类型（1：全量2：增量）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 13:43:13', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-10 09:29:33', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (87, 2, 1, '组织同步配置', 'department_url', 'https://qyapi.weixin.qq.com/cgi-bin/department/list?', '企业微信组织同步URL', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 13:48:05', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:57', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (88, 2, 2, '人员同步配置', 'user_url', 'https://qyapi.weixin.qq.com/cgi-bin/user/list?', '企业微信人员同步配置URL', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 13:49:07', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-18 17:09:21', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (89, 2, 1, '组织同步配置', 'delete_flag', '0', '是否删除（1：是；0：否）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 13:51:12', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-30 14:21:15', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (90, 2, 1, '组织同步配置', 'override_flag', '0', '是否覆盖（1：是；0：否）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 13:51:28', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-10 09:29:53', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (91, 2, 1, '组织同步配置', 'update_type', '1', '更新的类型（1：全量2：增量）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 13:51:44', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-10 09:29:57', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (92, 2, 1, '人员部门同步配置参数', 'update_type', '1', '更新的类型（1：全量2：增量）', 1, 1, 0, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 13:51:45', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-18 17:09:22', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 13:51:55', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (93, 2, 2, '人员同步配置', 'pk_name', 'username', '第三方人员数据的主键名', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 13:52:38', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 14:57:23', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (94, 2, 2, '人员同步配置', 'special_name', 'admin,qjtech,qjserv', '特殊用户名，如admin、root，不会对此用户进行批量操作', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 13:52:55', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (95, 2, 2, '人员同步配置', 'delete_flag', '0', '是否删除（1：是；0：否）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 13:53:08', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-30 14:21:29', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (96, 2, 2, '人员同步配置', 'override_flag', '0', '是否覆盖（1：是；0：否）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 13:53:20', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-10 09:30:11', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (97, 2, 2, '人员同步配置', 'update_type', '1', '更新的类型（1：全量2：增量）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 13:53:44', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-10 09:30:17', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (98, 2, 3, '角色同步配置', 'delete_flag', '0', '是否删除（1：是；0：否）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 13:55:43', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-30 14:21:45', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (99, 2, 3, '角色同步配置', 'override_flag', '0', '是否覆盖（1：是；0：否）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 13:57:13', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-10 09:30:26', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (100, 2, 3, '角色同步配置', 'update_type', '1', '更新的类型（1：全量2：增量）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 13:58:18', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-10 09:30:29', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (101, 3, 9, '角色同步配置', 'delete_flag', '0', '是否删除（1：是；0：否）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 14:01:44', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-30 14:22:33', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (102, 3, 9, '角色同步配置', 'override_flag', '0', '是否覆盖（1：是；0：否）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 14:01:57', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-10 09:31:30', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (103, 3, 9, '角色同步配置', 'update_type', '1', '更新的类型（1：全量2：增量）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 14:07:15', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-10 09:31:32', '', '2020-11-17 14:08:01', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (104, 3, 8, '人员同步配置', 'pk_name', 'username', '第三方人员数据的主键名', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 14:03:04', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 15:00:07', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (105, 3, 8, '人员同步配置', 'special_name', 'admin,qjtech,qjserv', '特殊用户名，如admin、root，不会对此用户进行批量操作', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 14:03:22', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (106, 3, 8, '人员同步配置', 'delete_flag', '0', '是否删除（1：是；0：否）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 14:03:36', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-30 14:22:19', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (107, 3, 8, '人员同步配置', 'override_flag', '0', '是否覆盖（1：是；0：否）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 14:03:48', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-10 09:31:15', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (108, 3, 8, '人员同步配置', 'update_type', '1', '更新的类型（1：全量2：增量）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 14:04:03', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-10 09:31:19', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (109, 3, 7, '组织同步配置', 'delete_flag', '0', '是否删除（1：是；0：否）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 14:04:37', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-30 14:22:04', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (110, 3, 7, '组织同步配置', 'override_flag', '0', '是否覆盖（1：是；0：否）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 14:04:46', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-10 09:31:01', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (111, 3, 7, '组织同步配置', 'update_type', '1', '更新的类型（1：全量2：增量）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 14:04:56', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-10 09:31:04', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (112, 4, 10, '组织同步配置', 'delete_flag', '0', '是否删除（1：是；0：否）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 14:23:41', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-30 14:22:50', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (113, 4, 10, '组织同步配置', 'override_flag', '0', '是否覆盖（1：是；0：否）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 14:23:53', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-10 09:31:55', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (114, 4, 10, '组织同步配置', 'update_type', '1', '更新的类型（1：全量2：增量）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 14:24:03', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-10 09:31:58', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (115, 4, 11, '人员同步配置', 'pk_name', 'username', '第三方人员数据的主键名', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 14:24:38', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 15:28:23', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (116, 4, 11, '人员同步配置', 'special_name', 'admin,qjtech,qjserv', '特殊用户名，如admin、root，不会对此用户进行批量操作', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 14:24:49', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (117, 4, 11, '人员同步配置', 'delete_flag', '0', '是否删除（1：是；0：否）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 14:25:00', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-30 14:23:04', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (118, 4, 11, '人员同步配置', 'override_flag', '0', '是否覆盖（1：是；0：否）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 14:25:12', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-10 09:32:07', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (119, 4, 11, '人员同步配置', 'update_type', '1', '更新的类型（1：全量2：增量）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 14:25:24', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-10 09:32:10', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (120, 4, 12, '人员角色同步配置参数', 'delete_flag', '1', '是否删除（1：是；0：否）', 1, 1, 0, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 14:25:43', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-19 16:01:43', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-19 16:01:43', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (121, 4, 12, '人员角色同步配置参数', 'override_flag', '1', '是否覆盖（1：是；0：否）', 1, 1, 0, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 14:26:02', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-19 16:01:45', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-19 16:01:45', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (122, 4, 12, '人员角色同步配置参数', 'update_type', '1', '更新的类型（1：全量2：增量）', 1, 1, 0, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 14:26:14', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-19 16:01:46', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-19 16:01:46', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (123, 1, 2, '人员同步过滤信息', 'a', 'A', '填写第三方需要过滤的参数名称', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 14:31:24', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-18 17:09:23', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (124, 2, 5, '人员同步过滤信息', 'a', 'A', '填写第三方需要过滤的参数名称', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 14:32:02', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-18 17:09:23', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (125, 3, 8, '人员同步配置', 'userFilterRule', 'xxx=123', '填写数据过滤条件，多个用英文逗号分隔，例如userId=123,status=1', 1, 0, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 14:32:32', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-10 09:31:22', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (126, 4, 11, '人员同步配置', 'userFilterRule', 'xxx=123', '填写数据过滤条件，多个用英文逗号分隔，例如userId=123,status=1', 1, 0, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 14:32:45', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-10 09:32:13', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (127, 6, 13, '组织同步配置', 'deptFilterRule', 'xxx=123', '填写数据过滤条件，多个用英文逗号分隔，例如userId=123,status=1', 1, 0, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 14:32:59', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-10 09:33:13', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (128, 7, 0, '用印授权配置参数类型', 'send_switch', '1', '是否发送信息的开关，参数为 1 时，发消息；非 1 时不发', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 14:35:37', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-09 17:57:33', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (129, 7, 0, '事件类型配置参数', 'SEAL_EVENT', 'com.qunje.apollo.event.biz.SealEvent', '印章事件', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 14:35:47', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-09 17:57:33', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (130, 7, 0, '部门同步服务配置参数', '1', 'DingTalkDepartmentSyncService', '', 0, 1, 0, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 14:55:37', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-09 17:57:33', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 15:55:11', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (131, 7, 0, '部门同步服务配置参数', '2', 'WeixinDepartmentSyncService', '', 0, 1, 0, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 14:55:50', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-09 17:57:33', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 15:55:13', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (132, 7, 0, '部门同步服务配置参数', '3', 'LdapDepartmentSyncService', '', 0, 1, 0, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 14:55:56', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-09 17:57:33', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 15:55:14', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (133, 7, 0, '部门同步服务配置参数', '4', 'WebServiceDepartmentSyncService', '', 0, 1, 0, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 14:56:01', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-09 17:57:33', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 15:55:16', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (134, 7, 0, '部门同步服务配置参数', '6', 'MiDepartmentSyncService', '', 0, 1, 0, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 14:56:12', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-09 17:57:33', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 14:19:12', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (135, 7, 0, '人员同步服务配置参数', '1', 'DingTalkUserSyncService', '', 0, 1, 0, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 14:57:29', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-09 17:57:33', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 15:55:16', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (136, 7, 0, '人员同步服务配置参数', '2', 'WeixinUserSyncService', '', 0, 1, 0, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 14:57:41', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-09 17:57:33', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 15:55:17', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (137, 7, 0, '人员同步服务配置参数', '3', 'LdapUserSyncService', '', 0, 1, 0, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 14:57:48', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-09 17:57:33', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 15:55:19', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (138, 7, 0, '人员同步服务配置参数', '4', 'WebServiceUserSyncService', '', 0, 1, 0, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 14:57:52', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-09 17:57:33', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 15:55:19', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (139, 7, 0, '人员同步服务配置参数', '6', 'MiUserSyncService', '', 0, 1, 0, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 14:57:56', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-09 17:57:33', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 15:55:22', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (140, 4, 0, '命名空间', 'targetNamespace', 'webservices.services.weaver.com.cne', '命名空间', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-19 16:00:18', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 19:00:23', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (141, 4, 0, '方法名称', 'methodName', 'getWorkflowRequest', '方法名称', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-19 16:00:41', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 19:00:31', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (142, 4, 0, '一个固定值', 'fromrequestid', '0', '一个固定值', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-19 16:00:55', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 19:00:38', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (143, 4, 0, '公司id', 'companyId', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '公司id', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-19 16:01:12', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 19:00:45', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (144, 4, 12, '标题', 'title', 'requestname', '', 1, 1, 0, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-19 16:02:29', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-19 16:08:14', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-19 16:08:14', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (145, 4, 12, '印章id', 'sealId', 'yzmc', '', 1, 1, 0, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-19 16:02:48', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-19 16:08:15', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-19 16:08:15', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (146, 4, 12, '是否外带', 'takeOut', 'sfwd', '', 1, 1, 0, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-19 16:03:12', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-19 16:08:17', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-19 16:08:17', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (147, 1, 6, '角色同步配置', 'role_id', '-1', '人员角色同步配置参数', 1, 1, 0, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-24 11:24:44', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:57', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 17:40:24', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 1, '', 1);
INSERT INTO `c_parameter` VALUES (148, 2, 3, '角色同步配置', 'role_id', '-1', '人员角色同步配置参数', 1, 1, 0, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-24 11:28:22', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:57', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 17:39:14', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 1, '', 1);
INSERT INTO `c_parameter` VALUES (149, 3, 9, '角色同步配置', 'role_id', '-1', '指定同步时使用的默认角色ID', 1, 1, 0, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-24 11:32:27', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 17:42:13', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 17:42:13', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (150, 4, 12, '角色同步配置', 'role_id', '-1', '人员角色同步配置参数', 1, 1, 0, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-24 11:34:08', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:57', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 17:54:33', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 1, '', 1);
INSERT INTO `c_parameter` VALUES (151, 6, 15, '角色同步配置', 'role_id', '-1', '人员角色同步配置参数', 1, 1, 0, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-24 11:34:53', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 17:57:16', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 17:57:16', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (152, 7, 25, '组织同步配置', '1', 'DingTalkDepartmentSyncService', '钉钉组织同步中servicename ，key为第三方的app_id', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 14:20:32', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 18:57:34', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (153, 7, 26, '人员同步配置', '1', 'DingTalkUserSyncService', '钉钉人员同步中servicename ，key为第三方的app_id', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 14:21:12', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 18:58:32', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (154, 7, 25, '组织同步配置', '2', 'WeixinDepartmentSyncService', '企业微信组织同步中servicename ，key为第三方的app_id', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 14:22:32', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 18:57:18', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (155, 7, 25, '组织同步配置', '3', 'LdapDepartmentSyncService', 'LDAP组织同步中servicename ，key为第三方的app_id', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 14:28:27', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 18:57:45', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (156, 7, 25, '组织同步配置', '4', 'WebServiceDepartmentSyncService', '泛微组织同步中servicename ，key为第三方的app_id', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 14:28:34', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 18:57:54', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (157, 7, 25, '组织同步配置', '6', 'MiDepartmentSyncService', '小米组织同步中servicename ，key为第三方的app_id', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 14:29:19', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 18:58:02', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (158, 7, 26, '人员同步配置', '2', 'WeixinUserSyncService', '企业微信人员同步中servicename ，key为第三方的app_id', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 14:29:35', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 18:58:40', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (159, 7, 26, '人员同步配置', '3', 'LdapUserSyncService', 'LDAP人员同步中servicename ，key为第三方的app_id', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 14:29:41', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 18:58:47', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (160, 7, 26, '人员同步配置', '4', 'WebServiceUserSyncService', '泛微人员同步中servicename ，key为第三方的app_id', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 14:29:49', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 18:58:55', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (161, 7, 26, '人员同步配置', '6', 'MiUserSyncService', '小米人员同步中servicename ，key为第三方的app_id', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 14:29:55', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 18:59:02', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (162, 7, 25, '部门同步配置', 'update_type', '1', '更新的类型（1：全量2：增量', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 14:39:02', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 15:51:30', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (163, 7, 25, '部门同步配置', 'override_flag', '0', '是否覆盖（1：是；0：否）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 14:39:30', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-10 09:34:10', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (164, 7, 25, '部门同步配置', 'delete_flag', '0', '是否删除（1：是；0：否）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 14:39:56', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-10 09:34:16', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (165, 7, 26, '人员同步配置', 'pk_name', 'username', '第三方人员数据的主键名', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 14:41:09', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 15:52:06', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (166, 7, 26, '人员同步配置', 'special_name', 'admin,qjtech,qjserv', '特殊用户名，如admin、root，不会对此用户进行批量操作', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 14:42:50', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (167, 7, 26, '人员同步配置', 'delete_flag', '0', '是否删除（1：是；0：否）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 14:44:14', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-10 09:34:26', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (168, 7, 26, '人员同步配置', 'override_flag', '0', '是否覆盖（1：是；0：否）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 14:44:38', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-10 09:34:29', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (169, 7, 26, '人员同步配置', 'update_type', '1', '更新的类型（1：全量2：增量）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 14:45:08', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 15:52:27', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (170, 7, 25, '部门同步配置', 'skip_error', '0', '是否跳过错误（1：是；0：否）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 14:47:29', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 15:50:58', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (171, 7, 26, '人员同步配置', 'skip_error', '0', '是否跳过错误（1：是；0：否）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 14:48:47', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 15:52:32', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (172, 7, 27, '角色同步配置', 'delete_flag', '0', '是否删除（1：是；0：否）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 14:49:19', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-30 14:29:04', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (173, 7, 27, '角色同步配置', 'override_flag', '0', '是否覆盖（1：是；0：否）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 14:49:40', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-10 09:34:57', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (174, 7, 27, '角色同步配置', 'update_type', '1', '更新的类型（1：全量2：增量）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 14:49:59', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-10 09:35:00', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (175, 1, 4, '组织同步配置', 'deptFilterRule', 'xxx=123', '填写数据过滤条件，多个用英文逗号分隔，例如userId=123,status=1', 1, 0, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 15:09:26', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-10 09:25:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (176, 1, 5, '人员同步配置', 'userFilterRule', 'xxx=123', '填写数据过滤条件，多个用英文逗号分隔，例如userId=123,status=1', 1, 0, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 15:15:37', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-10 09:29:16', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (177, 2, 1, '组织同步配置', 'deptFilterRule', 'xxx=123', '填写数据过滤条件，多个用英文逗号分隔，例如userId=123,status=1', 1, 0, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 15:17:49', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-10 09:29:59', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (178, 2, 2, '人员同步配置', 'userFilterRule', 'xxx=123', '填写数据过滤条件，多个用英文逗号分隔，例如userId=123,status=1', 1, 0, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 15:18:36', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-10 09:30:18', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (179, 3, 7, '组织同步配置', 'deptFilterRule', 'xxx=123', '填写数据过滤条件，多个用英文逗号分隔，例如userId=123,status=1', 1, 0, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 15:20:49', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-10 09:31:05', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (180, 4, 10, '组织同步配置', 'deptFilterRule', 'xxx=123', '填写数据过滤条件，多个用英文逗号分隔，例如userId=123,status=1', 1, 0, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 15:27:03', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-10 09:32:00', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (181, 6, 14, '人员同步配置', 'userFilterRule', 'xxx=123', '填写数据过滤条件，多个用英文逗号分隔，例如userId=123,status=1', 1, 0, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 15:31:52', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-10 09:33:31', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (182, 7, 27, '角色同步配置', 'role_id', '-1', '角色id 默认为-1   为数据库中已有角色的Id', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 15:54:30', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 18:59:26', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (183, 4, 12, '角色同步配置', 'delete_flag', '0', '是否删除（1：是；0：否）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-30 14:26:44', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-30 14:26:44', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (184, 4, 12, '角色同步配置', 'override_flag', '0', '是否覆盖（1：是；0：否）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-30 14:27:35', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-10 09:32:36', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (185, 4, 12, '角色同步配置', 'update_type', '1', '更新的类型（1：全量2：增量）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-30 14:27:58', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-10 09:32:39', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (186, 1, 5, '人员同步配置', 'role_id', '-1', '角色id 默认为-1   若要填写roleid必须为数据库中已有角色的Id', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 16:58:46', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:57', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 1, '', 1);
INSERT INTO `c_parameter` VALUES (187, 2, 2, '人员同步配置', 'role_id', '-1', '角色id 默认为-1   若要填写roleid必须为数据库中已有角色的Id', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 17:38:54', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:57', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 1, '', 1);
INSERT INTO `c_parameter` VALUES (188, 3, 8, '人员同步配置', 'role_id', '-1', '角色id 默认为-1   若要填写roleid必须为数据库中已有角色的Id', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 17:42:09', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 17:58:09', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (189, 4, 0, '泛微webservice参数同步API数据类型（XML、BEAN）', 'SOURCE_TYPE', 'XML', '根据客户提供方法填写', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 17:43:14', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 17:51:49', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (190, 4, 0, '泛微webservice参数同步部门请求方法', 'LOAD_DEPARTMENT_METHOD', 'getHrmDepartmentInfoXML', '根据客户提供方法填写', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 17:43:47', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 17:51:50', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (191, 4, 0, '泛微webservice参数同步部门节点', 'LOAD_FROM_SUB_COMPANY', '', '根据客户提供方法填写 (多个节点使用逗号分隔）为空则全部', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 17:44:20', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:57', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 1, '', 0);
INSERT INTO `c_parameter` VALUES (192, 4, 0, '泛微webservice参数同步人员请求方法', 'LOAD_USER_METHOD', 'getHrmUserInfoXML', '根据客户提供方法填写', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 17:52:50', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 19:09:42', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (193, 4, 0, '泛微webservice参数同步分部请求方法', 'LOAD_SUBCOMPANY_METHOD', 'getHrmSubcompanyInfoXML', '根据客户提供方法填写', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 17:53:24', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 19:09:44', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (194, 4, 11, '人员同步配置', 'role_id', '-1', '角色id 默认为-1   若要填写roleid必须为数据库中已有角色的Id', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 17:54:22', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:57', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 1, '', 1);
INSERT INTO `c_parameter` VALUES (195, 6, 14, '人员同步配置', 'role_id', '-1', '角色id 默认为-1   若要填写roleid必须为数据库中已有角色的Id', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 17:57:09', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-24 17:57:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (196, 7, 0, '单点登录配置参数', '11', 'LarkDepartmentSyncService', '单点登录成功后跳转到的平台地址', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:53', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:53', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (197, 7, 0, '单点登录配置参数', '11', 'LarkUserSyncService', '单点登录成功后跳转到的平台地址', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:53', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:53', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (198, 11, 0, '飞书配置参数', 'dept_url', 'https://open.feishu.cn/open-apis/contact/v3/departments', '单点登录成功后跳转到的平台地址', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:53', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:53', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (199, 11, 0, '飞书配置参数', 'app_id', 'cli_a0990d5c8eed5014', '单点登录成功后跳转到的平台地址', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:53', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:58', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 1, '', 1);
INSERT INTO `c_parameter` VALUES (200, 11, 0, '飞书配置参数', 'app_secret', 'kKUGhGWKgqRfcbqiqjbAahrm1cXJCutc', '单点登录成功后跳转到的平台地址', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:53', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:58', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 1, '', 1);
INSERT INTO `c_parameter` VALUES (201, 11, 0, '飞书配置参数', 'token_url', 'https://open.feishu.cn/open-apis/auth/v3/tenant_access_token/internal/', '单点登录成功后跳转到的平台地址', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:53', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:53', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (202, 11, 0, '飞书配置参数', 'user_url', 'https://open.feishu.cn/open-apis/contact/v3/users', '单点登录成功后跳转到的平台地址', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:54', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:54', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (203, 11, 100, '部门同步配置', 'update_type', '1', '更新的类型（1：全量2：增量', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:54', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:54', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (204, 11, 100, '部门同步配置', 'override_flag', '0', '是否覆盖（1：是；0：否）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:54', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:54', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (205, 11, 100, '部门同步配置', 'delete_flag', '0', '是否删除（1：是；0：否）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:54', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:54', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (206, 11, 101, '人员同步配置', 'delete_flag', '0', '是否删除（1：是；0：否）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:54', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:54', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (207, 11, 101, '人员同步配置', 'override_flag', '0', '是否覆盖（1：是；0：否）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:54', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:54', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (208, 11, 101, '人员同步配置', 'update_type', '1', '更新的类型（1：全量2：增量）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:54', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:54', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (209, 11, 102, '角色同步配置', 'delete_flag', '0', '是否删除（1：是；0：否）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:54', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:54', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (210, 11, 102, '角色同步配置', 'override_flag', '0', '是否覆盖（1：是；0：否）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:54', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:54', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (211, 11, 102, '角色同步配置', 'update_type', '1', '更新的类型（1：全量2：增量）', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:54', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:54', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (212, 11, 101, '人员同步配置', 'special_name', 'admin,qjtech,qjserv', '特殊用户名，如admin、root，不会对此用户进行批量操作', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:55', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (213, 11, 101, '角色同步配置', 'role_id', '-1', '人员角色同步配置参数', 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:55', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:58', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 1, '', 1);
INSERT INTO `c_parameter` VALUES (214, 1, 0, '钉钉配置参数', 'sendSafeCodeSwitch', 'off', '推送用印码开关on开off关闭，默认off', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 14:20:32', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-08-05 10:30:34', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (215, 1, 0, '钉钉配置参数', 'watermark', '否', '钉钉表字段是否加事前水印，根据用户填写', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 14:20:32', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-08-05 10:30:34', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);
INSERT INTO `c_parameter` VALUES (216, 1, 0, '钉钉配置参数', 'dingUseSealSwitch', '0', '用印码接收人最后审核人还是申请发起人，默认是最后审核人，1是发起人', 0, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-27 14:20:32', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-08-05 10:30:34', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '', 1);

-- ----------------------------
-- Table structure for c_parameter_start
-- ----------------------------
DROP TABLE IF EXISTS `c_parameter_start`;
CREATE TABLE `c_parameter_start`  (
  `pid` int(11) NOT NULL AUTO_INCREMENT COMMENT '自增主键ID',
  `app_pid` int(11) NOT NULL COMMENT 'c_parameter_type pid',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'sys_company id',
  `flag` tinyint(2) NOT NULL DEFAULT 1 COMMENT '数据状态 1 可用 2不可用',
  PRIMARY KEY (`pid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '企业开启配置记录表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of c_parameter_start
-- ----------------------------

-- ----------------------------
-- Table structure for c_parameter_sync
-- ----------------------------
DROP TABLE IF EXISTS `c_parameter_sync`;
CREATE TABLE `c_parameter_sync`  (
  `pid` int(10) NOT NULL AUTO_INCREMENT COMMENT '记录ID，主键',
  `app_pid` int(10) NOT NULL COMMENT '服务pid',
  `biz_type` int(2) NOT NULL COMMENT '同步业务类型：1：部门同步；2：人员同步；3：角色同步；4：印章同步',
  `active_flag` tinyint(1) NOT NULL DEFAULT 1 COMMENT '有效标示。枚举值：0：删除；1：正常',
  `add_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '添加人',
  `add_time` timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '添加时间',
  `update_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '修改人',
  `update_time` timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '修改时间',
  `delete_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '删除人',
  `delete_time` timestamp(0) NULL DEFAULT NULL COMMENT '删除时间',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40' COMMENT '公司id',
  PRIMARY KEY (`pid`) USING BTREE,
  INDEX `idx_appPid`(`app_pid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 104 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of c_parameter_sync
-- ----------------------------
INSERT INTO `c_parameter_sync` VALUES (1, 2, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 16:05:37', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 16:35:37', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `c_parameter_sync` VALUES (2, 2, 2, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 16:05:37', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 16:35:38', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `c_parameter_sync` VALUES (3, 2, 3, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 16:05:37', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 16:35:40', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `c_parameter_sync` VALUES (4, 1, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 16:05:37', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 16:35:41', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `c_parameter_sync` VALUES (5, 1, 2, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 16:05:37', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 16:35:43', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `c_parameter_sync` VALUES (6, 1, 3, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 16:05:37', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 16:35:45', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `c_parameter_sync` VALUES (7, 3, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 16:05:37', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 16:56:37', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `c_parameter_sync` VALUES (8, 3, 2, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 16:05:37', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 16:56:39', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `c_parameter_sync` VALUES (9, 3, 3, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 16:05:37', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 16:56:35', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `c_parameter_sync` VALUES (10, 4, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 18:30:29', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 18:30:29', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `c_parameter_sync` VALUES (11, 4, 2, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 18:30:29', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 18:30:29', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `c_parameter_sync` VALUES (12, 4, 3, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 18:30:29', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 18:30:29', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `c_parameter_sync` VALUES (13, 6, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:04:42', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 16:43:51', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `c_parameter_sync` VALUES (14, 6, 2, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:04:42', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 16:43:51', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `c_parameter_sync` VALUES (15, 6, 3, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:04:42', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 16:43:51', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `c_parameter_sync` VALUES (22, 5, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:04:42', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 16:43:47', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `c_parameter_sync` VALUES (23, 5, 2, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:04:42', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 16:43:47', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `c_parameter_sync` VALUES (24, 5, 3, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:04:42', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 16:43:47', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `c_parameter_sync` VALUES (25, 7, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:04:42', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:04:42', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `c_parameter_sync` VALUES (26, 7, 2, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:04:42', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:04:42', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `c_parameter_sync` VALUES (27, 7, 3, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:04:42', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:04:42', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `c_parameter_sync` VALUES (28, 2, 4, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:53', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:53', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `c_parameter_sync` VALUES (29, 1, 4, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:53', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:53', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `c_parameter_sync` VALUES (30, 3, 4, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:53', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:53', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `c_parameter_sync` VALUES (31, 4, 4, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:53', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:53', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `c_parameter_sync` VALUES (32, 5, 4, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:53', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:53', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `c_parameter_sync` VALUES (33, 6, 4, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:53', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:53', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `c_parameter_sync` VALUES (34, 7, 4, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:53', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:53', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `c_parameter_sync` VALUES (100, 11, 1, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:53', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:53', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `c_parameter_sync` VALUES (101, 11, 2, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:53', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:53', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `c_parameter_sync` VALUES (102, 11, 3, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:53', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:53', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `c_parameter_sync` VALUES (103, 11, 4, 1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:53', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:53', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');

-- ----------------------------
-- Table structure for c_parameter_type
-- ----------------------------
DROP TABLE IF EXISTS `c_parameter_type`;
CREATE TABLE `c_parameter_type`  (
  `pid` int(10) NOT NULL AUTO_INCREMENT COMMENT '记录ID，主键',
  `app_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '服务名称',
  `app_icon` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '服务图标',
  `active_flag` tinyint(1) NOT NULL DEFAULT 1 COMMENT '有效标示。枚举值：0：删除；1：正常',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '公司id',
  `add_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '添加人',
  `add_time` timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '添加时间',
  `update_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '修改人',
  `update_time` timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '修改时间',
  `delete_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '删除人',
  `delete_time` timestamp(0) NULL DEFAULT NULL COMMENT '删除时间',
  `status` tinyint(1) NOT NULL DEFAULT 2 COMMENT '配置状态 默认：启用 1：启用 2：停用',
  `type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '当前配置类型，对应接口',
  PRIMARY KEY (`pid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 12 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of c_parameter_type
-- ----------------------------
INSERT INTO `c_parameter_type` VALUES (1, '钉钉', 'data:image/png;base64, ', 1, '', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:34:57', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2022-01-10 15:51:12', NULL, NULL, 2, 'DingDing');
INSERT INTO `c_parameter_type` VALUES (2, '企业微信', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEUAAABFCAIAAACT77x+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAWeSURBVGhD7ZpbbBVFGMd9MzERH4xP8kB88hblRY0PatRgiEaD+mY0IaRVUCElBME2gkm9cAlCTVCxtFTEBhqMEEVLtGJbOC0th57T1tJzWtp6eqc3amkptaH+c+bbk+Xb3dmZPdtLNv3l/9CZnflm/j07t929bSZYLPpZ2Cz6WdjMlp+pm9N/DDcW94fyOktz2koyYwWrGvZC+ANJZOISCqAYVfAJn/10TQ4f6C57peGL28tXKwqFUQUVKUR6+ObnUG+5lg2rUB1BKJxXfPBTNvJ3mk7MQigEpND6pOWndaLv/fh3rEO+CGERnJrRwbufI33n7g2tZ/3wUQiOJqgxZTz62ddZypqfJaEhalINL37ejRexVmdVaI4aVkDbz/3nN7P25kBolJp3Q8/P0tAG1tKcCU1TJ6Ro+HkhupO1McdCB6grzqj62dhyhEWfF6Eb1CEHlPzk95xhcedR6Ax1yw53P1jXdNeZu8+ufbhm64rIjmVVWexS+kJnJEutux/1HQC2Kvu7fmeNDU6NhUbjRb0VPs7y6BJFt+DiB1spFstW78QKy0cuUR1nwmPtfrly2uO5+HHdaD4X+ax0qJ5KqwFXbzZ9xeLoCh2jcLci84PdO4vC9EbTfiqqz7r4IRZNV7aHC5mf1xr3sRBmpWNGsOXyURZTS+geBTLh6KfvxlVW36xHaj/svvVEmZgcKuwt/7LrNE7RlGXiYM8ZTHc/9IcobYCBxyJrCZ2kQAaOfnC+Z5XNOjkQpnIGWS3fi0tPhj+mLAMMGHEJ8zg7V5dfbRaXvAmdpEAGjn5wO7HKKd1XvZEKmdiV+EVc1fIDXm3YK656kPWet/czdXOa1TTLdvrHfL2ptXhDy+GfBy9Slgmn+w2k+ROxJ0T2fjAGWDWzvukuo3KewNoK24+Ht4loK6M7H6rZsqQyMxVfS2y42vuRDx7bX0AFbL2eCG/HD4Wptmm8m3INImP/YDpZXpvDmpOLDSF7P3nS4/TR/ioqpwMWnGfqPrnwbxulHRidnsjtOHHP2XWsUSehq1Qzib2fnLYSVs2s7LZjVE6ZpaH16CUlFMCvJ5mQzEJXqU4Sez+ZsQJWzazXG/OonBoYLW/HCiihg4oldJVKJ7H3s0o6h95ZkdE83kNF3cC891RdLiU0Gflv/DFj2nASukqlk3jxA33UfpyKurEyustqHoN+9aUDY9PXKZ0ko/kg8k8N1lE6ycnBMGuaScmP/H6D7qrMtE5QVuqvJV5u2EMJA2yLRJDDfZWUNTPTcX1AZMIVZRk8G/lUXLKV0v0mnw+E8L+k0s5sb/9xd+IUJQxwB+7p/PXYlWpKG2DaxMoGY5Q2SO08bKU0H8jn65RcLWU055dY+q2LfDFUmq/lIcyCJcmNh6Xz9LDeac+KfAgprafy/Q7TiYELVM3Ce/Gib3v+pIRXtkqPSUr7Hfl+lInqJAcG28hgSLg+MXPlpfrdrEWzlPajQHF5fj7yOQrDyYumVpdUZjxY88GK6A7cb8trs0VAb0SvJVJhrVI9LwDFIVTQ+9dbTV+zTKbjV2ooqD7YJbFoZrHBAxz9yM/bWnra6/7gt6EoC8Wkcd4G8uchWsJteXmin+KqgSMgC8Kk9zwEuD6v0tID5zfbPiqxZU1zPqtulfbzKuDji2sI80Rux089N0YoujOP1mazukxenicCxee9WlpWlbU2VojbqXq0tXNyCK3gZIq93KbWYkyJ4sCHjRKrxeTxeS+YpTfyEuGwVDfWwTLN8v48Hnh4X5K+7qhYgy08yxRK930JCNT7LEGg3jcKAvU+WBCo9/WCQH1PIQjU9y6CQH2PJAjU92ICrGuztHtAWMmiKSEtPwJspXzctiKU095MBR/8CLB7T9MVqtseAbTwzY8gON8rM6aC8T35vLPoZ2Gz6GdhEyw/MzP/A6vQ9/67ly1nAAAAAElFTkSuQmCC', 1, '', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:34:57', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2022-01-10 15:51:12', NULL, NULL, 2, 'WeiXin');
INSERT INTO `c_parameter_type` VALUES (3, 'LDAP', 'data:image/png;base64, ', 0, '', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:34:57', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2022-01-10 15:51:12', NULL, NULL, 2, '');
INSERT INTO `c_parameter_type` VALUES (4, '泛微webservice', 'data:image/png;base64, ', 1, '', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 18:30:29', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2022-01-10 15:51:12', NULL, NULL, 2, 'FanWei');
INSERT INTO `c_parameter_type` VALUES (5, '单点登录配置', 'data:image/png;base64, ', 0, '', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:18:05', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2022-01-10 15:51:12', NULL, NULL, 2, '');
INSERT INTO `c_parameter_type` VALUES (6, 'MI', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABXCAIAAAB0hdd6AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAZASURBVHhe7ZxbbBRVGMe3Fmis2KDGSOONGCXiAz4YjcILpN1tyzZtLRYtUBCsVMHEpFYrRkpAsJdgMVXjg2KEBhACtFgfFG8oIVUTk8aIQAxWSoS1sWvpzmVndnbW/1w6OzPtzpk2XcNOzz//bCY733xzvt+eOXNmdjK+BJWjKCCCKCCCKCCCJgxIGjjP7N8RfjUwWH1nKJgbKskJFacwVrmxbatUtm1l2BaWysty0eBwYwCNRwl6MS40AUDSwLmrO1aE/FlDgazhoqxIcRaTUUaD0Ww0HiWgEJSjF+Yot4C4nvdDgexwwMcUe8EoBOWgKL281HIFiOncNuj3XS2y7yajjXJQFErTi0whMiBgRqLImB14wCgKpTn3IwIgHKjoih7rO2ajNBToMB4RAGEw88y4k8ooEGXqBY+REyCcDjHg29J50iG/L1UncgKEKQNOirZcnvQQjpIUo7UTIMwGMXGw5fKkh4t84YaletlWOQHC1FOdDdrTec/K6azqNr1sq5wA4UpCnYPa03nSOJfpZVvlCKgkZxoBKhwfhSOgYgqIAho1BUQwBUQwBUQwBUQwBUQwBUTwpABNcKJ4rd1UQ3vcNyn9gHBBXDil9qtGWvV2nV6q8meBaaejVr5EGOJNGSKqlQzW4HGdZkDBWdzLS6O766K7n5syt2/gm1dxmwvYZxYw5bMjAb1HjA8IdFbewe98ypyBh9vrmJp7mOBMW/xYpxdQpDxP6Hk3fvmPeOjPKfPlC1L/L7G+E+LnH0f3vMa9uCgSzEl5dyHgwy8UO9drSyJd6eeaKpmK2fb4MU4nIPx6FXPEH7sTcUnfckolQ9yIeLqbb17NPH7T+E0K+Pim8njkH30bk/i2Z5nKOfb4MU4vIDadgDTJcly6coHfVctU3jxOqyggWf2MD17ktpQxZTfYRyIKSCOEoy32U48ybBdfZ2lDpgKSRJkdkUeG5IjNYcXMv1YPy+ywzEcSMQEk9AwmaV/JUozfVoVOZGlDhgKK//W7+MVH0c6m6P6m6IEm4eBW4ZOtwqHtwqE3hMM7hSMtwtFW4Vib0LVL6HpL6GoXPu0Qv+mUzvbGw3/LQlRJMQ6ohPDh68yT+ZajLEMBiV/uYzcsZAp8EzCmdqW5XKM/dvo4OouWx0ZJ7HmbrZmH/SbbkJGA5IT4VSf7/INaJQ7TPMOmtdncxodjp7ow6CCR+pmU+PUHzNP3AoqxYcb2IBMgl8acWJkWY7ksl2uulgVWzWQFdHIvu27+NQDI5dU8EZAapvUOo48QexMuu9gXHomd/8HWfSDxu73ses8BSrokm6m8lXkiX3HV3EjVXCywWC693hKGtLUPiL1H9FwmeRpQMJutWxD7+YTUd3LU32oL0Y5NbHV+MjLgY9ffL546MI16kHJMlc7gXnpUlkSMKkrdptrF7nfYdfcZwaOADmKVDZGne1DpTK7hsURcP3+bJR5/TynbiDQBssnjgHgKyBAFpJoCIpgCIpgCIpgCIpgCInj6Apqqq3lzMAVkFgWkmgIimAIimAIimAIimAIiePoCcj1RZMrzhM864hd/jV86a7ZwuIWtnW+5OR+cwW1aKPX3xS/9ZnN0z2Z29V3JSACqmSccax0NMKU9+iZbc7eyX+POf8DHNSyJnfneHIatpIEz/JYKpjxNj7+4BxScxb2yhG9bE21ba5hvW8vWL44sn6P/jaO5JItdcUu0ZZUWoFmJb13DbXzIUgm2qsjj6hcjrR4zaq5+EVNxIwK0v0YURgheeTu/fbk5DObbapS/GNP1AJVLQFoT/erzblZH8KVahhajLSjFaGuNp+TgAqUXKKu0GCNSTWvP7E9GGmmVn8H6CB5TmKV8mo/E1E4vIMW22qzW0ZgZmb6chN1va/xCzk4/INjKKGWzxqJ0gJtilZuaLYc2yf8LoEw2BUQwBUQwBUQwBUQwBUQwBUQwBUTwpAAtoy8WcAREX00BOQEKN9KXmzgCoq/HgZwA0RcsQU6AIPqKLgIg+pI3AiCIviaQLPqiSbKAGV3RM+MRCkE5zn1Hk1tAEA5UDGYY8HFSxMQh4w46NBjNRuNRAgpxGHfMmgAgTciLbolpFaae+BFwCZMZDmSjwWg2Gu8SjaYJA5puooAIooAclUj8B4sxg158cwj5AAAAAElFTkSuQmCC', 0, '', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:04:42', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2022-01-10 15:51:12', NULL, NULL, 2, '');
INSERT INTO `c_parameter_type` VALUES (7, '其它配置', 'data:image/png;base64, ', 1, '', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 14:29:15', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2022-01-10 16:06:19', NULL, NULL, 2, '');
INSERT INTO `c_parameter_type` VALUES (11, '飞书', 'data:image/png;base64, ', 1, '', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:34:57', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2022-01-10 16:04:03', NULL, NULL, 2, 'FeiShu');

-- ----------------------------
-- Table structure for c_parameter_type_copy1
-- ----------------------------
DROP TABLE IF EXISTS `c_parameter_type_copy1`;
CREATE TABLE `c_parameter_type_copy1`  (
  `pid` int(10) NOT NULL AUTO_INCREMENT COMMENT '记录ID，主键',
  `app_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '服务名称',
  `app_icon` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '服务图标',
  `active_flag` tinyint(1) NOT NULL DEFAULT 1 COMMENT '有效标示。枚举值：0：删除；1：正常',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '公司id',
  `add_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '添加人',
  `add_time` timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '添加时间',
  `update_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '修改人',
  `update_time` timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '修改时间',
  `delete_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '删除人',
  `delete_time` timestamp(0) NULL DEFAULT NULL COMMENT '删除时间',
  `status` tinyint(1) NOT NULL DEFAULT 2 COMMENT '配置状态 默认：启用 1：启用 2：停用',
  `type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '当前配置类型，对应接口',
  PRIMARY KEY (`pid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 12 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of c_parameter_type_copy1
-- ----------------------------
INSERT INTO `c_parameter_type_copy1` VALUES (1, '钉钉', 'data:image/png;base64, ', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:34:57', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:52', NULL, NULL, 2, 'DingDing');
INSERT INTO `c_parameter_type_copy1` VALUES (2, '企业微信', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEUAAABFCAIAAACT77x+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAWeSURBVGhD7ZpbbBVFGMd9MzERH4xP8kB88hblRY0PatRgiEaD+mY0IaRVUCElBME2gkm9cAlCTVCxtFTEBhqMEEVLtGJbOC0th57T1tJzWtp6eqc3amkptaH+c+bbk+Xb3dmZPdtLNv3l/9CZnflm/j07t929bSZYLPpZ2Cz6WdjMlp+pm9N/DDcW94fyOktz2koyYwWrGvZC+ANJZOISCqAYVfAJn/10TQ4f6C57peGL28tXKwqFUQUVKUR6+ObnUG+5lg2rUB1BKJxXfPBTNvJ3mk7MQigEpND6pOWndaLv/fh3rEO+CGERnJrRwbufI33n7g2tZ/3wUQiOJqgxZTz62ddZypqfJaEhalINL37ejRexVmdVaI4aVkDbz/3nN7P25kBolJp3Q8/P0tAG1tKcCU1TJ6Ro+HkhupO1McdCB6grzqj62dhyhEWfF6Eb1CEHlPzk95xhcedR6Ax1yw53P1jXdNeZu8+ufbhm64rIjmVVWexS+kJnJEutux/1HQC2Kvu7fmeNDU6NhUbjRb0VPs7y6BJFt+DiB1spFstW78QKy0cuUR1nwmPtfrly2uO5+HHdaD4X+ax0qJ5KqwFXbzZ9xeLoCh2jcLci84PdO4vC9EbTfiqqz7r4IRZNV7aHC5mf1xr3sRBmpWNGsOXyURZTS+geBTLh6KfvxlVW36xHaj/svvVEmZgcKuwt/7LrNE7RlGXiYM8ZTHc/9IcobYCBxyJrCZ2kQAaOfnC+Z5XNOjkQpnIGWS3fi0tPhj+mLAMMGHEJ8zg7V5dfbRaXvAmdpEAGjn5wO7HKKd1XvZEKmdiV+EVc1fIDXm3YK656kPWet/czdXOa1TTLdvrHfL2ptXhDy+GfBy9Slgmn+w2k+ROxJ0T2fjAGWDWzvukuo3KewNoK24+Ht4loK6M7H6rZsqQyMxVfS2y42vuRDx7bX0AFbL2eCG/HD4Wptmm8m3INImP/YDpZXpvDmpOLDSF7P3nS4/TR/ioqpwMWnGfqPrnwbxulHRidnsjtOHHP2XWsUSehq1Qzib2fnLYSVs2s7LZjVE6ZpaH16CUlFMCvJ5mQzEJXqU4Sez+ZsQJWzazXG/OonBoYLW/HCiihg4oldJVKJ7H3s0o6h95ZkdE83kNF3cC891RdLiU0Gflv/DFj2nASukqlk3jxA33UfpyKurEyustqHoN+9aUDY9PXKZ0ko/kg8k8N1lE6ycnBMGuaScmP/H6D7qrMtE5QVuqvJV5u2EMJA2yLRJDDfZWUNTPTcX1AZMIVZRk8G/lUXLKV0v0mnw+E8L+k0s5sb/9xd+IUJQxwB+7p/PXYlWpKG2DaxMoGY5Q2SO08bKU0H8jn65RcLWU055dY+q2LfDFUmq/lIcyCJcmNh6Xz9LDeac+KfAgprafy/Q7TiYELVM3Ce/Gib3v+pIRXtkqPSUr7Hfl+lInqJAcG28hgSLg+MXPlpfrdrEWzlPajQHF5fj7yOQrDyYumVpdUZjxY88GK6A7cb8trs0VAb0SvJVJhrVI9LwDFIVTQ+9dbTV+zTKbjV2ooqD7YJbFoZrHBAxz9yM/bWnra6/7gt6EoC8Wkcd4G8uchWsJteXmin+KqgSMgC8Kk9zwEuD6v0tID5zfbPiqxZU1zPqtulfbzKuDji2sI80Rux089N0YoujOP1mazukxenicCxee9WlpWlbU2VojbqXq0tXNyCK3gZIq93KbWYkyJ4sCHjRKrxeTxeS+YpTfyEuGwVDfWwTLN8v48Hnh4X5K+7qhYgy08yxRK930JCNT7LEGg3jcKAvU+WBCo9/WCQH1PIQjU9y6CQH2PJAjU92ICrGuztHtAWMmiKSEtPwJspXzctiKU095MBR/8CLB7T9MVqtseAbTwzY8gON8rM6aC8T35vLPoZ2Gz6GdhEyw/MzP/A6vQ9/67ly1nAAAAAElFTkSuQmCC', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:34:57', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:52', NULL, NULL, 2, 'WeiXin');
INSERT INTO `c_parameter_type_copy1` VALUES (3, 'LDAP', 'data:image/png;base64, ', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:34:57', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:52', NULL, NULL, 2, '');
INSERT INTO `c_parameter_type_copy1` VALUES (4, '泛微webservice', 'data:image/png;base64, ', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 18:30:29', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:52', NULL, NULL, 2, 'FanWei');
INSERT INTO `c_parameter_type_copy1` VALUES (5, '单点登录配置', 'data:image/png;base64, ', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:18:05', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:52', NULL, NULL, 2, '');
INSERT INTO `c_parameter_type_copy1` VALUES (6, 'MI', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABXCAIAAAB0hdd6AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAZASURBVHhe7ZxbbBRVGMe3Fmis2KDGSOONGCXiAz4YjcILpN1tyzZtLRYtUBCsVMHEpFYrRkpAsJdgMVXjg2KEBhACtFgfFG8oIVUTk8aIQAxWSoS1sWvpzmVndnbW/1w6OzPtzpk2XcNOzz//bCY733xzvt+eOXNmdjK+BJWjKCCCKCCCKCCCJgxIGjjP7N8RfjUwWH1nKJgbKskJFacwVrmxbatUtm1l2BaWysty0eBwYwCNRwl6MS40AUDSwLmrO1aE/FlDgazhoqxIcRaTUUaD0Ww0HiWgEJSjF+Yot4C4nvdDgexwwMcUe8EoBOWgKL281HIFiOncNuj3XS2y7yajjXJQFErTi0whMiBgRqLImB14wCgKpTn3IwIgHKjoih7rO2ajNBToMB4RAGEw88y4k8ooEGXqBY+REyCcDjHg29J50iG/L1UncgKEKQNOirZcnvQQjpIUo7UTIMwGMXGw5fKkh4t84YaletlWOQHC1FOdDdrTec/K6azqNr1sq5wA4UpCnYPa03nSOJfpZVvlCKgkZxoBKhwfhSOgYgqIAho1BUQwBUQwBUQwBUQwBUQwBUTwpABNcKJ4rd1UQ3vcNyn9gHBBXDil9qtGWvV2nV6q8meBaaejVr5EGOJNGSKqlQzW4HGdZkDBWdzLS6O766K7n5syt2/gm1dxmwvYZxYw5bMjAb1HjA8IdFbewe98ypyBh9vrmJp7mOBMW/xYpxdQpDxP6Hk3fvmPeOjPKfPlC1L/L7G+E+LnH0f3vMa9uCgSzEl5dyHgwy8UO9drSyJd6eeaKpmK2fb4MU4nIPx6FXPEH7sTcUnfckolQ9yIeLqbb17NPH7T+E0K+Pim8njkH30bk/i2Z5nKOfb4MU4vIDadgDTJcly6coHfVctU3jxOqyggWf2MD17ktpQxZTfYRyIKSCOEoy32U48ybBdfZ2lDpgKSRJkdkUeG5IjNYcXMv1YPy+ywzEcSMQEk9AwmaV/JUozfVoVOZGlDhgKK//W7+MVH0c6m6P6m6IEm4eBW4ZOtwqHtwqE3hMM7hSMtwtFW4Vib0LVL6HpL6GoXPu0Qv+mUzvbGw3/LQlRJMQ6ohPDh68yT+ZajLEMBiV/uYzcsZAp8EzCmdqW5XKM/dvo4OouWx0ZJ7HmbrZmH/SbbkJGA5IT4VSf7/INaJQ7TPMOmtdncxodjp7ow6CCR+pmU+PUHzNP3AoqxYcb2IBMgl8acWJkWY7ksl2uulgVWzWQFdHIvu27+NQDI5dU8EZAapvUOo48QexMuu9gXHomd/8HWfSDxu73ses8BSrokm6m8lXkiX3HV3EjVXCywWC693hKGtLUPiL1H9FwmeRpQMJutWxD7+YTUd3LU32oL0Y5NbHV+MjLgY9ffL546MI16kHJMlc7gXnpUlkSMKkrdptrF7nfYdfcZwaOADmKVDZGne1DpTK7hsURcP3+bJR5/TynbiDQBssnjgHgKyBAFpJoCIpgCIpgCIpgCIpgCInj6Apqqq3lzMAVkFgWkmgIimAIimAIimAIimAIiePoCcj1RZMrzhM864hd/jV86a7ZwuIWtnW+5OR+cwW1aKPX3xS/9ZnN0z2Z29V3JSACqmSccax0NMKU9+iZbc7eyX+POf8DHNSyJnfneHIatpIEz/JYKpjxNj7+4BxScxb2yhG9bE21ba5hvW8vWL44sn6P/jaO5JItdcUu0ZZUWoFmJb13DbXzIUgm2qsjj6hcjrR4zaq5+EVNxIwK0v0YURgheeTu/fbk5DObbapS/GNP1AJVLQFoT/erzblZH8KVahhajLSjFaGuNp+TgAqUXKKu0GCNSTWvP7E9GGmmVn8H6CB5TmKV8mo/E1E4vIMW22qzW0ZgZmb6chN1va/xCzk4/INjKKGWzxqJ0gJtilZuaLYc2yf8LoEw2BUQwBUQwBUQwBUQwBUQwBUQwBUTwpAAtoy8WcAREX00BOQEKN9KXmzgCoq/HgZwA0RcsQU6AIPqKLgIg+pI3AiCIviaQLPqiSbKAGV3RM+MRCkE5zn1Hk1tAEA5UDGYY8HFSxMQh4w46NBjNRuNRAgpxGHfMmgAgTciLbolpFaae+BFwCZMZDmSjwWg2Gu8SjaYJA5puooAIooAclUj8B4sxg158cwj5AAAAAElFTkSuQmCC', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 11:04:42', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:52', NULL, NULL, 2, '');
INSERT INTO `c_parameter_type_copy1` VALUES (7, '其它配置', 'data:image/png;base64, ', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 14:29:15', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-05-08 09:50:52', NULL, NULL, 2, '');
INSERT INTO `c_parameter_type_copy1` VALUES (11, '飞书', 'data:image/png;base64, ', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-16 15:34:57', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-11-17 15:04:57', NULL, NULL, 2, 'FeiShu');

-- ----------------------------
-- Table structure for c_synchronization_history
-- ----------------------------
DROP TABLE IF EXISTS `c_synchronization_history`;
CREATE TABLE `c_synchronization_history`  (
  `pid` int(10) NOT NULL AUTO_INCREMENT COMMENT '表统一主键',
  `app_pid` int(10) NOT NULL COMMENT '配置类型pid',
  `type` tinyint(1) UNSIGNED NOT NULL DEFAULT 1 COMMENT '同步类型 默认值 1，1：组织同步；2印章同步；3：人员同步',
  `synchronize_date` timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '同步时间',
  `current_status` tinyint(1) NOT NULL DEFAULT 1 COMMENT '当前状态 默认值 1，1：代开始 ;2：执行中；3：已结束 ',
  `result` tinyint(1) NOT NULL DEFAULT 1 COMMENT '同步结果 默认值 1，1：操作成功；2操作失败；',
  `return_data` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '响应报文',
  `method` tinyint(1) NOT NULL DEFAULT 1 COMMENT '同步方法 默认值 1，1：手动；2：自动；',
  `operator` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '操作人id',
  `is_delete` tinyint(1) NOT NULL DEFAULT 2 COMMENT '是否删除 默认值 2，1:是；2：否；',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40' COMMENT '公司id',
  PRIMARY KEY (`pid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of c_synchronization_history
-- ----------------------------

-- ----------------------------
-- Table structure for c_synchronization_strategy
-- ----------------------------
DROP TABLE IF EXISTS `c_synchronization_strategy`;
CREATE TABLE `c_synchronization_strategy`  (
  `pid` int(10) NOT NULL AUTO_INCREMENT COMMENT '表主键',
  `app_pid` int(10) NOT NULL DEFAULT 0 COMMENT 'pid',
  `type` tinyint(1) NOT NULL DEFAULT 1 COMMENT '同步类型： 默认 每小时； 1：每周，2：每天，3：每小时，4：表达式',
  `week` tinyint(1) NOT NULL DEFAULT 1 COMMENT '每周几(1-7,周日到周六) 类型对应1',
  `week_time` time(0) NOT NULL DEFAULT '00:00:00' COMMENT '每周的几点几分几秒 对应1',
  `date_time` time(0) NOT NULL DEFAULT '00:00:00' COMMENT '每天的几点几分几秒 对应 2',
  `hour` double(4, 1) NOT NULL DEFAULT 1.0 COMMENT '每多少小时 对应 3',
  `expression` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '同步表达式 对应 4',
  `end_expression` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '最终表达式 根据同步类型处理后的同步表达式',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40' COMMENT '公司id',
  PRIMARY KEY (`pid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of c_synchronization_strategy
-- ----------------------------

-- ----------------------------
-- Table structure for cfg_field_mapping
-- ----------------------------
DROP TABLE IF EXISTS `cfg_field_mapping`;
CREATE TABLE `cfg_field_mapping`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '记录ID，主键',
  `app_type` int(2) NOT NULL DEFAULT 1 COMMENT '应用类型，1：钉钉；2：微信；3：LDAP',
  `biz_type` int(2) NOT NULL DEFAULT 1 COMMENT '业务类型，1：部门同步；2：人员同步',
  `field_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '字段名称',
  `third_field_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '第三方字段名称',
  `active_flag` int(1) NOT NULL DEFAULT 1 COMMENT '有效标示。枚举值：0：删除；1：正常',
  `add_user_id` bigint(20) NOT NULL COMMENT '添加人',
  `add_time` timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '添加时间',
  `update_user_id` bigint(20) NOT NULL COMMENT '修改人',
  `update_time` timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  `delete_user_id` bigint(20) NULL DEFAULT NULL COMMENT '删除人',
  `delete_time` timestamp(0) NULL DEFAULT NULL COMMENT '删除时间',
  PRIMARY KEY (`pid`) USING BTREE,
  INDEX `idx_cfg_field_mapping_01`(`app_type`, `biz_type`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 44 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '字段映射关系配置表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of cfg_field_mapping
-- ----------------------------
INSERT INTO `cfg_field_mapping` VALUES (1, 1, 1, 'id', 'id', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL);
INSERT INTO `cfg_field_mapping` VALUES (2, 1, 1, 'name', 'name', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL);
INSERT INTO `cfg_field_mapping` VALUES (3, 1, 1, 'parent_id', 'parentid', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL);
INSERT INTO `cfg_field_mapping` VALUES (4, 1, 2, 'id', 'userid', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL);
INSERT INTO `cfg_field_mapping` VALUES (5, 1, 2, 'username', 'name', 1, 0, '2020-07-30 11:30:36', 0, '2020-08-28 09:51:25', NULL, NULL);
INSERT INTO `cfg_field_mapping` VALUES (6, 1, 2, 'isAdmin', 'isAdmin', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL);
INSERT INTO `cfg_field_mapping` VALUES (7, 1, 2, 'phone', 'mobile', 1, 0, '2020-07-30 11:30:36', 0, '2020-08-27 22:01:19', NULL, NULL);
INSERT INTO `cfg_field_mapping` VALUES (8, 1, 2, 'email', 'email', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL);
INSERT INTO `cfg_field_mapping` VALUES (9, 1, 2, 'department', 'department', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL);
INSERT INTO `cfg_field_mapping` VALUES (10, 2, 1, 'id', 'id', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL);
INSERT INTO `cfg_field_mapping` VALUES (11, 2, 1, 'name', 'name', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL);
INSERT INTO `cfg_field_mapping` VALUES (12, 2, 1, 'parent_id', 'parentid', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL);
INSERT INTO `cfg_field_mapping` VALUES (13, 2, 1, 'sort', 'order', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL);
INSERT INTO `cfg_field_mapping` VALUES (14, 2, 2, 'id', 'userid', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL);
INSERT INTO `cfg_field_mapping` VALUES (15, 2, 2, 'username', 'name', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL);
INSERT INTO `cfg_field_mapping` VALUES (16, 2, 2, 'isAdmin', 'isAdmin', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL);
INSERT INTO `cfg_field_mapping` VALUES (17, 2, 2, 'phone', 'mobile', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL);
INSERT INTO `cfg_field_mapping` VALUES (18, 2, 2, 'email', 'email', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL);
INSERT INTO `cfg_field_mapping` VALUES (19, 2, 2, 'department', 'department', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL);
INSERT INTO `cfg_field_mapping` VALUES (20, 3, 1, 'id', 'o', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL);
INSERT INTO `cfg_field_mapping` VALUES (21, 3, 1, 'name', 'departmentname', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL);
INSERT INTO `cfg_field_mapping` VALUES (22, 3, 1, 'parent_id', 'smart-parentid', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL);
INSERT INTO `cfg_field_mapping` VALUES (23, 4, 1, 'id', 'id', 1, 0, '2020-08-27 14:43:07', 0, '2020-08-27 14:51:25', NULL, NULL);
INSERT INTO `cfg_field_mapping` VALUES (24, 4, 1, 'name', 'name', 1, 0, '2020-08-27 14:43:07', 0, '2020-08-27 14:51:27', NULL, NULL);
INSERT INTO `cfg_field_mapping` VALUES (25, 4, 1, 'parent_id', 'parent_id', 1, 0, '2020-08-27 14:43:07', 0, '2020-08-27 14:51:29', NULL, NULL);
INSERT INTO `cfg_field_mapping` VALUES (26, 4, 2, 'id', 'id', 1, 0, '2020-08-27 15:44:17', 0, '2020-08-27 15:44:17', NULL, NULL);
INSERT INTO `cfg_field_mapping` VALUES (27, 4, 2, 'username', 'username', 1, 0, '2020-08-27 15:44:17', 0, '2020-08-27 15:44:17', NULL, NULL);
INSERT INTO `cfg_field_mapping` VALUES (28, 4, 2, 'realname', 'realname', 1, 0, '2020-08-27 15:44:17', 0, '2020-08-27 15:44:17', NULL, NULL);
INSERT INTO `cfg_field_mapping` VALUES (29, 4, 2, 'phone', 'phone', 1, 0, '2020-08-27 15:44:17', 0, '2020-08-27 15:44:17', NULL, NULL);
INSERT INTO `cfg_field_mapping` VALUES (30, 4, 2, 'department', 'department', 1, 0, '2020-08-27 15:44:17', 0, '2020-08-27 15:44:17', NULL, NULL);
INSERT INTO `cfg_field_mapping` VALUES (31, 4, 2, 'isAdmin', 'isAdmin', 1, 0, '2020-08-27 15:55:53', 0, '2020-08-27 15:55:53', NULL, NULL);
INSERT INTO `cfg_field_mapping` VALUES (32, 4, 2, 'email', 'email', 1, 0, '2020-08-27 15:55:53', 0, '2020-08-27 15:55:53', NULL, NULL);
INSERT INTO `cfg_field_mapping` VALUES (33, 1, 2, 'realname', 'realname', 1, 0, '2020-08-27 21:50:16', 0, '2020-08-27 21:55:52', NULL, NULL);
INSERT INTO `cfg_field_mapping` VALUES (34, 5, 1, 'id', 'DeptWBS', 1, 0, '2020-09-04 15:30:45', 0, '2020-09-07 15:31:59', NULL, NULL);
INSERT INTO `cfg_field_mapping` VALUES (35, 5, 1, 'name', 'DeptName', 1, 0, '2020-09-04 15:31:40', 0, '2020-09-04 15:31:42', NULL, NULL);
INSERT INTO `cfg_field_mapping` VALUES (36, 5, 1, 'parentId', 'DeptPWBS', 1, 0, '2020-09-04 15:37:42', 0, '2020-09-07 15:32:09', NULL, NULL);
INSERT INTO `cfg_field_mapping` VALUES (37, 5, 1, 'status', 'IsDel', 1, 0, '2020-09-04 15:39:07', 0, '2020-09-04 15:41:45', NULL, NULL);
INSERT INTO `cfg_field_mapping` VALUES (38, 5, 2, 'id', 'ID', 1, 0, '2020-09-04 15:42:47', 0, '2020-09-04 16:10:07', NULL, NULL);
INSERT INTO `cfg_field_mapping` VALUES (39, 5, 2, 'realname', 'EmployeeName', 1, 0, '2020-09-04 15:43:09', 0, '2020-09-04 16:10:10', NULL, NULL);
INSERT INTO `cfg_field_mapping` VALUES (40, 5, 2, 'sex', 'Sex', 1, 0, '2020-09-04 15:43:32', 0, '2020-09-04 16:09:37', NULL, NULL);
INSERT INTO `cfg_field_mapping` VALUES (41, 5, 2, 'username', 'LoginName', 1, 0, '2020-09-04 15:43:54', 0, '2020-09-04 16:10:23', NULL, NULL);
INSERT INTO `cfg_field_mapping` VALUES (42, 5, 2, 'userDepartList', 'DepartList', 1, 0, '2020-09-04 16:00:48', 0, '2020-09-09 13:35:46', NULL, NULL);
INSERT INTO `cfg_field_mapping` VALUES (43, 5, 2, 'status', 'IsDel', 1, 0, '2020-09-04 16:08:44', 0, '2020-09-04 16:11:27', NULL, NULL);

-- ----------------------------
-- Table structure for cfg_parameter
-- ----------------------------
DROP TABLE IF EXISTS `cfg_parameter`;
CREATE TABLE `cfg_parameter`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '记录ID，主键',
  `param_type` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '参数类型',
  `param_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '参数名称',
  `param_key` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '参数key',
  `param_value` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '参数值',
  `active_flag` int(1) NOT NULL DEFAULT 1 COMMENT '有效标示。枚举值：0：删除；1：正常',
  `add_user_id` bigint(20) NOT NULL COMMENT '添加人',
  `add_time` timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '添加时间',
  `update_user_id` bigint(20) NOT NULL COMMENT '修改人',
  `update_time` timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  `delete_user_id` bigint(20) NULL DEFAULT NULL COMMENT '删除人',
  `delete_time` timestamp(0) NULL DEFAULT NULL COMMENT '删除时间',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40' COMMENT '公司Id',
  PRIMARY KEY (`pid`) USING BTREE,
  INDEX `idx_cfg_parameter_01`(`param_type`, `param_key`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 91 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '参数配置表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of cfg_parameter
-- ----------------------------
INSERT INTO `cfg_parameter` VALUES (1, 'PARAM_TYPE_DINGTALK', '钉钉配置参数', 'appkey', '', 1, 0, '2020-07-30 11:30:36', 0, '2020-09-27 16:20:46', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (2, 'PARAM_TYPE_DINGTALK', '钉钉配置参数', 'appsecret', '', 1, 0, '2020-07-30 11:30:36', 0, '2020-09-27 16:20:48', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (3, 'PARAM_TYPE_DINGTALK', '钉钉配置参数', 'tokenServerUrl', 'https://oapi.dingtalk.com/gettoken', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (4, 'PARAM_TYPE_DINGTALK', '钉钉配置参数', 'deptServerUrl', 'https://oapi.dingtalk.com/department/list', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (5, 'PARAM_TYPE_DINGTALK', '钉钉配置参数', 'userServerUrl', 'https://oapi.dingtalk.com/user/listbypage', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (6, 'PARAM_TYPE_DINGTALK', '钉钉配置参数', 'accessToken', 'access_token', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (7, 'PARAM_TYPE_DINGTALK', '钉钉配置参数', 'department', 'department', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (8, 'PARAM_TYPE_DINGTALK', '钉钉配置参数', 'userlist', 'userlist', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (9, 'PARAM_TYPE_WEIXIN', '企业微信配置参数', 'corpid', 'wx2edbf12217e587ee', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (10, 'PARAM_TYPE_WEIXIN', '企业微信配置参数', 'corpsecret', '3DwP4x7n4MYQ-L4VFIbP9zPk7rO292pjbMkrTg8QGgs', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (11, 'PARAM_TYPE_WEIXIN', '企业微信配置参数', 'token_url', 'https://qyapi.weixin.qq.com/cgi-bin/gettoken?', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (12, 'PARAM_TYPE_WEIXIN', '企业微信配置参数', 'department_url', 'https://qyapi.weixin.qq.com/cgi-bin/department/list?', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (13, 'PARAM_TYPE_WEIXIN', '企业微信配置参数', 'user_url', 'https://qyapi.weixin.qq.com/cgi-bin/user/list?', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (14, 'PARAM_TYPE_WEIXIN', '企业微信配置参数', 'field_corpid', 'corpid', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (15, 'PARAM_TYPE_WEIXIN', '企业微信配置参数', 'field_corpsecret', 'corpsecret', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (16, 'PARAM_TYPE_WEIXIN', '企业微信配置参数', 'field_errcode', 'errcode', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (17, 'PARAM_TYPE_WEIXIN', '企业微信配置参数', 'field_access_token', 'access_token', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (18, 'PARAM_TYPE_WEIXIN', '企业微信配置参数', 'field_department', 'department', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (19, 'PARAM_TYPE_WEIXIN', '企业微信配置参数', 'field_id', 'id', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (20, 'PARAM_TYPE_WEIXIN', '企业微信配置参数', 'field_department_id', 'department_id', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (21, 'PARAM_TYPE_WEIXIN', '企业微信配置参数', 'field_fetch_child', 'fetch_child', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (22, 'PARAM_TYPE_WEIXIN', '企业微信配置参数', 'field_userlist', 'userlist', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (23, 'PARAM_TYPE_LDAP', 'LDAP配置参数', 'provider_url', 'ldap://ip:1389', 1, 0, '2020-07-30 11:30:36', 0, '2020-09-27 17:17:54', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (24, 'PARAM_TYPE_LDAP', 'LDAP配置参数', 'security_principal', 'uid=auth_wwwlyzxt,ou=application,ou=people,dc=vanke,dc=com', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (25, 'PARAM_TYPE_LDAP', 'LDAP配置参数', 'security_credentials', 'auzqpfisario6x3f', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (26, 'PARAM_TYPE_LDAP', 'LDAP配置参数', 'dept_base_dn', 'ou=organizations,dc=vanke,dc=com', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (27, 'PARAM_TYPE_LDAP', 'LDAP配置参数', 'dept_filter', '(&(smart-type=E)(!(smart-status=0)))', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (28, 'PARAM_TYPE_LDAP', 'LDAP配置参数', 'user_base_dn', 'ou=people,dc=vanke,dc=com', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (29, 'PARAM_TYPE_LDAP', 'LDAP配置参数', 'user_filter', '(&(smart-adaccount=*)(smart-status=1))', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (30, 'PARAM_TYPE_LDAP', 'LDAP配置参数', 'dept_attr_name', 'o,smart-parentid,smart-shortname,smart-type,departmentname', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (31, 'PARAM_TYPE_LDAP', 'LDAP配置参数', 'user_attr_name', 'uid,cn,mobile,mail,employeeNumber,departmentNumber,ds-pwp-account-disabled', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (32, 'PARAM_TYPE_USER_SYNC', '人员同步配置参数', 'pk_name', 'username', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (33, 'PARAM_TYPE_USER_SYNC', '人员同步配置参数', 'update_type', '1', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (34, 'PARAM_TYPE_USER_SYNC', '人员同步配置参数', 'override_flag', '1', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (35, 'PARAM_TYPE_USER_SYNC', '人员同步配置参数', 'delete_flag', '1', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (36, 'PARAM_TYPE_USER_SYNC', '人员同步配置参数', 'special_name', 'admin', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (37, 'PARAM_TYPE_USER_DEPT_SYNC', '人员部门同步配置参数', 'update_type', '1', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (38, 'PARAM_TYPE_USER_DEPT_SYNC', '人员部门同步配置参数', 'override_flag', '1', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (39, 'PARAM_TYPE_USER_DEPT_SYNC', '人员部门同步配置参数', 'delete_flag', '1', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (40, 'PARAM_TYPE_USER_ROLE_SYNC', '人员角色同步配置参数', 'update_type', '1', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (41, 'PARAM_TYPE_USER_ROLE_SYNC', '人员角色同步配置参数', 'override_flag', '1', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (42, 'PARAM_TYPE_USER_ROLE_SYNC', '人员角色同步配置参数', 'delete_flag', '1', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (43, 'PARAM_TYPE_DEPT_SYNC_SERVICE', '部门同步服务配置参数', '1', 'DingTalkDepartmentSyncService', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (44, 'PARAM_TYPE_DEPT_SYNC_SERVICE', '部门同步服务配置参数', '2', 'WeixinDepartmentSyncService', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (45, 'PARAM_TYPE_DEPT_SYNC_SERVICE', '部门同步服务配置参数', '3', 'LdapDepartmentSyncService', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (46, 'PARAM_TYPE_USER_SYNC_SERVICE', '人员同步服务配置参数', '1', 'DingTalkUserSyncService', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (47, 'PARAM_TYPE_USER_SYNC_SERVICE', '人员同步服务配置参数', '2', 'WeixinUserSyncService', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (48, 'PARAM_TYPE_USER_SYNC_SERVICE', '人员同步服务配置参数', '3', 'LdapUserSyncService', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (49, 'PARAM_TYPE_EVENT_TYPE_CLASS', '事件类型配置参数', 'SEAL_EVENT', 'com.qunje.apollo.event.biz.SealEvent', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (50, 'PARAM_TYPE_DINGTALK', '钉钉配置参数', 'domain', 'https://oapi.dingtalk.com', 1, 0, '2020-08-18 09:35:10', 0, '2020-08-18 09:35:10', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (51, 'PARAM_TYPE_DINGTALK', '钉钉配置参数', 'tokenKey', 'access_token', 1, 0, '2020-08-18 09:36:34', 0, '2020-08-18 09:36:34', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (52, 'PARAM_TYPE_DINGTALK', '钉钉配置参数', 'tokenTimeKey', 'create_access_token_time', 1, 0, '2020-08-18 09:36:34', 0, '2020-08-18 09:36:34', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (53, 'PARAM_TYPE_DINGTALK', '钉钉配置参数', 'ticketKey', 'jsapi_ticket', 1, 0, '2020-08-18 09:36:34', 0, '2020-08-18 09:36:34', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (54, 'PARAM_TYPE_DINGTALK', '钉钉配置参数', 'ticketTimeKey', 'create_jsapi_ticket_time', 1, 0, '2020-08-18 09:36:34', 0, '2020-08-18 09:36:34', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (55, 'PARAM_TYPE_DINGTALK', '钉钉配置参数', 'serverIP', 'http://ddqj.vaiwan.com/api', 1, 0, '2020-08-18 09:36:34', 0, '2020-08-18 09:36:34', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (56, 'PARAM_TYPE_DINGTALK', '钉钉配置参数', 'aesKey', 'ZRXBfBehcgRDjW2b3U2SnG2NGkPQdP3GFjLfQV2DSFF', 1, 0, '2020-08-18 09:36:34', 0, '2020-08-18 09:36:34', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (57, 'PARAM_TYPE_DINGTALK', '钉钉配置参数', 'aesToken', 'JDSALJFSA8U30LKJDWSFI093I43', 1, 0, '2020-08-18 09:36:34', 0, '2020-08-18 09:36:34', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (58, 'PARAM_TYPE_DINGTALK', '钉钉配置参数', 'corpId', 'ding24c5c119c146174b24f2f5cc6abecb85', 1, 0, '2020-08-18 09:36:34', 0, '2020-08-18 09:36:34', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (59, 'PARAM_TYPE_DINGTALK', '钉钉配置参数', 'processCode', 'PROC-0F786D37-3AE4-4FA6-92F3-5D8562C27148', 1, 0, '2020-08-18 09:36:34', 0, '2020-08-18 09:36:34', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (60, 'PARAM_TYPE_DINGTALK', '钉钉配置参数', 'remark', '用印事由', 1, 0, '2020-08-18 09:36:34', 0, '2020-08-18 09:36:34', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (61, 'PARAM_TYPE_DINGTALK', '钉钉配置参数', 'title', '事项标题', 1, 0, '2020-08-18 09:36:34', 0, '2020-08-18 09:36:34', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (62, 'PARAM_TYPE_DINGTALK', '钉钉配置参数', 'takeOut', '是否外带', 1, 0, '2020-08-18 09:36:34', 0, '2020-08-18 09:36:34', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (63, 'PARAM_TYPE_DINGTALK', '钉钉配置参数', 'sealDetail', '印章明细', 1, 0, '2020-08-18 09:36:34', 0, '2020-08-18 09:36:34', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (64, 'PARAM_TYPE_DINGTALK', '钉钉配置参数', 'sealCount', '用印次数', 1, 0, '2020-08-18 09:36:34', 0, '2020-08-18 09:36:34', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (65, 'PARAM_TYPE_DINGTALK', '钉钉配置参数', 'takeOut', '是否外带', 1, 0, '2020-08-18 09:36:34', 0, '2020-08-18 09:36:34', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (66, 'PARAM_TYPE_DINGTALK', '钉钉配置参数', 'message', '尊敬的{0},您好：{1}申请的{2}文件已授权成功,用印验证码:{3}', 1, 0, '2020-08-18 09:36:34', 0, '2020-08-18 09:36:34', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (67, 'PARAM_TYPE_DINGTALK', '钉钉配置参数', 'companyId', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '2020-08-18 09:36:34', 0, '2020-08-18 09:36:34', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (68, 'PARAM_TYPE_DINGTALK', '钉钉配置参数', 'sealName', '印章名称', 1, 0, '2020-08-18 09:36:34', 0, '2020-08-18 09:36:34', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (69, 'PARAM_TYPE_DINGTALK', '钉钉配置参数', 'agentId', '843910966', 1, 0, '2020-08-18 09:36:34', 0, '2020-08-18 09:36:34', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (70, 'PARAM_TYPE_FANWEIWEBSERVICE', '泛微webservice参数', 'URL', 'http://c3uat.midea.com/services/HrmService?wsdl', 1, 0, '2020-08-26 17:18:34', 0, '2020-09-11 21:15:52', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (71, 'PARAM_TYPE_DB', '数据库配置参数', 'dbUrl', 'jdbc:sqlserver://ip:1433; DatabaseName=shunjiang', 1, 0, '2020-09-04 11:12:48', 0, '2020-09-27 17:18:25', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (72, 'PARAM_TYPE_USER_SYNC_SERVICE', '人员同步服务配置参数', '4', 'WebServiceUserSyncService', 1, 0, '2020-08-26 17:56:27', 0, '2020-08-26 17:56:27', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (73, 'PARAM_TYPE_DEPT_SYNC_SERVICE', '部门同步服务配置参数', '4', 'WebServiceDepartmentSyncService', 1, 0, '2020-08-26 17:56:38', 0, '2020-08-26 17:56:38', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (74, 'PARAM_TYPE_FANWEIWEBSERVICE', '泛微webservice参数', 'IP', '具体的IP', 1, 0, '2020-08-26 17:18:34', 0, '2020-09-27 17:18:46', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (75, 'PARAM_TYPE_FANWEIWEBSERVICE', '泛微webservice参数同步API数据类型（XML、BEAN）', 'SOURCE_TYPE', 'XML', 1, 0, '2020-08-26 17:18:34', 0, '2020-09-11 21:09:22', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (76, 'PARAM_TYPE_FANWEIWEBSERVICE', '泛微webservice参数同步部门请求方法', 'LOAD_DEPARTMENT_METHOD', 'getHrmDepartmentInfoXML', 1, 0, '2020-08-26 17:18:34', 0, '2020-09-11 21:09:22', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (77, 'PARAM_TYPE_FANWEIWEBSERVICE', '泛微webservice参数同步部门节点(多个节点使用逗号分隔）为空则全部', 'LOAD_FROM_SUB_COMPANY', '81,66,67', 1, 0, '2020-08-26 17:18:34', 0, '2020-09-12 02:34:29', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (78, 'PARAM_TYPE_FANWEIWEBSERVICE', '泛微webservice参数同步人员请求方法', 'LOAD_USER_METHOD', 'getHrmUserInfoXML', 1, 0, '2020-08-26 17:18:34', 0, '2020-09-12 02:58:20', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (79, 'PARAM_TYPE_USER_SYNC', '人员同步配置参数', 'defalut_password', 'e10adc3949ba59abbe56e057f20f883e', 1, 0, '2020-07-30 11:30:36', 0, '2020-07-30 11:30:36', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (80, 'PARAM_TYPE_DB', '数据库配置参数', 'dbDriver', 'com.microsoft.sqlserver.jdbc.SQLServerDriver', 1, 0, '2020-09-04 11:11:31', 0, '2020-09-04 11:11:43', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (82, 'PARAM_TYPE_DB', '数据库配置参数', 'dbUrl', 'jdbc:sqlserver://IP:1433; DatabaseName=shunjiang', 1, 0, '2020-09-04 11:12:48', 0, '2020-09-27 16:15:56', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (83, 'PARAM_TYPE_DB', '数据库配置参数', 'dbUserName', 'sa1', 1, 0, '2020-09-04 11:13:12', 0, '2020-09-27 16:16:04', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (84, 'PARAM_TYPE_DB', '数据库配置参数', 'dbPassword', '1234561', 1, 0, '2020-09-04 11:13:33', 0, '2020-09-27 16:16:07', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (85, 'PARAM_TYPE_DB', '数据库部门查询sql(舜江)', 'sj_dept_sql', 'select * from T_HR_ViewDept', 1, 0, '2020-09-07 12:32:23', 0, '2020-09-27 16:16:38', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (86, 'PARAM_TYPE_DEPT_SYNC_SERVICE', '部门同步服务配置参数', '5', 'SynCustomerDeptService', 1, 0, '2020-09-08 10:59:51', 0, '2020-09-08 19:23:21', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (87, 'PARAM_TYPE_DB', '数据库人员查询sql(舜江)', 'sj_emp_sql', 'SELECT * FROM T_HR_ViewEmployee emp LEFT JOIN T_HR_ViewDept dept ON dept.ID = emp.DeptID', 1, 0, '2020-09-08 19:24:40', 0, '2020-09-27 16:17:17', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (88, 'PARAM_TYPE_USER_SYNC_SERVICE', '人员同步服务配置参数', '5', 'SynCustomerEmployeeService', 1, 0, '2020-09-08 19:26:39', 0, '2020-09-08 19:26:34', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (89, 'PARAM_TYPE_DB', '数据库根据人员ID查询部门ID(舜江)', 'sj_selectDeptId_sql', 'SELECT * FROM T_HR_ViewEmployee where ID = ?', 1, 0, '2020-09-09 11:21:46', 0, '2020-09-27 16:17:23', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `cfg_parameter` VALUES (90, 'PARAM_TYPE_USER_ROLE_SYNC', '人员角色同步配置参数', 'role_id', '', 1, 0, '2020-09-27 16:19:45', 0, '2020-09-27 16:19:45', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');

-- ----------------------------
-- Table structure for d_dictionary_type
-- ----------------------------
DROP TABLE IF EXISTS `d_dictionary_type`;
CREATE TABLE `d_dictionary_type`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '字典名称',
  `code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '编码',
  `type` tinyint(1) NOT NULL DEFAULT 0 COMMENT '类型0普通1多级2sql',
  `query_sql` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'sql',
  `create_date` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建日期',
  `remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '描述',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '公司id',
  `status` tinyint(1) NOT NULL DEFAULT 0 COMMENT '状态（0未删除，1已删除',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 43 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of d_dictionary_type
-- ----------------------------
INSERT INTO `d_dictionary_type` VALUES (38, '1e1f88c5-b6db-42ca-82d9-85d344345348', '印章材质', 'seal_material', 1, NULL, '2019-02-22 10:38:24', '默认印章材质字典', '1', 0);
INSERT INTO `d_dictionary_type` VALUES (39, '81707e29-aba8-4899-81cd-0c00013fdace', '印章形状', 'seal_shape', 1, NULL, '2019-02-25 17:14:53', '默认印章形状字典', '1', 0);
INSERT INTO `d_dictionary_type` VALUES (40, 'ea8dd8ec-7172-11e9-aa26-801844e506d1', '角色类型', 'role_group', 1, NULL, '2018-12-05 17:08:31', '默认角色组字典', '1', 0);
INSERT INTO `d_dictionary_type` VALUES (41, 'f29968b6-7172-11e9-aa26-801844e506d1', '印章类型', 'seal_type', 1, NULL, '2018-12-05 17:08:34', '默认印章类型字典', '1', 0);
INSERT INTO `d_dictionary_type` VALUES (42, 'f9e9af11-7172-11e9-aa26-801844e506d1', '流程类型', 'process_group', 1, NULL, '2018-12-05 17:08:36', '默认流程类型字典', '1', 0);

-- ----------------------------
-- Table structure for d_dictionary_value
-- ----------------------------
DROP TABLE IF EXISTS `d_dictionary_value`;
CREATE TABLE `d_dictionary_value`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '字典类型',
  `name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '名称',
  `content` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '值',
  `create_date` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建日期',
  `sort` int(4) NULL DEFAULT NULL COMMENT '序号',
  `power` tinyint(1) NOT NULL DEFAULT 0 COMMENT '0可编辑  1不可编辑',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '公司id',
  `remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '描述',
  `parent_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '挂载点',
  `status` tinyint(1) NOT NULL DEFAULT 0 COMMENT '状态（0未删除，1已删除',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 111 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of d_dictionary_value
-- ----------------------------
INSERT INTO `d_dictionary_value` VALUES (98, '083a53d3-05f4-4135-be06-b64f96254634', 'seal_type', '公章', '1', '2018-12-26 10:16:52', 1, 1, '1', '公章', '-1', 0);
INSERT INTO `d_dictionary_value` VALUES (99, '233ef415-b9e8-4c5a-9aef-90076148a62b', 'seal_material', '回墨章', '4', '2019-02-25 17:14:34', 4, 1, '1', '', '-1', 0);
INSERT INTO `d_dictionary_value` VALUES (100, '377e682a-9753-4e51-9008-45ddffc9864a', 'role_group', '默认', '1', '2018-12-19 14:10:12', 1, 1, '1', '默认角色组', '-1', 0);
INSERT INTO `d_dictionary_value` VALUES (101, '5ac5c248-2e86-426f-a97e-f59e0ca6ec6e', 'seal_shape', '圆形', '1', '2019-02-25 17:15:09', 1, 1, '1', '', '-1', 0);
INSERT INTO `d_dictionary_value` VALUES (102, '6cb4a462-e845-4190-b6ff-679a8a9ac41c', 'role_group', '职务', '3', '2018-12-19 14:10:37', 2, 1, '1', '职务', '-1', 0);
INSERT INTO `d_dictionary_value` VALUES (103, '817353bd-84ca-474c-b647-a20a14ca78d4', 'seal_material', '橡胶章', '1', '2019-02-22 10:40:30', 3, 1, '1', '', '-1', 0);
INSERT INTO `d_dictionary_value` VALUES (104, 'ba4f4fff-c8f9-4b4e-a47d-9d218667231', 'process_group', '财务类', '1', '2018-12-19 14:10:27', 1, 1, '1', '', '-1', 0);
INSERT INTO `d_dictionary_value` VALUES (105, 'ba4f4fff-c8f9-4b4e-a47d-9d2186672311', 'process_group', '其他', '3', '2018-12-19 14:10:27', 2, 1, '1', '', '-1', 0);
INSERT INTO `d_dictionary_value` VALUES (106, 'c298dd28-4456-4ca0-abce-7235dcf26874', 'seal_shape', '椭圆', '2', '2019-03-14 18:52:27', 2, 1, '1', '', '-1', 0);
INSERT INTO `d_dictionary_value` VALUES (107, 'c298dd28-4456-4ca0-abce-7235dcf28752', 'seal_shape', '长方形', '4', '2019-03-14 18:52:27', 4, 1, '1', '', '-1', 0);
INSERT INTO `d_dictionary_value` VALUES (108, 'c298dd28-4456-4ca0-abce-7235dcfds874', 'seal_shape', '正方形', '3', '2019-03-14 18:52:27', 3, 1, '1', '', '-1', 0);
INSERT INTO `d_dictionary_value` VALUES (109, 'f19c75b7-ec6d-436e-ad0a-5c4439037a6a', 'seal_material', '铜章', '2', '2019-02-22 10:39:37', 2, 1, '1', '', '-1', 0);
INSERT INTO `d_dictionary_value` VALUES (110, 'f216c591-c6b4-4241-8292-35bae9752dc9', 'seal_material', '牛角章', '3', '2019-02-22 10:38:44', 1, 1, '1', '', '-1', 0);

-- ----------------------------
-- Table structure for device_policy_merge
-- ----------------------------
DROP TABLE IF EXISTS `device_policy_merge`;
CREATE TABLE `device_policy_merge`  (
  `pid` int(11) NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `device_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `policy_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  PRIMARY KEY (`pid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of device_policy_merge
-- ----------------------------

-- ----------------------------
-- Table structure for emergency_password_log
-- ----------------------------
DROP TABLE IF EXISTS `emergency_password_log`;
CREATE TABLE `emergency_password_log`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `username` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '用印人',
  `reason` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '事由',
  `view_people` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '查看人',
  `create_date` datetime(6) NOT NULL COMMENT '创建时间',
  `console_id` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '印控台',
  `machine_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '盖章机',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 69 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of emergency_password_log
-- ----------------------------

-- ----------------------------
-- Table structure for external_setting
-- ----------------------------
DROP TABLE IF EXISTS `external_setting`;
CREATE TABLE `external_setting`  (
  `pid` int(10) NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '唯一标识',
  `type` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '类型（F:飞书；C:企业微信；D:钉钉）',
  `agent_id` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '应用agentid（仅企业微信和钉钉使用）',
  `corp_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '企业编号（仅企业微信和钉钉使用） ',
  `app_key` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '应用身份标识（仅钉钉和飞书使用） ',
  `app_secret` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '应用密钥',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '公司ID',
  `switch_status` tinyint(1) NOT NULL DEFAULT 0 COMMENT '开关状态，0开启，1关闭',
  `del_status` tinyint(1) NOT NULL DEFAULT 0 COMMENT '0正常，1删除',
  PRIMARY KEY (`pid`) USING BTREE,
  INDEX `idx_external_corp_id_agent_id`(`corp_id`, `agent_id`) USING BTREE,
  INDEX `idx_external_app_key`(`app_key`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of external_setting
-- ----------------------------

-- ----------------------------
-- Table structure for f_s_disk_file
-- ----------------------------
DROP TABLE IF EXISTS `f_s_disk_file`;
CREATE TABLE `f_s_disk_file`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '唯一约束',
  `path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '路径',
  `file_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '文件名',
  `file_package` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '文件夹',
  `file_type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '文件类型',
  `server_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '服务端码',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '公司id',
  `create_date` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建日期',
  `pwd_switch` int(1) NULL DEFAULT NULL COMMENT '密码开关',
  `size` double(15, 0) NULL DEFAULT NULL COMMENT '文件大小',
  `interface_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '文件上传接口名称',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 15990 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of f_s_disk_file
-- ----------------------------

-- ----------------------------
-- Table structure for f_s_file
-- ----------------------------
DROP TABLE IF EXISTS `f_s_file`;
CREATE TABLE `f_s_file`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '唯一约束',
  `file_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '文件名',
  `url` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '路径地址',
  `parent_id` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '挂载',
  `status` tinyint(4) NOT NULL DEFAULT 0 COMMENT '状态0/1删除',
  `type` varchar(15) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '文件类型0默认1图片2zip3text4Word5PDF6Excel',
  `size` smallint(6) NOT NULL DEFAULT 0 COMMENT '文件页数',
  `creator` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人',
  `create_date` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `app_key` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '企业标识',
  `server_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '服务端码',
  `pdf_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT 'PDF文件地址',
  `selected_seal_page` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '文件指定盖章页，多页以”,”分割',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE,
  INDEX `idx_parent_type`(`parent_id`, `type`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of f_s_file
-- ----------------------------

-- ----------------------------
-- Table structure for f_s_file_cut
-- ----------------------------
DROP TABLE IF EXISTS `f_s_file_cut`;
CREATE TABLE `f_s_file_cut`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '标识id',
  `form_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '表单id/流程id',
  `parent_id` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '原文件id',
  `text_info` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '文本信息',
  `line_count` int(5) NULL DEFAULT NULL COMMENT '行数',
  `line_info` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '文档行信息,包含坐标信息',
  `path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '地址',
  `page` int(5) NULL DEFAULT NULL COMMENT '页码',
  `app_key` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业标识',
  `used_pass_word` tinyint(1) NOT NULL DEFAULT 0 COMMENT '是否使用密码0是1否',
  `some_like_count` int(2) NULL DEFAULT NULL COMMENT '相似图数量',
  `mark` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '水印码',
  `server_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '服务编码',
  `print_path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '打印文件地址',
  `difference_count` int(5) NULL DEFAULT NULL COMMENT '于盖章图不同总数',
  `path_s` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '缩略图',
  `sim_hash` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '相似度simhash值',
  `is_contains_table` tinyint(1) NOT NULL DEFAULT 0 COMMENT '0 未检测，1 不含表格，2含表格',
  `image_area` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '包含图片的坐标信息',
  PRIMARY KEY (`pid`) USING BTREE,
  INDEX `form_id`(`form_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2920 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of f_s_file_cut
-- ----------------------------
INSERT INTO `f_s_file_cut` VALUES (2916, '192.168.2.11-01fbfadc-5526-48b7-919a-a6218beb7abb-1', '3bab1cec-d481-4761-9365-9cc869bbb639', '192.168.2.11-01fbfadc-5526-48b7-919a-a6218beb7abb', '软件开发委托合同范本2019 \n委托开发合同是一方当事人委托另一方当事人进行技术开发所订立的合同。那么签订\n软件开发委托合同需要注意什么呢?以下是华律网小编整理的软件开发委托合同,欢迎参考 \n阅读。\n软件委托开发合同范文篇一\n甲方:\n乙方:\n乙方受甲方委托进行 的开发工作,双方本着相互合作、互惠互利的原则,共同协商 \n达成如下协议:\n一、项目名称:\n二、内容及要求:\n1、开发内容:根据甲方的要求,乙方在规定时间内完成5的开发,该系统的设计及\n开发要求详见《需求说明书》。\n2、开发时间:\n(1)启动日期:甲乙双方签字盖章之日即为项目正式启动日期;\n(2)完成期限:自项目正式启动后,在10个工作日内完成。\n三、双方权利义务:\n1、甲方:\n(1)甲方有权利督促乙方按规定完成项目开发,有增加或修改内容双方需另行协商解决;\n在不影响进程的情况下,对于甲方的小规模变动的需求,乙方必须满足;若出现大幅度的变\n更,则甲乙双方商议延长开发周期。\n(2)甲方完全拥有\n系统的所有权,包括使用权、著作权等所有权利;\n(3)甲方应当按照协议,按时向乙方支付开发费用。\n2、乙方:\n(1)乙方有责任按甲方的要求在规定时间内完成项目软件开发的内容;\n', 0, NULL, '192.168.2.11-63ccc6de-e9f7-48ff-90d7-bada306a687e', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, NULL, '192.168.2.11', '192.168.2.11-fa058258-8f3e-4c02-b37e-3f7e647d1090', 0, '192.168.2.11-22af5ed8-0237-4b9e-9f72-6df7eae5d2c3', '10253654613130346909', 0, NULL);
INSERT INTO `f_s_file_cut` VALUES (2917, '192.168.2.11-43f1e36b-0589-4b13-b66e-233dc697ac7e-1', '1293d1a1-abe9-4bd3-8115-b7ccf6f390fe', '192.168.2.11-43f1e36b-0589-4b13-b66e-233dc697ac7e', '软件开发委托合同范本2019 \n委托开发合同是一方当事人委托另一方当事人进行技术开发所订立的合同。那么签订\n软件开发委托合同需要注意什么呢?以下是华律网小编整理的软件开发委托合同,欢迎参考 \n阅读。\n软件委托开发合同范文篇一\n甲方:\n乙方:\n乙方受甲方委托进行 的开发工作,双方本着相互合作、互惠互利的原则,共同协商 \n达成如下协议:\n一、项目名称:\n二、内容及要求:\n1、开发内容:根据甲方的要求,乙方在规定时间内完成5的开发,该系统的设计及\n开发要求详见《需求说明书》。\n2、开发时间:\n(1)启动日期:甲乙双方签字盖章之日即为项目正式启动日期;\n(2)完成期限:自项目正式启动后,在10个工作日内完成。\n三、双方权利义务:\n1、甲方:\n(1)甲方有权利督促乙方按规定完成项目开发,有增加或修改内容双方需另行协商解决;\n在不影响进程的情况下,对于甲方的小规模变动的需求,乙方必须满足;若出现大幅度的变\n更,则甲乙双方商议延长开发周期。\n(2)甲方完全拥有\n系统的所有权,包括使用权、著作权等所有权利;\n(3)甲方应当按照协议,按时向乙方支付开发费用。\n2、乙方:\n(1)乙方有责任按甲方的要求在规定时间内完成项目软件开发的内容;\n', 0, NULL, '192.168.2.11-aba544cc-08b0-4006-832e-dd3b4943a23d', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, NULL, '192.168.2.11', '192.168.2.11-df731e88-aa2a-4e60-bd3d-76efd3ab874c', 0, '192.168.2.11-970e32be-763c-411d-b78c-48ed51ba36fd', '10253654613130346909', 0, NULL);
INSERT INTO `f_s_file_cut` VALUES (2918, '192.168.2.11-44242130-37d9-4160-914f-8a5678a4d4e1-1', 'c43cb8fe-ffe7-4a61-be3a-80c343956e12', '192.168.2.11-44242130-37d9-4160-914f-8a5678a4d4e1', '软件开发委托合同范本2019 \n委托开发合同是一方当事人委托另一方当事人进行技术开发所订立的合同。那么签订\n软件开发委托合同需要注意什么呢?以下是华律网小编整理的软件开发委托合同,欢迎参考 \n阅读。\n软件委托开发合同范文篇一\n甲方:\n乙方:\n乙方受甲方委托进行 的开发工作,双方本着相互合作、互惠互利的原则,共同协商 \n达成如下协议:\n一、项目名称:\n二、内容及要求:\n1、开发内容:根据甲方的要求,乙方在规定时间内完成5的开发,该系统的设计及\n开发要求详见《需求说明书》。\n2、开发时间:\n(1)启动日期:甲乙双方签字盖章之日即为项目正式启动日期;\n(2)完成期限:自项目正式启动后,在10个工作日内完成。\n三、双方权利义务:\n1、甲方:\n(1)甲方有权利督促乙方按规定完成项目开发,有增加或修改内容双方需另行协商解决;\n在不影响进程的情况下,对于甲方的小规模变动的需求,乙方必须满足;若出现大幅度的变\n更,则甲乙双方商议延长开发周期。\n(2)甲方完全拥有\n系统的所有权,包括使用权、著作权等所有权利;\n(3)甲方应当按照协议,按时向乙方支付开发费用。\n2、乙方:\n(1)乙方有责任按甲方的要求在规定时间内完成项目软件开发的内容;\n', 0, NULL, '192.168.2.11-8bc45a33-a1da-4f26-8c41-c3f941303f05', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, NULL, '192.168.2.11', '192.168.2.11-fa0e54fb-c400-4d8a-835d-23b935390b5d', 0, '192.168.2.11-a4080fe1-d2d0-4824-b58f-0c4662f52be3', '10253654613130346909', 0, NULL);
INSERT INTO `f_s_file_cut` VALUES (2919, '192.168.2.11-d69278f0-4a1a-458a-99c3-da3f504f3770-1', 'ae859208-fbe3-415b-a86d-15a6ffd4ffc7', '192.168.2.11-d69278f0-4a1a-458a-99c3-da3f504f3770', '软件开发委托合同范本2019 \n委托开发合同是一方当事人委托另一方当事人进行技术开发所订立的合同。那么签订\n软件开发委托合同需要注意什么呢?以下是华律网小编整理的软件开发委托合同,欢迎参考 \n阅读。\n软件委托开发合同范文篇一\n甲方:\n乙方:\n乙方受甲方委托进行 的开发工作,双方本着相互合作、互惠互利的原则,共同协商 \n达成如下协议:\n一、项目名称:\n二、内容及要求:\n1、开发内容:根据甲方的要求,乙方在规定时间内完成5的开发,该系统的设计及\n开发要求详见《需求说明书》。\n2、开发时间:\n(1)启动日期:甲乙双方签字盖章之日即为项目正式启动日期;\n(2)完成期限:自项目正式启动后,在10个工作日内完成。\n三、双方权利义务:\n1、甲方:\n(1)甲方有权利督促乙方按规定完成项目开发,有增加或修改内容双方需另行协商解决;\n在不影响进程的情况下,对于甲方的小规模变动的需求,乙方必须满足;若出现大幅度的变\n更,则甲乙双方商议延长开发周期。\n(2)甲方完全拥有\n系统的所有权,包括使用权、著作权等所有权利;\n(3)甲方应当按照协议,按时向乙方支付开发费用。\n2、乙方:\n(1)乙方有责任按甲方的要求在规定时间内完成项目软件开发的内容;\n', 0, NULL, '192.168.2.11-791cf72a-8947-4a9a-882a-d047527c59b2', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, NULL, '192.168.2.11', '192.168.2.11-f9f6971f-b1df-4ba7-b672-b5d69ae18f5f', 0, '192.168.2.11-e31ea547-9165-406b-b1f1-3f5fafc60898', '10253654613130346909', 0, NULL);

-- ----------------------------
-- Table structure for f_s_file_pretreatment_task
-- ----------------------------
DROP TABLE IF EXISTS `f_s_file_pretreatment_task`;
CREATE TABLE `f_s_file_pretreatment_task`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '唯一约束',
  `parent_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '流程id',
  `page_size` int(11) NOT NULL DEFAULT 0 COMMENT '文件页数',
  `is_set_ocr` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'ocr处理完成0未处理1已处理',
  `is_set_mark` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'mark处理状态：0未处理 1已处理 2无需处理 3已删除 4重新生成中 5超过页数不予生成 6处理失败',
  `status` tinyint(1) NOT NULL DEFAULT 0 COMMENT '处理状态0未处理1已处理',
  `create_date` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `channel` tinyint(1) NOT NULL DEFAULT 0 COMMENT '通道0小1大',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '企业id',
  `is_set_qrcode` tinyint(1) NOT NULL DEFAULT 0 COMMENT '二维码处理完成0未处理1已处理',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 189 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '文件预处理排队表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of f_s_file_pretreatment_task
-- ----------------------------

-- ----------------------------
-- Table structure for f_s_image
-- ----------------------------
DROP TABLE IF EXISTS `f_s_image`;
CREATE TABLE `f_s_image`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `filename` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '文件名',
  `url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '路径地址',
  `type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '文件类型jpg',
  `size` double(15, 0) NULL DEFAULT NULL COMMENT '文件大小kb',
  `creator` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人',
  `create_date` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `urlS` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '小图地址',
  `rotate` int(3) NOT NULL DEFAULT 0 COMMENT '角度，已转角，固定为0',
  `parent_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '挂载点',
  `app_key` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业标识',
  `urlC` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '裁剪后图片地址',
  `authorization_status` tinyint(4) NULL DEFAULT 0 COMMENT '盖章前图片授权状态  0-无   1-未授权  2-授权通过 3-授权不通过  4-授权失败 5-已处理，等待响应 6-印章移动-授权无效',
  `auth_date` datetime(0) NULL DEFAULT NULL COMMENT '授权日期',
  `url_scale` varchar(150) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '按照一定比例缩放的图',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2552 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of f_s_image
-- ----------------------------

-- ----------------------------
-- Table structure for f_s_img_ocr
-- ----------------------------
DROP TABLE IF EXISTS `f_s_img_ocr`;
CREATE TABLE `f_s_img_ocr`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `xy_info` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT 'xy坐标信息',
  `text_info` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '文本信息',
  `img_info` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '图片信息',
  `app_key` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业标识',
  `parent_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '挂载点',
  `source_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '原图',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1798 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of f_s_img_ocr
-- ----------------------------

-- ----------------------------
-- Table structure for file_credentials_detail
-- ----------------------------
DROP TABLE IF EXISTS `file_credentials_detail`;
CREATE TABLE `file_credentials_detail`  (
  `pid` int(10) NOT NULL AUTO_INCREMENT,
  `code` mediumint(8) NULL DEFAULT NULL COMMENT '正确：200 错误：-1',
  `cert_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '证书编号',
  `cert_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '证书返回地址',
  `evi_num` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '证据编号',
  `encrpt_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '验证证书文件返回地址',
  `time_aid` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '可信时间存证凭证',
  `time_ts` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '格式 yyyy-MM-dd HH:mm:ss:SSS',
  `time_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '可信时间存证证书地址',
  `block_chain_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '区块链地址',
  `ctsr` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '凭证字符串',
  `hash_code` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '上传文件 hash,采用 SHA256 算法',
  `signed_code` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '证据文件签名后 hash,采用 SHA256 算法',
  `tx_block_chain_deal_hash` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '司法链存证 hash',
  `verification_code` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '核验码',
  PRIMARY KEY (`pid`) USING BTREE,
  INDEX `idx_cert_id`(`cert_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of file_credentials_detail
-- ----------------------------

-- ----------------------------
-- Table structure for file_credentials_log
-- ----------------------------
DROP TABLE IF EXISTS `file_credentials_log`;
CREATE TABLE `file_credentials_log`  (
  `pid` int(10) NOT NULL AUTO_INCREMENT,
  `operator` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '操作人',
  `operator_realname` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '操作人员真实姓名',
  `operate_date` datetime(0) NOT NULL COMMENT '操作时间',
  `operate_type` tinyint(4) NOT NULL COMMENT '1 下载电子证据 2 可信时间凭证',
  `workflow_apply_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '流程事项ID',
  `bill_no` varchar(127) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '流程事项编号',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '公司ID',
  PRIMARY KEY (`pid`) USING BTREE,
  INDEX `idx_operator`(`operator`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of file_credentials_log
-- ----------------------------

-- ----------------------------
-- Table structure for file_credentials_status
-- ----------------------------
DROP TABLE IF EXISTS `file_credentials_status`;
CREATE TABLE `file_credentials_status`  (
  `pid` int(10) NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一键',
  `workflow_apply_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '流程事项ID',
  `status` tinyint(4) NOT NULL DEFAULT 0 COMMENT '1 生成中 2 存证生成 3 未开启 4 异常',
  `cert_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '证书编号',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '公司ID',
  `msg` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '接口调用结果',
  PRIMARY KEY (`pid`) USING BTREE,
  INDEX `idx_workflow_apply_id`(`workflow_apply_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of file_credentials_status
-- ----------------------------

-- ----------------------------
-- Table structure for l_device_log
-- ----------------------------
DROP TABLE IF EXISTS `l_device_log`;
CREATE TABLE `l_device_log`  (
  `pid` int(10) NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `operator` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '操作人',
  `operate_date` datetime(0) NULL DEFAULT NULL COMMENT '操作时间',
  `operate_content` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '操作内容',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '公司ID',
  PRIMARY KEY (`pid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of l_device_log
-- ----------------------------

-- ----------------------------
-- Table structure for l_event_log
-- ----------------------------
DROP TABLE IF EXISTS `l_event_log`;
CREATE TABLE `l_event_log`  (
  `pid` int(10) NOT NULL AUTO_INCREMENT,
  `operator` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '操作人',
  `operate_date` datetime(0) NOT NULL COMMENT '事件时间',
  `event_content` varchar(3000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '事件详情',
  `event_type` tinyint(4) NOT NULL COMMENT '事件类型',
  `ip` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '来源IP地址',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '公司ID',
  PRIMARY KEY (`pid`) USING BTREE,
  INDEX `idx_operator`(`operator`) USING BTREE,
  INDEX `idx_event_type`(`event_type`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of l_event_log
-- ----------------------------

-- ----------------------------
-- Table structure for l_exception_log
-- ----------------------------
DROP TABLE IF EXISTS `l_exception_log`;
CREATE TABLE `l_exception_log`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `token` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT 'token',
  `params` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '参数',
  `method` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '方法',
  `target_class` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '目标类',
  `error_info` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '错误信息',
  `time_stamp` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '时间戳',
  `username` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '用户名',
  `create_date` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建日期',
  `status` tinyint(1) NOT NULL DEFAULT 0 COMMENT '状态',
  `error_msg` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '错误内容',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '公司id',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1216 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of l_exception_log
-- ----------------------------

-- ----------------------------
-- Table structure for l_login_log
-- ----------------------------
DROP TABLE IF EXISTS `l_login_log`;
CREATE TABLE `l_login_log`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `ip` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'ip',
  `type` tinyint(1) NOT NULL COMMENT '类型',
  `version` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '版本',
  `username` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户名',
  `status` tinyint(1) NOT NULL COMMENT '状态',
  `login_address` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '登录地址',
  `login_date` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '登录时间',
  `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  `token` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT 'token',
  `region` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '地区',
  `city` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '市',
  `isp` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '网络提供',
  `agent` varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '客户端工具',
  `client_info` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '手机类型',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '公司id',
  `operation_type` tinyint(1) NULL DEFAULT NULL COMMENT '操作类型0登录1退出登录',
  `log_contents` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '日志内容',
  `operating_result` tinyint(1) NULL DEFAULT NULL COMMENT '操作结果0操作成功1操作失败',
  `real_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户真实姓名',
  `return_result` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '返回结果',
  `type_value` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '登陆方式名称',
  `operation_type_value` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '操作类型名称',
  `operating_result_value` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '操作结果名称',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 5020 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of l_login_log
-- ----------------------------

-- ----------------------------
-- Table structure for l_seal_log
-- ----------------------------
DROP TABLE IF EXISTS `l_seal_log`;
CREATE TABLE `l_seal_log`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `type` tinyint(2) NOT NULL COMMENT '详细类型（具体到表，可跳转',
  `life_type` tinyint(2) NOT NULL COMMENT '生命类型0刻制1用印2移交3装章4取章5销毁6修改信息',
  `parent_id` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '对应事项id',
  `seal_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '印章id',
  `seal_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '印章名',
  `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '描述',
  `before_data` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '入参',
  `after_data` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '出参',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '公司id',
  `create_date` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建日期',
  `create_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建者id',
  `creator` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建者',
  `date_str` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '日期字符串',
  `json_data` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '附加信息',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE,
  INDEX `idx_seal_id_life_type`(`seal_id`, `life_type`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1317 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of l_seal_log
-- ----------------------------

-- ----------------------------
-- Table structure for l_visit_log
-- ----------------------------
DROP TABLE IF EXISTS `l_visit_log`;
CREATE TABLE `l_visit_log`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `token` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT 'token',
  `type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '类型',
  `url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '路径',
  `params` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '参数',
  `fn_type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '要执行的操作类型',
  `fn_msg` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '要执行的具体操作',
  `fn_system` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '本操作所属子系统',
  `fn_create` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '本方法开发人员',
  `use_times` int(11) NULL DEFAULT NULL COMMENT '访问次数',
  `method` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '方法',
  `target_class` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '目标类',
  `username` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '用户名',
  `create_date` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建日期',
  `time_stamp` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '客户访问服务器的时间戳',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '公司id',
  `IP` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '客户端访问IP',
  `fn_result` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '响应结果',
  `elapsed_time` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '耗时ms',
  `log_contents` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '日志内容',
  `operating_result` tinyint(1) NULL DEFAULT NULL COMMENT '0操作成功1操作失败',
  `operating_source` tinyint(1) NULL DEFAULT NULL COMMENT '操作来源印空台 印章柜等等',
  `operating_type` tinyint(3) NULL DEFAULT NULL COMMENT '操作类型细化',
  `real_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '人员真实姓名',
  `operating_result_value` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '操作结果名称',
  `operating_source_value` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '操作来源名称',
  `operating_type_value` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '操作类型细化名称',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE,
  INDEX `idx_lvl_IP`(`IP`) USING BTREE,
  INDEX `idx_lvl_company_id_type`(`company_id`, `type`) USING BTREE,
  INDEX `idx_lvl_create_date`(`create_date`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 7663 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of l_visit_log
-- ----------------------------

-- ----------------------------
-- Table structure for log_event_type
-- ----------------------------
DROP TABLE IF EXISTS `log_event_type`;
CREATE TABLE `log_event_type`  (
  `pid` int(10) NOT NULL AUTO_INCREMENT,
  `event_type` tinyint(4) NULL DEFAULT NULL COMMENT '事件操作类型',
  `event_describe` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '事件操作描述',
  PRIMARY KEY (`pid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 9 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of log_event_type
-- ----------------------------
INSERT INTO `log_event_type` VALUES (1, 1, '人员变更');
INSERT INTO `log_event_type` VALUES (2, 2, '组织架构变更');
INSERT INTO `log_event_type` VALUES (3, 3, '智能设备');
INSERT INTO `log_event_type` VALUES (4, 4, '印章');
INSERT INTO `log_event_type` VALUES (5, 5, '归档管理');
INSERT INTO `log_event_type` VALUES (6, 6, '事项管理');
INSERT INTO `log_event_type` VALUES (7, 7, '参数设置');
INSERT INTO `log_event_type` VALUES (8, 8, '角色管理');

-- ----------------------------
-- Table structure for lowfrequency_warning_setting
-- ----------------------------
DROP TABLE IF EXISTS `lowfrequency_warning_setting`;
CREATE TABLE `lowfrequency_warning_setting`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `cycle_type` tinyint(1) NOT NULL DEFAULT 1 COMMENT '周期类型（1周，2月，3季度）',
  `warning_times` int(10) NOT NULL DEFAULT 0 COMMENT '低频预警次数',
  `create_time` datetime(0) NOT NULL COMMENT '创建时间',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '公司id',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of lowfrequency_warning_setting
-- ----------------------------

-- ----------------------------
-- Table structure for ocr_check_image
-- ----------------------------
DROP TABLE IF EXISTS `ocr_check_image`;
CREATE TABLE `ocr_check_image`  (
  `pid` int(11) NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `ocr_info` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT 'ocr识别数据，成功匹配可不存坐标',
  `task_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `file_id` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `source_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '匹配页id',
  `difference` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '差异数据',
  `seal_area` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '印章数据',
  `path` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '路径',
  `path_s` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '缩略图',
  `path_c` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '裁剪图',
  `sim_hash` decimal(30, 0) NULL DEFAULT NULL COMMENT 'hash值',
  `risk_level` tinyint(1) NOT NULL DEFAULT 1 COMMENT '风险等级1低2中3高',
  `warning_type` tinyint(1) NOT NULL DEFAULT 0 COMMENT '预警类型：0无1空白2关键词',
  `warning_info` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '预警类容',
  `is_credible` tinyint(1) NOT NULL DEFAULT 1 COMMENT '可信度  0 不可信 1 可信（二次处理）',
  `hash_reliability` float(8, 2) NULL DEFAULT 0.00 COMMENT 'hash匹配相似度',
  `reliability` float(8, 2) NOT NULL DEFAULT 0.00 COMMENT '相似度',
  `file_page` int(11) NOT NULL DEFAULT 1 COMMENT '原文页码',
  `callback_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '回调标示',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `creator` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `create_date` datetime(0) NULL DEFAULT NULL,
  `update_date` datetime(0) NULL DEFAULT NULL,
  `rotate` int(4) NOT NULL DEFAULT 0 COMMENT '图片旋转角度',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `idx_ocrci_id`(`id`) USING BTREE,
  INDEX `idx_ocrci_riskLevel`(`risk_level`) USING BTREE,
  INDEX `idx_ocrci_taskId`(`task_id`) USING BTREE,
  INDEX `idx_ocrci_sourceId`(`source_id`) USING BTREE,
  INDEX `idx_ocrci_callbackId`(`callback_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of ocr_check_image
-- ----------------------------

-- ----------------------------
-- Table structure for ocr_file_page
-- ----------------------------
DROP TABLE IF EXISTS `ocr_file_page`;
CREATE TABLE `ocr_file_page`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '标识id',
  `task_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '表单id/流程id',
  `file_id` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '原文件id',
  `ocr_info` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '文本信息',
  `is_table` tinyint(1) NOT NULL DEFAULT 0 COMMENT '包含表格 0 不含表格  1含表格',
  `page_path_s` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '缩略图地址',
  `page_path` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '地址',
  `current_page` int(5) NULL DEFAULT NULL COMMENT '页码',
  `page_images` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '源文件中包含图片数据',
  `is_ocr` tinyint(1) NULL DEFAULT NULL COMMENT 'ocr识别成功 0否 1是',
  `sim_hash` decimal(30, 0) NULL DEFAULT NULL COMMENT '相似度simhash值',
  `difference_count` int(5) NULL DEFAULT NULL COMMENT '于盖章图不同总数',
  `is_end` tinyint(1) NULL DEFAULT NULL COMMENT '是否为文件结束页 0否 1是',
  `same_count` int(5) NULL DEFAULT NULL COMMENT '匹配上的页数量',
  `callback_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '回调标示',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '服务编码',
  `creator` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '打印文件地址',
  `create_date` datetime(0) NULL DEFAULT NULL,
  `update_date` datetime(0) NULL DEFAULT NULL,
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `idx_ocrfp_id`(`id`) USING BTREE,
  INDEX `idx_ocrfp_taskId`(`task_id`) USING BTREE,
  INDEX `idx_ocrfp_callbackId`(`callback_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of ocr_file_page
-- ----------------------------

-- ----------------------------
-- Table structure for ocr_retry_task
-- ----------------------------
DROP TABLE IF EXISTS `ocr_retry_task`;
CREATE TABLE `ocr_retry_task`  (
  `pid` int(11) NOT NULL AUTO_INCREMENT,
  `task_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `is_delete` tinyint(1) NULL DEFAULT 0 COMMENT '是否删除0否 1是',
  `update_date` datetime(0) NULL DEFAULT NULL,
  `create_date` datetime(0) NULL DEFAULT NULL,
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  PRIMARY KEY (`pid`) USING BTREE,
  INDEX `idx_ocrrt_taskId`(`task_id`) USING BTREE COMMENT '任务id',
  INDEX `idx_ocrrt_isDelete`(`is_delete`) USING BTREE COMMENT '是否删除'
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of ocr_retry_task
-- ----------------------------

-- ----------------------------
-- Table structure for ocr_task
-- ----------------------------
DROP TABLE IF EXISTS `ocr_task`;
CREATE TABLE `ocr_task`  (
  `pid` int(11) NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '任务描述',
  `is_read` tinyint(1) NOT NULL DEFAULT 0 COMMENT '消息是否已读：0未读 1 已读',
  `file_count` int(3) NOT NULL DEFAULT 0 COMMENT '原文件总数',
  `total_file_page` int(11) NOT NULL DEFAULT 0 COMMENT '源文件总页数',
  `file_page_ocr_count` int(11) NULL DEFAULT 0 COMMENT '预处理识别完成数',
  `total_check_page` int(11) NOT NULL DEFAULT 0 COMMENT '待比较文件总页数',
  `checked_page` int(11) NOT NULL DEFAULT 0 COMMENT '已比较处理页数',
  `untrusted` int(11) NOT NULL DEFAULT 0 COMMENT '不可信数量',
  `is_custom` tinyint(1) NULL DEFAULT 0 COMMENT '是否为自定义比较： 0 否 1 是',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `creator` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `create_date` datetime(0) NULL DEFAULT NULL,
  `update_date` datetime(0) NULL DEFAULT NULL,
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `idx_ocrtask_id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of ocr_task
-- ----------------------------

-- ----------------------------
-- Table structure for ocr_task_file
-- ----------------------------
DROP TABLE IF EXISTS `ocr_task_file`;
CREATE TABLE `ocr_task_file`  (
  `pid` int(11) NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `task_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `parent_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '父文件id，zip包含多个文件',
  `file_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '文件名',
  `suffix` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '文件后缀',
  `path` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '文件路径',
  `pdf_path` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所有文件最后转PDF',
  `is_check` tinyint(1) NULL DEFAULT NULL COMMENT '是否为比较文件 0 否(原文件) 1 是',
  `is_delete` tinyint(1) NULL DEFAULT NULL COMMENT '是否删除 0 否1是',
  `total_page` int(11) NOT NULL DEFAULT 0 COMMENT '文件总页数',
  `file_page_ocr_count` int(11) NOT NULL DEFAULT 0 COMMENT '已识别页数',
  `same_count` int(11) NOT NULL DEFAULT 0 COMMENT '匹配数量',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `creator` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `create_date` datetime(0) NULL DEFAULT NULL,
  `update_date` datetime(0) NULL DEFAULT NULL,
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `idx_ocrtf_id`(`id`) USING BTREE,
  INDEX `idx_ocrtf_taskId_isDelete`(`task_id`, `is_delete`) USING BTREE,
  INDEX `idx_ocrtf_taskId`(`task_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of ocr_task_file
-- ----------------------------

-- ----------------------------
-- Table structure for ocr_task_report
-- ----------------------------
DROP TABLE IF EXISTS `ocr_task_report`;
CREATE TABLE `ocr_task_report`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键id',
  `task_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '任务id',
  `white_content_img_count` int(11) NOT NULL DEFAULT 0 COMMENT '空白页',
  `no_source_img_count` int(11) NOT NULL DEFAULT 0 COMMENT '未匹配',
  `content_added_img_count` int(11) NOT NULL DEFAULT 0 COMMENT '内容新增',
  `content_modified_img_count` int(11) NOT NULL DEFAULT 0 COMMENT '内容修改',
  `content_defect_img_count` int(11) NOT NULL DEFAULT 0 COMMENT '内容删除',
  `key_word_warning_img_count` int(11) NOT NULL DEFAULT 0 COMMENT '关键字数量',
  `task_compare_img_count` int(11) NOT NULL DEFAULT 0 COMMENT '任务对比总图数量',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `idx_ocrtr_taskId`(`task_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of ocr_task_report
-- ----------------------------

-- ----------------------------
-- Table structure for ocr_warning_info
-- ----------------------------
DROP TABLE IF EXISTS `ocr_warning_info`;
CREATE TABLE `ocr_warning_info`  (
  `pid` int(11) NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `task_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `image_id` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `warning_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `params` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '预警内容',
  `risk_level` tinyint(1) NOT NULL DEFAULT 1 COMMENT '最高风险：1低2中3高',
  `is_read` tinyint(1) NOT NULL DEFAULT 0 COMMENT '消息阅读：0未读1已读',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `creator` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `create_date` datetime(0) NULL DEFAULT NULL,
  `update_date` datetime(0) NULL DEFAULT NULL,
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `idx_ocrwi_id`(`id`) USING BTREE,
  INDEX `idx_ocrwi_taskId`(`task_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of ocr_warning_info
-- ----------------------------

-- ----------------------------
-- Table structure for password_record
-- ----------------------------
DROP TABLE IF EXISTS `password_record`;
CREATE TABLE `password_record`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '主键',
  `user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '用户id',
  `new_password` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '新密码',
  `create_date` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '密码更新时间',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '企业id',
  `encrypt_mode` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'MD5' COMMENT '密码加密方式：MD5；SM3',
  PRIMARY KEY (`pid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '新旧密码更换记录表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of password_record
-- ----------------------------

-- ----------------------------
-- Table structure for r_ocr_similar_word
-- ----------------------------
DROP TABLE IF EXISTS `r_ocr_similar_word`;
CREATE TABLE `r_ocr_similar_word`  (
  `pid` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键id',
  `similar_word` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'OCR相似字',
  `ignore_count` int(11) NOT NULL COMMENT '审计忽略次数',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `idx_unique_osw_similar_word`(`similar_word`) USING BTREE,
  INDEX `idx_osw_ignore_count`(`ignore_count`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of r_ocr_similar_word
-- ----------------------------

-- ----------------------------
-- Table structure for r_risk_image_audit
-- ----------------------------
DROP TABLE IF EXISTS `r_risk_image_audit`;
CREATE TABLE `r_risk_image_audit`  (
  `pid` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键id',
  `workflow_apply_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '流程id',
  `pre_img_id` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `source_id` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '盖章原文件id，没有是-1',
  `used_seal_info_id` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `warning_source` tinyint(1) NOT NULL COMMENT '图片预警来源：1 OCR智能对比 2 水印识别未通过 3以上都有',
  `warning_level` tinyint(1) NOT NULL COMMENT '图片风险等级：1 低风险 2 中风险 3 高风险',
  `status` tinyint(1) NOT NULL DEFAULT 0 COMMENT '图片风险状态：1 已处理 2 待处理',
  `audit_result` tinyint(1) NOT NULL DEFAULT 0 COMMENT '图片风险审计结果：1 风险解除  2 待处理 3 存在风险',
  `risk_audit_reason` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '图片风险原因',
  `risk_audit_comment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '图片审计批注',
  `auditor_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '审计人id',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业id',
  `create_date` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  PRIMARY KEY (`pid`) USING BTREE,
  INDEX `idx_ria_used_seal_info_id`(`used_seal_info_id`) USING BTREE,
  INDEX `idx_ria_workflow_apply_id`(`workflow_apply_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of r_risk_image_audit
-- ----------------------------

-- ----------------------------
-- Table structure for r_risk_level_setting
-- ----------------------------
DROP TABLE IF EXISTS `r_risk_level_setting`;
CREATE TABLE `r_risk_level_setting`  (
  `pid` int(10) NOT NULL AUTO_INCREMENT COMMENT '主键id',
  `risk_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '风险项名称',
  `risk_level` tinyint(2) NOT NULL COMMENT '风险等级：1 低风险 2 中风险 3 高风险',
  `risk_value` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '风险项值，目前仅记录内容连续不一致的字符数',
  `risk_type` tinyint(2) NOT NULL COMMENT '风险项类别：1 用印照片异常 2 内容异常',
  `configurable` tinyint(2) NOT NULL COMMENT '风险等级是否可配置：1 可配置 2 不可配置',
  `creator` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建者id',
  `create_date` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '修改日期',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业id',
  PRIMARY KEY (`pid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 11 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of r_risk_level_setting
-- ----------------------------
INSERT INTO `r_risk_level_setting` VALUES (1, 'highRiskKeyWord', 3, NULL, 2, 2, '-1', '2021-06-22 09:12:21', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `r_risk_level_setting` VALUES (2, 'whitePage', 3, NULL, 1, 1, '-1', '2021-06-22 09:12:21', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `r_risk_level_setting` VALUES (3, 'noSource', 3, NULL, 1, 1, '-1', '2021-06-22 09:12:21', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `r_risk_level_setting` VALUES (4, 'markFail', 3, NULL, 1, 1, '-1', '2021-06-22 09:12:21', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `r_risk_level_setting` VALUES (5, 'warningKeyWord', 3, NULL, 2, 1, '-1', '2021-06-22 09:12:21', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `r_risk_level_setting` VALUES (6, 'numberUnusual', 3, NULL, 2, 1, '-1', '2021-06-22 09:12:21', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `r_risk_level_setting` VALUES (7, 'moreContentUnusual', 3, '5', 2, 1, '-1', '2021-06-22 09:12:21', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `r_risk_level_setting` VALUES (8, 'lessContentUnusual', 2, '5', 2, 1, '-1', '2021-06-22 09:12:21', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `r_risk_level_setting` VALUES (9, 'similarWord', 1, NULL, 2, 1, '-1', '2021-06-22 09:12:21', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `r_risk_level_setting` VALUES (10, 'embedImageContentUnusual', 1, NULL, 2, 2, '-1', '2021-08-03 17:07:55', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');

-- ----------------------------
-- Table structure for r_risk_type_label
-- ----------------------------
DROP TABLE IF EXISTS `r_risk_type_label`;
CREATE TABLE `r_risk_type_label`  (
  `pid` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键自增',
  `risk_type_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '风险类型id',
  `risk_type_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '风险类型名称',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业id',
  `create_date` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  PRIMARY KEY (`pid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of r_risk_type_label
-- ----------------------------

-- ----------------------------
-- Table structure for r_risk_type_workflow
-- ----------------------------
DROP TABLE IF EXISTS `r_risk_type_workflow`;
CREATE TABLE `r_risk_type_workflow`  (
  `pid` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键自增',
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一id',
  `risk_type_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '风险类型id',
  `workflow_apply_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '流程id',
  `create_date` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  PRIMARY KEY (`pid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of r_risk_type_workflow
-- ----------------------------

-- ----------------------------
-- Table structure for r_risk_workflow_audit
-- ----------------------------
DROP TABLE IF EXISTS `r_risk_workflow_audit`;
CREATE TABLE `r_risk_workflow_audit`  (
  `pid` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键id',
  `workflow_apply_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '流程id',
  `bill_no` varchar(127) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '流程号',
  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '流程标题',
  `used_seal_date` datetime(0) NOT NULL COMMENT '用印时间（第一次盖章时间）',
  `used_img_count` mediumint(8) NOT NULL COMMENT '盖章照片数',
  `warning_img_count` mediumint(8) NOT NULL COMMENT '预警照片数',
  `user_name` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用印人，多个用，分隔',
  `warning_source` tinyint(1) NOT NULL COMMENT '流程预警来源：1 OCR智能对比 2 水印识别未通过 3以上都有',
  `warning_level` tinyint(1) NOT NULL COMMENT '流程风险等级：1 低风险 2 中风险 3 高风险',
  `status` tinyint(1) NOT NULL DEFAULT 0 COMMENT '流程风险状态：1 已处理 2 待处理 ',
  `audit_result` tinyint(1) NOT NULL DEFAULT 0 COMMENT '流程风险审计结果：1 风险解除 2 待处理 3 存在风险',
  `creator_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '流程创建人id',
  `department_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '部门id',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业id',
  `create_date` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_date` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`pid`) USING BTREE,
  INDEX `idx_rwa_workflow_apply_id`(`workflow_apply_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of r_risk_workflow_audit
-- ----------------------------

-- ----------------------------
-- Table structure for rest_role
-- ----------------------------
DROP TABLE IF EXISTS `rest_role`;
CREATE TABLE `rest_role`  (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '名称',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of rest_role
-- ----------------------------

-- ----------------------------
-- Table structure for rest_user
-- ----------------------------
DROP TABLE IF EXISTS `rest_user`;
CREATE TABLE `rest_user`  (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `password` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '密码',
  `username` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户名',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `UK_sb8bbouer5wak8vyiiy4pf2bx`(`username`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 6 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of rest_user
-- ----------------------------

-- ----------------------------
-- Table structure for rest_user_company
-- ----------------------------
DROP TABLE IF EXISTS `rest_user_company`;
CREATE TABLE `rest_user_company`  (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `user_id` bigint(20) NOT NULL COMMENT '用户字段',
  `company_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '公司id',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `rest_user_company_ibfk_1`(`company_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 6 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of rest_user_company
-- ----------------------------

-- ----------------------------
-- Table structure for rest_user_role
-- ----------------------------
DROP TABLE IF EXISTS `rest_user_role`;
CREATE TABLE `rest_user_role`  (
  `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT,
  `user_id` bigint(20) NOT NULL COMMENT '用户id',
  `role_id` bigint(20) NOT NULL COMMENT '角色id',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `FKa68196081fvovjhkek5m97n3y`(`role_id`) USING BTREE,
  INDEX `FK859n2jvi8ivhui0rl0esws6o`(`user_id`) USING BTREE,
  CONSTRAINT `rest_user_role_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `rest_user` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  CONSTRAINT `rest_user_role_ibfk_2` FOREIGN KEY (`role_id`) REFERENCES `rest_role` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  CONSTRAINT `rest_user_role_ibfk_3` FOREIGN KEY (`user_id`) REFERENCES `rest_user` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  CONSTRAINT `rest_user_role_ibfk_4` FOREIGN KEY (`role_id`) REFERENCES `rest_role` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of rest_user_role
-- ----------------------------

-- ----------------------------
-- Table structure for s_auto_machine
-- ----------------------------
DROP TABLE IF EXISTS `s_auto_machine`;
CREATE TABLE `s_auto_machine`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `machine_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '机器id',
  `machine_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '机器名',
  `org_no` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '描述',
  `create_date` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建日期',
  `admin_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '管理员id',
  `admin_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '管理员名',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '公司id',
  `version` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '软件版本',
  `emergency_pwd` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '应急密码',
  `pwd_create_time` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '密码创建时间',
  `status` tinyint(1) NOT NULL DEFAULT 0 COMMENT '0正常1删除',
  `department_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '所属部门或者子公司id',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 18 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of s_auto_machine
-- ----------------------------

-- ----------------------------
-- Table structure for s_auto_machine_admin
-- ----------------------------
DROP TABLE IF EXISTS `s_auto_machine_admin`;
CREATE TABLE `s_auto_machine_admin`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '主键',
  `machine_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '盖章机id',
  `admin_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '管理员',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '企业ID',
  PRIMARY KEY (`pid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of s_auto_machine_admin
-- ----------------------------

-- ----------------------------
-- Table structure for s_device
-- ----------------------------
DROP TABLE IF EXISTS `s_device`;
CREATE TABLE `s_device`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `blue_no` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '蓝牙编号',
  `warning_time` int(5) NULL DEFAULT NULL COMMENT '预警时间',
  `device_setting` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '设备设置',
  `is_warning` tinyint(4) NOT NULL COMMENT '开启区域预警（0：开启，1：关闭',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业号',
  `is_bind` tinyint(4) NOT NULL DEFAULT 0 COMMENT '是否已绑定（0：未绑定，1：已绑定)',
  `create_date` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建日期',
  `rfid` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT 'rfid',
  `is_updated` tinyint(1) NOT NULL DEFAULT 0 COMMENT '是否允许移动端升级用印宝',
  `device_creator` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '未绑定状态为用印宝创建者',
  `version` tinyint(1) NOT NULL DEFAULT 3 COMMENT '设备版本',
  `device_type_value` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '设备型号',
  `log_url` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '日志路径',
  `current_version` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '当前版本',
  `upgrade_version` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '待升级版本',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE,
  INDEX `idx_create_date_company_id_id`(`create_date`, `company_id`, `id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 35 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '设备信息表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of s_device
-- ----------------------------

-- ----------------------------
-- Table structure for s_device_detail
-- ----------------------------
DROP TABLE IF EXISTS `s_device_detail`;
CREATE TABLE `s_device_detail`  (
  `pid` int(10) NOT NULL AUTO_INCREMENT,
  `device_type` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'S系列；M系列',
  `device_value` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '具体设备型号',
  `device_photo` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '设备logo',
  `sort` tinyint(4) NULL DEFAULT NULL COMMENT '排序',
  `version` tinyint(4) NOT NULL COMMENT '版本',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `idx_device_value`(`device_value`) USING BTREE,
  INDEX `idx_device_type`(`device_type`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 9 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of s_device_detail
-- ----------------------------
INSERT INTO `s_device_detail` VALUES (1, 'M', 'M4310', 'data:image/png;base64, ', 1, 3);
INSERT INTO `s_device_detail` VALUES (2, 'M', 'M4330', 'data:image/png;base64, ', 2, 3);
INSERT INTO `s_device_detail` VALUES (3, 'M', 'M4350', 'data:image/png;base64, ', 3, 3);
INSERT INTO `s_device_detail` VALUES (4, 'M', 'M4360', 'data:image/png;base64, ', 4, 3);
INSERT INTO `s_device_detail` VALUES (5, 'M', 'M4370', 'data:image/png;base64, ', 5, 3);
INSERT INTO `s_device_detail` VALUES (6, 'M', 'M4390', 'data:image/png;base64, ', 6, 3);
INSERT INTO `s_device_detail` VALUES (7, 'S', 'S5100-HM', 'data:image/png;base64, ', 1, 5);
INSERT INTO `s_device_detail` VALUES (8, 'S', 'S5100-GM', 'data:image/png;base64, ', 2, 5);

-- ----------------------------
-- Table structure for s_device_policy
-- ----------------------------
DROP TABLE IF EXISTS `s_device_policy`;
CREATE TABLE `s_device_policy`  (
  `pid` int(11) NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `is_open_forth_signal` tinyint(1) NOT NULL COMMENT '是否开启4G',
  `is_open_wifi` tinyint(1) NOT NULL COMMENT '是否开启WiFi',
  `is_open_position` tinyint(1) NOT NULL COMMENT '是否开启定位',
  `is_office_mode` tinyint(1) NOT NULL COMMENT '是否开启办公室模式',
  `is_open_area_warning` tinyint(1) NOT NULL DEFAULT 0 COMMENT '是否开启区域盖章预警（红外）',
  `is_default_policy` tinyint(1) NOT NULL COMMENT '是否是默认策略',
  `position_interval` int(1) NOT NULL COMMENT '定位时间间隔',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  PRIMARY KEY (`pid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of s_device_policy
-- ----------------------------
INSERT INTO `s_device_policy` VALUES (1, 'cbdeec7b-647a-48c3-b424-3b9bdd6e0a40', 1, 1, 1, 0, 0, 1, 30, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');

-- ----------------------------
-- Table structure for s_device_type
-- ----------------------------
DROP TABLE IF EXISTS `s_device_type`;
CREATE TABLE `s_device_type`  (
  `pid` int(11) NOT NULL AUTO_INCREMENT,
  `device_type` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '设备类型',
  `device_type_name` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '设备类型名称',
  `sort` tinyint(4) NULL DEFAULT NULL COMMENT '排序',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `idx_device_type`(`device_type`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of s_device_type
-- ----------------------------
INSERT INTO `s_device_type` VALUES (1, 'S', '用印宝-S系列', 1);
INSERT INTO `s_device_type` VALUES (2, 'M', '用印宝-M系列', 2);

-- ----------------------------
-- Table structure for s_equipment_package
-- ----------------------------
DROP TABLE IF EXISTS `s_equipment_package`;
CREATE TABLE `s_equipment_package`  (
  `pid` int(11) NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `version_number` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '版本号',
  `equipment_type` tinyint(2) NOT NULL COMMENT '设备类型：1 用印宝；2 印控台；3 盖章机；4 印章柜',
  `equipment_model` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '设备型号：同s_device_detail.device_value',
  `package_url` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '版本包路径：同f_s_disk_file.id',
  `package_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '版本包名称',
  `md5_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'MD5码',
  `description` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '描述',
  `status` tinyint(2) NOT NULL COMMENT '状态：0 正常；1 删除',
  `creator` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人',
  `updater` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '修改人',
  `create_time` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '修改时间',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `idx_ep_id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of s_equipment_package
-- ----------------------------

-- ----------------------------
-- Table structure for s_module_storage
-- ----------------------------
DROP TABLE IF EXISTS `s_module_storage`;
CREATE TABLE `s_module_storage`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `container_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '容器编码',
  `seal_id` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '印章编码',
  `position_index` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '位置序号',
  `putin_time` datetime(0) NULL DEFAULT NULL COMMENT '放入时间',
  `putin_user` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '放入人',
  `takeout_time` datetime(0) NULL DEFAULT NULL COMMENT '取出时间',
  `takeout_user` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '取出人',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '企业号id',
  `box_status` tinyint(1) NOT NULL DEFAULT 0 COMMENT '盒子状态(0:在存,1:为空)',
  `rfid` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT 'rfid',
  `battery_status` tinyint(4) NULL DEFAULT NULL COMMENT '充电状态：0：在充；1：未充；2：异常',
  `box_lock` tinyint(4) NULL DEFAULT 1 COMMENT '是否锁定盒子 1：解锁,2:锁定',
  `storage_number` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '抽屉编号',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE,
  INDEX `idx_container_id`(`container_id`) USING BTREE,
  INDEX `idx_seal_id`(`seal_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 88 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '印章有可能存放在印章柜中,也可能存放在自动盖章机中' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of s_module_storage
-- ----------------------------

-- ----------------------------
-- Table structure for s_seal_access_record
-- ----------------------------
DROP TABLE IF EXISTS `s_seal_access_record`;
CREATE TABLE `s_seal_access_record`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `seal_id` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '印章编号',
  `user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户id',
  `box_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '盒子id',
  `storage_box_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '槽位id',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  `case_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '事件id',
  `case_type` tinyint(4) NOT NULL DEFAULT 0 COMMENT '行为类型(0:放章,1:取章)',
  `case_status` int(4) UNSIGNED NOT NULL DEFAULT 1 COMMENT '行为状态(0:成功,1:失败,2其他错误)',
  `guid_status` tinyint(4) NOT NULL DEFAULT 0 COMMENT 'guid的状态(0:可用,1:过时失效,2:已使用)',
  `putin_time` datetime(0) NULL DEFAULT NULL COMMENT '印章最近一次的放入时间',
  `takeout_time` datetime(0) NULL DEFAULT NULL COMMENT '印章最近一次的取走时间',
  `validate_code` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '验证码',
  `machine_code` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT 'mac',
  `cabinet_index` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '印章柜索引',
  `rf_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '非智能章id',
  `apply_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '关联流程ID',
  `record_type` tinyint(4) NULL DEFAULT NULL COMMENT '0:正常流程取还，1：初始化，2：管理员直接开柜',
  `available_count` int(11) NULL DEFAULT NULL COMMENT '可用次数',
  `last_open_time` datetime(0) NULL DEFAULT NULL COMMENT '最近一次开柜时间',
  `storage_goods_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '经济物品柜id',
  `cabinet_status` tinyint(4) NULL DEFAULT NULL COMMENT '模块类型（-1不带rfid的智能）,（0.带rfId的智能)（1.非智能）,(2:经济)',
  `takeout_warning_status` tinyint(2) NOT NULL DEFAULT 0 COMMENT '取章逾期未还预警发送状态：0 未推送 1 已推送',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 851 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of s_seal_access_record
-- ----------------------------

-- ----------------------------
-- Table structure for s_seal_box_ext
-- ----------------------------
DROP TABLE IF EXISTS `s_seal_box_ext`;
CREATE TABLE `s_seal_box_ext`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `seal_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '印章id(普通印章)',
  `box_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '盒子id',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of s_seal_box_ext
-- ----------------------------

-- ----------------------------
-- Table structure for s_seal_cabinet
-- ----------------------------
DROP TABLE IF EXISTS `s_seal_cabinet`;
CREATE TABLE `s_seal_cabinet`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `cabinet_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '印章柜名称（作废，已被控制器名称取代）',
  `cabinet_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '印章柜编号',
  `master_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '主柜编码',
  `is_master` tinyint(1) NOT NULL COMMENT '是否主柜',
  `container_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '容器编码',
  `logo_fileid` varchar(300) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'Logo（作废，已被控制器字段取代）',
  `ad_url` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '主屏广告页面（作废，已被控制器字段取代）',
  `cabinet_address` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '印章柜地址（作废，已被控制器地址取代）',
  `department_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所属组织',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '企业号',
  `capacity` int(11) NULL DEFAULT 20 COMMENT '总容量',
  `update_date` date NULL DEFAULT NULL COMMENT '更新时间',
  `updater` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '更新人',
  `create_date` date NULL DEFAULT NULL COMMENT '创建时间',
  `creator` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人',
  `control_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '控制器id',
  `cabinet_index` int(4) NULL DEFAULT NULL COMMENT '印章柜索引',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '每个柜子都有地址、总容量等信息' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of s_seal_cabinet
-- ----------------------------

-- ----------------------------
-- Table structure for s_seal_cabinet_control
-- ----------------------------
DROP TABLE IF EXISTS `s_seal_cabinet_control`;
CREATE TABLE `s_seal_cabinet_control`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `logo_fileid` varchar(300) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'Logo',
  `ad_url` varchar(300) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '主屏广告页面',
  `department_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '所属组织',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '企业号',
  `update_date` timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  `updater` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '修改人',
  `create_date` date NULL DEFAULT NULL COMMENT '创建时间',
  `creator` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '创建人',
  `machine_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '控制器MAC地址',
  `admin` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '管理员',
  `super_password` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '超级密码',
  `machine_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '设备名称',
  `machine_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '设备地址',
  `position_json` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '屏幕位置json',
  `locker_version` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '柜子的版本号,智能章加入rfid的版本以_R结尾',
  `equip_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '数据库手动维护印章柜地址',
  `lon_tude` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '数据库手动维护印章柜经度',
  `lat_tude` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '数据库手动维护印章柜地址纬度',
  `time_out_period` int(11) NOT NULL DEFAULT 15 COMMENT '远程开柜，管理员直接开柜，等待的超时时间,单位：秒',
  `last_check_time` datetime(0) NULL DEFAULT NULL COMMENT '柜中最后盘点时间',
  `last_restart_time` datetime(0) NULL DEFAULT NULL COMMENT '柜中最后重启时间',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 9 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '每个柜子都有地址、总容量等信息' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of s_seal_cabinet_control
-- ----------------------------

-- ----------------------------
-- Table structure for s_seal_cabinet_log_snapshot
-- ----------------------------
DROP TABLE IF EXISTS `s_seal_cabinet_log_snapshot`;
CREATE TABLE `s_seal_cabinet_log_snapshot`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '主键',
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'w_workflow_seal_log表的id',
  `seal_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '印章id\r\n\r\n',
  `seal_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '印章名称',
  `control_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '主控柜Id',
  `module_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '模块Id',
  `storage_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '抽屉Id',
  `box_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '槽位Id',
  `box_status` tinyint(4) NULL DEFAULT NULL COMMENT '0:在柜，1不在柜',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注说明',
  `case_type` tinyint(1) NULL DEFAULT NULL COMMENT '0:取章，1：还章',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `uniq_id`(`id`) USING BTREE COMMENT 'id'
) ENGINE = InnoDB AUTO_INCREMENT = 164 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '印章柜除去批量初始化的其他的一切行为记录入日志的快照' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of s_seal_cabinet_log_snapshot
-- ----------------------------

-- ----------------------------
-- Table structure for s_seal_cabinet_setting
-- ----------------------------
DROP TABLE IF EXISTS `s_seal_cabinet_setting`;
CREATE TABLE `s_seal_cabinet_setting`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `seal_cabinet_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '印章柜编码',
  `setting_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '参数名称',
  `setting_value` varchar(350) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '编码值',
  `description` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '编码描述',
  `edit_time` date NULL DEFAULT NULL COMMENT '设置时间',
  `editor` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '设置人',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业号',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '配置参数采用Key-value的模式，为未来扩展提供可能' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of s_seal_cabinet_setting
-- ----------------------------

-- ----------------------------
-- Table structure for s_seal_console
-- ----------------------------
DROP TABLE IF EXISTS `s_seal_console`;
CREATE TABLE `s_seal_console`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `console_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '印控台名称',
  `console_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '印控台编码',
  `emergency_pwd` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '应急密码',
  `org_no` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业号',
  `latest_update_date` datetime(0) NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '最新的更新时间',
  `create_date` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `creator` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建者',
  `department_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '所属部门或者子公司id',
  `json_data` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '用于前端展示字段',
  `version` tinyint(1) NOT NULL DEFAULT 3 COMMENT '设备版本',
  `console_type_value` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '设备类型',
  `console_password` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '印控台系统设置密码',
  `log_url` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '日志路径',
  `current_version` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '当前版本',
  `upgrade_version` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '待升级版本',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 14 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '每个印控台都有编号、名称、应急密码等属性' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of s_seal_console
-- ----------------------------

-- ----------------------------
-- Table structure for s_seal_console_admin
-- ----------------------------
DROP TABLE IF EXISTS `s_seal_console_admin`;
CREATE TABLE `s_seal_console_admin`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '主键',
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '业务唯一约束',
  `console_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '印控台id',
  `admin_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '管理员',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '企业ID',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `uniq_id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '印控台管理员关联表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of s_seal_console_admin
-- ----------------------------

-- ----------------------------
-- Table structure for s_seal_console_detail
-- ----------------------------
DROP TABLE IF EXISTS `s_seal_console_detail`;
CREATE TABLE `s_seal_console_detail`  (
  `pid` int(10) NOT NULL AUTO_INCREMENT,
  `console_type` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '三代五代',
  `console_value` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '具体设备型号',
  `console_photo` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '设备logo',
  `sort` tinyint(4) NULL DEFAULT NULL COMMENT '排序',
  `version` tinyint(4) NOT NULL COMMENT '版本',
  PRIMARY KEY (`pid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of s_seal_console_detail
-- ----------------------------
INSERT INTO `s_seal_console_detail` VALUES (1, '五代', 'M5100', 'data:image/png;base64, ', 1, 5);
INSERT INTO `s_seal_console_detail` VALUES (2, '三代', 'M4300', 'data:image/png;base64, ', 2, 3);

-- ----------------------------
-- Table structure for s_seal_console_policy
-- ----------------------------
DROP TABLE IF EXISTS `s_seal_console_policy`;
CREATE TABLE `s_seal_console_policy`  (
  `pid` int(11) NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `is_open_forth_signal` tinyint(1) NOT NULL COMMENT '是否开启4G',
  `is_open_wifi` tinyint(1) NOT NULL COMMENT '是否开启WiFi',
  `is_skip_watermark_check` tinyint(1) NOT NULL COMMENT '是否跳过水印事前验证',
  `is_default_policy` tinyint(1) NOT NULL COMMENT '是否是默认策略',
  `photo_delay_time` int(1) NOT NULL COMMENT '拍照延时时间',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  PRIMARY KEY (`pid`, `is_open_forth_signal`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of s_seal_console_policy
-- ----------------------------
INSERT INTO `s_seal_console_policy` VALUES (1, 'dbdeec7b-647a-48c3-b424-3b9bdd6e0a40', 1, 1, 1, 1, 500, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');

-- ----------------------------
-- Table structure for s_seal_console_setting
-- ----------------------------
DROP TABLE IF EXISTS `s_seal_console_setting`;
CREATE TABLE `s_seal_console_setting`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `seal_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '印控台编码',
  `setting_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '参数名称',
  `setting_value` varchar(350) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '编码值',
  `description` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '编码描述',
  `edit_time` date NULL DEFAULT NULL COMMENT '设置时间',
  `editor` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '设置人',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业号',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '配置参数采用Key-value的模式，为未来扩展提供可能' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of s_seal_console_setting
-- ----------------------------

-- ----------------------------
-- Table structure for s_seal_container
-- ----------------------------
DROP TABLE IF EXISTS `s_seal_container`;
CREATE TABLE `s_seal_container`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `container_device_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '容器设备编码',
  `container_device_type` tinyint(11) NOT NULL DEFAULT 1 COMMENT '容器设备类型:1 印章柜 2 M型自动盖章机',
  `setting_value` varchar(350) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '设备地址',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业号',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '未来存放印章的东西都是印章容器，如智能化印章柜、自动盖章机等' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of s_seal_container
-- ----------------------------

-- ----------------------------
-- Table structure for s_seal_module
-- ----------------------------
DROP TABLE IF EXISTS `s_seal_module`;
CREATE TABLE `s_seal_module`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `container_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '容器编码',
  `department_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '所属组织',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '企业号',
  `capacity` int(11) NULL DEFAULT 20 COMMENT '总容量',
  `update_date` date NULL DEFAULT NULL COMMENT '更新时间',
  `updater` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '更新人',
  `create_date` date NULL DEFAULT NULL COMMENT '创建时间',
  `creator` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '创建人',
  `control_id` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '控制器id',
  `cabinet_index` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '印章柜索引',
  `cabinet_status` tinyint(1) NOT NULL DEFAULT 0 COMMENT '模块类型（1.非智能）,（0.智能)',
  `position_json` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '模块位置信息',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE,
  INDEX `idx_container_id`(`container_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 12 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '印章柜模块' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of s_seal_module
-- ----------------------------

-- ----------------------------
-- Table structure for s_seal_storage
-- ----------------------------
DROP TABLE IF EXISTS `s_seal_storage`;
CREATE TABLE `s_seal_storage`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `container_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '容器编码',
  `container_device_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '容器设备编码',
  `seal_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '印章编码',
  `position_index` int(11) NOT NULL COMMENT '位置序号',
  `putin_time` datetime(0) NULL DEFAULT NULL COMMENT '放入时间',
  `putin_user` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '放入人',
  `takeout_time` datetime(0) NULL DEFAULT NULL COMMENT '取出时间',
  `takeout_user` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '取出人',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '企业号id',
  `box_status` tinyint(1) NOT NULL COMMENT '盒子状态(0:在存,1:为空)',
  `box_type` tinyint(4) NOT NULL COMMENT '盒子类型（0：智能印章，1：普通印章）',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '印章有可能存放在印章柜中,也可能存放在自动盖章机中' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of s_seal_storage
-- ----------------------------

-- ----------------------------
-- Table structure for s_storage_box
-- ----------------------------
DROP TABLE IF EXISTS `s_storage_box`;
CREATE TABLE `s_storage_box`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `seal_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '印章id(普通印章)',
  `storage_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '盒子id',
  `box_status` tinyint(1) NOT NULL COMMENT '(0,再存，1：空)',
  `box_index` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `rfid` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT 'rfid',
  `box_lock` tinyint(4) NULL DEFAULT 1 COMMENT '是否锁定盒子 1：解锁,2:锁定',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE,
  INDEX `idx_storage_id`(`storage_id`) USING BTREE,
  INDEX `idx_seal_id`(`seal_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 145 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of s_storage_box
-- ----------------------------

-- ----------------------------
-- Table structure for s_storage_goods
-- ----------------------------
DROP TABLE IF EXISTS `s_storage_goods`;
CREATE TABLE `s_storage_goods`  (
  `pid` int(10) NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `goods_id` varbinary(50) NOT NULL COMMENT '物品id',
  `goods_type` tinyint(2) NOT NULL DEFAULT 0 COMMENT '0:默认;1：印章',
  `storage_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '抽屉id',
  `box_status` tinyint(2) NOT NULL DEFAULT 1 COMMENT '0:在柜，1：不在柜',
  PRIMARY KEY (`pid`) USING BTREE,
  INDEX `idx_storage_id`(`storage_id`) USING BTREE,
  INDEX `idx_goods_id`(`goods_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of s_storage_goods
-- ----------------------------

-- ----------------------------
-- Table structure for sc_fdfs
-- ----------------------------
DROP TABLE IF EXISTS `sc_fdfs`;
CREATE TABLE `sc_fdfs`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '唯一约束,同f_s_disk_file主键',
  `group_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '组名',
  `file_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '文件id',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `uniq_id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sc_fdfs
-- ----------------------------

-- ----------------------------
-- Table structure for seal_admin
-- ----------------------------
DROP TABLE IF EXISTS `seal_admin`;
CREATE TABLE `seal_admin`  (
  `pid` int(10) NOT NULL AUTO_INCREMENT COMMENT '自增主键',
  `seal_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '印章ID',
  `admin_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '管理员ID',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '公司ID',
  PRIMARY KEY (`pid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of seal_admin
-- ----------------------------

-- ----------------------------
-- Table structure for seal_area
-- ----------------------------
DROP TABLE IF EXISTS `seal_area`;
CREATE TABLE `seal_area`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `seal_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '印章id',
  `area_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '围栏名称',
  `province` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '省',
  `city` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '市',
  `address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '详细地址',
  `longitude` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '经度',
  `latitude` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '纬度',
  `radius` int(11) NULL DEFAULT NULL COMMENT '半径（KM）',
  `status` tinyint(1) NOT NULL DEFAULT 0 COMMENT '0默认1弃用2移除',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '公司id',
  `create_date` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建日期',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 106 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of seal_area
-- ----------------------------

-- ----------------------------
-- Table structure for seal_auth
-- ----------------------------
DROP TABLE IF EXISTS `seal_auth`;
CREATE TABLE `seal_auth`  (
  `pid` int(10) NOT NULL AUTO_INCREMENT,
  `seal_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `auth_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '人员或者部门ID',
  `auth_type` tinyint(4) NULL DEFAULT NULL COMMENT '0 部门 1人员',
  `is_contains_lower` tinyint(4) NULL DEFAULT NULL COMMENT '0 不包含 1包含下级',
  `org_no` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '组织代码',
  PRIMARY KEY (`pid`) USING BTREE,
  INDEX `idx_seal_id`(`seal_id`) USING BTREE,
  INDEX `idx_auth_id`(`auth_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of seal_auth
-- ----------------------------

-- ----------------------------
-- Table structure for seal_base
-- ----------------------------
DROP TABLE IF EXISTS `seal_base`;
CREATE TABLE `seal_base`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `seal_name` varchar(350) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '印章名称',
  `seal_status` tinyint(4) NOT NULL COMMENT '印章状态(0 在用 1停用  2 已销毁)',
  `seal_shape` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '形状(字典)',
  `seal_material` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '印章材质,字典:(铜 塑料 有机玻璃 牛角 钢印)',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业号',
  `seal_type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '类型（公章、财务章等）',
  `create_time` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建日期',
  `update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
  `pic_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '印章图片id',
  `org_no` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '部门id',
  `seal_category` tinyint(4) NOT NULL COMMENT '印章分类（0：物理章；1：智能章；2：电子章）',
  `seal_model_file` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '印模文件Id',
  `address_status` tinyint(4) NOT NULL COMMENT '所在0管理员1印章柜2外带',
  `address_info` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '印章持有人',
  `img_header` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '图像头',
  `img_center` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '图像底部',
  `device_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '设备id',
  `rf_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '非智能章芯片id',
  `seal_no` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '印章编号',
  `machine_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '印章柜编码',
  `department_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '所属部门或者子公司id',
  `use_seal_subject` varchar(350) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `take_out_status` tinyint(1) NOT NULL DEFAULT 1 COMMENT '1-未外借 2-普通外借中 3-印章柜外借中',
  `real_apply_time` date NULL DEFAULT NULL,
  `last_address` varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '实体章的最后定位地址',
  `seal_auth` tinyint(4) NOT NULL DEFAULT 0 COMMENT '0 全部人员可用 1 指定可用 2 不可使用',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE,
  INDEX `idx_device_id_seal_name`(`device_id`, `seal_name`) USING BTREE,
  INDEX `idx_seal_name_seal_type_company_id`(`seal_name`, `seal_type`, `company_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 115 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '印章基础表，包括基础属性（材质，形状等），类型（字典），分类（物理、智能、电子）' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of seal_base
-- ----------------------------

-- ----------------------------
-- Table structure for seal_base_model_file
-- ----------------------------
DROP TABLE IF EXISTS `seal_base_model_file`;
CREATE TABLE `seal_base_model_file`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '主键',
  `seal_base_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '印章id',
  `seal_model_file` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '印模文件id',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '企业ID',
  PRIMARY KEY (`pid`) USING BTREE,
  INDEX `idx_seal_base_model_file_seal_base_id_seal_model_file`(`seal_base_id`, `seal_model_file`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '印章印模关联表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of seal_base_model_file
-- ----------------------------

-- ----------------------------
-- Table structure for seal_current_address
-- ----------------------------
DROP TABLE IF EXISTS `seal_current_address`;
CREATE TABLE `seal_current_address`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `device_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '设备id',
  `info_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '对应seallocation的主键id',
  `lon_tude` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '经度',
  `lat_tude` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '纬度',
  `province` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '省',
  `city` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '市',
  `equip_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '设备地址',
  `last_date` datetime(0) NULL DEFAULT NULL COMMENT '最后日期',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '公司id',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 163 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of seal_current_address
-- ----------------------------

-- ----------------------------
-- Table structure for seal_engrave
-- ----------------------------
DROP TABLE IF EXISTS `seal_engrave`;
CREATE TABLE `seal_engrave`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `seal_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '印章编码',
  `seal_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '印章名称',
  `seal_shape` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '形状(字典)',
  `seal_material` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '印章材质,字典:(铜 塑料 有机玻璃 牛角 钢印)',
  `apply_time` date NOT NULL COMMENT '申请刻制时间',
  `apply_user` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '经办人',
  `apply_user_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '经办人名',
  `engrave_reason` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '刻制依据及原因',
  `engrave_status` tinyint(1) NOT NULL COMMENT '刻制状态(0：待刻制，1：刻制完成 ,2已备案）',
  `description` varchar(300) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业号',
  `org_no` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '部门编号',
  `seal_type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '印章类型',
  `operator` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '经办人',
  `operator_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '经办人id',
  `finish_date` datetime(0) NULL DEFAULT NULL COMMENT '刻制完成时间',
  `backup_date` datetime(0) NULL DEFAULT NULL COMMENT '备案时间',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
  `backup_user` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备案人',
  `backup_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备案人id',
  `create_date` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建日期',
  `seal_no` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '印章编号',
  `department_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '所属部门或者子公司id',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 72 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '印章刻制相关信息，包含印章形状、印章材质、内容、印鉴、刻成时间' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of seal_engrave
-- ----------------------------

-- ----------------------------
-- Table structure for seal_label
-- ----------------------------
DROP TABLE IF EXISTS `seal_label`;
CREATE TABLE `seal_label`  (
  `pid` int(1) NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '唯一',
  `label` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '标签名称',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '公司id',
  `create_date` datetime(0) NOT NULL COMMENT '修改时间',
  PRIMARY KEY (`pid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of seal_label
-- ----------------------------

-- ----------------------------
-- Table structure for seal_location
-- ----------------------------
DROP TABLE IF EXISTS `seal_location`;
CREATE TABLE `seal_location`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `equip_no` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '设备编号',
  `card_no` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '物联网卡号',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '结束时间',
  `lon_tude` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '经度',
  `lat_tude` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '纬度',
  `equip_status` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '设备状态',
  `equip_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '设备地址',
  `radius` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '定位精度半径',
  `country` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '国家',
  `province` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '省',
  `city` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '市',
  `citycode` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '城市编码',
  `adcode` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '区域编码',
  `road` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '道路名称',
  `poi` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '定位附近的poi名称',
  `blue_num` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '蓝牙编码',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '公司id',
  `seal_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '印章id',
  `create_date` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建日期',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 167 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of seal_location
-- ----------------------------

-- ----------------------------
-- Table structure for seal_receive
-- ----------------------------
DROP TABLE IF EXISTS `seal_receive`;
CREATE TABLE `seal_receive`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `seal_base_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '印章编码',
  `seal_model_file` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '印模文件Id',
  `receiver_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '领取人',
  `distributor_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '发放人',
  `discription` varchar(350) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
  `companyid` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业号',
  `create_date` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建日期',
  `receiver_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '领取人名',
  `distributor_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '发放人名',
  `receiver_status` tinyint(50) NOT NULL COMMENT '发放状态（0：完成，1：未完成）',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '印章发放记录表，包括印章领取人,发放人、印模文件id（未刻制的状态，可能在申请、刻制中等）' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of seal_receive
-- ----------------------------

-- ----------------------------
-- Table structure for seal_statistics
-- ----------------------------
DROP TABLE IF EXISTS `seal_statistics`;
CREATE TABLE `seal_statistics`  (
  `pid` int(10) NOT NULL AUTO_INCREMENT,
  `seal_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `workflow_apply_count` int(10) NULL DEFAULT NULL COMMENT '流程申请次数',
  `workflow_end_count` int(10) NULL DEFAULT NULL COMMENT '流程完成总数',
  `seal_apply_count` int(10) NULL DEFAULT NULL COMMENT '普通盖章累计申请次数',
  `seal_used_count` int(10) NULL DEFAULT NULL COMMENT '普通盖章累计使用次数',
  `cross_apply_count` int(10) NULL DEFAULT NULL COMMENT '骑缝盖章累计申请次数',
  `cross_used_count` int(10) NULL DEFAULT NULL COMMENT '骑缝盖章累计使用次数',
  `year_date` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '年份',
  `month_date` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '月份',
  PRIMARY KEY (`pid`) USING BTREE,
  INDEX `idx_seal_id`(`seal_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of seal_statistics
-- ----------------------------

-- ----------------------------
-- Table structure for seal_used_statistics
-- ----------------------------
DROP TABLE IF EXISTS `seal_used_statistics`;
CREATE TABLE `seal_used_statistics`  (
  `pid` int(1) NOT NULL AUTO_INCREMENT,
  `eid` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '分公司id',
  `user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户id',
  `department_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '部门id',
  `seal_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '印章id',
  `seal_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '印章名称',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '公司id',
  `apply_event_count` int(1) NOT NULL DEFAULT 0 COMMENT '事项申请数量 授权通过',
  `used_event_count` int(1) NOT NULL DEFAULT 0 COMMENT '盖章事项数b_used_seal_status status=2',
  `apply_count` int(1) NOT NULL COMMENT '申请次数 普通+骑缝',
  `used_count` int(1) NOT NULL DEFAULT 0 COMMENT '盖章次数 普通+骑缝',
  `date_range` tinyint(1) NOT NULL DEFAULT 0 COMMENT '统计时间范围：0 本年 1 本月 2 今天',
  PRIMARY KEY (`pid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of seal_used_statistics
-- ----------------------------

-- ----------------------------
-- Table structure for seal_users
-- ----------------------------
DROP TABLE IF EXISTS `seal_users`;
CREATE TABLE `seal_users`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `seal_base_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '印章id',
  `seal_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '印章使用人id',
  `use_status` tinyint(4) NULL DEFAULT 0 COMMENT '状态（0：可用，1：不可用）',
  `create_date` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建日期',
  `start_date` date NULL DEFAULT NULL COMMENT '开始时间',
  `end_date` date NULL DEFAULT NULL COMMENT '结束时间',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业号',
  `finger_print` tinyint(4) NULL DEFAULT 0 COMMENT '是否录入指纹判断 0为没有 1为有',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 130 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '印章可用人表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of seal_users
-- ----------------------------

-- ----------------------------
-- Table structure for sys_aoth
-- ----------------------------
DROP TABLE IF EXISTS `sys_aoth`;
CREATE TABLE `sys_aoth`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `url` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '接口地址',
  `menu_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '所属菜单name',
  `remark` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '接口方法描述',
  PRIMARY KEY (`pid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 16 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_aoth
-- ----------------------------
INSERT INTO `sys_aoth` VALUES (11, '/visitlog', 'visitlog', '访问日志');
INSERT INTO `sys_aoth` VALUES (12, '/loginlog', 'loginlog', '登录日志');
INSERT INTO `sys_aoth` VALUES (13, '/exceptionlog', 'exceptionlog', '异常日志');
INSERT INTO `sys_aoth` VALUES (14, '/saveSetting', 'personalSetting', '保存setting');
INSERT INTO `sys_aoth` VALUES (15, '/querySettingList', 'personalSetting', '查询setting');

-- ----------------------------
-- Table structure for sys_archive_template_setting
-- ----------------------------
DROP TABLE IF EXISTS `sys_archive_template_setting`;
CREATE TABLE `sys_archive_template_setting`  (
  `pid` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键id',
  `archive_name` varchar(80) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '归档文件名配置: 单据编号、标题、申请人、归档人、归档时间，多个根据分隔符相隔',
  `archive_base_info` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用印申请基本信息：流程名称、单据编号、标题、申请人、申请人部门、申请日期，多个以‘,’相隔',
  `workflow_approve_info` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'workflowApproveStep' COMMENT '流程审批步骤：流程审批过程',
  `archive_seal_info` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '印章使用详情：印章名称、申请次数、用印次数、骑缝章用印次数、补拍次数、用印人、最后一次用印时间、最后一次用印地点，多个以‘,’相隔',
  `face_img_switch` tinyint(2) NOT NULL DEFAULT 0 COMMENT '人脸图片开关：-1 关闭 0 开启',
  `face_img_sort` tinyint(2) NOT NULL DEFAULT 1 COMMENT '人脸图片排序：1 降序 2 升序',
  `seal_img_type` tinyint(2) NOT NULL DEFAULT 1 COMMENT '普通用印图片类型：-1 都不选 0 全部 1 原图 2 裁剪图',
  `seal_img_sort` tinyint(2) NOT NULL DEFAULT 1 COMMENT '普通用印图片排序：1 降序 2 升序',
  `cross_seal_img_type` tinyint(2) NOT NULL DEFAULT 1 COMMENT '骑缝章用印图片类型：-1 都不选 0 全部 1 原图 2 裁剪图',
  `cross_seal_img_sort` tinyint(2) NOT NULL DEFAULT 1 COMMENT '骑缝章用印图片排序：1 降序 2 升序',
  `replenish_img_type` tinyint(2) NOT NULL DEFAULT 1 COMMENT '补拍图片类型：-1 都不选 0 全部 1 原图 2 裁剪图',
  `replenish_img_sort` tinyint(2) NOT NULL DEFAULT 1 COMMENT '补拍图片排序：1 降序 2 升序',
  `supplement_img_type` tinyint(2) NOT NULL DEFAULT 1 COMMENT '补传图片类型：-1 都不选 0 全部 1 原图 2 裁剪图',
  `supplement_img_sort` tinyint(2) NOT NULL DEFAULT 1 COMMENT '补传图片排序：1 降序 2 升序',
  `archive_workflow` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '可以归档的流程：用印结束、已结束、已中止、已过期，多个以‘,’相隔',
  `archive_auto_switch` tinyint(2) NOT NULL DEFAULT 2 COMMENT '自动归档开关：1 开启 2 关闭（手动归档）',
  `archive_auto_mode` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '自动归档配置：基于archive_workflow配置，每种流程配置XX小时后，例如：\r\n{\"statusEnd\":1,\"applyEnd\":2,\"applySuspend\":3,\"statusExpire\":3}',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业id',
  `creator` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '归档模板创建人id',
  `create_date` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '归档模板创建时间',
  PRIMARY KEY (`pid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_archive_template_setting
-- ----------------------------
INSERT INTO `sys_archive_template_setting` VALUES (1, 'billNo-title-archiveCreator-archiveDate', 'billNo,title,applyUser,applyDept,applyDate', 'workflowApproveStep', 'sealName,applyCount,usedCount,sealUser,lastUseAddress', 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 'applyEnd', 2, '{\"applyEnd\":1}', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '-1', '2021-09-29 14:37:35');

-- ----------------------------
-- Table structure for sys_company
-- ----------------------------
DROP TABLE IF EXISTS `sys_company`;
CREATE TABLE `sys_company`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `company_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业名称',
  `company_code` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业简码',
  `company_pwd` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '接口登录密码',
  `logo` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'logo',
  `link_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '联系人',
  `phone` varchar(11) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '联系方式',
  `email` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '邮箱',
  `address` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '地址',
  `status` tinyint(1) NULL DEFAULT NULL COMMENT '状态',
  `public_key` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '公钥',
  `private_key` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '私钥',
  `creator` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人',
  `create_date` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '子公司所属企业id',
  `del_status` tinyint(1) NOT NULL DEFAULT 0 COMMENT '0在用，1删除',
  `sign_type` tinyint(2) NOT NULL DEFAULT 1 COMMENT '0总公司，1分公司',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 6 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_company
-- ----------------------------
INSERT INTO `sys_company` VALUES (5, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '江苏群杰', 'jsqj', '', NULL, NULL, '12345678901', '123@qq.com', '江苏南京', 0, NULL, NULL, 'admin', NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 0);

-- ----------------------------
-- Table structure for sys_company_license
-- ----------------------------
DROP TABLE IF EXISTS `sys_company_license`;
CREATE TABLE `sys_company_license`  (
  `pid` int(8) NOT NULL AUTO_INCREMENT,
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '公司Id',
  `license` varchar(1500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '许可秘钥',
  `create_date` datetime(0) NOT NULL COMMENT '创建时间',
  `expired_date` datetime(0) NOT NULL COMMENT '服务到期时间',
  `is_send` tinyint(1) NOT NULL DEFAULT 0 COMMENT '短信发送状态，0默认，1已发送',
  `status` tinyint(1) NOT NULL DEFAULT 0 COMMENT '0在用，1删除',
  PRIMARY KEY (`pid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_company_license
-- ----------------------------

-- ----------------------------
-- Table structure for sys_department
-- ----------------------------
DROP TABLE IF EXISTS `sys_department`;
CREATE TABLE `sys_department`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '部门名称',
  `parent_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '父节点',
  `orgNo` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '组织代码',
  `type` varchar(15) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '层级',
  `sort` int(6) NOT NULL DEFAULT 0 COMMENT '排序',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业编号',
  `leader` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '分管领导',
  `status` tinyint(4) NOT NULL DEFAULT 0 COMMENT '状态0正常1删除',
  `creator` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '创建人',
  `create_date` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `level` varchar(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '级别',
  `eid` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '所属子公司id,若本身为公司,则为其本身',
  `org_type` tinyint(1) NOT NULL DEFAULT 1 COMMENT '组织类型（1、部门，2、公司）',
  `third_id` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '第三方ID',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE,
  INDEX `idx_id_name`(`id`, `name`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 156 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_department
-- ----------------------------
INSERT INTO `sys_department` VALUES (155, '1', '江苏群杰', '0', 'A001', 'A001', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL, 0, '', '2020-09-04 17:47:08', 'A', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 2, NULL);

-- ----------------------------
-- Table structure for sys_expired_policy
-- ----------------------------
DROP TABLE IF EXISTS `sys_expired_policy`;
CREATE TABLE `sys_expired_policy`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `expired_times` int(10) NOT NULL DEFAULT 1 COMMENT '过期时间（小时）',
  `power_used` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'power' COMMENT '验证后/授权后  used/power',
  `alter_time` datetime(0) NULL DEFAULT NULL COMMENT '修改时间',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '公司id',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_expired_policy
-- ----------------------------

-- ----------------------------
-- Table structure for sys_file_server
-- ----------------------------
DROP TABLE IF EXISTS `sys_file_server`;
CREATE TABLE `sys_file_server`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `server_path` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '服务地址',
  `local_path` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '内网地址，可生成PDF时使用',
  `server_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '作为服务地址标记存于文件表',
  `server_info` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '服务信息，内存、文件数，截止时间',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '描述服务情况，用于区分服务',
  `disk_used` int(3) NULL DEFAULT NULL COMMENT '硬盘使用比',
  `create_date` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建日期',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 15 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_file_server
-- ----------------------------

-- ----------------------------
-- Table structure for sys_log
-- ----------------------------
DROP TABLE IF EXISTS `sys_log`;
CREATE TABLE `sys_log`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `create_date` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建日期',
  `ip` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'ip',
  `method` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '方法',
  `operation` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '任务',
  `params` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '参数',
  `username` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户名',
  `is_exception` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '是否异常',
  `result` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '结果',
  `excute_time` bigint(20) NULL DEFAULT NULL COMMENT '执行时间',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_log
-- ----------------------------

-- ----------------------------
-- Table structure for sys_menu
-- ----------------------------
DROP TABLE IF EXISTS `sys_menu`;
CREATE TABLE `sys_menu`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `name` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '菜单名称',
  `path_params` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '参数',
  `url` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '菜单路径',
  `icon` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '图标',
  `server` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '服务',
  `sysServer` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '系统服务',
  `parentid` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '父节点',
  `create_date` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `type` tinyint(1) NOT NULL DEFAULT 1 COMMENT '0可用1禁用',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '企业编号',
  `isAdmin` tinyint(1) NULL DEFAULT NULL COMMENT '管理员菜单',
  `sort` int(6) NULL DEFAULT NULL COMMENT '排序',
  `title` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '标题',
  `hideInMenu` tinyint(1) NULL DEFAULT NULL COMMENT '左侧菜单',
  `notCache` tinyint(1) NULL DEFAULT NULL COMMENT '是否缓存',
  `system_version` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT 'flagShip-旗舰版',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 188 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_menu
-- ----------------------------
INSERT INTO `sys_menu` VALUES (108, '1991ffb5-4534-11a8-9969-801844e506d1', 'change-status-manage', NULL, 'layouts/app-main', 'el-icon-s-opportunity', NULL, NULL, '-1', '2019-08-22 11:27:25', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 6, '变更管理', 0, 0, 'flagShip');
INSERT INTO `sys_menu` VALUES (109, '1991ffb5-4534-11e9-9969-801844e506d1', 'change-seal-status-record', 'formType=3', 'views/data-manage/apply-record', '', NULL, NULL, '1991ffb5-4534-11a8-9969-801844e506d1', '2019-03-13 10:03:19', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 2, '变更记录', 0, 1, 'flagShip');
INSERT INTO `sys_menu` VALUES (110, '286c8f13-0fee-11e9-83e7-801844e54444', 'Approval', '', 'views/workbench/ApprovalCenter', 'el-icon-menu', NULL, NULL, '286c8f13-0fee-11e9-83e7-801844e5spzx', '2019-08-22 11:27:25', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 2, '审批中心', 0, 1, '');
INSERT INTO `sys_menu` VALUES (111, '286c8f13-0fee-11e9-83e7-801844e5spzx', 'approvalCenter', NULL, 'layouts/app-main', 'el-icon-menu', NULL, NULL, '-1', '2019-08-22 11:27:25', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 2, '审批中心', 0, 1, '');
INSERT INTO `sys_menu` VALUES (112, '4c1197a8-0fed-11e9-83e7-801844e506d1', 'flow-manage', NULL, 'views/system/FlowManage', '', NULL, NULL, 'f41dd3d5-e8bc-11e8-afaf-801844e506d1', '2019-04-01 15:24:54', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 5, '流程管理', 0, 0, '');
INSERT INTO `sys_menu` VALUES (113, '589f7740-f5ba-4175-87a6-036f272e3816', 'SealList', NULL, 'views/seal-manage/seal-list', '', NULL, NULL, 'f44f157d-4d7c-4df0-9ba8-b38cc2add668', '2018-11-27 13:50:12', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 1, '印章信息', 0, 1, '');
INSERT INTO `sys_menu` VALUES (114, '5acc67cc-f208-11e8-83e7-801844e50639', 'SealCabinet', NULL, 'views/terminal/seal-cabinet', NULL, NULL, NULL, 'd7bd7054-9e17-40ea-9055-8995c312171b', '2018-12-03 12:00:21', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 4, '印章柜', 0, 1, '');
INSERT INTO `sys_menu` VALUES (115, '5acc67cc-f208-11e8-83e7-801844zdgzj', 'auto-machine', NULL, 'views/terminal/seal-auto-machine', NULL, NULL, NULL, 'd7bd7054-9e17-40ea-9055-8995c312171b', '2019-10-15 20:00:21', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 3, '盖章机', 0, 0, '');
INSERT INTO `sys_menu` VALUES (116, '6a3b82e8-0fee-11e9-83e7-801844e506d1', 'dictionary', NULL, 'views/system/DictionaryManage', '', NULL, NULL, 'f41dd3d5-e8bc-11e8-afaf-801844e506d1', '2019-04-01 15:25:03', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 6, '数据字典', 0, 0, '');
INSERT INTO `sys_menu` VALUES (117, '6cc1e99e-4534-11e9-9109-801844e506d1', 'receive-seal-manage', NULL, 'layouts/app-main', 'el-icon-s-operation', NULL, NULL, '-1', '2019-08-22 11:27:25', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 4, '移交管理', 0, 0, 'flagShip');
INSERT INTO `sys_menu` VALUES (118, '6cc1e99e-4534-11e9-9969-801844e506d1', 'receive-seal-apply', 'type=4', 'views/workbench/initiate-approval', '', NULL, NULL, '6cc1e99e-4534-11e9-9109-801844e506d1', '2019-03-13 10:05:39', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 1, '移交申请', 0, 1, 'flagShip');
INSERT INTO `sys_menu` VALUES (119, '742603cb-5f30-11e9-aa26-801844e506d1', 'lnk', NULL, 'views/terminal/lnk', NULL, NULL, NULL, 'd7bd7054-9e17-40ea-9055-8995c312171b', '2019-04-15 11:34:48', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 1, '用印宝', 0, 0, '');
INSERT INTO `sys_menu` VALUES (120, '8995af15-4534-11e9-9969-801844e506d1', 'receive-seal-apply-record', 'formType=4', 'views/data-manage/apply-record', '', NULL, NULL, '6cc1e99e-4534-11e9-9109-801844e506d1', '2019-03-13 10:06:27', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 2, '移交记录', 0, 1, 'flagShip');
INSERT INTO `sys_menu` VALUES (121, 'a1ef0a9f-5b32-11e9-aa26-801844e506d1', 'system-params-setting', NULL, 'views/system/system-params-setting', NULL, NULL, NULL, 'f41dd3d5-e8bc-11e8-afaf-801844e506d1', '2019-04-10 09:40:11', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 4, '参数设置', 0, 0, '');
INSERT INTO `sys_menu` VALUES (122, 'a3004231-512f-43bc-817f-3f62fcc08d4b', 'SealMaster', NULL, 'views/terminal/seal-master', NULL, NULL, NULL, 'd7bd7054-9e17-40ea-9055-8995c312171b', '2018-11-27 11:30:12', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 2, '印控台', 0, 1, '');
INSERT INTO `sys_menu` VALUES (123, 'b6950228-4533-11e9-0069-801844e506d1', 'create-seal-manage', NULL, 'layouts/app-main', 'el-icon-s-platform', NULL, NULL, '-1', '2019-08-22 11:27:25', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 3, '刻章管理', 0, 0, 'flagShip');
INSERT INTO `sys_menu` VALUES (124, 'b6950228-4533-11e9-9969-801844e506d1', 'create-seal-apply', 'type=1', 'views/workbench/initiate-approval', '', NULL, NULL, 'b6950228-4533-11e9-0069-801844e506d1', '2019-03-13 10:00:33', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 1, '刻章申请', 0, 1, 'flagShip');
INSERT INTO `sys_menu` VALUES (126, 'bdbee451-7783-11e9-aa26-801844e5tjfx', 'reporting-center', NULL, 'layouts/app-main', 'el-icon-data-analysis', NULL, NULL, '-1', '2019-05-16 10:32:16', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 11, '报表中心', 0, 1, 'flagShip');
INSERT INTO `sys_menu` VALUES (127, 'bf9145f9-4533-11e9-9969-801844e506d1', 'create-seal-record', 'formType=1', 'views/data-manage/apply-record', '', NULL, NULL, 'b6950228-4533-11e9-0069-801844e506d1', '2019-03-13 10:00:48', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 2, '刻章记录', 0, 1, 'flagShip');
INSERT INTO `sys_menu` VALUES (128, 'cfe1456d-1c2b-11e9-aa26-801844e506d1', 'defend-case-manage', NULL, 'views/system/DefendCase', NULL, NULL, NULL, 'ffadsd-4d7c-gfdccdfde-9gfdsfdgqewyygl', '2019-04-29 10:59:39', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 4, '事项管理', 0, 0, '');
INSERT INTO `sys_menu` VALUES (130, 'd7bd7054-9e17-40ea-9055-8995c312171b', 'terminal', NULL, 'layouts/app-main', 'el-icon-s-platform', NULL, NULL, '-1', '2018-11-27 10:30:12', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 8, '终端中心', 0, 0, '');
INSERT INTO `sys_menu` VALUES (131, 'd9b78b6b-e22d-11e8-afaf-801844e506d1', 'role', NULL, 'views/concat/RoleManage', '', '', '', 'f41dd3d5-e8bc-11e8-afaf-801844e506d1', '2018-11-07 09:39:40', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 1, '角色管理', 0, 0, '');
INSERT INTO `sys_menu` VALUES (132, 'd9b7b462-e22d-11e8-afaf-801844e506d1', 'department-user', NULL, 'views/concat/DepartmentUser', '', '', '', 'f41dd3d5-e8bc-11e8-afaf-801844e506d1', '2018-11-07 09:39:40', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 2, '组织人员', 0, 0, '');
INSERT INTO `sys_menu` VALUES (133, 'da306e39-e22c-11e8-afaf-3ded3sdf32232', 'keyword-warning', '', 'views/terminal-warning/keyword-warning', NULL, NULL, NULL, 'd9b78b6b-e22d-11e8-afaf-801844e5s501', '2019-08-20 15:37:23', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 5, '关键字预警', 0, 1, '');
INSERT INTO `sys_menu` VALUES (134, 'da306e39-e22c-11e8-afaf-3ded3sdf66666', 'ViolentWarning', '', 'views/terminal-warning/violentdemolition-warning', NULL, NULL, NULL, 'd9b78b6b-e22d-11e8-afaf-801844e5s501', '2020-05-10 15:37:23', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 6, '拆机预警', 0, 1, '');
INSERT INTO `sys_menu` VALUES (136, 'da306e39-e22c-11e8-afaf-801844e506d2', 'terminal-warning', NULL, 'layouts/app-main', 'el-icon-s-comment\r\n', NULL, NULL, '-1', '2018-12-27 15:34:40', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 10, '风控中心', 0, 0, 'flagShip');
INSERT INTO `sys_menu` VALUES (137, 'da306e39-e22c-11e8-afaf-801844e506d3', 'AreaWarning', NULL, 'views/terminal-warning/area-warning', NULL, NULL, NULL, 'd9b78b6b-e22d-11e8-afaf-801844e5s501', '2018-12-27 15:34:42', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 4, '区域外盖章预警', 0, 1, '');
INSERT INTO `sys_menu` VALUES (138, 'da306e39-e22c-11e8-afaf-801844e506d4', 'PressWarning', NULL, 'views/terminal-warning/press-warning', NULL, NULL, NULL, 'd9b78b6b-e22d-11e8-afaf-801844e5s501', '2018-12-27 15:34:44', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 2, '长按压预警', 0, 1, '');
INSERT INTO `sys_menu` VALUES (139, 'f41dd3d5-e8bc-11e8-afaf-801844e506d1', 'system', NULL, 'layouts/app-main', 'el-icon-s-tools', '', '', '-1', '2018-11-15 17:59:18', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 14, '系统设置', 0, 0, '');
INSERT INTO `sys_menu` VALUES (140, 'f44f157d-4d7c-4df0-9ba8-b3885823697', 'bill-rule', NULL, 'views/system/bill-rule', NULL, NULL, NULL, 'f41dd3d5-e8bc-11e8-afaf-801844e506d1', '2020-05-11 09:30:05', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 10, '编号规则', 0, 0, '');
INSERT INTO `sys_menu` VALUES (141, 'f44f157d-4d7c-4df0-9ba8-b38cc2add667', 'seal-engrave-list', NULL, 'views/seal-manage/seal-engrave-list', NULL, NULL, NULL, 'b6950228-4533-11e9-0069-801844e506d1', '2019-03-19 13:40:54', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 3, '印章备案', 0, 0, 'flagShip');
INSERT INTO `sys_menu` VALUES (142, 'f44f157d-4d7c-4df0-9ba8-b38cc2add668', 'seal-manage', NULL, 'layouts/app-main', 'ele-third-icon-yinzhang', NULL, NULL, '-1', '2018-12-26 13:42:29', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 7, '印章管理', 0, 0, '');
INSERT INTO `sys_menu` VALUES (143, 'f44f157d-4d7c-4df0-9ba8-b38ff2add666', 'seal-trajectory', NULL, 'views/seal-manage/seal-trajectory', NULL, NULL, NULL, 'f44f157d-4d7c-4df0-9ba8-b38cc2add668', '2020-05-11 09:30:05', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 4, '印章轨迹', 0, 0, '');
INSERT INTO `sys_menu` VALUES (144, 'f44f157d-4d7c-4df0-9ba8-b38ff2add668', 'seal-position', NULL, 'views/seal-manage/seal-position', NULL, NULL, NULL, 'f44f157d-4d7c-4df0-9ba8-b38cc2add668', '2018-12-26 14:11:05', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 3, '印章分布', 0, 0, '');
INSERT INTO `sys_menu` VALUES (145, 'f44f157d-4d7c-acde-9qs8-b38zxcabbppp', 'OutsideWarning', NULL, 'views/terminal-warning/outside-warning', NULL, NULL, NULL, 'd9b78b6b-e22d-11e8-afaf-801844e5s501', '2019-07-17 15:18:17', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 3, '异地盖章预警', 0, 1, '');
INSERT INTO `sys_menu` VALUES (146, 'ffadsd-4d7c-69696gfde-9gfdsfdgqewdfgh', 'change-seal-record', 'formType=5', 'views/data-manage/apply-record', NULL, NULL, NULL, 'ffadsd-4d7c-89898abce-9gfdsfdgqewdfgh', '2019-07-25 10:33:14', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 2, '换章记录', 0, 1, '');
INSERT INTO `sys_menu` VALUES (147, 'ffadsd-4d7c-89898abce-9gfdsfdgqewdfgh', 'change-seal-manage', NULL, 'layouts/app-main', 'el-icon-s-custom', NULL, NULL, '-1', '2019-08-22 11:27:25', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 5, '换章管理', 0, 0, '');
INSERT INTO `sys_menu` VALUES (148, 'ffadsd-4d7c-89898gfde-9gfdsfdgqewdfgh', 'change-seal-apply', 'type=5', 'views/workbench/initiate-approval', NULL, NULL, NULL, 'ffadsd-4d7c-89898abce-9gfdsfdgqewdfgh', '2019-07-25 10:30:21', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 1, '换章申请', 0, 1, '');
INSERT INTO `sys_menu` VALUES (149, 'ffadsd-4d7c-gfdccdfde-9gfdsfdgqewdfgh', 'EmergencySeal', NULL, 'views/data-manage/emergency-seal', NULL, NULL, NULL, 'ffadsd-4d7c-gfdccdfde-9gfdsfdgqewyygl', '2019-07-19 16:29:33', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 6, '应急用印记录', 0, 1, '');
INSERT INTO `sys_menu` VALUES (150, 'ffadsd-4d7c-gfdccdfde-9gfdsfdgqewksyy', 'CanUsedSeal', NULL, 'views/available/available-seal', '', NULL, NULL, 'ffadsd-4d7c-gfdccdfde-9gfdsfdgqewyygl', '2019-08-20 14:48:35', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 2, '开始用印', 0, 1, '');
INSERT INTO `sys_menu` VALUES (151, 'ffadsd-4d7c-gfdccdfde-9gfdsfdgqewyygl', 'use-seal-manage', NULL, 'layouts/app-main', 'el-icon-s-promotion', NULL, NULL, '-1', '2019-08-20 13:53:59', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 1, '用印管理', 0, 0, '');
INSERT INTO `sys_menu` VALUES (152, 'ffadsd-4d7c-gfdccdfde-9gfdsfdgqewyyjl', 'use-seal-record', 'formType=2', 'views/data-manage/apply-record', '', NULL, NULL, 'ffadsd-4d7c-gfdccdfde-9gfdsfdgqewyygl', '2019-08-20 14:45:18', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 3, '用印记录', 0, 1, '');
INSERT INTO `sys_menu` VALUES (153, 'ffadsd-4d7c-gfdccdfde-9gfdsfdgqewyysq', 'use-seal-apply', 'type=2', 'views/workbench/initiate-approval', NULL, NULL, NULL, 'ffadsd-4d7c-gfdccdfde-9gfdsfdgqewyygl', '2019-08-20 14:42:44', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 1, '用印申请', 0, 1, '');
INSERT INTO `sys_menu` VALUES (154, 'ffadsd-4d7c-gfdshgfde-9gfdsfdgqeyzjk', 'seal-monitor', NULL, 'views/seal-manage/seal-monitor', NULL, NULL, NULL, 'f44f157d-4d7c-4df0-9ba8-b38cc2add668', '2019-09-16 16:49:37', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 5, '印章监控', 0, 0, '');
INSERT INTO `sys_menu` VALUES (155, 'ffadsd-4d7c-gfdshgfde-9gfdsfdgqeyzzt', 'change-seal-status', 'type=3', 'views/workbench/initiate-approval', NULL, NULL, NULL, '1991ffb5-4534-11a8-9969-801844e506d1', '2019-08-20 15:37:23', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 1, '变更申请', 0, 1, 'flagShip');
INSERT INTO `sys_menu` VALUES (157, 'gehadsd-4d7c-gedshgfde-9gfdsfdgqeyzzt', 'ArchiveFile', NULL, 'views/files/archive', NULL, NULL, NULL, 'gfadsd-4d7c-gfdshgfde-9gfdsfdgqeyzzt', '2020-04-08 16:32:31', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 1, '归档管理', 0, 1, '');
INSERT INTO `sys_menu` VALUES (158, 'gfadsd-4d7c-gfdshgfde-9gfdsfdgqeyzzt', 'file', NULL, 'layouts/app-main', 'el-icon-folder-opened', NULL, NULL, '-1', '2020-04-08 16:18:25', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 12, '文档管理', 0, 0, '');
INSERT INTO `sys_menu` VALUES (159, 'f41dd3d5-e8bc-11e8-afaf-801818e506d1', 'ApprovalMatrix', NULL, 'views/system/ApprovalMatrix', NULL, NULL, NULL, 'f41dd3d5-e8bc-11e8-afaf-801844e506d1', '2020-07-07 17:04:10', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 11, '矩阵设置', 0, 0, '');
INSERT INTO `sys_menu` VALUES (160, 'gfadsd-4d7c-gfdshgfde-9gfdsfdgqeyyyy', 'seal-use-statistics', NULL, 'views/reporting-center/seal-use-statistics', NULL, NULL, NULL, 'bdbee451-7783-11e9-aa26-801844e5tjfx', '2020-08-04 10:54:55', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 1, '印章使用统计', 0, 1, 'flagShip');
INSERT INTO `sys_menu` VALUES (161, 'gfadsd-4d7c-gfdshgfde-9gfdsfdgqeyyya', 'organize-seal-statistics', NULL, 'views/reporting-center/organize-seal-statistics', NULL, NULL, NULL, 'bdbee451-7783-11e9-aa26-801844e5tjfx', '2020-08-04 10:56:52', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 2, '组织用印统计', 0, 1, 'flagShip');
INSERT INTO `sys_menu` VALUES (162, 'gfadsd-4d7c-gfdshgfde-9gfdsfdgqeyyyb', 'use-seal-distribute', NULL, 'views/reporting-center/use-seal-distribute', NULL, NULL, NULL, 'bdbee451-7783-11e9-aa26-801844e5tjfx', '2020-08-04 10:58:40', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 3, '用印分布统计', 0, 1, 'flagShip');
INSERT INTO `sys_menu` VALUES (163, 'gfadsd-4d7c-gfdshgfde-9gfdsfdgqeyyyc', 'early-warning-statistics', NULL, 'views/reporting-center/early-warning-statistics', NULL, NULL, NULL, 'bdbee451-7783-11e9-aa26-801844e5tjfx', '2020-08-04 10:59:47', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 4, '预警统计', 0, 1, 'flagShip');
INSERT INTO `sys_menu` VALUES (164, 'dfgdff-4he7-adfsasddf-k8asdm2m3k3', 'log-manage', NULL, 'views/log-manage', NULL, NULL, NULL, '-1', '2020-10-15 09:57:40', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 13, '日志管理', 0, 0, '');
INSERT INTO `sys_menu` VALUES (165, 'uiiui-8jkad-asdklaklafklfmkerkemnek', 'login-log', NULL, 'views/log-manage/login-log', NULL, NULL, NULL, 'dfgdff-4he7-adfsasddf-k8asdm2m3k3', '2020-10-15 10:00:34', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 1, '登录日志', 0, 1, '');
INSERT INTO `sys_menu` VALUES (166, 'da306e39-e22c-11e8-afaf-3ded3sdf47895', 'lowFrequencyWarning', NULL, 'views/terminal-warning/lowfrequency-warning', NULL, NULL, NULL, 'd9b78b6b-e22d-11e8-afaf-801844e5s501', '2020-10-15 15:37:23', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 9, '低频预警', 0, 1, '');
INSERT INTO `sys_menu` VALUES (169, 'f44f157d-4d7c-4df0-9ba8-b38cc2addt-t2du', 'loanReturn', NULL, 'views/seal-manage/loan-return', NULL, NULL, NULL, 'f44f157d-4d7c-4df0-9ba8-b38cc2add668', '2020-12-01 15:06:05', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 2, '外借归还', 0, 1, '');
INSERT INTO `sys_menu` VALUES (170, '9d2ae09e-780c-11eb-b4cd-e454e8ca3c54', 'themeSetting', NULL, 'views/system/theme-setting', NULL, NULL, NULL, 'f41dd3d5-e8bc-11e8-afaf-801844e506d1', '2021-02-26 16:29:10', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 12, '主题设置', 0, 0, '');
INSERT INTO `sys_menu` VALUES (171, 'gfadsd-4d7c-gfdshgfde-9gfdsfdgqeyyyd', 'big-screen', NULL, 'views/reporting-center/big-screen', NULL, NULL, NULL, 'bdbee451-7783-11e9-aa26-801844e5tjfx', '2021-04-07 17:59:47', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 5, '大屏报表', 0, 1, 'flagShip');
INSERT INTO `sys_menu` VALUES (172, 'a2d79e29-9053-11eb-9520-e454e8c864a2', 'fullTextSearch', NULL, 'views/system/full-text-search', NULL, NULL, NULL, 'ffadsd-4d7c-gfdccdfde-9gfdsfdgqewyygl', '2021-03-29 16:29:10', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 5, '全文搜索', 0, 0, '');
INSERT INTO `sys_menu` VALUES (173, '827fa5c0-91c6-11eb-9520-e454e8c864a2', 'riskAudit', NULL, '', NULL, NULL, NULL, 'da306e39-e22c-11e8-afaf-801844e506d2', '2021-03-29 16:29:10', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 1, '风险审计', 0, 0, 'flagShip');
INSERT INTO `sys_menu` VALUES (174, '9en7h462-e88d-11je-afaf-8018daje06d1', 'config-manage', NULL, 'views/system/config-manage', NULL, NULL, NULL, 'f41dd3d5-e8bc-11e8-afaf-801844e506d1', '2020-10-16 11:04:56', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 3, '配置管理', 0, 0, '');
INSERT INTO `sys_menu` VALUES (175, 'd35472cf-a4c2-417a-bf85-1227c9f4c962', 'data-synchronize', NULL, 'views/system/data-synchronize', NULL, NULL, NULL, 'f41dd3d5-e8bc-11e8-afaf-801844e506d1', '2020-10-16 11:04:56', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 13, '实施管理', 0, 0, '');
INSERT INTO `sys_menu` VALUES (176, 'd3472cd-a4c1-41ba-bf85-1227c9f43965', 'riskLevel', NULL, '', NULL, NULL, NULL, 'da306e39-e22c-11e8-afaf-801844e506d2', '2021-05-17 16:29:10', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 3, '风险等级', 0, 0, 'flagShip');
INSERT INTO `sys_menu` VALUES (177, 'e569cb85-d2f6-11eb-8cf4-e454e8ca3c54', 'message-management-center', NULL, 'views/system/message-management-center', NULL, NULL, NULL, 'f41dd3d5-e8bc-11e8-afaf-801844e506d1', '2021-05-19 16:29:10', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 13, '消息管理中心', 0, 0, '');
INSERT INTO `sys_menu` VALUES (178, 'b6dc339c-017d-11ec-8cf4-e454e8ca3c54', 'handstandWarning', NULL, '', NULL, NULL, NULL, 'd9b78b6b-e22d-11e8-afaf-801844e5s501', '2021-07-30 16:29:10', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 11, '倒立用印预警', 0, 0, '');
INSERT INTO `sys_menu` VALUES (179, 'b6ee1550-017d-11ec-8cf4-e454e8ca3c54', 'dropWarning', NULL, '', NULL, NULL, NULL, 'd9b78b6b-e22d-11e8-afaf-801844e5s501', '2021-07-30 16:29:10', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 12, '跌落预警', 0, 0, '');
INSERT INTO `sys_menu` VALUES (180, 'b6f84195-017d-11ec-8cf4-e454e8ca3c54', 'illegalUsedSealWarning', NULL, '', NULL, NULL, NULL, 'd9b78b6b-e22d-11e8-afaf-801844e5s501', '2021-07-30 16:29:10', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 13, '锁章后偷盖预警', 0, 0, '');
INSERT INTO `sys_menu` VALUES (181, 'd9b78b6b-e22d-11e8-afaf-801844e5s500', 'auth-manager', NULL, 'views/system/auth-manager', NULL, NULL, NULL, 'f41dd3d5-e8bc-11e8-afaf-801844e506d1', '2021-09-07 14:00:00', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 15, '授权管理', 0, 0, '');
INSERT INTO `sys_menu` VALUES (182, 'gehadsd-4d7c-gedshgfde-9gfdsfdgqeymzy', 'ArchiveTemplateSetting', NULL, NULL, NULL, NULL, NULL, 'gfadsd-4d7c-gfdshgfde-9gfdsfdgqeyzzt', '2021-08-25 16:32:31', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 3, '归档模板设置', 0, 1, '');
INSERT INTO `sys_menu` VALUES (183, 'd9b78b6b-e22d-11e8-afaf-801844e597e6', 'resource-manage', NULL, 'views/concat/resourceManage', '', '', '', 'f41dd3d5-e8bc-11e8-afaf-801844e506d1', '2021-09-29 14:37:35', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 1, 0, '资源管理', 0, 0, '');
INSERT INTO `sys_menu` VALUES (184, '80e9c09f-0ae7-11ec-8cf4-e454e8ca3c54', 'event-log', NULL, 'views/log-manage/event-log', NULL, NULL, NULL, 'dfgdff-4he7-adfsasddf-k8asdm2m3k3', '2021-09-01 13:44:00', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 2, '系统日志', 0, 0, '');
INSERT INTO `sys_menu` VALUES (185, 'd9b78b6b-e22d-11e8-afaf-801844e5s501', 'warning-manager', NULL, 'views/system/warning-manager', NULL, NULL, NULL, '-1', '2021-11-01 17:31:00', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 9, '预警管理', 0, 0, '');
INSERT INTO `sys_menu` VALUES (186, 'a3114231-522f-43bc-817f-3f62fca13d5e', 'equipment-package-manage', NULL, NULL, NULL, NULL, NULL, 'd7bd7054-9e17-40ea-9055-8995c312171b', '2021-11-02 11:29:24', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 5, '固件版本管理', 0, 0, '');
INSERT INTO `sys_menu` VALUES (187, 'd9b78b6b-e22d-11e8-afaf-801844e597j3', 'health-check', NULL, 'views/system/health-check', NULL, NULL, NULL, 'f41dd3d5-e8bc-11e8-afaf-801844e506d1', '2021-11-08 10:25:54', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 16, '健康检查', 0, 0, '');

-- ----------------------------
-- Table structure for sys_menu_permission
-- ----------------------------
DROP TABLE IF EXISTS `sys_menu_permission`;
CREATE TABLE `sys_menu_permission`  (
  `pid` int(10) NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一',
  `menu_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '菜单ID',
  `menu_permission` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '菜单权限增删改查上传下载等',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '公司ID,saas暂时不区分公司,预留字段',
  `remark` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
  `menu_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '菜单名称',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `idx_id`(`id`) USING BTREE,
  INDEX `idx_menu_id`(`menu_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 225 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_menu_permission
-- ----------------------------
INSERT INTO `sys_menu_permission` VALUES (1, '892d7ebf-f42c-11eb-8cf4-e454e8ca3c54', 'ffadsd-4d7c-gfdccdfde-9gfdsfdgqewyysq', 'workflow:query', NULL, '流程查询', '用印申请');
INSERT INTO `sys_menu_permission` VALUES (2, '89431a16-f42c-11eb-8cf4-e454e8ca3c54', 'ffadsd-4d7c-gfdccdfde-9gfdsfdgqewyysq', 'apply:operate', NULL, '事项操作', '用印申请');
INSERT INTO `sys_menu_permission` VALUES (3, 'a6479dfe-f42e-11eb-8cf4-e454e8ca3c54', 'ffadsd-4d7c-gfdccdfde-9gfdsfdgqewksyy', 'usedSeal:query', NULL, '开始用印', '开始用印');
INSERT INTO `sys_menu_permission` VALUES (4, 'a6545c18-f42e-11eb-8cf4-e454e8ca3c54', 'ffadsd-4d7c-gfdccdfde-9gfdsfdgqewksyy', 'apply:operate', NULL, '事项操作', '开始用印');
INSERT INTO `sys_menu_permission` VALUES (5, 'f36ae97a-f42e-11eb-8cf4-e454e8ca3c54', 'ffadsd-4d7c-gfdccdfde-9gfdsfdgqewyyjl', 'applyRecord:query', NULL, '用印记录', '用印记录');
INSERT INTO `sys_menu_permission` VALUES (6, 'f375425d-f42e-11eb-8cf4-e454e8ca3c54', 'ffadsd-4d7c-gfdccdfde-9gfdsfdgqewyyjl', 'apply:operate', NULL, '事项操作', '用印记录');
INSERT INTO `sys_menu_permission` VALUES (7, '5ed9b1d4-f42f-11eb-8cf4-e454e8ca3c54', 'a2d79e29-9053-11eb-9520-e454e8c864a2', 'ocrTextSearch:query', NULL, '全文检索', '全文检索');
INSERT INTO `sys_menu_permission` VALUES (8, '4d3af15d-f430-11eb-8cf4-e454e8ca3c54', '286c8f13-0fee-11e9-83e7-801844e5spzx', 'commission:query', NULL, '审批中心', '审批中心');
INSERT INTO `sys_menu_permission` VALUES (9, '69236ca9-f430-11eb-8cf4-e454e8ca3c54', '286c8f13-0fee-11e9-83e7-801844e5spzx', 'apply:operate', NULL, '事项操作', '审批中心');
INSERT INTO `sys_menu_permission` VALUES (10, '53d662bc-f431-11eb-8cf4-e454e8ca3c54', 'b6950228-4533-11e9-9969-801844e506d1', 'workflow:query', NULL, '流程查询', '刻章申请');
INSERT INTO `sys_menu_permission` VALUES (11, '53e02c23-f431-11eb-8cf4-e454e8ca3c54', 'b6950228-4533-11e9-9969-801844e506d1', 'apply:operate', NULL, '事项操作', '刻章申请');
INSERT INTO `sys_menu_permission` VALUES (12, '53ea4626-f431-11eb-8cf4-e454e8ca3c54', 'bf9145f9-4533-11e9-9969-801844e506d1', 'applyRecord:query', NULL, '刻章记录', '刻章记录');
INSERT INTO `sys_menu_permission` VALUES (13, '53f4660f-f431-11eb-8cf4-e454e8ca3c54', 'bf9145f9-4533-11e9-9969-801844e506d1', 'apply:operate', NULL, '事项操作', '刻章记录');
INSERT INTO `sys_menu_permission` VALUES (14, 'e98cd8f5-f431-11eb-8cf4-e454e8ca3c54', 'f44f157d-4d7c-4df0-9ba8-b38cc2add667', 'sealEngrave:query', NULL, '印章备案查询', '印章备案');
INSERT INTO `sys_menu_permission` VALUES (15, 'e996469d-f431-11eb-8cf4-e454e8ca3c54', 'f44f157d-4d7c-4df0-9ba8-b38cc2add667', 'sealEngrave:save', NULL, '印章备案保存', '印章备案');
INSERT INTO `sys_menu_permission` VALUES (16, '3cf5554d-f432-11eb-8cf4-e454e8ca3c54', '6cc1e99e-4534-11e9-9969-801844e506d1', 'workflow:query', NULL, '流程查询', '移交申请');
INSERT INTO `sys_menu_permission` VALUES (17, '3d000101-f432-11eb-8cf4-e454e8ca3c54', '6cc1e99e-4534-11e9-9969-801844e506d1', 'apply:operate', NULL, '事项操作', '移交申请');
INSERT INTO `sys_menu_permission` VALUES (18, '3d0a3233-f432-11eb-8cf4-e454e8ca3c54', '8995af15-4534-11e9-9969-801844e506d1', 'applyRecord:query', NULL, '移交记录', '移交记录');
INSERT INTO `sys_menu_permission` VALUES (19, '3d146ec6-f432-11eb-8cf4-e454e8ca3c54', '8995af15-4534-11e9-9969-801844e506d1', 'apply:operate', NULL, '事项操作', '移交记录');
INSERT INTO `sys_menu_permission` VALUES (20, '8992e7c8-f432-11eb-8cf4-e454e8ca3c54', 'ffadsd-4d7c-89898gfde-9gfdsfdgqewdfgh', 'workflow:query', NULL, '流程查询', '换章申请');
INSERT INTO `sys_menu_permission` VALUES (21, '89a119a4-f432-11eb-8cf4-e454e8ca3c54', 'ffadsd-4d7c-89898gfde-9gfdsfdgqewdfgh', 'apply:operate', NULL, '事项操作', '换章申请');
INSERT INTO `sys_menu_permission` VALUES (22, '89ada30b-f432-11eb-8cf4-e454e8ca3c54', 'ffadsd-4d7c-69696gfde-9gfdsfdgqewdfgh', 'applyRecord:query', NULL, '换章记录', '换章记录');
INSERT INTO `sys_menu_permission` VALUES (23, '89c0c2de-f432-11eb-8cf4-e454e8ca3c54', 'ffadsd-4d7c-69696gfde-9gfdsfdgqewdfgh', 'apply:operate', NULL, '事项操作', '换章记录');
INSERT INTO `sys_menu_permission` VALUES (24, 'cac882cc-f432-11eb-8cf4-e454e8ca3c54', 'ffadsd-4d7c-gfdshgfde-9gfdsfdgqeyzzt', 'workflow:query', NULL, '流程查询', '变更申请');
INSERT INTO `sys_menu_permission` VALUES (25, 'cad2bfbf-f432-11eb-8cf4-e454e8ca3c54', 'ffadsd-4d7c-gfdshgfde-9gfdsfdgqeyzzt', 'apply:operate', NULL, '事项操作', '变更申请');
INSERT INTO `sys_menu_permission` VALUES (26, 'cade2589-f432-11eb-8cf4-e454e8ca3c54', '1991ffb5-4534-11e9-9969-801844e506d1', 'applyRecord:query', NULL, '变更记录', '变更记录');
INSERT INTO `sys_menu_permission` VALUES (27, 'cae99ae6-f432-11eb-8cf4-e454e8ca3c54', '1991ffb5-4534-11e9-9969-801844e506d1', 'apply:operate', NULL, '事项操作', '变更记录');
INSERT INTO `sys_menu_permission` VALUES (28, '5c4d7032-f438-11eb-8cf4-e454e8ca3c54', '589f7740-f5ba-4175-87a6-036f272e3816', 'sealBase:query', NULL, '印章查询', '印章信息');
INSERT INTO `sys_menu_permission` VALUES (29, '5c5acbd3-f438-11eb-8cf4-e454e8ca3c54', '589f7740-f5ba-4175-87a6-036f272e3816', 'sealBase:save', NULL, '印章保存', '印章信息');
INSERT INTO `sys_menu_permission` VALUES (30, '5c68c63b-f438-11eb-8cf4-e454e8ca3c54', '589f7740-f5ba-4175-87a6-036f272e3816', 'sealBase:update', NULL, '印章编辑', '印章信息');
INSERT INTO `sys_menu_permission` VALUES (31, '5c76cd53-f438-11eb-8cf4-e454e8ca3c54', '589f7740-f5ba-4175-87a6-036f272e3816', 'sealBase:import', NULL, '印章批量导入', '印章信息');
INSERT INTO `sys_menu_permission` VALUES (32, '5c84d0e2-f438-11eb-8cf4-e454e8ca3c54', '589f7740-f5ba-4175-87a6-036f272e3816', 'sealBase:exportModel', NULL, '印章模版导出', '印章信息');
INSERT INTO `sys_menu_permission` VALUES (33, '5c92d3cb-f438-11eb-8cf4-e454e8ca3c54', '589f7740-f5ba-4175-87a6-036f272e3816', 'sealBase:downLoad', NULL, '印章信息导出', '印章信息');
INSERT INTO `sys_menu_permission` VALUES (34, '213166b7-f439-11eb-8cf4-e454e8ca3c54', 'f44f157d-4d7c-4df0-9ba8-b38cc2addt-t2du', 'sealOut:query', NULL, '外借归还', '外借归还');
INSERT INTO `sys_menu_permission` VALUES (35, '214379c2-f439-11eb-8cf4-e454e8ca3c54', 'f44f157d-4d7c-4df0-9ba8-b38cc2addt-t2du', 'sealOut:out', NULL, '印章外借', '外借归还');
INSERT INTO `sys_menu_permission` VALUES (36, '2152b91c-f439-11eb-8cf4-e454e8ca3c54', 'f44f157d-4d7c-4df0-9ba8-b38cc2addt-t2du', 'sealOut:back', NULL, '印章归还', '外借归还');
INSERT INTO `sys_menu_permission` VALUES (37, '8da6c43d-f439-11eb-8cf4-e454e8ca3c54', 'f44f157d-4d7c-4df0-9ba8-b38cc2addt-t2du', 'sealOutPaint:query', NULL, '预约信息', '外借归还');
INSERT INTO `sys_menu_permission` VALUES (38, '8e2147b3-f43a-11eb-8cf4-e454e8ca3c54', 'f44f157d-4d7c-4df0-9ba8-b38ff2add668', 'sealDistribution:query', NULL, '印章分布', '印章分布');
INSERT INTO `sys_menu_permission` VALUES (39, '0d22ee61-f43b-11eb-8cf4-e454e8ca3c54', 'f44f157d-4d7c-4df0-9ba8-b38ff2add666', 'sealTravel:query', NULL, '印章轨迹', '印章轨迹');
INSERT INTO `sys_menu_permission` VALUES (40, '68fbcd9b-f43d-11eb-8cf4-e454e8ca3c54', 'ffadsd-4d7c-gfdshgfde-9gfdsfdgqeyzjk', 'sealUse:query', NULL, '印章监控', '印章监控');
INSERT INTO `sys_menu_permission` VALUES (41, 'db8932fe-f43e-11eb-8cf4-e454e8ca3c54', '742603cb-5f30-11e9-aa26-801844e506d1', 'device:query', NULL, '用印宝查询', '用印宝');
INSERT INTO `sys_menu_permission` VALUES (42, 'db968aca-f43e-11eb-8cf4-e454e8ca3c54', '742603cb-5f30-11e9-aa26-801844e506d1', 'device:save', NULL, '用印宝保存', '用印宝');
INSERT INTO `sys_menu_permission` VALUES (43, 'dba357a8-f43e-11eb-8cf4-e454e8ca3c54', '742603cb-5f30-11e9-aa26-801844e506d1', 'device:update', NULL, '用印宝编辑', '用印宝');
INSERT INTO `sys_menu_permission` VALUES (44, 'dbb29726-f43e-11eb-8cf4-e454e8ca3c54', '742603cb-5f30-11e9-aa26-801844e506d1', 'device:delete', NULL, '用印宝删除', '用印宝');
INSERT INTO `sys_menu_permission` VALUES (45, '880341ea-f43f-11eb-8cf4-e454e8ca3c54', 'a3004231-512f-43bc-817f-3f62fcc08d4b', 'console:query', NULL, '印控台查询', '印控台');
INSERT INTO `sys_menu_permission` VALUES (46, '880f35b0-f43f-11eb-8cf4-e454e8ca3c54', 'a3004231-512f-43bc-817f-3f62fcc08d4b', 'console:save', NULL, '印控台保存', '印控台');
INSERT INTO `sys_menu_permission` VALUES (47, '88194717-f43f-11eb-8cf4-e454e8ca3c54', 'a3004231-512f-43bc-817f-3f62fcc08d4b', 'console:update', NULL, '印控台编辑', '印控台');
INSERT INTO `sys_menu_permission` VALUES (48, '882385f9-f43f-11eb-8cf4-e454e8ca3c54', 'a3004231-512f-43bc-817f-3f62fcc08d4b', 'console:delete', NULL, '印控台删除', '印控台');
INSERT INTO `sys_menu_permission` VALUES (49, '882da5ad-f43f-11eb-8cf4-e454e8ca3c54', 'a3004231-512f-43bc-817f-3f62fcc08d4b', 'console:emergencyPwd', NULL, '印控台应急密码', '印控台');
INSERT INTO `sys_menu_permission` VALUES (55, '2336aeaa-f440-11eb-8cf4-e454e8ca3c54', '5acc67cc-f208-11e8-83e7-801844zdgzj', 'autoMachine:query', NULL, '盖章机查询', '盖章机');
INSERT INTO `sys_menu_permission` VALUES (56, '2341e4bd-f440-11eb-8cf4-e454e8ca3c54', '5acc67cc-f208-11e8-83e7-801844zdgzj', 'autoMachine:save', NULL, '盖章机保存', '盖章机');
INSERT INTO `sys_menu_permission` VALUES (57, '234c14ac-f440-11eb-8cf4-e454e8ca3c54', '5acc67cc-f208-11e8-83e7-801844zdgzj', 'autoMachine:update', NULL, '盖章机编辑', '盖章机');
INSERT INTO `sys_menu_permission` VALUES (58, '235641dc-f440-11eb-8cf4-e454e8ca3c54', '5acc67cc-f208-11e8-83e7-801844zdgzj', 'autoMachine:delete', NULL, '盖章机删除', '盖章机');
INSERT INTO `sys_menu_permission` VALUES (59, '236071cb-f440-11eb-8cf4-e454e8ca3c54', '5acc67cc-f208-11e8-83e7-801844zdgzj', 'autoMachine:emergencyPwd', NULL, '盖章机应急密码', '盖章机');
INSERT INTO `sys_menu_permission` VALUES (60, 'bb7be927-f440-11eb-8cf4-e454e8ca3c54', '5acc67cc-f208-11e8-83e7-801844e50639', 'cabinet:query', NULL, '印章柜查询', '印章柜');
INSERT INTO `sys_menu_permission` VALUES (61, 'bb874e08-f440-11eb-8cf4-e454e8ca3c54', '5acc67cc-f208-11e8-83e7-801844e50639', 'cabinet:update', NULL, '印章柜编辑', '印章柜');
INSERT INTO `sys_menu_permission` VALUES (62, '3c4147ec-f441-11eb-8cf4-e454e8ca3c54', '5acc67cc-f208-11e8-83e7-801844e50639', 'cabinet:manual', NULL, '印章柜手动盘点', '印章柜');
INSERT INTO `sys_menu_permission` VALUES (63, '3c4cb058-f441-11eb-8cf4-e454e8ca3c54', '5acc67cc-f208-11e8-83e7-801844e50639', 'cabinet:restart', NULL, '印章柜重启', '印章柜');
INSERT INTO `sys_menu_permission` VALUES (64, '277e5cf3-f450-11eb-8cf4-e454e8ca3c54', 'gfadsd-4d7c-gfdshgfde-9gfdsfdgqeyyyd', 'lagerScreen:query', NULL, '大屏报表', '大屏报表');
INSERT INTO `sys_menu_permission` VALUES (65, 'c56d3247-f450-11eb-8cf4-e454e8ca3c54', 'gfadsd-4d7c-gfdshgfde-9gfdsfdgqeyyyy', 'sealUsedStatistics:query', NULL, '印章使用统计', '印章使用统计');
INSERT INTO `sys_menu_permission` VALUES (66, 'c576f0f9-f450-11eb-8cf4-e454e8ca3c54', 'gfadsd-4d7c-gfdshgfde-9gfdsfdgqeyyyy', 'sealUsedStatistics:downLoad', NULL, '印章使用统计导出', '印章使用统计');
INSERT INTO `sys_menu_permission` VALUES (67, '2bb085a6-f451-11eb-8cf4-e454e8ca3c54', 'gfadsd-4d7c-gfdshgfde-9gfdsfdgqeyyya', 'sealUsedStatistics:query', NULL, '组织用印统计', '组织用印统计');
INSERT INTO `sys_menu_permission` VALUES (68, '2bbbcbfe-f451-11eb-8cf4-e454e8ca3c54', 'gfadsd-4d7c-gfdshgfde-9gfdsfdgqeyyya', 'sealUsedStatistics:downLoad', NULL, '组织用印统计导出', '组织用印统计');
INSERT INTO `sys_menu_permission` VALUES (69, '95305053-f451-11eb-8cf4-e454e8ca3c54', 'gfadsd-4d7c-gfdshgfde-9gfdsfdgqeyyyb', 'usedSealDistribution:query', NULL, '用印分布统计', '用印分布统计');
INSERT INTO `sys_menu_permission` VALUES (70, '556fe089-f452-11eb-8cf4-e454e8ca3c54', 'gfadsd-4d7c-gfdshgfde-9gfdsfdgqeyyyc', 'warningStatistics:query', NULL, '预警统计', '预警统计');
INSERT INTO `sys_menu_permission` VALUES (71, '557e5851-f452-11eb-8cf4-e454e8ca3c54', 'gfadsd-4d7c-gfdshgfde-9gfdsfdgqeyyyc', 'sealUsedStatistics:downLoad', NULL, '预警统计导出', '预警统计');
INSERT INTO `sys_menu_permission` VALUES (72, 'eaad8e3f-f453-11eb-8cf4-e454e8ca3c54', 'da306e39-e22c-11e8-afaf-801844e506d4', 'warningList:query', NULL, '长按压预警', '长按压预警');
INSERT INTO `sys_menu_permission` VALUES (73, 'eabdea04-f453-11eb-8cf4-e454e8ca3c54', 'da306e39-e22c-11e8-afaf-801844e506d4', 'warningList:downLoad', NULL, '长按压预警导出', '长按压预警');
INSERT INTO `sys_menu_permission` VALUES (74, 'ead0fd09-f453-11eb-8cf4-e454e8ca3c54', 'da306e39-e22c-11e8-afaf-801844e506d4', 'warning:query', NULL, '长按压预警详情', '长按压预警');
INSERT INTO `sys_menu_permission` VALUES (75, 'eaddaa08-f453-11eb-8cf4-e454e8ca3c54', 'da306e39-e22c-11e8-afaf-801844e506d4', 'warning:finish', NULL, '长按压预警处理', '长按压预警');
INSERT INTO `sys_menu_permission` VALUES (76, '8319fc06-f454-11eb-8cf4-e454e8ca3c54', 'f44f157d-4d7c-acde-9qs8-b38zxcabbppp', 'warningList:query', NULL, '异地用印预警', '异地用印预警');
INSERT INTO `sys_menu_permission` VALUES (77, '83244bd9-f454-11eb-8cf4-e454e8ca3c54', 'f44f157d-4d7c-acde-9qs8-b38zxcabbppp', 'warningList:downLoad', NULL, '异地用印预警导出', '异地用印预警');
INSERT INTO `sys_menu_permission` VALUES (78, '832e7bb2-f454-11eb-8cf4-e454e8ca3c54', 'f44f157d-4d7c-acde-9qs8-b38zxcabbppp', 'warning:query', NULL, '异地用印预警详情', '异地用印预警');
INSERT INTO `sys_menu_permission` VALUES (79, '8338ab3d-f454-11eb-8cf4-e454e8ca3c54', 'f44f157d-4d7c-acde-9qs8-b38zxcabbppp', 'warning:finish', NULL, '异地用印预警处理', '异地用印预警');
INSERT INTO `sys_menu_permission` VALUES (80, 'c6e60617-f454-11eb-8cf4-e454e8ca3c54', 'da306e39-e22c-11e8-afaf-801844e506d3', 'warningList:query', NULL, '区域外用印预警', '区域外用印预警');
INSERT INTO `sys_menu_permission` VALUES (81, 'c6f402fb-f454-11eb-8cf4-e454e8ca3c54', 'da306e39-e22c-11e8-afaf-801844e506d3', 'warningList:downLoad', NULL, '区域外用印预警导出', '区域外用印预警');
INSERT INTO `sys_menu_permission` VALUES (82, 'c6ff6323-f454-11eb-8cf4-e454e8ca3c54', 'da306e39-e22c-11e8-afaf-801844e506d3', 'warning:query', NULL, '区域外用印预警详情', '区域外用印预警');
INSERT INTO `sys_menu_permission` VALUES (83, 'c70aca2c-f454-11eb-8cf4-e454e8ca3c54', 'da306e39-e22c-11e8-afaf-801844e506d3', 'warning:finish', NULL, '区域外用印预警处理', '区域外用印预警');
INSERT INTO `sys_menu_permission` VALUES (84, '85c89163-f455-11eb-8cf4-e454e8ca3c54', 'da306e39-e22c-11e8-afaf-3ded3sdf32232', 'warningList:query', NULL, '关键字预警', '关键字预警');
INSERT INTO `sys_menu_permission` VALUES (85, '85e359de-f455-11eb-8cf4-e454e8ca3c54', 'da306e39-e22c-11e8-afaf-3ded3sdf32232', 'warnAnalysis:query', NULL, '关键字预警统计', '关键字预警');
INSERT INTO `sys_menu_permission` VALUES (86, 'cf6f0537-f455-11eb-8cf4-e454e8ca3c54', 'da306e39-e22c-11e8-afaf-3ded3sdf66666', 'warningList:query', NULL, '拆机预警', '拆机预警');
INSERT INTO `sys_menu_permission` VALUES (87, 'cf7d31f4-f455-11eb-8cf4-e454e8ca3c54', 'da306e39-e22c-11e8-afaf-3ded3sdf66666', 'warningList:downLoad', NULL, '拆机预警导出', '拆机预警');
INSERT INTO `sys_menu_permission` VALUES (88, 'cf875ab9-f455-11eb-8cf4-e454e8ca3c54', 'da306e39-e22c-11e8-afaf-3ded3sdf66666', 'warning:query', NULL, '拆机预警详情', '拆机预警');
INSERT INTO `sys_menu_permission` VALUES (89, 'cf9416e0-f455-11eb-8cf4-e454e8ca3c54', 'da306e39-e22c-11e8-afaf-3ded3sdf66666', 'warning:finish', NULL, '拆机预警处理', '拆机预警');
INSERT INTO `sys_menu_permission` VALUES (90, '3211bb6e-f457-11eb-8cf4-e454e8ca3c54', 'ffadsd-4d7c-gfdccdfde-9gfdsfdgqewdfgh', 'emergencyImage:query', NULL, '应急用印记录预警', '应急用印记录预警');
INSERT INTO `sys_menu_permission` VALUES (91, '321f8c8e-f457-11eb-8cf4-e454e8ca3c54', 'ffadsd-4d7c-gfdccdfde-9gfdsfdgqewdfgh', 'emergencyImage:operate', NULL, '应急用印绑定事项', '应急用印记录预警');
INSERT INTO `sys_menu_permission` VALUES (92, '68131c26-f457-11eb-8cf4-e454e8ca3c54', 'da306e39-e22c-11e8-afaf-3ded3sdf47895', 'warningList:query', NULL, '低频预警', '低频预警');
INSERT INTO `sys_menu_permission` VALUES (93, '682365c7-f457-11eb-8cf4-e454e8ca3c54', 'da306e39-e22c-11e8-afaf-3ded3sdf47895', 'warningList:downLoad', NULL, '低频预警导出', '低频预警');
INSERT INTO `sys_menu_permission` VALUES (94, '682fef57-f457-11eb-8cf4-e454e8ca3c54', 'da306e39-e22c-11e8-afaf-3ded3sdf47895', 'warning:query', NULL, '低频预警详情', '低频预警');
INSERT INTO `sys_menu_permission` VALUES (95, '683ca210-f457-11eb-8cf4-e454e8ca3c54', 'da306e39-e22c-11e8-afaf-3ded3sdf47895', 'warning:finish', NULL, '低频预警处理', '低频预警');
INSERT INTO `sys_menu_permission` VALUES (96, '630afef7-f458-11eb-8cf4-e454e8ca3c54', '827fa5c0-91c6-11eb-9520-e454e8c864a2', 'riskAudit:query', NULL, '风险审计', '风险审计');
INSERT INTO `sys_menu_permission` VALUES (97, '631b4eb1-f458-11eb-8cf4-e454e8ca3c54', '827fa5c0-91c6-11eb-9520-e454e8c864a2', 'riskAudit:operate', NULL, '风险审计处理', '风险审计');
INSERT INTO `sys_menu_permission` VALUES (98, 'ae7d542c-f459-11eb-8cf4-e454e8ca3c54', 'gehadsd-4d7c-gedshgfde-9gfdsfdgqeyzzt', 'unFile:query', NULL, '归档管理', '归档管理');
INSERT INTO `sys_menu_permission` VALUES (99, 'aea0b68a-f459-11eb-8cf4-e454e8ca3c54', 'gehadsd-4d7c-gedshgfde-9gfdsfdgqeyzzt', 'unFile:operate', NULL, '归档', '归档管理');
INSERT INTO `sys_menu_permission` VALUES (100, 'aeb25603-f459-11eb-8cf4-e454e8ca3c54', 'gehadsd-4d7c-gedshgfde-9gfdsfdgqeyzzt', 'unFile:upload', NULL, '补传', '归档管理');
INSERT INTO `sys_menu_permission` VALUES (101, 'd8bed659-f45a-11eb-8cf4-e454e8ca3c54', 'geadsd-4d7c-gedshgfde-9gfdsfdgqeyzzt', 'applyPdf:query', NULL, '文档记录', '文档记录');
INSERT INTO `sys_menu_permission` VALUES (102, 'd92794cc-f45a-11eb-8cf4-e454e8ca3c54', 'geadsd-4d7c-gedshgfde-9gfdsfdgqeyzzt', 'credentialLog:query', NULL, '电子存证查看', '文档记录');
INSERT INTO `sys_menu_permission` VALUES (103, 'd9397639-f45a-11eb-8cf4-e454e8ca3c54', 'geadsd-4d7c-gedshgfde-9gfdsfdgqeyzzt', 'credentialLog:save', NULL, '电子存证保存', '文档记录');
INSERT INTO `sys_menu_permission` VALUES (104, '8f7bd18a-f45b-11eb-8cf4-e454e8ca3c54', 'uiiui-8jkad-asdklaklafklfmkerkemnek', 'loginLog:query', NULL, '登陆日志', '登陆日志');
INSERT INTO `sys_menu_permission` VALUES (105, '8f86f233-f45b-11eb-8cf4-e454e8ca3c54', 'uiiui-8jkad-asdklaklafklfmkerkemnek', 'data:downLoad', NULL, '登陆日志导出', '登陆日志');
INSERT INTO `sys_menu_permission` VALUES (106, '2dc26845-f45c-11eb-8cf4-e454e8ca3c54', 'ffadsd-4d7c-gfdccdfde-9gfdsfdgqewyyjl', 'data:downLoad', NULL, '用印记录导出', '用印记录');
INSERT INTO `sys_menu_permission` VALUES (107, '2de172f0-f45c-11eb-8cf4-e454e8ca3c54', 'bf9145f9-4533-11e9-9969-801844e506d1', 'data:downLoad', NULL, '刻章记录导出', '刻章记录');
INSERT INTO `sys_menu_permission` VALUES (108, '2dee2aa4-f45c-11eb-8cf4-e454e8ca3c54', '8995af15-4534-11e9-9969-801844e506d1', 'data:downLoad', NULL, '移交记录导出', '移交记录');
INSERT INTO `sys_menu_permission` VALUES (109, '2dfae082-f45c-11eb-8cf4-e454e8ca3c54', 'ffadsd-4d7c-69696gfde-9gfdsfdgqewdfgh', 'data:downLoad', NULL, '换章记录导出', '换章记录');
INSERT INTO `sys_menu_permission` VALUES (110, '2e079eb1-f45c-11eb-8cf4-e454e8ca3c54', '1991ffb5-4534-11e9-9969-801844e506d1', 'data:downLoad', NULL, '变更记录导出', '变更记录');
INSERT INTO `sys_menu_permission` VALUES (111, '20e3c00d-f4c9-11eb-8cf4-e454e8ca3c54', 'd9b78b6b-e22d-11e8-afaf-801844e506d1', 'sysRole:query', NULL, '角色查询', '角色管理');
INSERT INTO `sys_menu_permission` VALUES (112, '20f91179-f4c9-11eb-8cf4-e454e8ca3c54', 'd9b78b6b-e22d-11e8-afaf-801844e506d1', 'sysRole:delete', NULL, '角色删除', '角色管理');
INSERT INTO `sys_menu_permission` VALUES (113, '2105bf15-f4c9-11eb-8cf4-e454e8ca3c54', 'd9b78b6b-e22d-11e8-afaf-801844e506d1', 'sysRole:update', NULL, '角色编辑', '角色管理');
INSERT INTO `sys_menu_permission` VALUES (114, '211282ad-f4c9-11eb-8cf4-e454e8ca3c54', 'd9b78b6b-e22d-11e8-afaf-801844e506d1', 'sysRoleMenu:query', NULL, '角色菜单查询', '角色管理');
INSERT INTO `sys_menu_permission` VALUES (115, '211f3d50-f4c9-11eb-8cf4-e454e8ca3c54', 'd9b78b6b-e22d-11e8-afaf-801844e506d1', 'sysRoleMenu:save', NULL, '角色菜单添加', '角色管理');
INSERT INTO `sys_menu_permission` VALUES (116, '212bf201-f4c9-11eb-8cf4-e454e8ca3c54', 'd9b78b6b-e22d-11e8-afaf-801844e506d1', 'sysRoleUser:query', NULL, '角色用户查询', '角色管理');
INSERT INTO `sys_menu_permission` VALUES (117, '2139e4e5-f4c9-11eb-8cf4-e454e8ca3c54', 'd9b78b6b-e22d-11e8-afaf-801844e506d1', 'sysRoleUser:save', NULL, '角色用户添加', '角色管理');
INSERT INTO `sys_menu_permission` VALUES (118, '21492cca-f4c9-11eb-8cf4-e454e8ca3c54', 'd9b78b6b-e22d-11e8-afaf-801844e506d1', 'sysRoleUser:delete', NULL, '角色用户删除', '角色管理');
INSERT INTO `sys_menu_permission` VALUES (119, '165b6ecf-f4ca-11eb-8cf4-e454e8ca3c54', 'd3472cd-a4c1-41ba-bf85-1227c9f43965', 'riskLevel:query', NULL, '风险等级查询', '风险等级');
INSERT INTO `sys_menu_permission` VALUES (120, '16666be4-f4ca-11eb-8cf4-e454e8ca3c54', 'd3472cd-a4c1-41ba-bf85-1227c9f43965', 'riskLevel:update', NULL, '风险等级修改', '风险等级');
INSERT INTO `sys_menu_permission` VALUES (121, '1877bbfa-f4ce-11eb-8cf4-e454e8ca3c54', 'd9b7b462-e22d-11e8-afaf-801844e506d1', 'sysDepart:save', NULL, '组织添加', '组织人员');
INSERT INTO `sys_menu_permission` VALUES (122, '1888d5a5-f4ce-11eb-8cf4-e454e8ca3c54', 'd9b7b462-e22d-11e8-afaf-801844e506d1', 'sysDepart:update', NULL, '组织修改', '组织人员');
INSERT INTO `sys_menu_permission` VALUES (123, '1893027c-f4ce-11eb-8cf4-e454e8ca3c54', 'd9b7b462-e22d-11e8-afaf-801844e506d1', 'sysDepart:delete', NULL, '组织删除', '组织人员');
INSERT INTO `sys_menu_permission` VALUES (124, '189d2e1d-f4ce-11eb-8cf4-e454e8ca3c54', 'd9b7b462-e22d-11e8-afaf-801844e506d1', 'sysUser:save', NULL, '用户添加', '组织人员');
INSERT INTO `sys_menu_permission` VALUES (125, '18a75bc3-f4ce-11eb-8cf4-e454e8ca3c54', 'd9b7b462-e22d-11e8-afaf-801844e506d1', 'sysUser:update', NULL, '用户修改', '组织人员');
INSERT INTO `sys_menu_permission` VALUES (126, '18b41b72-f4ce-11eb-8cf4-e454e8ca3c54', 'd9b7b462-e22d-11e8-afaf-801844e506d1', 'sysUser:delete', NULL, '用户删除', '组织人员');
INSERT INTO `sys_menu_permission` VALUES (127, '18be32e4-f4ce-11eb-8cf4-e454e8ca3c54', 'd9b7b462-e22d-11e8-afaf-801844e506d1', 'sysUserPwd:reset', NULL, '重置密码', '组织人员');
INSERT INTO `sys_menu_permission` VALUES (128, '18c87976-f4ce-11eb-8cf4-e454e8ca3c54', 'd9b7b462-e22d-11e8-afaf-801844e506d1', 'sysUserAuth:query', NULL, '用户权限查看', '组织人员');
INSERT INTO `sys_menu_permission` VALUES (129, '18d2aa24-f4ce-11eb-8cf4-e454e8ca3c54', 'd9b7b462-e22d-11e8-afaf-801844e506d1', 'sysUserDefaultAuth:update', NULL, '用户默认权限修改', '组织人员');
INSERT INTO `sys_menu_permission` VALUES (130, '18dcccd8-f4ce-11eb-8cf4-e454e8ca3c54', 'd9b7b462-e22d-11e8-afaf-801844e506d1', 'sysUserDefinitionAuth:update', NULL, '用户自定义权限修改', '组织人员');
INSERT INTO `sys_menu_permission` VALUES (131, '18e70723-f4ce-11eb-8cf4-e454e8ca3c54', 'd9b7b462-e22d-11e8-afaf-801844e506d1', 'sysUserDefinitionAuth:delete', NULL, '用户自定义权限删除', '组织人员');
INSERT INTO `sys_menu_permission` VALUES (132, '2dda3d76-f4d0-11eb-8cf4-e454e8ca3c54', 'a1ef0a9f-5b32-11e9-aa26-801844e506d1', 'sysSetting:update', NULL, '参数设置修改', '参数设置');
INSERT INTO `sys_menu_permission` VALUES (133, '6fcbf3e9-f4d2-11eb-8cf4-e454e8ca3c54', '4c1197a8-0fed-11e9-83e7-801844e506d1', 'workflowManager:query', NULL, '流程管理查询', '流程管理');
INSERT INTO `sys_menu_permission` VALUES (134, '6fd7b32f-f4d2-11eb-8cf4-e454e8ca3c54', '4c1197a8-0fed-11e9-83e7-801844e506d1', 'workflowStatus:update', NULL, '流程状态修改', '流程管理');
INSERT INTO `sys_menu_permission` VALUES (135, '6fe58a19-f4d2-11eb-8cf4-e454e8ca3c54', '4c1197a8-0fed-11e9-83e7-801844e506d1', 'workflowColumn:update', NULL, '流程查询导出列字段修改', '流程管理');
INSERT INTO `sys_menu_permission` VALUES (136, '6ff10bee-f4d2-11eb-8cf4-e454e8ca3c54', '4c1197a8-0fed-11e9-83e7-801844e506d1', 'workflowColumn:query', NULL, '流程查询导出列字段查询', '流程管理');
INSERT INTO `sys_menu_permission` VALUES (137, '6ffc7589-f4d2-11eb-8cf4-e454e8ca3c54', '4c1197a8-0fed-11e9-83e7-801844e506d1', 'workflow:save', NULL, '流程发布', '流程管理');
INSERT INTO `sys_menu_permission` VALUES (138, '64d0e819-f4d4-11eb-8cf4-e454e8ca3c54', '6a3b82e8-0fee-11e9-83e7-801844e506d1', 'dictionary:query', NULL, '数据字典查询', '数据字典');
INSERT INTO `sys_menu_permission` VALUES (139, '64da7fbb-f4d4-11eb-8cf4-e454e8ca3c54', '6a3b82e8-0fee-11e9-83e7-801844e506d1', 'dictionaryType:save', NULL, '数据字典类型添加', '数据字典');
INSERT INTO `sys_menu_permission` VALUES (140, '64e4aae2-f4d4-11eb-8cf4-e454e8ca3c54', '6a3b82e8-0fee-11e9-83e7-801844e506d1', 'dictionaryType:update', NULL, '数据字典类型修改', '数据字典');
INSERT INTO `sys_menu_permission` VALUES (141, '64eed455-f4d4-11eb-8cf4-e454e8ca3c54', '6a3b82e8-0fee-11e9-83e7-801844e506d1', 'dictionaryType:delete', NULL, '数据字典类型删除', '数据字典');
INSERT INTO `sys_menu_permission` VALUES (142, '64f8ff72-f4d4-11eb-8cf4-e454e8ca3c54', '6a3b82e8-0fee-11e9-83e7-801844e506d1', 'dictionaryValue:save', NULL, '数据字典数值添加', '数据字典');
INSERT INTO `sys_menu_permission` VALUES (143, '6503499b-f4d4-11eb-8cf4-e454e8ca3c54', '6a3b82e8-0fee-11e9-83e7-801844e506d1', 'dictionaryValue:update', NULL, '数据字典数值编辑', '数据字典');
INSERT INTO `sys_menu_permission` VALUES (144, '650d63cb-f4d4-11eb-8cf4-e454e8ca3c54', '6a3b82e8-0fee-11e9-83e7-801844e506d1', 'dictionaryValue:delete', NULL, '数据字典数值删除', '数据字典');
INSERT INTO `sys_menu_permission` VALUES (146, 'b10826ee-f4d6-11eb-8cf4-e454e8ca3c54', 'cfe1456d-1c2b-11e9-aa26-801844e506d1', 'itemManagement:query', NULL, '事项管理查询', '事项管理');
INSERT INTO `sys_menu_permission` VALUES (147, 'b111a219-f4d6-11eb-8cf4-e454e8ca3c54', 'cfe1456d-1c2b-11e9-aa26-801844e506d1', 'apply:end', NULL, '事项结束', '事项管理');
INSERT INTO `sys_menu_permission` VALUES (148, 'b11d13b0-f4d6-11eb-8cf4-e454e8ca3c54', 'cfe1456d-1c2b-11e9-aa26-801844e506d1', 'apply:delete', NULL, '事项删除', '事项管理');
INSERT INTO `sys_menu_permission` VALUES (149, 'b1288925-f4d6-11eb-8cf4-e454e8ca3c54', 'cfe1456d-1c2b-11e9-aa26-801844e506d1', 'apply:operate', NULL, '事项操作', '事项管理');
INSERT INTO `sys_menu_permission` VALUES (150, 'b13e2585-f4d6-11eb-8cf4-e454e8ca3c54', 'cfe1456d-1c2b-11e9-aa26-801844e506d1', 'apply:reauthorize', NULL, '重新授权', '事项管理');
INSERT INTO `sys_menu_permission` VALUES (151, 'b149a268-f4d6-11eb-8cf4-e454e8ca3c54', 'cfe1456d-1c2b-11e9-aa26-801844e506d1', 'apply:updatePrevent', NULL, '事前验证修改', '事项管理');
INSERT INTO `sys_menu_permission` VALUES (152, '47cda19b-f4d7-11eb-8cf4-e454e8ca3c54', 'f44f157d-4d7c-4df0-9ba8-b3885823697', 'numRule:query', NULL, '编号规则查询', '编号规则');
INSERT INTO `sys_menu_permission` VALUES (153, '47db6549-f4d7-11eb-8cf4-e454e8ca3c54', 'f44f157d-4d7c-4df0-9ba8-b3885823697', 'numRule:update', NULL, '编号规则修改', '编号规则');
INSERT INTO `sys_menu_permission` VALUES (154, '47e7e6a2-f4d7-11eb-8cf4-e454e8ca3c54', 'f44f157d-4d7c-4df0-9ba8-b3885823697', 'numRuleDetail:query', NULL, '编号规则详情', '编号规则');
INSERT INTO `sys_menu_permission` VALUES (155, '47f35580-f4d7-11eb-8cf4-e454e8ca3c54', 'f44f157d-4d7c-4df0-9ba8-b3885823697', 'numRuleStatus:update', NULL, '编号规则状态修改', '编号规则');
INSERT INTO `sys_menu_permission` VALUES (156, '0a722dd1-f4d8-11eb-8cf4-e454e8ca3c54', 'f41dd3d5-e8bc-11e8-afaf-801818e506d1', 'matrix:save', NULL, '审批矩阵添加', '审批矩阵');
INSERT INTO `sys_menu_permission` VALUES (157, '0a7dd42d-f4d8-11eb-8cf4-e454e8ca3c54', 'f41dd3d5-e8bc-11e8-afaf-801818e506d1', 'matrix:update', NULL, '审批矩阵修改', '审批矩阵');
INSERT INTO `sys_menu_permission` VALUES (158, '7b21de51-f4d8-11eb-8cf4-e454e8ca3c54', '9d2ae09e-780c-11eb-b4cd-e454e8ca3c54', 'theme:query', NULL, '主题设置查询', '主题设置');
INSERT INTO `sys_menu_permission` VALUES (159, '7b2e3883-f4d8-11eb-8cf4-e454e8ca3c54', '9d2ae09e-780c-11eb-b4cd-e454e8ca3c54', 'theme:update', NULL, '主题设置修改', '主题设置');
INSERT INTO `sys_menu_permission` VALUES (160, 'd11131b0-f4d8-11eb-8cf4-e454e8ca3c54', 'e569cb85-d2f6-11eb-8cf4-e454e8ca3c54', 'message:query', NULL, '消息管理中心查询', '消息管理中心');
INSERT INTO `sys_menu_permission` VALUES (161, 'd12a7570-f4d8-11eb-8cf4-e454e8ca3c54', 'e569cb85-d2f6-11eb-8cf4-e454e8ca3c54', 'message:update', NULL, '消息管理中心修改', '消息管理中心');
INSERT INTO `sys_menu_permission` VALUES (162, '297cd09a-f4d9-11eb-8cf4-e454e8ca3c54', 'f41dd3d5-e8bc-11e8-afaf-801818e506d1', 'matrix:query', NULL, '审批矩阵查询', '审批矩阵');
INSERT INTO `sys_menu_permission` VALUES (163, '29883bdc-f4d9-11eb-8cf4-e454e8ca3c54', 'f41dd3d5-e8bc-11e8-afaf-801818e506d1', 'matrix:delete', NULL, '审批矩阵删除', '审批矩阵');
INSERT INTO `sys_menu_permission` VALUES (164, '3d3afcd3-f4d9-11eb-8cf4-e454e8ca3c54', '4c1197a8-0fed-11e9-83e7-801844e506d1', 'matrix:query', NULL, '审批矩阵查询', '流程管理');
INSERT INTO `sys_menu_permission` VALUES (165, '672a0a70-f5e4-11eb-8cf4-e454e8ca3c54', 'ffadsd-4d7c-gfdccdfde-9gfdsfdgqewyysq', 'applyDetail:query', NULL, '事项详情', '用印申请');
INSERT INTO `sys_menu_permission` VALUES (166, '6734f7ce-f5e4-11eb-8cf4-e454e8ca3c54', 'ffadsd-4d7c-gfdccdfde-9gfdsfdgqewksyy', 'applyDetail:query', NULL, '事项详情', '开始用印');
INSERT INTO `sys_menu_permission` VALUES (167, '67408dcd-f5e4-11eb-8cf4-e454e8ca3c54', 'ffadsd-4d7c-gfdccdfde-9gfdsfdgqewyyjl', 'applyDetail:query', NULL, '事项详情', '用印记录');
INSERT INTO `sys_menu_permission` VALUES (168, '674d49de-f5e4-11eb-8cf4-e454e8ca3c54', '286c8f13-0fee-11e9-83e7-801844e5spzx', 'applyDetail:query', NULL, '事项详情', '审批中心');
INSERT INTO `sys_menu_permission` VALUES (169, '6759f70f-f5e4-11eb-8cf4-e454e8ca3c54', 'b6950228-4533-11e9-9969-801844e506d1', 'applyDetail:query', NULL, '事项详情', '刻章申请');
INSERT INTO `sys_menu_permission` VALUES (170, '676f8d59-f5e4-11eb-8cf4-e454e8ca3c54', 'bf9145f9-4533-11e9-9969-801844e506d1', 'applyDetail:query', NULL, '事项详情', '刻章记录');
INSERT INTO `sys_menu_permission` VALUES (171, '677c3917-f5e4-11eb-8cf4-e454e8ca3c54', '6cc1e99e-4534-11e9-9969-801844e506d1', 'applyDetail:query', NULL, '事项详情', '移交申请');
INSERT INTO `sys_menu_permission` VALUES (172, '6788ff2b-f5e4-11eb-8cf4-e454e8ca3c54', '8995af15-4534-11e9-9969-801844e506d1', 'applyDetail:query', NULL, '事项详情', '移交记录');
INSERT INTO `sys_menu_permission` VALUES (173, '6795b663-f5e4-11eb-8cf4-e454e8ca3c54', 'ffadsd-4d7c-89898gfde-9gfdsfdgqewdfgh', 'applyDetail:query', NULL, '事项详情', '换章申请');
INSERT INTO `sys_menu_permission` VALUES (174, '67a26968-f5e4-11eb-8cf4-e454e8ca3c54', 'ffadsd-4d7c-69696gfde-9gfdsfdgqewdfgh', 'applyDetail:query', NULL, '事项详情', '换章记录');
INSERT INTO `sys_menu_permission` VALUES (175, '67af1bcc-f5e4-11eb-8cf4-e454e8ca3c54', 'ffadsd-4d7c-gfdshgfde-9gfdsfdgqeyzzt', 'applyDetail:query', NULL, '事项详情', '变更申请');
INSERT INTO `sys_menu_permission` VALUES (176, '67bd213f-f5e4-11eb-8cf4-e454e8ca3c54', '1991ffb5-4534-11e9-9969-801844e506d1', 'applyDetail:query', NULL, '事项详情', '变更记录');
INSERT INTO `sys_menu_permission` VALUES (177, '67c9d453-f5e4-11eb-8cf4-e454e8ca3c54', 'cfe1456d-1c2b-11e9-aa26-801844e506d1', 'applyDetail:query', NULL, '事项详情', '事项管理');
INSERT INTO `sys_menu_permission` VALUES (178, 'abb134bc-f5e4-11eb-8cf4-e454e8ca3c54', 'ffadsd-4d7c-gfdccdfde-9gfdsfdgqewyysq', 'applyLog:query', NULL, '用印日志', '用印申请');
INSERT INTO `sys_menu_permission` VALUES (179, 'abbc4017-f5e4-11eb-8cf4-e454e8ca3c54', 'ffadsd-4d7c-gfdccdfde-9gfdsfdgqewksyy', 'applyLog:query', NULL, '用印日志', '开始用印');
INSERT INTO `sys_menu_permission` VALUES (180, 'abc7bea2-f5e4-11eb-8cf4-e454e8ca3c54', 'ffadsd-4d7c-gfdccdfde-9gfdsfdgqewyyjl', 'applyLog:query', NULL, '用印日志', '用印记录');
INSERT INTO `sys_menu_permission` VALUES (181, 'abd30a6b-f5e4-11eb-8cf4-e454e8ca3c54', '286c8f13-0fee-11e9-83e7-801844e5spzx', 'applyLog:query', NULL, '用印日志', '审批中心');
INSERT INTO `sys_menu_permission` VALUES (182, 'abde7fbe-f5e4-11eb-8cf4-e454e8ca3c54', 'cfe1456d-1c2b-11e9-aa26-801844e506d1', 'applyLog:query', NULL, '用印日志', '事项管理');
INSERT INTO `sys_menu_permission` VALUES (183, '939fe552-f5e9-11eb-8cf4-e454e8ca3c54', 'a2d79e29-9053-11eb-9520-e454e8c864a2', 'applyLog:query', NULL, '全文检索', '全文检索');
INSERT INTO `sys_menu_permission` VALUES (184, '93aab7c8-f5e9-11eb-8cf4-e454e8ca3c54', 'a2d79e29-9053-11eb-9520-e454e8c864a2', 'applyDetail:query', NULL, '事项详情', '全文检索');
INSERT INTO `sys_menu_permission` VALUES (185, '93b62e6e-f5e9-11eb-8cf4-e454e8ca3c54', 'a2d79e29-9053-11eb-9520-e454e8c864a2', 'apply:operate', NULL, '事项操作', '全文检索');
INSERT INTO `sys_menu_permission` VALUES (186, 'ffa3d924-0945-11ec-8cf4-e454e8ca3c54', 'ffadsd-4d7c-gfdccdfde-9gfdsfdgqewyysq', 'sealUse:query', NULL, '根据类型选择印章', '用印申请');
INSERT INTO `sys_menu_permission` VALUES (187, 'ffafd35e-0945-11ec-8cf4-e454e8ca3c54', 'ffadsd-4d7c-gfdccdfde-9gfdsfdgqewksyy', 'sealUse:query', NULL, '根据类型选择印章', '开始用印');
INSERT INTO `sys_menu_permission` VALUES (188, 'ffc04f40-0945-11ec-8cf4-e454e8ca3c54', 'ffadsd-4d7c-gfdccdfde-9gfdsfdgqewyyjl', 'sealUse:query', NULL, '根据类型选择印章', '用印记录');
INSERT INTO `sys_menu_permission` VALUES (189, 'ffe023af-0945-11ec-8cf4-e454e8ca3c54', '286c8f13-0fee-11e9-83e7-801844e5spzx', 'sealUse:query', NULL, '根据类型选择印章', '审批中心');
INSERT INTO `sys_menu_permission` VALUES (190, 'fff0bf8e-0945-11ec-8cf4-e454e8ca3c54', 'b6950228-4533-11e9-9969-801844e506d1', 'sealUse:query', NULL, '根据类型选择印章', '刻章申请');
INSERT INTO `sys_menu_permission` VALUES (191, 'fffea02b-0945-11ec-8cf4-e454e8ca3c54', 'bf9145f9-4533-11e9-9969-801844e506d1', 'sealUse:query', NULL, '根据类型选择印章', '刻章记录');
INSERT INTO `sys_menu_permission` VALUES (192, '0014d1d1-0946-11ec-8cf4-e454e8ca3c54', '6cc1e99e-4534-11e9-9969-801844e506d1', 'sealUse:query', NULL, '根据类型选择印章', '移交申请');
INSERT INTO `sys_menu_permission` VALUES (193, '001fc05d-0946-11ec-8cf4-e454e8ca3c54', '8995af15-4534-11e9-9969-801844e506d1', 'sealUse:query', NULL, '根据类型选择印章', '移交记录');
INSERT INTO `sys_menu_permission` VALUES (194, '00306a91-0946-11ec-8cf4-e454e8ca3c54', 'ffadsd-4d7c-89898gfde-9gfdsfdgqewdfgh', 'sealUse:query', NULL, '根据类型选择印章', '换章申请');
INSERT INTO `sys_menu_permission` VALUES (195, '003e443e-0946-11ec-8cf4-e454e8ca3c54', 'ffadsd-4d7c-69696gfde-9gfdsfdgqewdfgh', 'sealUse:query', NULL, '根据类型选择印章', '换章记录');
INSERT INTO `sys_menu_permission` VALUES (196, '005150a1-0946-11ec-8cf4-e454e8ca3c54', 'ffadsd-4d7c-gfdshgfde-9gfdsfdgqeyzzt', 'sealUse:query', NULL, '根据类型选择印章', '变更申请');
INSERT INTO `sys_menu_permission` VALUES (197, '006f68c6-0946-11ec-8cf4-e454e8ca3c54', '1991ffb5-4534-11e9-9969-801844e506d1', 'sealUse:query', NULL, '根据类型选择印章', '变更记录');
INSERT INTO `sys_menu_permission` VALUES (198, '0081aa92-0946-11ec-8cf4-e454e8ca3c54', 'cfe1456d-1c2b-11e9-aa26-801844e506d1', 'sealUse:query', NULL, '根据类型选择印章', '事项管理');
INSERT INTO `sys_menu_permission` VALUES (199, '0094da98-0946-11ec-8cf4-e454e8ca3c54', 'a2d79e29-9053-11eb-9520-e454e8c864a2', 'sealUse:query', NULL, '根据类型选择印章', '全文检索');
INSERT INTO `sys_menu_permission` VALUES (200, '8b111e6e-f5e9-11eb-8cf4-e454e8ca3c54', 'gehadsd-4d7c-gedshgfde-9gfdsfdgqeymzy', 'archive:query', NULL, '归档模板查询', '归档模板设置');
INSERT INTO `sys_menu_permission` VALUES (201, '8b222e6e-f5e9-11eb-8cf4-e454e8ca3c54', 'gehadsd-4d7c-gedshgfde-9gfdsfdgqeymzy', 'archive:save', NULL, '归档模板保存', '归档模板设置');
INSERT INTO `sys_menu_permission` VALUES (202, '8b333e6e-f5e9-11eb-8cf4-e454e8ca3c54', 'gehadsd-4d7c-gedshgfde-9gfdsfdgqeyzzt', 'archiveRecord:query', NULL, '归档流程查询', '归档管理');
INSERT INTO `sys_menu_permission` VALUES (203, '8b444e6e-f5e9-11eb-8cf4-e454e8ca3c54', 'gehadsd-4d7c-gedshgfde-9gfdsfdgqeyzzt', 'archive:query', NULL, '归档模板查询', '归档管理');
INSERT INTO `sys_menu_permission` VALUES (204, 'cc95ccc2-5342-11ec-872e-e454e8ca3c54', 'a1ef0a9f-5b32-11e9-aa26-801844e506d1', 'sysSetting:query', NULL, '参数设置查询', '参数设置');
INSERT INTO `sys_menu_permission` VALUES (205, 'cca3ac81-5342-11ec-872e-e454e8ca3c54', 'd35472cf-a4c2-417a-bf85-1227c9f4c962', 'dataSynUse:query', NULL, '数据配置', '实施管理');
INSERT INTO `sys_menu_permission` VALUES (206, 'ccb1aeaf-5342-11ec-872e-e454e8ca3c54', 'd35472cf-a4c2-417a-bf85-1227c9f4c962', 'dataSynHistryUse:query', NULL, '同步历史', '实施管理');
INSERT INTO `sys_menu_permission` VALUES (207, 'ccbfb3ff-5342-11ec-872e-e454e8ca3c54', '9en7h462-e88d-11je-afaf-8018daje06d1', 'dataSyn:query', NULL, '数据配置', '配置管理');
INSERT INTO `sys_menu_permission` VALUES (208, 'ccd040d4-5342-11ec-872e-e454e8ca3c54', '9en7h462-e88d-11je-afaf-8018daje06d1', 'dataSynHistry:query', NULL, '同步历史', '配置管理');
INSERT INTO `sys_menu_permission` VALUES (209, 'cce723cd-5342-11ec-872e-e454e8ca3c54', 'd9b7b462-e22d-11e8-afaf-801844e506d1', 'sysDepart:query', NULL, '组织架构查询', '组织人员');
INSERT INTO `sys_menu_permission` VALUES (210, 'ccfe649e-5342-11ec-872e-e454e8ca3c54', 'd9b78b6b-e22d-11e8-afaf-801844e597e6', 'source:query', NULL, '资源管理查询', '资源管理');
INSERT INTO `sys_menu_permission` VALUES (211, 'cd0c85de-5342-11ec-872e-e454e8ca3c54', 'd9b78b6b-e22d-11e8-afaf-801844e597e6', 'source:update', NULL, '资源管理修改', '资源管理');
INSERT INTO `sys_menu_permission` VALUES (212, 'cd1a7815-5342-11ec-872e-e454e8ca3c54', 'd9b7b462-e22d-11e8-afaf-801844e506d1', 'sysRole:query', NULL, '角色查询', '组织人员');
INSERT INTO `sys_menu_permission` VALUES (213, 'ce022f10-5342-11ec-872e-e454e8ca3c54', '80e9c09f-0ae7-11ec-8cf4-e454e8ca3c54', 'eventLog:query', NULL, '系统日志', '系统日志');
INSERT INTO `sys_menu_permission` VALUES (214, 'ce102ae0-5342-11ec-872e-e454e8ca3c54', '80e9c09f-0ae7-11ec-8cf4-e454e8ca3c54', 'data:downLoad', NULL, '系统日志导出', '系统日志');
INSERT INTO `sys_menu_permission` VALUES (215, 'cfdff3b0-5342-11ec-872e-e454e8ca3c54', 'd3472cd-a4c1-41ba-bf85-1227c9f43965', 'keyWord:query', NULL, '预警关键字查询', '风险等级');
INSERT INTO `sys_menu_permission` VALUES (216, 'cfecccdf-5342-11ec-872e-e454e8ca3c54', 'd3472cd-a4c1-41ba-bf85-1227c9f43965', 'keyWord:save', NULL, '预警关键字添加', '风险等级');
INSERT INTO `sys_menu_permission` VALUES (217, 'cff98fb9-5342-11ec-872e-e454e8ca3c54', 'd3472cd-a4c1-41ba-bf85-1227c9f43965', 'keyWord:delete', NULL, '预警关键字删除', '风险等级');
INSERT INTO `sys_menu_permission` VALUES (218, '8b555e6e-f5e9-11eb-8cf4-e454e8ca3c54', 'a3114231-522f-43bc-817f-3f62fca13d5e', 'equipmentPackage:operate', NULL, '固件版本管理操作', '固件版本管理');
INSERT INTO `sys_menu_permission` VALUES (219, 'd1e17914-5342-11ec-872e-e454e8ca3c54', 'ffadsd-4d7c-gfdccdfde-9gfdsfdgqewyyjl', 'credentialLog:save', NULL, '电子存证保存', '用印记录');
INSERT INTO `sys_menu_permission` VALUES (220, '1462a06e-6934-11ec-acb3-e454e8ca3c54', 'ffadsd-4d7c-gfdccdfde-9gfdsfdgqewyyjl', 'workflow:query', NULL, '流程申请', '用印记录');
INSERT INTO `sys_menu_permission` VALUES (221, '146f5a8b-6934-11ec-acb3-e454e8ca3c54', 'bf9145f9-4533-11e9-9969-801844e506d1', 'workflow:query', NULL, '流程申请', '刻章记录');
INSERT INTO `sys_menu_permission` VALUES (222, '1481448b-6934-11ec-acb3-e454e8ca3c54', '8995af15-4534-11e9-9969-801844e506d1', 'workflow:query', NULL, '流程申请', '移交记录');
INSERT INTO `sys_menu_permission` VALUES (223, '148e25cd-6934-11ec-acb3-e454e8ca3c54', 'ffadsd-4d7c-69696gfde-9gfdsfdgqewdfgh', 'workflow:query', NULL, '流程申请', '换章记录');
INSERT INTO `sys_menu_permission` VALUES (224, '149976f1-6934-11ec-acb3-e454e8ca3c54', '1991ffb5-4534-11e9-9969-801844e506d1', 'workflow:query', NULL, '流程申请', '变更记录');

-- ----------------------------
-- Table structure for sys_message
-- ----------------------------
DROP TABLE IF EXISTS `sys_message`;
CREATE TABLE `sys_message`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `code` tinyint(2) NOT NULL DEFAULT 0 COMMENT '0一对一  1一对多 2一对多,多消息  3群消息  4广播',
  `web_code` int(11) NULL DEFAULT NULL COMMENT '前段状态码',
  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '标题',
  `to_user` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '接受者id',
  `to_user_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '接受者名字',
  `from_user` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '发送者id',
  `from_user_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '发送者名字',
  `message` varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '消息体',
  `params` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '携带参数',
  `type` tinyint(1) NOT NULL COMMENT '消息来源类型，1APP、0web',
  `create_date` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '公司id',
  `status` tinyint(1) NOT NULL DEFAULT 0 COMMENT '0未读1已读',
  `del_status` tinyint(1) NULL DEFAULT 0 COMMENT 'app消息移除状态（0未移除，1移除）',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE,
  INDEX `idx_web_code_title_to_user_status`(`web_code`, `title`, `to_user`, `status`) USING BTREE,
  INDEX `idx_touser_webcode`(`to_user`, `web_code`, `title`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 3172 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_message
-- ----------------------------

-- ----------------------------
-- Table structure for sys_message_content_key
-- ----------------------------
DROP TABLE IF EXISTS `sys_message_content_key`;
CREATE TABLE `sys_message_content_key`  (
  `id` int(11) NOT NULL COMMENT '主键ID',
  `key_name` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '字典名称',
  `key_code` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '字典标识',
  `key_type` tinyint(1) NOT NULL DEFAULT 0 COMMENT '数据类型(0:流程信息1消息接收人2通知方式)',
  `flag` tinyint(1) NOT NULL DEFAULT 0 COMMENT '数据状态默认：有效，0有效，1无效',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '消息字典词' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_message_content_key
-- ----------------------------
INSERT INTO `sys_message_content_key` VALUES (1, '流程编号', 'billNo', 0, 0);
INSERT INTO `sys_message_content_key` VALUES (2, '标题', 'workflowTitle', 0, 0);
INSERT INTO `sys_message_content_key` VALUES (3, '申请人', 'applicant', 0, 0);
INSERT INTO `sys_message_content_key` VALUES (4, '申请时间', 'createDate', 0, 0);
INSERT INTO `sys_message_content_key` VALUES (5, '印章名称', 'sealName', 0, 0);
INSERT INTO `sys_message_content_key` VALUES (6, '印章类型', 'sealType', 0, 0);
INSERT INTO `sys_message_content_key` VALUES (7, '印章识别码', 'sealNo', 0, 0);
INSERT INTO `sys_message_content_key` VALUES (8, '用印码', 'code', 0, 0);
INSERT INTO `sys_message_content_key` VALUES (9, '预警时间', 'warningTime', 0, 0);
INSERT INTO `sys_message_content_key` VALUES (10, '操作人', 'operator', 0, 0);
INSERT INTO `sys_message_content_key` VALUES (11, '下个节点审批人', 'approver', 1, 0);
INSERT INTO `sys_message_content_key` VALUES (12, '用印人', 'usedSealPeople', 1, 0);
INSERT INTO `sys_message_content_key` VALUES (13, '印章管理员', 'sealAdmin', 1, 0);
INSERT INTO `sys_message_content_key` VALUES (14, '指定人员', 'otherPerson', 1, 0);
INSERT INTO `sys_message_content_key` VALUES (15, '经办人', 'processManager', 1, 0);
INSERT INTO `sys_message_content_key` VALUES (16, '流程名称', 'workflowName', 1, 0);
INSERT INTO `sys_message_content_key` VALUES (17, '系统通知', 'systemNotice', 2, 0);
INSERT INTO `sys_message_content_key` VALUES (18, 'APP通知', 'appNotice', 2, 0);
INSERT INTO `sys_message_content_key` VALUES (19, '企业微信通知', 'enterpriseWechatNotice', 2, 0);
INSERT INTO `sys_message_content_key` VALUES (20, '钉钉通知', 'dingdingNotice', 2, 0);
INSERT INTO `sys_message_content_key` VALUES (21, '飞书通知', 'flybookNotice', 2, 0);
INSERT INTO `sys_message_content_key` VALUES (22, '低频预警周期', 'circleTime', 0, 0);
INSERT INTO `sys_message_content_key` VALUES (23, '用印次数', 'usedCount', 0, 0);
INSERT INTO `sys_message_content_key` VALUES (24, '低频预警次数', 'warningCount', 0, 0);
INSERT INTO `sys_message_content_key` VALUES (25, '用印宝电量', 'content', 0, 0);
INSERT INTO `sys_message_content_key` VALUES (26, '流程类型', 'workflowType', 0, 0);
INSERT INTO `sys_message_content_key` VALUES (27, '流程名称', 'workflowName', 0, 0);
INSERT INTO `sys_message_content_key` VALUES (28, '预警类型', 'warningType', 0, 0);
INSERT INTO `sys_message_content_key` VALUES (29, '下个节点操作人', 'nextOperator', 1, 0);
INSERT INTO `sys_message_content_key` VALUES (30, '节点设置的抄送人', 'nextCopyTo', 1, 0);
INSERT INTO `sys_message_content_key` VALUES (31, '申请人', 'applyUser', 1, 0);
INSERT INTO `sys_message_content_key` VALUES (32, '文件上传人', 'uploadFileCreator', 1, 0);
INSERT INTO `sys_message_content_key` VALUES (33, '取章时间', 'takeoutTime', 0, 0);
INSERT INTO `sys_message_content_key` VALUES (34, '取章人', 'takeoutPerson', 1, 0);
INSERT INTO `sys_message_content_key` VALUES (35, '消息提醒时间', 'takeoutOverHour', 0, 0);
INSERT INTO `sys_message_content_key` VALUES (36, '还章时间', 'putinTime', 0, 0);
INSERT INTO `sys_message_content_key` VALUES (37, '蓝牙编号', 'bleNum', 0, 0);

-- ----------------------------
-- Table structure for sys_message_error_retry
-- ----------------------------
DROP TABLE IF EXISTS `sys_message_error_retry`;
CREATE TABLE `sys_message_error_retry`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '自增主键',
  `appName` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '应用名称',
  `queueName` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '队列名称',
  `isTopic` tinyint(2) NOT NULL DEFAULT 0 COMMENT '是否是主题消息(0:否,1:是)',
  `messageInfo` varchar(5000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '消息内容',
  `sendTime` timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT ' 消息发送时间',
  `isRetry` tinyint(2) NOT NULL DEFAULT 0 COMMENT '是否已重发(0:,否1:是)',
  `retryTime` timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '重发时间',
  `pkCode` bigint(20) NOT NULL DEFAULT 0 COMMENT '消息内容hashCode',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '异常队列消息记录表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_message_error_retry
-- ----------------------------

-- ----------------------------
-- Table structure for sys_message_receive_user
-- ----------------------------
DROP TABLE IF EXISTS `sys_message_receive_user`;
CREATE TABLE `sys_message_receive_user`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  `template_id` int(11) NOT NULL COMMENT 'sys_message_template主键ID',
  `user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'sys_user主键ID',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '公司ID',
  `status` tinyint(1) NOT NULL DEFAULT 0 COMMENT '状态：0有效，1过期',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '消息指定接收人表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_message_receive_user
-- ----------------------------

-- ----------------------------
-- Table structure for sys_message_template
-- ----------------------------
DROP TABLE IF EXISTS `sys_message_template`;
CREATE TABLE `sys_message_template`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '自增主键ID',
  `type_id` int(11) NOT NULL DEFAULT 0 COMMENT '消息类型ID(sys_message_type消息类型表主键ID)',
  `type_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '消息类型名称',
  `template_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '表单名称',
  `template_content` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '消息模板内容',
  `message_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '消息触发时间',
  `status` tinyint(1) NOT NULL DEFAULT 0 COMMENT '模块状态默认:启动 0启动，1停用',
  `update_time` timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '修改时间',
  `update_user` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '修改人ID(sys_user主键ID)',
  `flag` tinyint(1) NOT NULL DEFAULT 0 COMMENT '数据状态默认：有效，0有效，1无效',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '公司ID',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 42 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '消息内容模板表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_message_template
-- ----------------------------
INSERT INTO `sys_message_template` VALUES (1, 1, 'approve_notice', '用印申请', '您好!您有一条{workflowType}审批《[{billNo}]{workflowTitle}》待处理，请尽快处理!', NULL, 0, '2021-06-22 09:12:21', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_message_template` VALUES (2, 1, 'approve_notice', '换章申请', '您好!您有一条{workflowType}审批《[{billNo}]{workflowTitle}》待处理，请尽快处理!', NULL, 0, '2021-06-22 09:12:21', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_message_template` VALUES (3, 1, 'approve_notice', '移交申请', '您好!您有一条{workflowType}审批《[{billNo}]{workflowTitle}》待处理，请尽快处理!', NULL, 0, '2021-06-22 09:12:21', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_message_template` VALUES (4, 1, 'approve_notice', '变更申请', '您好!您有一条{workflowType}审批《[{billNo}]{workflowTitle}》待处理，请尽快处理!', NULL, 0, '2021-06-22 09:12:21', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_message_template` VALUES (5, 1, 'approve_notice', '刻章申请', '您好!您有一条{workflowType}审批《[{billNo}]{workflowTitle}》待处理，请尽快处理!', NULL, 0, '2021-06-22 09:12:21', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_message_template` VALUES (6, 2, 'authorization_notice', '用印申请', '您好!您的用印申请《[{billNo}]{workflowTitle}》待处理，安全码为:【{code}】，请尽快用印!', NULL, 0, '2021-06-22 09:12:21', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_message_template` VALUES (7, 2, 'authorization_notice', '换章申请', '您好!您有一条换章申请《[{billNo}]{workflowTitle}》待处理，请尽快处理!', NULL, 0, '2021-06-22 09:12:21', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_message_template` VALUES (8, 2, 'authorization_notice', '移交申请', '您好!您有一条移交申请《[{billNo}]{workflowTitle}》待处理，请尽快处理!', NULL, 0, '2021-06-22 09:12:21', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_message_template` VALUES (9, 2, 'authorization_notice', '变更申请', '您好!您有一条变更申请《[{billNo}]{workflowTitle}》待处理，请尽快处理!', NULL, 0, '2021-06-22 09:12:21', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_message_template` VALUES (10, 2, 'authorization_notice', '刻章申请', '您好!您有一条刻章申请《[{billNo}]{workflowTitle}》待处理，请尽快处理!', NULL, 0, '2021-06-22 09:12:21', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_message_template` VALUES (11, 3, 'warning_notice', '长按压预警', '您的印章{sealName}于{warningTime}触发长按压预警, 预警触发人：{operator}', NULL, 0, '2021-06-22 09:12:21', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_message_template` VALUES (12, 3, 'warning_notice', '异地盖章预警', '您的印章{sealName}于{warningTime}触发异地盖章预警, 预警触发人：{operator}', NULL, 0, '2021-06-22 09:12:21', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_message_template` VALUES (13, 3, 'warning_notice', '区域外盖章预警', '您的印章{sealName}于{warningTime}触发区域外盖章预警, 预警触发人：{operator}', NULL, 0, '2021-06-22 09:12:21', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_message_template` VALUES (14, 3, 'warning_notice', '用印风险预警', '您好！{workflowTitle}【{billNo}】用印文件在盖章过程中检测到高风险，请及时查看并处理', NULL, 0, '2021-06-22 09:12:21', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_message_template` VALUES (15, 3, 'warning_notice', '低频预警', '您好，您的印章{sealName}在近{circleTime}用印次数为{usedCount}次，低于设置的{warningCount}次，预警时间：{warningTime}', NULL, 0, '2021-06-22 09:12:21', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_message_template` VALUES (16, 3, 'warning_notice', '低电量预警', '您的印章{sealName}电量较低，当前电量：{content}%,请及时充电！', NULL, 0, '2021-06-22 09:12:21', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_message_template` VALUES (17, 4, 'termination_notice', '用印申请', '您好!您的{workflowType}《 [{billNo}] {workflowTitle}》 已处理完成， 请妥善保管印章!', NULL, 0, '2021-06-22 09:12:21', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_message_template` VALUES (18, 4, 'termination_notice', '换章申请', '您好!您的{workflowType}《 [{billNo}] {workflowTitle}》 已处理完成， 请妥善保管印章!', NULL, 0, '2021-06-22 09:12:21', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_message_template` VALUES (19, 4, 'termination_notice', '移交申请', '您好!您的{workflowType}《 [{billNo}] {workflowTitle}》 已处理完成， 请妥善保管印章!', NULL, 0, '2021-06-22 09:12:21', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_message_template` VALUES (20, 4, 'termination_notice', '变更申请', '您好!您的{workflowType}《 [{billNo}] {workflowTitle}》 已处理完成， 请妥善保管印章!', NULL, 0, '2021-06-22 09:12:21', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_message_template` VALUES (21, 4, 'termination_notice', '刻章申请', '您好!您的{workflowType}《 [{billNo}] {workflowTitle}》 已处理完成， 请妥善保管印章!', NULL, 0, '2021-06-22 09:12:21', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_message_template` VALUES (22, 5, 'device_notice', '终端结束用印', '您好!您的用印申请《 [{billNo}] {workflowTitle} 》 已在终端结束用印，操作人为：{operator} ， 请妥善保管印章!', NULL, 0, '2021-06-22 09:12:21', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_message_template` VALUES (23, 5, 'device_notice', '终端结束换章', '您好!您的换章申请《 [{billNo}] {workflowTitle} 》 已在终端结束换章，操作人为：{operator} ， 请妥善保管印章!', NULL, 0, '2021-06-22 09:12:21', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_message_template` VALUES (24, 6, 'copy_notice', '用印申请', '您好，您有一条抄送流程【{billNo}】{workflowTitle}，请前往查看详情。', NULL, 0, '2021-08-20 14:13:07', '-1', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_message_template` VALUES (25, 6, 'copy_notice', '换章申请', '您好，您有一条抄送流程【{billNo}】{workflowTitle}，请前往查看详情。', NULL, 0, '2021-08-20 14:13:07', '-1', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_message_template` VALUES (26, 6, 'copy_notice', '移交申请', '您好，您有一条抄送流程【{billNo}】{workflowTitle}，请前往查看详情。', NULL, 0, '2021-08-20 14:13:07', '-1', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_message_template` VALUES (27, 6, 'copy_notice', '变更申请', '您好，您有一条抄送流程【{billNo}】{workflowTitle}，请前往查看详情。', NULL, 0, '2021-08-20 14:13:07', '-1', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_message_template` VALUES (28, 6, 'copy_notice', '刻章申请', '您好，您有一条抄送流程【{billNo}】{workflowTitle}，请前往查看详情。', NULL, 0, '2021-08-20 14:13:07', '-1', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_message_template` VALUES (29, 3, 'warning_notice', '倒立用印预警', '您的印章{sealName}于{warningTime}触发倒立用印预警, 预警触发人：{operator}', NULL, 0, '2021-08-20 14:13:14', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_message_template` VALUES (32, 3, 'warning_notice', '补传文件风险预警', '您好！{workflowTitle}【{billNo}】的事项在补传的文件中检查到高风险，请及时查看处理！', NULL, 0, '2021-09-29 14:37:29', '-1', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_message_template` VALUES (33, 7, 'start_notice', '用印申请', '您好！您有一条申请《[{billNo}]{workflowTitle}》已开始，请关注审批结果！', NULL, 0, '2021-09-29 14:37:31', '-1', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_message_template` VALUES (34, 7, 'start_notice', '换章申请', '您好！您有一条申请《[{billNo}]{workflowTitle}》已开始，请关注审批结果！', NULL, 0, '2021-09-29 14:37:31', '-1', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_message_template` VALUES (35, 7, 'start_notice', '移交申请', '您好！您有一条申请《[{billNo}]{workflowTitle}》已开始，请关注审批结果！', NULL, 0, '2021-09-29 14:37:31', '-1', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_message_template` VALUES (36, 7, 'start_notice', '变更申请', '您好！您有一条申请《[{billNo}]{workflowTitle}》已开始，请关注审批结果！', NULL, 0, '2021-09-29 14:37:31', '-1', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_message_template` VALUES (37, 7, 'start_notice', '刻章申请', '您好！您有一条申请《[{billNo}]{workflowTitle}》已开始，请关注审批结果！', NULL, 0, '2021-09-29 14:37:31', '-1', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_message_template` VALUES (38, 3, 'warning_notice', '印章柜：取章未按时归还预警', '您好，您管理的印章【{sealName}】于{takeoutTime}取出，已超过{takeoutOverHour}分钟未归还至印章柜，请前往归还。', '{\"takeoutOverHour\":30}', 0, '2021-12-30 13:48:15', '-1', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_message_template` VALUES (39, 5, 'device_notice', '印章柜：取章通知', '您好，您管理的印章【{sealName}】于{takeoutTime}从印章柜中取出。', NULL, 0, '2021-09-29 14:37:40', '-1', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_message_template` VALUES (40, 5, 'device_notice', '印章柜：还章通知', '您好，您管理的印章【{sealName}】于{putinTime}归还至印章柜中。', NULL, 0, '2021-09-29 14:37:40', '-1', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_message_template` VALUES (41, 3, 'warning_notice', '锁章后偷盖预警', '您的印章{sealName}于{warningTime}触发锁章后偷盖预警', NULL, 0, '2021-12-30 13:48:12', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');

-- ----------------------------
-- Table structure for sys_message_template_property
-- ----------------------------
DROP TABLE IF EXISTS `sys_message_template_property`;
CREATE TABLE `sys_message_template_property`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  `key_id` int(11) NOT NULL COMMENT 'sys_message_content_key主键ID',
  `type_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '消息类型名称',
  `template_id` int(11) NOT NULL DEFAULT 0 COMMENT 'sys_message_template主键ID',
  `template_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'sys_message_template_name',
  `selector` tinyint(1) NOT NULL COMMENT '是否选中使用：0已选择，1未选择',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '公司ID',
  `operator_options` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '若为经办人选项（全部经办人0，申请人1，用印人2）',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 492 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '消息内容模板与字典词关联表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_message_template_property
-- ----------------------------
INSERT INTO `sys_message_template_property` VALUES (1, 1, 'approve_notice', 1, '用印申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (2, 2, 'approve_notice', 1, '用印申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (3, 3, 'approve_notice', 1, '用印申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (4, 4, 'approve_notice', 1, '用印申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (5, 11, 'approve_notice', 1, '用印申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (6, 26, 'approve_notice', 1, '用印申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (7, 27, 'approve_notice', 1, '用印申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (8, 1, 'approve_notice', 2, '换章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (9, 2, 'approve_notice', 2, '换章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (10, 3, 'approve_notice', 2, '换章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (11, 4, 'approve_notice', 2, '换章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (12, 11, 'approve_notice', 2, '换章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (13, 26, 'approve_notice', 2, '换章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (14, 27, 'approve_notice', 2, '换章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (15, 1, 'approve_notice', 3, '移交申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (16, 2, 'approve_notice', 3, '移交申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (17, 3, 'approve_notice', 3, '移交申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (18, 4, 'approve_notice', 3, '移交申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (19, 11, 'approve_notice', 3, '移交申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (20, 26, 'approve_notice', 3, '移交申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (21, 27, 'approve_notice', 3, '移交申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (22, 1, 'approve_notice', 4, '变更申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (23, 2, 'approve_notice', 4, '变更申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (24, 3, 'approve_notice', 4, '变更申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (25, 4, 'approve_notice', 4, '变更申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (26, 11, 'approve_notice', 4, '变更申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (27, 26, 'approve_notice', 4, '变更申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (28, 27, 'approve_notice', 4, '变更申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (29, 1, 'approve_notice', 5, '刻章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (30, 2, 'approve_notice', 5, '刻章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (31, 3, 'approve_notice', 5, '刻章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (32, 4, 'approve_notice', 5, '刻章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (33, 11, 'approve_notice', 5, '刻章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (34, 26, 'approve_notice', 5, '刻章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (35, 27, 'approve_notice', 5, '刻章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (36, 1, 'authorization_notice', 6, '用印申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (37, 2, 'authorization_notice', 6, '用印申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (38, 3, 'authorization_notice', 6, '用印申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (39, 4, 'authorization_notice', 6, '用印申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (40, 5, 'authorization_notice', 6, '用印申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (41, 6, 'authorization_notice', 6, '用印申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (43, 8, 'authorization_notice', 6, '用印申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (44, 12, 'authorization_notice', 6, '用印申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (45, 1, 'authorization_notice', 7, '换章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (46, 2, 'authorization_notice', 7, '换章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (47, 3, 'authorization_notice', 7, '换章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (48, 4, 'authorization_notice', 7, '换章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (49, 5, 'authorization_notice', 7, '换章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (50, 6, 'authorization_notice', 7, '换章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (52, 29, 'authorization_notice', 7, '换章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (53, 1, 'authorization_notice', 8, '移交申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (54, 2, 'authorization_notice', 8, '移交申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (55, 3, 'authorization_notice', 8, '移交申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (56, 4, 'authorization_notice', 8, '移交申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (57, 5, 'authorization_notice', 8, '移交申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (58, 6, 'authorization_notice', 8, '移交申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (60, 29, 'authorization_notice', 8, '移交申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (61, 1, 'authorization_notice', 9, '变更申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (62, 2, 'authorization_notice', 9, '变更申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (63, 3, 'authorization_notice', 9, '变更申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (64, 4, 'authorization_notice', 9, '变更申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (65, 5, 'authorization_notice', 9, '变更申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (66, 6, 'authorization_notice', 9, '变更申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (68, 29, 'authorization_notice', 9, '变更申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (69, 1, 'authorization_notice', 10, '刻章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (70, 2, 'authorization_notice', 10, '刻章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (71, 3, 'authorization_notice', 10, '刻章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (72, 4, 'authorization_notice', 10, '刻章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (73, 5, 'authorization_notice', 10, '刻章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (74, 6, 'authorization_notice', 10, '刻章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (75, 29, 'authorization_notice', 10, '刻章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (76, 1, 'warning_notice', 11, '长按压预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (77, 2, 'warning_notice', 11, '长按压预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (78, 3, 'warning_notice', 11, '长按压预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (79, 4, 'warning_notice', 11, '长按压预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (80, 5, 'warning_notice', 11, '长按压预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (81, 7, 'warning_notice', 11, '长按压预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (82, 9, 'warning_notice', 11, '长按压预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (83, 10, 'warning_notice', 11, '长按压预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (84, 13, 'warning_notice', 11, '长按压预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (85, 14, 'warning_notice', 11, '长按压预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (86, 1, 'warning_notice', 12, '异地盖章预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (87, 2, 'warning_notice', 12, '异地盖章预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (88, 3, 'warning_notice', 12, '异地盖章预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (89, 4, 'warning_notice', 12, '异地盖章预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (90, 5, 'warning_notice', 12, '异地盖章预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (91, 7, 'warning_notice', 12, '异地盖章预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (92, 9, 'warning_notice', 12, '异地盖章预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (93, 10, 'warning_notice', 12, '异地盖章预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (94, 13, 'warning_notice', 12, '异地盖章预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (95, 14, 'warning_notice', 12, '异地盖章预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (96, 1, 'warning_notice', 13, '区域外盖章预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (97, 2, 'warning_notice', 13, '区域外盖章预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (98, 3, 'warning_notice', 13, '区域外盖章预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (99, 4, 'warning_notice', 13, '区域外盖章预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (100, 5, 'warning_notice', 13, '区域外盖章预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (101, 7, 'warning_notice', 13, '区域外盖章预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (102, 9, 'warning_notice', 13, '区域外盖章预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (103, 10, 'warning_notice', 13, '区域外盖章预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (104, 13, 'warning_notice', 13, '区域外盖章预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (105, 14, 'warning_notice', 13, '区域外盖章预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (106, 1, 'warning_notice', 14, '用印风险预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (107, 2, 'warning_notice', 14, '用印风险预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (108, 3, 'warning_notice', 14, '用印风险预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (109, 4, 'warning_notice', 14, '用印风险预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (110, 5, 'warning_notice', 14, '用印风险预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (111, 7, 'warning_notice', 14, '用印风险预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (112, 9, 'warning_notice', 14, '用印风险预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (113, 10, 'warning_notice', 14, '用印风险预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (114, 13, 'warning_notice', 14, '用印风险预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (115, 14, 'warning_notice', 14, '用印风险预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (116, 5, 'warning_notice', 15, '低频预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (117, 9, 'warning_notice', 15, '低频预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (118, 22, 'warning_notice', 15, '低频预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (119, 23, 'warning_notice', 15, '低频预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (120, 24, 'warning_notice', 15, '低频预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (121, 13, 'warning_notice', 15, '低频预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (122, 14, 'warning_notice', 15, '低频预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (123, 5, 'warning_notice', 16, '低电量预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (124, 25, 'warning_notice', 16, '低电量预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (125, 13, 'warning_notice', 16, '低电量预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (126, 14, 'warning_notice', 16, '低电量预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (127, 1, 'termination_notice', 17, '用印申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (128, 2, 'termination_notice', 17, '用印申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (129, 3, 'termination_notice', 17, '用印申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (130, 4, 'termination_notice', 17, '用印申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (131, 5, 'termination_notice', 17, '用印申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (132, 27, 'termination_notice', 17, '用印申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (133, 10, 'termination_notice', 17, '用印申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (134, 13, 'termination_notice', 17, '用印申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (135, 15, 'termination_notice', 17, '用印申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '1');
INSERT INTO `sys_message_template_property` VALUES (136, 14, 'termination_notice', 17, '用印申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (137, 26, 'termination_notice', 17, '用印申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (138, 1, 'termination_notice', 18, '换章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (139, 2, 'termination_notice', 18, '换章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (140, 3, 'termination_notice', 18, '换章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (141, 4, 'termination_notice', 18, '换章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (142, 5, 'termination_notice', 18, '换章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (143, 27, 'termination_notice', 18, '换章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (144, 10, 'termination_notice', 18, '换章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (145, 13, 'termination_notice', 18, '换章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (146, 15, 'termination_notice', 18, '换章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '1');
INSERT INTO `sys_message_template_property` VALUES (147, 14, 'termination_notice', 18, '换章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (148, 26, 'termination_notice', 18, '换章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (149, 1, 'termination_notice', 19, '移交申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (150, 2, 'termination_notice', 19, '移交申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (151, 3, 'termination_notice', 19, '移交申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (152, 4, 'termination_notice', 19, '移交申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (153, 5, 'termination_notice', 19, '移交申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (154, 27, 'termination_notice', 19, '移交申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (155, 10, 'termination_notice', 19, '移交申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (156, 13, 'termination_notice', 19, '移交申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (157, 15, 'termination_notice', 19, '移交申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '1');
INSERT INTO `sys_message_template_property` VALUES (158, 14, 'termination_notice', 19, '移交申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (159, 26, 'termination_notice', 19, '移交申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (160, 1, 'termination_notice', 20, '变更申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (161, 2, 'termination_notice', 20, '变更申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (162, 3, 'termination_notice', 20, '变更申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (163, 4, 'termination_notice', 20, '变更申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (164, 5, 'termination_notice', 20, '变更申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (165, 27, 'termination_notice', 20, '变更申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (166, 10, 'termination_notice', 20, '变更申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (167, 13, 'termination_notice', 20, '变更申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (168, 15, 'termination_notice', 20, '变更申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '1');
INSERT INTO `sys_message_template_property` VALUES (169, 14, 'termination_notice', 20, '变更申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (170, 26, 'termination_notice', 20, '变更申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (171, 1, 'termination_notice', 21, '刻章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (172, 2, 'termination_notice', 21, '刻章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (173, 3, 'termination_notice', 21, '刻章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (174, 4, 'termination_notice', 21, '刻章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (175, 5, 'termination_notice', 21, '刻章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (176, 27, 'termination_notice', 21, '刻章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (177, 10, 'termination_notice', 21, '刻章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (178, 13, 'termination_notice', 21, '刻章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (179, 15, 'termination_notice', 21, '刻章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '1');
INSERT INTO `sys_message_template_property` VALUES (180, 14, 'termination_notice', 21, '刻章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (181, 26, 'termination_notice', 21, '刻章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (182, 1, 'device_notice', 22, '终端结束用印', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (183, 2, 'device_notice', 22, '终端结束用印', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (184, 3, 'device_notice', 22, '终端结束用印', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (185, 4, 'device_notice', 22, '终端结束用印', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (186, 5, 'device_notice', 22, '终端结束用印', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (187, 7, 'device_notice', 22, '终端结束用印', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (188, 10, 'device_notice', 22, '终端结束用印', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (189, 13, 'device_notice', 22, '终端结束用印', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (190, 15, 'device_notice', 22, '终端结束用印', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '1');
INSERT INTO `sys_message_template_property` VALUES (191, 14, 'device_notice', 22, '终端结束用印', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (192, 1, 'device_notice', 23, '终端结束换章', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (193, 2, 'device_notice', 23, '终端结束换章', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (194, 3, 'device_notice', 23, '终端结束换章', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (195, 4, 'device_notice', 23, '终端结束换章', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (196, 5, 'device_notice', 23, '终端结束换章', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (197, 7, 'device_notice', 23, '终端结束换章', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (198, 10, 'device_notice', 23, '终端结束换章', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (199, 13, 'device_notice', 23, '终端结束换章', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (200, 15, 'device_notice', 23, '终端结束换章', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '1');
INSERT INTO `sys_message_template_property` VALUES (201, 14, 'device_notice', 23, '终端结束换章', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (202, 17, 'approve_notice', 1, '用印申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (203, 18, 'approve_notice', 1, '用印申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (204, 19, 'approve_notice', 1, '用印申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (205, 20, 'approve_notice', 1, '用印申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (206, 21, 'approve_notice', 1, '用印申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (207, 17, 'approve_notice', 2, '换章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (208, 18, 'approve_notice', 2, '换章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (209, 19, 'approve_notice', 2, '换章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (210, 20, 'approve_notice', 2, '换章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (211, 21, 'approve_notice', 2, '换章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (212, 17, 'approve_notice', 3, '移交申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (213, 18, 'approve_notice', 3, '移交申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (214, 19, 'approve_notice', 3, '移交申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (215, 20, 'approve_notice', 3, '移交申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (216, 21, 'approve_notice', 3, '移交申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (217, 17, 'approve_notice', 4, '变更申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (218, 18, 'approve_notice', 4, '变更申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (219, 19, 'approve_notice', 4, '变更申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (220, 20, 'approve_notice', 4, '变更申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (221, 21, 'approve_notice', 4, '变更申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (222, 17, 'approve_notice', 5, '刻章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (223, 18, 'approve_notice', 5, '刻章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (224, 19, 'approve_notice', 5, '刻章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (225, 20, 'approve_notice', 5, '刻章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (226, 21, 'approve_notice', 5, '刻章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (227, 17, 'authorization_notice', 6, '用印申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (228, 18, 'authorization_notice', 6, '用印申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (229, 19, 'authorization_notice', 6, '用印申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (230, 20, 'authorization_notice', 6, '用印申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (231, 21, 'authorization_notice', 6, '用印申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (232, 17, 'authorization_notice', 7, '换章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (233, 18, 'authorization_notice', 7, '换章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (234, 19, 'authorization_notice', 7, '换章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (235, 20, 'authorization_notice', 7, '换章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (236, 21, 'authorization_notice', 7, '换章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (237, 17, 'authorization_notice', 8, '移交申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (238, 18, 'authorization_notice', 8, '移交申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (239, 19, 'authorization_notice', 8, '移交申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (240, 20, 'authorization_notice', 8, '移交申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (241, 21, 'authorization_notice', 8, '移交申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (242, 17, 'authorization_notice', 9, '变更申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (243, 18, 'authorization_notice', 9, '变更申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (244, 19, 'authorization_notice', 9, '变更申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (245, 20, 'authorization_notice', 9, '变更申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (246, 21, 'authorization_notice', 9, '变更申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (247, 17, 'authorization_notice', 10, '刻章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (248, 18, 'authorization_notice', 10, '刻章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (249, 19, 'authorization_notice', 10, '刻章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (250, 20, 'authorization_notice', 10, '刻章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (251, 21, 'authorization_notice', 10, '刻章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (252, 17, 'warning_notice', 11, '长按压预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (253, 18, 'warning_notice', 11, '长按压预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (254, 19, 'warning_notice', 11, '长按压预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (255, 20, 'warning_notice', 11, '长按压预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (256, 21, 'warning_notice', 11, '长按压预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (257, 17, 'warning_notice', 12, '异地盖章预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (258, 18, 'warning_notice', 12, '异地盖章预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (259, 19, 'warning_notice', 12, '异地盖章预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (260, 20, 'warning_notice', 12, '异地盖章预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (261, 21, 'warning_notice', 12, '异地盖章预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (262, 17, 'warning_notice', 13, '区域外盖章预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (263, 18, 'warning_notice', 13, '区域外盖章预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (264, 19, 'warning_notice', 13, '区域外盖章预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (265, 20, 'warning_notice', 13, '区域外盖章预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (266, 21, 'warning_notice', 13, '区域外盖章预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (267, 17, 'warning_notice', 14, '用印风险预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (268, 18, 'warning_notice', 14, '用印风险预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (269, 19, 'warning_notice', 14, '用印风险预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (270, 20, 'warning_notice', 14, '用印风险预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (271, 21, 'warning_notice', 14, '用印风险预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (272, 17, 'warning_notice', 15, '低频预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (273, 18, 'warning_notice', 15, '低频预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (274, 19, 'warning_notice', 15, '低频预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (275, 20, 'warning_notice', 15, '低频预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (276, 21, 'warning_notice', 15, '低频预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (277, 17, 'warning_notice', 16, '低电量预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (278, 18, 'warning_notice', 16, '低电量预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (279, 19, 'warning_notice', 16, '低电量预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (280, 20, 'warning_notice', 16, '低电量预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (281, 21, 'warning_notice', 16, '低电量预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (282, 17, 'termination_notice', 17, '用印申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (283, 18, 'termination_notice', 17, '用印申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (284, 19, 'termination_notice', 17, '用印申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (285, 20, 'termination_notice', 17, '用印申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (286, 21, 'termination_notice', 17, '用印申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (287, 17, 'termination_notice', 18, '换章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (288, 18, 'termination_notice', 18, '换章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (289, 19, 'termination_notice', 18, '换章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (290, 20, 'termination_notice', 18, '换章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (291, 21, 'termination_notice', 18, '换章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (292, 17, 'termination_notice', 19, '移交申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (293, 18, 'termination_notice', 19, '移交申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (294, 19, 'termination_notice', 19, '移交申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (295, 20, 'termination_notice', 19, '移交申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (296, 21, 'termination_notice', 19, '移交申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (297, 17, 'termination_notice', 20, '变更申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (298, 18, 'termination_notice', 20, '变更申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (299, 19, 'termination_notice', 20, '变更申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (300, 20, 'termination_notice', 20, '变更申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (301, 21, 'termination_notice', 20, '变更申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (302, 17, 'termination_notice', 21, '刻章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (303, 18, 'termination_notice', 21, '刻章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (304, 19, 'termination_notice', 21, '刻章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (305, 20, 'termination_notice', 21, '刻章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (306, 21, 'termination_notice', 21, '刻章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (307, 17, 'device_notice', 22, '终端结束用印', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (308, 18, 'device_notice', 22, '终端结束用印', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (309, 19, 'device_notice', 22, '终端结束用印', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (310, 20, 'device_notice', 22, '终端结束用印', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (311, 21, 'device_notice', 22, '终端结束用印', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (312, 17, 'device_notice', 23, '终端结束换章', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (313, 18, 'device_notice', 23, '终端结束换章', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (314, 19, 'device_notice', 23, '终端结束换章', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (315, 20, 'device_notice', 23, '终端结束换章', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (316, 21, 'device_notice', 23, '终端结束换章', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (317, 1, 'copy_notice', 24, '用印申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (318, 2, 'copy_notice', 24, '用印申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (319, 30, 'copy_notice', 24, '用印申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (320, 17, 'copy_notice', 24, '用印申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (321, 18, 'copy_notice', 24, '用印申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (322, 19, 'copy_notice', 24, '用印申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (323, 20, 'copy_notice', 24, '用印申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (324, 21, 'copy_notice', 24, '用印申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (325, 1, 'copy_notice', 25, '换章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (326, 2, 'copy_notice', 25, '换章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (327, 30, 'copy_notice', 25, '换章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (328, 17, 'copy_notice', 25, '换章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (329, 18, 'copy_notice', 25, '换章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (330, 19, 'copy_notice', 25, '换章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (331, 20, 'copy_notice', 25, '换章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (332, 21, 'copy_notice', 25, '换章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (333, 1, 'copy_notice', 26, '移交申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (334, 2, 'copy_notice', 26, '移交申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (335, 30, 'copy_notice', 26, '移交申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (336, 17, 'copy_notice', 26, '移交申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (337, 18, 'copy_notice', 26, '移交申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (338, 19, 'copy_notice', 26, '移交申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (339, 20, 'copy_notice', 26, '移交申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (340, 21, 'copy_notice', 26, '移交申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (341, 1, 'copy_notice', 27, '变更申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (342, 2, 'copy_notice', 27, '变更申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (343, 30, 'copy_notice', 27, '变更申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (344, 17, 'copy_notice', 27, '变更申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (345, 18, 'copy_notice', 27, '变更申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (346, 19, 'copy_notice', 27, '变更申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (347, 20, 'copy_notice', 27, '变更申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (348, 21, 'copy_notice', 27, '变更申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (349, 1, 'copy_notice', 28, '刻章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (350, 2, 'copy_notice', 28, '刻章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (351, 30, 'copy_notice', 28, '刻章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (352, 17, 'copy_notice', 28, '刻章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (353, 18, 'copy_notice', 28, '刻章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (354, 19, 'copy_notice', 28, '刻章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (355, 20, 'copy_notice', 28, '刻章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (356, 21, 'copy_notice', 28, '刻章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (357, 1, 'warning_notice', 29, '倒立用印预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (358, 2, 'warning_notice', 29, '倒立用印预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (359, 3, 'warning_notice', 29, '倒立用印预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (360, 4, 'warning_notice', 29, '倒立用印预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (361, 5, 'warning_notice', 29, '倒立用印预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (362, 7, 'warning_notice', 29, '倒立用印预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (363, 9, 'warning_notice', 29, '倒立用印预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (364, 10, 'warning_notice', 29, '倒立用印预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (365, 13, 'warning_notice', 29, '倒立用印预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (366, 14, 'warning_notice', 29, '倒立用印预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (367, 17, 'warning_notice', 29, '倒立用印预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (368, 18, 'warning_notice', 29, '倒立用印预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (369, 19, 'warning_notice', 29, '倒立用印预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (370, 20, 'warning_notice', 29, '倒立用印预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (371, 21, 'warning_notice', 29, '倒立用印预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (402, 1, 'warning_notice', 32, '补传文件风险预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (403, 2, 'warning_notice', 32, '补传文件风险预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (404, 13, 'warning_notice', 32, '补传文件风险预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (405, 14, 'warning_notice', 32, '补传文件风险预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (406, 32, 'warning_notice', 32, '补传文件风险预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (407, 17, 'warning_notice', 32, '补传文件风险预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (408, 18, 'warning_notice', 32, '补传文件风险预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (409, 19, 'warning_notice', 32, '补传文件风险预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (410, 20, 'warning_notice', 32, '补传文件风险预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (411, 21, 'warning_notice', 32, '补传文件风险预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (412, 1, 'start_notice', 33, '用印申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (413, 2, 'start_notice', 33, '用印申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (414, 31, 'start_notice', 33, '用印申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (415, 17, 'start_notice', 33, '用印申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (416, 18, 'start_notice', 33, '用印申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (417, 19, 'start_notice', 33, '用印申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (418, 20, 'start_notice', 33, '用印申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (419, 21, 'start_notice', 33, '用印申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (420, 1, 'start_notice', 34, '换章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (421, 2, 'start_notice', 34, '换章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (422, 31, 'start_notice', 34, '换章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (423, 17, 'start_notice', 34, '换章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (424, 18, 'start_notice', 34, '换章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (425, 19, 'start_notice', 34, '换章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (426, 20, 'start_notice', 34, '换章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (427, 21, 'start_notice', 34, '换章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (428, 1, 'start_notice', 35, '移交申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (429, 2, 'start_notice', 35, '移交申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (430, 31, 'start_notice', 35, '移交申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (431, 17, 'start_notice', 35, '移交申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (432, 18, 'start_notice', 35, '移交申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (433, 19, 'start_notice', 35, '移交申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (434, 20, 'start_notice', 35, '移交申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (435, 21, 'start_notice', 35, '移交申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (436, 1, 'start_notice', 36, '变更申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (437, 2, 'start_notice', 36, '变更申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (438, 31, 'start_notice', 36, '变更申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (439, 17, 'start_notice', 36, '变更申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (440, 18, 'start_notice', 36, '变更申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (441, 19, 'start_notice', 36, '变更申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (442, 20, 'start_notice', 36, '变更申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (443, 21, 'start_notice', 36, '变更申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (444, 1, 'start_notice', 37, '刻章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (445, 2, 'start_notice', 37, '刻章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (446, 31, 'start_notice', 37, '刻章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (447, 17, 'start_notice', 37, '刻章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (448, 18, 'start_notice', 37, '刻章申请', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (449, 19, 'start_notice', 37, '刻章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (450, 20, 'start_notice', 37, '刻章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (451, 21, 'start_notice', 37, '刻章申请', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (452, 5, 'warning_notice', 38, '印章柜：取章未按时归还预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (453, 33, 'warning_notice', 38, '印章柜：取章未按时归还预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (454, 35, 'warning_notice', 38, '印章柜：取章未按时归还预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (455, 13, 'warning_notice', 38, '印章柜：取章未按时归还预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (456, 14, 'warning_notice', 38, '印章柜：取章未按时归还预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (457, 34, 'warning_notice', 38, '印章柜：取章未按时归还预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (458, 17, 'warning_notice', 38, '印章柜：取章未按时归还预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (459, 18, 'warning_notice', 38, '印章柜：取章未按时归还预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (460, 19, 'warning_notice', 38, '印章柜：取章未按时归还预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (461, 20, 'warning_notice', 38, '印章柜：取章未按时归还预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (462, 21, 'warning_notice', 38, '印章柜：取章未按时归还预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (463, 5, 'device_notice', 39, '印章柜：取章通知', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (464, 33, 'device_notice', 39, '印章柜：取章通知', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (465, 13, 'device_notice', 39, '印章柜：取章通知', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (466, 14, 'device_notice', 39, '印章柜：取章通知', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (467, 17, 'device_notice', 39, '印章柜：取章通知', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (468, 18, 'device_notice', 39, '印章柜：取章通知', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (469, 19, 'device_notice', 39, '印章柜：取章通知', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (470, 20, 'device_notice', 39, '印章柜：取章通知', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (471, 21, 'device_notice', 39, '印章柜：取章通知', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (472, 5, 'device_notice', 40, '印章柜：还章通知', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (473, 36, 'device_notice', 40, '印章柜：还章通知', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (474, 13, 'device_notice', 40, '印章柜：还章通知', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (475, 14, 'device_notice', 40, '印章柜：还章通知', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (476, 17, 'device_notice', 40, '印章柜：还章通知', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (477, 18, 'device_notice', 40, '印章柜：还章通知', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (478, 19, 'device_notice', 40, '印章柜：还章通知', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (479, 20, 'device_notice', 40, '印章柜：还章通知', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (480, 21, 'device_notice', 40, '印章柜：还章通知', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (481, 5, 'warning_notice', 41, '锁章后偷盖预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (482, 7, 'warning_notice', 41, '锁章后偷盖预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (483, 9, 'warning_notice', 41, '锁章后偷盖预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (484, 13, 'warning_notice', 41, '锁章后偷盖预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (485, 14, 'warning_notice', 41, '锁章后偷盖预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (486, 17, 'warning_notice', 41, '锁章后偷盖预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (487, 18, 'warning_notice', 41, '锁章后偷盖预警', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (488, 19, 'warning_notice', 41, '锁章后偷盖预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (489, 20, 'warning_notice', 41, '锁章后偷盖预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (490, 21, 'warning_notice', 41, '锁章后偷盖预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);
INSERT INTO `sys_message_template_property` VALUES (491, 37, 'warning_notice', 41, '锁章后偷盖预警', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL);

-- ----------------------------
-- Table structure for sys_message_type
-- ----------------------------
DROP TABLE IF EXISTS `sys_message_type`;
CREATE TABLE `sys_message_type`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  `type_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '消息类型名称',
  `status` tinyint(1) NOT NULL DEFAULT 0 COMMENT '模块状态默认:启动 0启动，1停用',
  `flag` tinyint(1) NOT NULL DEFAULT 0 COMMENT '数据状态默认：有效，0有效，1无效',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '公司ID',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 8 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '消息类型表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_message_type
-- ----------------------------
INSERT INTO `sys_message_type` VALUES (1, 'approve_notice', 0, 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_message_type` VALUES (2, 'authorization_notice', 0, 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_message_type` VALUES (3, 'warning_notice', 0, 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_message_type` VALUES (4, 'termination_notice', 0, 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_message_type` VALUES (5, 'device_notice', 0, 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_message_type` VALUES (6, 'copy_notice', 0, 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_message_type` VALUES (7, 'start_notice', 0, 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');

-- ----------------------------
-- Table structure for sys_plaintext_watermark_setting
-- ----------------------------
DROP TABLE IF EXISTS `sys_plaintext_watermark_setting`;
CREATE TABLE `sys_plaintext_watermark_setting`  (
  `pid` int(10) NOT NULL AUTO_INCREMENT COMMENT '记录ID，主键',
  `mark_type` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '水印类型：text 文字水印；img 图片水印；flowNo 流程编号；pagingSeal 骑缝章水印',
  `font_content` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '文字内容',
  `font_size` int(4) NULL DEFAULT NULL COMMENT '字体大小',
  `font_color` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '字体颜色',
  `image_url` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '图片url',
  `image_size` int(4) NULL DEFAULT NULL COMMENT '图片缩放大小，单位：%',
  `opacity` int(3) NOT NULL COMMENT '水印透明度，单位：%',
  `offset_width` int(10) NOT NULL COMMENT '水印位置：横向偏移量',
  `offset_height` int(10) NOT NULL COMMENT '水印位置：纵向偏移量',
  `degree` int(3) NOT NULL COMMENT '旋转角度，单位：°',
  `mark_site` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '水印位置：lt：左上；lb：左下；rb：右下；rt：右上；sealUp：骑缝章右上；sealCenter：骑缝章右中；sealDown：骑缝章右下',
  `preview_status` tinyint(2) NOT NULL DEFAULT 0 COMMENT '是否可预览：0 可预览；1 关闭预览',
  `design_site_type` tinyint(2) NOT NULL DEFAULT 0 COMMENT '设置水印位置方式：0 指定位置；1 随机位置',
  `apply_scope` tinyint(2) NOT NULL DEFAULT 0 COMMENT '应用范围：0 全部流程；1 指定流程',
  `creator` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人',
  `create_date` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业id',
  PRIMARY KEY (`pid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_plaintext_watermark_setting
-- ----------------------------

-- ----------------------------
-- Table structure for sys_plaintext_watermark_workflow
-- ----------------------------
DROP TABLE IF EXISTS `sys_plaintext_watermark_workflow`;
CREATE TABLE `sys_plaintext_watermark_workflow`  (
  `pid` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键id',
  `mark_id` int(11) NOT NULL COMMENT '明文水印配置id',
  `workflow_model_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '流程model id',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业id',
  PRIMARY KEY (`pid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_plaintext_watermark_workflow
-- ----------------------------

-- ----------------------------
-- Table structure for sys_role
-- ----------------------------
DROP TABLE IF EXISTS `sys_role`;
CREATE TABLE `sys_role`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `title` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '角色名称',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业编号',
  `creator` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人',
  `create_date` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `parent_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '角色类型(有数据字典提供)',
  `remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 22 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_role
-- ----------------------------
INSERT INTO `sys_role` VALUES (21, 'd6b8b1d0-e914-4bc1-96cc-702b470c4c02', '员工', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2021-07-29 19:45:54', '1', '员工');

-- ----------------------------
-- Table structure for sys_role_menu
-- ----------------------------
DROP TABLE IF EXISTS `sys_role_menu`;
CREATE TABLE `sys_role_menu`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `menuid` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '菜单编号',
  `roleid` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '角色编号',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '企业编号',
  PRIMARY KEY (`pid`) USING BTREE,
  INDEX `idx_sys_role_menu_roleid_menuid`(`roleid`, `menuid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 749 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_role_menu
-- ----------------------------
INSERT INTO `sys_role_menu` VALUES (747, 'ffadsd-4d7c-gfdccdfde-9gfdsfdgqewyyjl', 'd6b8b1d0-e914-4bc1-96cc-702b470c4c02', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_role_menu` VALUES (748, 'ffadsd-4d7c-gfdccdfde-9gfdsfdgqewksyy', 'd6b8b1d0-e914-4bc1-96cc-702b470c4c02', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');

-- ----------------------------
-- Table structure for sys_scanner_auth_info
-- ----------------------------
DROP TABLE IF EXISTS `sys_scanner_auth_info`;
CREATE TABLE `sys_scanner_auth_info`  (
  `pid` int(11) NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '申请人',
  `department_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '申请人部门',
  `machine_code` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '机器码',
  `authorized_code` varchar(2048) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '授权码',
  `apply_date` datetime(0) NOT NULL COMMENT '申请时间',
  `status` tinyint(1) NOT NULL DEFAULT 0 COMMENT '0-待授权 1-授权通过 2-拒绝授权',
  `auth_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '授权人',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '公司id',
  PRIMARY KEY (`pid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_scanner_auth_info
-- ----------------------------

-- ----------------------------
-- Table structure for sys_seal_expired_policy
-- ----------------------------
DROP TABLE IF EXISTS `sys_seal_expired_policy`;
CREATE TABLE `sys_seal_expired_policy`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `seal_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '印章id',
  `expired_policy_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '策略id',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '公司id',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_seal_expired_policy
-- ----------------------------

-- ----------------------------
-- Table structure for sys_security_code
-- ----------------------------
DROP TABLE IF EXISTS `sys_security_code`;
CREATE TABLE `sys_security_code`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `code` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '安全码',
  PRIMARY KEY (`pid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_security_code
-- ----------------------------

-- ----------------------------
-- Table structure for sys_setting
-- ----------------------------
DROP TABLE IF EXISTS `sys_setting`;
CREATE TABLE `sys_setting`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '配置类型',
  `name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '配置名称',
  `code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '配置代码',
  `content` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '内容',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '公司id',
  PRIMARY KEY (`pid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 171 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_setting
-- ----------------------------
INSERT INTO `sys_setting` VALUES (88, 'file_server', '盖章文件是否添加明文水印', 'mark_switch', 'close', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (89, 'exception', '异常发送', 'exception_switch', 'open', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (90, 'exception', '发送地址', 'url', 'localhost:8081/web/', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (91, 'dx', '短信开关', 'dx_switch', 'open', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (92, 'file_server', '服务容量预警', 'warning_switch', 'open', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (93, 'file_server', '服务容量预警阈值', 'warning', '80', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (94, 'file_server', '文件是否加密', 'password_switch', 'open', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (95, 'used_seal', '是否开启过期验证', 'expired_switch', 'close', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (96, 'used_seal', '用印过期时间(小时)', 'expired_times', '24', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (97, 'used_seal', '过期策略(power授权/used用印)', 'power_used', 'power', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (98, 'qys_front_url', '契约锁前台地址', 'qys_front_url', 'http://139.196.96.159:9180/', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (99, 'home_page_max_logo', '主页大logo', 'home_page_max_logo', 'data:image/png;base64, ', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (100, 'login_page_logo', '登录页logo', 'login_page_logo', 'data:image/png;base64, ', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (101, 'home_page_min_logo', '主页小logo', 'home_page_min_logo', 'data:image/png;base64, ', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (102, 'auto_machine', '自动盖章机图片', 'auto_machine_home_image', 'data:image/png;base64, ', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (103, 'account_security', '首次登录修改密码', 'modify_password', 'open', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (104, 'single_sign', '单点登录控制', 'single_sign_switch', 'close', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (105, 'single_sign', '单点登录地址', 'single_sign_address', '', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (106, 'system_setting', '版本号', 'system_version', 'v5.5.8.220120', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (107, 'system_setting', 'H5主页地址', 'app_html_url', '', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (108, 'system_setting', '更新内容', 'system_content', '1、新增印控台人脸登录功能;2、修复了一些已知问题;', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (109, 'system_setting', '版本发布日期', 'system_date', '2022-01-20 12:00:00', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (110, 'system_setting', 'WebSocket地址', 'app_socket_url', '', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (121, 'pwd_min_length', '密码长度', 'pwd_length', '6', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (122, 'pwd_different', '密码不同设置开关', 'pwd_different_switch', 'close', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (123, 'pwd_different', '密码与近N次密码不同', 'pwd_different_times', '6', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (124, 'pwd_complexity', '密码复杂度', 'pwd_complexity', '0', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (125, 'pwd_lock', '密码锁定开关', 'pwd_lock_switch', 'close', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (126, 'pwd_lock', '密码可输错次数（正整数）', 'pwd_allow_wrong_times', '5', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (127, 'pwd_lock', '密码锁定时间(正整数、1位小数)', 'pwd_lock_time', '24', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (128, 'pwd_validity', '密码有效期开关', 'pwd_validity_switch', 'close', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (129, 'pwd_validity', '密码有效期天数（正整数）', 'pwd_validity_day', '90', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (130, 'used_seal', '是否启用验证码验证', 'pin_switch', 'open', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (131, 'out_area_handle', '异地盖章处理方式(0预警，1预警并锁定)', 'out_area_handle_switch', '1', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (132, 'account_security_password', '新增用户默认密码设置', 'default_password', 'e10adc3949ba59abbe56e057f20f883e', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (133, 'workflow_mark', '是否开启验证标记', 'workflow_mark_switch', 'open', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (134, 'workflow_mark', '验证流程高亮标记次数', 'workflow_highlight_time', '3', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (135, 'exception_statistics', '异常统计开始时间', 'exception_start_date', '2020-10-28', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (136, 'background_watermark', '是否开启页面水印', 'background_watermark_switch', 'open', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (137, 'lowfrequency_warning', '是否启用用印低频预警', 'lowfrequency_warning_switch', 'open', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (138, 'lowfrequency_warning', '低频预警周期类型', 'lowfrequency_warning_period', '1', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (139, 'lowfrequency_warning', '低频预警印章使用次数', 'lowfrequency_warning_times', '3', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (140, 'code_authorize', '移动端验证码授权(0全部流程，1仅外借流程，2禁用)', 'code_authorize_status', '0', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (142, 'out_area_handle', '是否开启异地盖章预警', 'out_area_switch', 'open', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (143, 'mark_file_setting', '防伪水印操作单文件最大页数', 'add_mark_file_size', '50', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (144, 'mark_file_setting', '定时清理水印文件开关', 'clear_mark_file_switch', 'close', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (145, 'mark_file_setting', '定时清理水印文件天数', 'clear_mark_file_days', '7', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (146, 'mark_file_setting', '定时清理水印文件流程节点', 'clear_mark_file_node', 'end', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (147, 'mark_file_setting', '定时清理水印文件流程起始pid', 'clear_mark_file_start_pid', '0', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (148, 'login_back_up_info', '登录页版本年份', 'login_version_number', '2009-2020', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (149, 'login_back_up_info', '登录页官网地址', 'office_website_url', 'www.qunje.com', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (150, 'login_back_up_info', '登录页版权所有ICP证', 'copyright_icp_card', '版权所有ICP证：苏20090102', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (151, 'sys_user', '工号起始值', 'cardNo_start', '100001', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (152, 'cabinet_setting', '是否开启取还章码可用次数限制', 'take_or_repay_code_switch', 'close', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (153, 'cabinet_setting', '取还章码可用次数', 'take_or_reapay_code_available_count', '1', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (154, 'cabinet_setting', '是否开启印章柜定时盘点配置', 'check_switch', 'open', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (155, 'cabinet_setting', '印章柜盘点时间', 'check_time', '02:30:00', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (156, 'device_blank_image', '盖章空白图', 'device_blank_image', 'data:image/jpg;base64, ', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (157, 'upload_file', '上传附件最大体积(单位M)', 'upload_file_max_size', '50', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (158, 'upload_file', '上传附件格式', 'upload_file_type', '1,2', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (159, 'upload_file', '上传附件后缀', 'upload_file_suffix', 'jpg,jpeg,png,gif,JPG,JPEG,PNG,GIF,doc,docx,pdf,DOC,DOCX,PDF', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (161, 'terminal_setting', '指纹验证、账号登录是否开启“人脸安全验证”', 'face_validate_in_login_used_seal', 'close', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (162, 'terminal_setting', '五代用印宝“异常状态”时是否允许视频录制', 'video_recoding_in_singular_status', 'close', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (163, 'resource_manage', '短信预警开关', 'sms_switch', 'open', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (164, 'resource_manage', '短信预警百分比', 'sms_percent', '30', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (165, 'resource_manage', '磁盘预警开关', 'disk_switch', 'open', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (166, 'resource_manage', '磁盘预警百分比', 'disk_percent', '30', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (167, 'device_office_mode', '用印宝是否可开启办公室模式', 'office_mode_switch', 'close', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (168, 'security_policy', '移动端允许拍照模式', 'mobile_terminal_photo_mode', 'app,device', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (169, 'mark_verify_setting', '是否开启水印高效验证', 'mark_verify_efficient_switch', 'close', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting` VALUES (170, 'display_setting', '五代印控台logo', 'console_logo', '', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');

-- ----------------------------
-- Table structure for sys_setting_backup
-- ----------------------------
DROP TABLE IF EXISTS `sys_setting_backup`;
CREATE TABLE `sys_setting_backup`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '配置类型',
  `name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '配置名称',
  `code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '配置代码',
  `content` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '内容',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '公司id',
  PRIMARY KEY (`pid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 151 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_setting_backup
-- ----------------------------
INSERT INTO `sys_setting_backup` VALUES (88, 'file_server', '水印开关', 'mark_switch', 'close', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (89, 'exception', '异常发送', 'exception_switch', 'open', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (90, 'exception', '发送地址', 'url', 'localhost:8081/web/', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (91, 'dx', '短信开关', 'dx_switch', 'open', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (92, 'file_server', '服务容量预警', 'warning_switch', 'open', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (93, 'file_server', '服务容量预警阈值', 'warning', '80', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (94, 'file_server', '加密开关', 'password_switch', 'open', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (95, 'used_seal', '用印过期启用', 'expired_switch', 'close', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (96, 'used_seal', '用印过期时间(小时)', 'expired_times', '24', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (97, 'used_seal', '过期策略(授权/用印)', 'power_used', 'power', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (98, 'qys_front_url', '契约锁前台地址', 'qys_front_url', 'http://139.196.96.159:9180/', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (99, 'home_page_max_logo', '主页大logo', 'home_page_max_logo', 'data:image/png;base64, ', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (100, 'login_page_logo', '登录页logo', 'login_page_logo', 'data:image/png;base64, ', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (101, 'home_page_min_logo', '主页小logo', 'home_page_min_logo', 'data:image/png;base64, ', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (102, 'auto_machine', '自动盖章机图片', 'auto_machine_home_image', 'data:image/png;base64, ', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (103, 'account_security', '首次登录修改密码', 'modify_password', 'open', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (104, 'single_sign', '单点登录控制', 'single_sign_switch', 'close', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (105, 'single_sign', '单点登录地址', 'single_sign_address', '', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (106, 'system_setting', '版本号', 'system_version', 'v5.4.7.210120', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (107, 'system_setting', 'H5主页地址', 'app_html_url', '', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (108, 'system_setting', '更新内容', 'system_content', '1、新建印章新增启用停用时间;2、审批详情中有上传图片的新增下载功能;3、印章外借归还结合印章柜自助取还章;4、补签流程支持短信推送验证码;5、参数配置中新增“数字水印文件设置”配置项;5、功能优化', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (109, 'system_setting', '版本发布日期', 'system_date', '2021-01-20 12:00:00', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (110, 'system_setting', 'WebSocket地址', 'app_socket_url', '', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (121, 'pwd_min_length', '密码长度', 'pwd_length', '6', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (122, 'pwd_different', '密码不同设置开关', 'pwd_different_switch', 'close', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (123, 'pwd_different', '密码与近N次密码不同', 'pwd_different_times', '6', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (124, 'pwd_complexity', '密码复杂度', 'pwd_complexity', '0', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (125, 'pwd_lock', '密码锁定开关', 'pwd_lock_switch', 'close', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (126, 'pwd_lock', '密码可输错次数（正整数）', 'pwd_allow_wrong_times', '5', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (127, 'pwd_lock', '密码锁定时间(正整数、1位小数)', 'pwd_lock_time', '24', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (128, 'pwd_validity', '密码有效期开关', 'pwd_validity_switch', 'close', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (129, 'pwd_validity', '密码有效期天数（正整数）', 'pwd_validity_day', '90', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (130, 'used_seal', '是否启用验证码验证设置', 'pin_switch', 'open', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (131, 'out_area_handle', '异地盖章处理方式(0预警，1预警并锁定)', 'out_area_handle_switch', '1', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (132, 'account_security_password', '新增用户默认密码设置', 'default_password', 'e10adc3949ba59abbe56e057f20f883e', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (133, 'workflow_mark', '是否启用流程验证标志', 'workflow_mark_switch', 'open', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (134, 'workflow_mark', '验证流程高亮标记次数', 'workflow_highlight_time', '3', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (135, 'exception_statistics', '异常统计开始时间', 'exception_start_date', '2020-10-28', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (136, 'background_watermark', '是否启用页面背景水印', 'background_watermark_switch', 'open', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (137, 'lowfrequency_warning', '是否启用用印低频预警', 'lowfrequency_warning_switch', 'open', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (138, 'lowfrequency_warning', '低频预警周期类型', 'lowfrequency_warning_period', '1', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (139, 'lowfrequency_warning', '低频预警印章使用次数', 'lowfrequency_warning_times', '3', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (140, 'code_authorize', 'app验证码授权', 'code_authorize_status', '0', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (142, 'out_area_handle', '异地盖章处理方式开关', 'out_area_switch', 'open', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (143, 'mark_file_setting', '防伪水印操作单文件最大页数', 'add_mark_file_size', '50', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (144, 'mark_file_setting', '定时清理水印文件开关', 'clear_mark_file_switch', 'close', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (145, 'mark_file_setting', '定时清理水印文件天数', 'clear_mark_file_days', '7', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (146, 'mark_file_setting', '定时清理水印文件流程节点', 'clear_mark_file_node', 'end', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (147, 'mark_file_setting', '定时清理水印文件流程起始pid', 'clear_mark_file_start_pid', '0', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (148, 'login_back_up_info', '登录页版本年份', 'login_version_number', '2009-2020', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (149, 'login_back_up_info', '登录页官网地址', 'office_website_url', 'www.qunje.com', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_backup` VALUES (150, 'login_back_up_info', '登录页版权所有ICP证', 'copyright_icp_card', '版权所有ICP证：苏20090102', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');

-- ----------------------------
-- Table structure for sys_setting_banner
-- ----------------------------
DROP TABLE IF EXISTS `sys_setting_banner`;
CREATE TABLE `sys_setting_banner`  (
  `pid` int(10) NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '',
  `img_number` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '',
  `img_explain` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '',
  `sort` int(10) NOT NULL DEFAULT 0,
  `path` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL,
  `banner_type` tinyint(1) NOT NULL DEFAULT 0 COMMENT '轮播图类型 0-app 1-5代印控台',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '',
  PRIMARY KEY (`pid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_setting_banner
-- ----------------------------
INSERT INTO `sys_setting_banner` VALUES (1, '394c1755-a89e-42cf-a327-c24a163b7b55', '1609903656967', '默认轮播图', 1, 'base64; ', 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_setting_banner` VALUES (2, '394c1755-a89e-42cf-a327-c24a163b7b56', '1609903656967', '默认轮播图', 1, '10.6.6.17-fb64cd25-0ab0-4a81-97fb-2ec8629d7110', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');

-- ----------------------------
-- Table structure for sys_similar_word
-- ----------------------------
DROP TABLE IF EXISTS `sys_similar_word`;
CREATE TABLE `sys_similar_word`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `key_word` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '关键词',
  PRIMARY KEY (`pid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 127 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_similar_word
-- ----------------------------
INSERT INTO `sys_similar_word` VALUES (85, '目,且,旦,自,日,月');
INSERT INTO `sys_similar_word` VALUES (86, '甲,由,申,田,用,电');
INSERT INTO `sys_similar_word` VALUES (87, '土,士');
INSERT INTO `sys_similar_word` VALUES (88, '处,外');
INSERT INTO `sys_similar_word` VALUES (89, '并,井,关');
INSERT INTO `sys_similar_word` VALUES (90, '杜,杆,杠');
INSERT INTO `sys_similar_word` VALUES (91, '各,名');
INSERT INTO `sys_similar_word` VALUES (92, '旱,早');
INSERT INTO `sys_similar_word` VALUES (93, '右,石');
INSERT INTO `sys_similar_word` VALUES (94, '干,千,于,予,平');
INSERT INTO `sys_similar_word` VALUES (95, '已,己');
INSERT INTO `sys_similar_word` VALUES (96, '乃,刀');
INSERT INTO `sys_similar_word` VALUES (97, '人,入');
INSERT INTO `sys_similar_word` VALUES (98, '方,万');
INSERT INTO `sys_similar_word` VALUES (99, '天,夫,无,夭,失');
INSERT INTO `sys_similar_word` VALUES (100, '午,牛,半,芈');
INSERT INTO `sys_similar_word` VALUES (101, '几,儿');
INSERT INTO `sys_similar_word` VALUES (102, '扯,址');
INSERT INTO `sys_similar_word` VALUES (103, '扶,抚,扷');
INSERT INTO `sys_similar_word` VALUES (104, '抗,坑');
INSERT INTO `sys_similar_word` VALUES (105, '广,厂');
INSERT INTO `sys_similar_word` VALUES (106, '枪,抢');
INSERT INTO `sys_similar_word` VALUES (107, '拉,垃');
INSERT INTO `sys_similar_word` VALUES (108, '败,贩');
INSERT INTO `sys_similar_word` VALUES (109, '担,坦');
INSERT INTO `sys_similar_word` VALUES (110, '络,铬,路,珞,貉');
INSERT INTO `sys_similar_word` VALUES (111, '丙,内');
INSERT INTO `sys_similar_word` VALUES (112, '帽,幅');
INSERT INTO `sys_similar_word` VALUES (113, '须,项,顷');
INSERT INTO `sys_similar_word` VALUES (114, '息,,总');
INSERT INTO `sys_similar_word` VALUES (115, '问,间');
INSERT INTO `sys_similar_word` VALUES (116, '图,周');
INSERT INTO `sys_similar_word` VALUES (117, '若,著');
INSERT INTO `sys_similar_word` VALUES (118, '准,维');
INSERT INTO `sys_similar_word` VALUES (119, '什,件');
INSERT INTO `sys_similar_word` VALUES (120, '木,本');
INSERT INTO `sys_similar_word` VALUES (121, '体,休');
INSERT INTO `sys_similar_word` VALUES (122, '成,戍');
INSERT INTO `sys_similar_word` VALUES (123, '各,备');
INSERT INTO `sys_similar_word` VALUES (124, '捉,提');
INSERT INTO `sys_similar_word` VALUES (125, '听,研');
INSERT INTO `sys_similar_word` VALUES (126, '桂,挂');

-- ----------------------------
-- Table structure for sys_trace_log
-- ----------------------------
DROP TABLE IF EXISTS `sys_trace_log`;
CREATE TABLE `sys_trace_log`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '记录ID，主键',
  `type` int(2) NOT NULL DEFAULT 0 COMMENT '类型，1：系统启停日志；2：接口调用日志；3：业务异常日志',
  `http_method` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'HTTP请求方法',
  `class_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '类名',
  `method_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '方法名',
  `thread_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '线程名',
  `in_params` json NULL COMMENT '输入参数',
  `out_params` json NULL COMMENT '返回值',
  `ip` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '访问IP',
  `url` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '访问URL',
  `timespan` bigint(20) NOT NULL DEFAULT 0 COMMENT '访问耗时（毫秒数）',
  `remark` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '备注：启停信息、异常信息',
  `add_time` timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '添加时间',
  PRIMARY KEY (`pid`) USING BTREE,
  INDEX `idx_sys_trace_log_01`(`type`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '系统追溯日志表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_trace_log
-- ----------------------------

-- ----------------------------
-- Table structure for sys_user
-- ----------------------------
DROP TABLE IF EXISTS `sys_user`;
CREATE TABLE `sys_user`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `username` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '用户名',
  `password` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '密码',
  `realname` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '真实姓名',
  `first_char` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '拼音首字母',
  `phone` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '联系方式',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业编号',
  `cardNo` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '指纹编号',
  `wx` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `status` tinyint(1) NOT NULL COMMENT '状态',
  `islock` tinyint(1) NOT NULL COMMENT '是否被锁',
  `photo` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '照片地址',
  `isAdmin` tinyint(1) NOT NULL COMMENT '是否管理员',
  `sex` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '性别',
  `email` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'email',
  `creator` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人',
  `create_date` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `power` tinyint(12) NOT NULL DEFAULT 0 COMMENT '权限0本人1本部门2本部门及下属3全部',
  `isFirstLogin` tinyint(1) NOT NULL DEFAULT 0 COMMENT '0:未登陆，1：已登陆',
  `third_id` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '第三方ID',
  `pwd_wrong_times` int(2) NULL DEFAULT NULL COMMENT '输错密码次数',
  `pwd_unlock_time` datetime(0) NULL DEFAULT NULL COMMENT '密码解锁时间',
  `pwd_expire_time` datetime(0) NULL DEFAULT NULL COMMENT '密码过期时间',
  `login_count` int(10) NULL DEFAULT 0 COMMENT '登录次数',
  `is_seal_console_login` tinyint(1) NOT NULL DEFAULT 0 COMMENT '印控台是否登录',
  `del_department_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '已删除人员留存记录，流程回显',
  `encrypt_mode` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'MD5' COMMENT '密码加密方式：MD5; SM3',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE,
  INDEX `idx_id_realname`(`id`, `realname`) USING BTREE,
  INDEX `idx_sys_user_cardNo`(`cardNo`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 65 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_user
-- ----------------------------
INSERT INTO `sys_user` VALUES (62, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', 'admin', '2d571e4e2fdedb582c6ba6d6e15b0e36', '管理员', 'a', '18705170810', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '100001', NULL, 0, 0, NULL, 1, NULL, 'dsafsda@osa.com', 'c585ac14-c673-41ac-ab94-1f7b76f51e63', '2019-04-10 10:57:33', 0, 0, NULL, NULL, NULL, NULL, 0, 0, NULL, 'MD5');
INSERT INTO `sys_user` VALUES (63, '71a5c292-68b4-407c-9a3d-ec61bc4bebe6', 'qjtech', 'f72b5507fe81dea30e353d726387635f', '群杰技术支持', 'q', '18888888888', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '99998', NULL, 0, 0, NULL, 1, NULL, 'dsafsda@osa.com', 'c585ac14-c673-41ac-ab94-1f7b76f51e63', '2019-04-10 10:57:33', 0, 0, NULL, NULL, NULL, NULL, 0, 0, NULL, 'MD5');
INSERT INTO `sys_user` VALUES (64, '71a5c292-68b4-407c-9a3d-ec61bc4bebe7', 'qjserv', '0aedb11f0318555518b0662d566f4959', '群杰客服', 'q', '17777777777', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '99999', NULL, 0, 0, NULL, 1, NULL, 'dsafsda@osa.com', 'c585ac14-c673-41ac-ab94-1f7b76f51e63', '2019-04-10 10:57:33', 0, 0, NULL, NULL, NULL, NULL, 0, 0, NULL, 'MD5');

-- ----------------------------
-- Table structure for sys_user_app
-- ----------------------------
DROP TABLE IF EXISTS `sys_user_app`;
CREATE TABLE `sys_user_app`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `user_key` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '厂商注册码',
  `version` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'app版本',
  `manufacturer` tinyint(1) NOT NULL COMMENT '厂商0华为1小米2vivo3oppo4Apple',
  `model` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '手机型号',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '公司id',
  `create_date` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建日期',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 6 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_user_app
-- ----------------------------

-- ----------------------------
-- Table structure for sys_user_auth
-- ----------------------------
DROP TABLE IF EXISTS `sys_user_auth`;
CREATE TABLE `sys_user_auth`  (
  `pid` int(10) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户ID',
  `auth_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '权限ID(内容包括：默认六种权限类型、自定义部门ID)',
  `auth_type` tinyint(4) NOT NULL COMMENT '1:默认六种权限类型;2:自定义部门',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '公司ID',
  `is_contains_lower` tinyint(4) NULL DEFAULT NULL COMMENT '是否包含下级0不包含1包含',
  `org_no` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '部门组织代码',
  PRIMARY KEY (`pid`) USING BTREE,
  INDEX `idx_user_id`(`user_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_user_auth
-- ----------------------------
INSERT INTO `sys_user_auth` VALUES (1, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '0', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL, NULL);
INSERT INTO `sys_user_auth` VALUES (2, '71a5c292-68b4-407c-9a3d-ec61bc4bebe6', '0', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL, NULL);
INSERT INTO `sys_user_auth` VALUES (3, '71a5c292-68b4-407c-9a3d-ec61bc4bebe7', '0', 1, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL, NULL);

-- ----------------------------
-- Table structure for sys_user_department
-- ----------------------------
DROP TABLE IF EXISTS `sys_user_department`;
CREATE TABLE `sys_user_department`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `userid` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户编号',
  `departid` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '部门编号',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业编号',
  `isleader` tinyint(1) NOT NULL DEFAULT 0 COMMENT '是否领导0否1是',
  `isdefault` tinyint(1) NOT NULL DEFAULT 1 COMMENT '默认部门0否1是',
  `power` tinyint(1) NOT NULL DEFAULT 0 COMMENT '权限范围0个人、1部门、2部门及子集',
  `sort` int(3) NULL DEFAULT NULL COMMENT '排序',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE,
  INDEX `idx_isdefault_userid`(`isdefault`, `userid`) USING BTREE,
  INDEX `idx_userid_isdefault`(`userid`, `isdefault`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 101 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_user_department
-- ----------------------------
INSERT INTO `sys_user_department` VALUES (98, 'fa21c24d-bbea-433e-8c9c-f7348ce8c852', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '1', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 1, 0, NULL);
INSERT INTO `sys_user_department` VALUES (99, 'fa21c24d-bbea-433e-8c9c-f7348ce8c853', '71a5c292-68b4-407c-9a3d-ec61bc4bebe6', '1', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 1, 0, NULL);
INSERT INTO `sys_user_department` VALUES (100, 'fa21c24d-bbea-433e-8c9c-f7348ce8c854', '71a5c292-68b4-407c-9a3d-ec61bc4bebe7', '1', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 0, 1, 0, NULL);

-- ----------------------------
-- Table structure for sys_user_external
-- ----------------------------
DROP TABLE IF EXISTS `sys_user_external`;
CREATE TABLE `sys_user_external`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户表id',
  `external_type` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '外部用户类型：C:企业微信;D:钉钉;F:飞书',
  `external_id` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '外部用户id',
  `is_bind` tinyint(1) NOT NULL DEFAULT 0 COMMENT '0：已绑定、1：已解绑',
  `login_date` datetime(0) NULL DEFAULT NULL COMMENT '最近登录时间',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '企业ID',
  PRIMARY KEY (`pid`) USING BTREE,
  INDEX `idx_sue_user_id`(`user_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_user_external
-- ----------------------------

-- ----------------------------
-- Table structure for sys_user_feature
-- ----------------------------
DROP TABLE IF EXISTS `sys_user_feature`;
CREATE TABLE `sys_user_feature`  (
  `pid` int(10) NOT NULL AUTO_INCREMENT,
  `user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '编号',
  `feature` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '特征值',
  `feature_type` tinyint(1) NOT NULL DEFAULT 1 COMMENT '特征类型 1-人脸 2-指纹',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '公司ID',
  `gmt_create` datetime(0) NOT NULL COMMENT '创建时间',
  `gmt_modified` datetime(0) NULL DEFAULT NULL COMMENT '修改时间',
  PRIMARY KEY (`pid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_user_feature
-- ----------------------------

-- ----------------------------
-- Table structure for sys_user_role
-- ----------------------------
DROP TABLE IF EXISTS `sys_user_role`;
CREATE TABLE `sys_user_role`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `userid` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户编号',
  `roleid` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '角色编号',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业编号',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE,
  INDEX `idx_sys_user_role_roleid_userid`(`roleid`, `userid`) USING BTREE,
  INDEX `idx_sys_user_role_userid_roleid`(`userid`, `roleid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 86 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_user_role
-- ----------------------------

-- ----------------------------
-- Table structure for sys_version
-- ----------------------------
DROP TABLE IF EXISTS `sys_version`;
CREATE TABLE `sys_version`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `version_no` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '版本号',
  `create_date` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '版本发布时间',
  `content` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '版本内容',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '企业ID',
  PRIMARY KEY (`pid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 19 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_version
-- ----------------------------
INSERT INTO `sys_version` VALUES (1, 'v5.4.0.200630', '2020-06-30 12:00:00', '1、审批流程、自定义表单改造;2、应急用印记录优化;3、印模上传、展示;4、增加重新授权功能;5、增加二维码、水印事前控制;6、外带远程授权盖章;7、全新UI上线;8、bug修复;', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_version` VALUES (2, 'v5.4.1.200731', '2020-07-31 12:00:00', '1、增加流程图查看;2、验证方式可配置;3、印章信息可批量导入;4、密码策略设置;5、增加骑缝章功能;6、优化部分已有功能;7、修复了上一版本bug;', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_version` VALUES (3, 'v5.4.2.200831', '2020-08-31 12:00:00', '1、远程授权支持多张图片上传;2、用印次数统计（增加骑缝章次数）;3、角色管理增加模糊查询功能;4、网关安全性功能增加5、远程授权图片查看权限;6、设备指纹录入权限;7、融合AI部自研裁剪服务;8、踢下线功能;9、统计分析优化;\n10、优化部分已有功能;11、修复了上一版本bug;', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_version` VALUES (4, 'v5.4.3.200930', '2020-09-30 12:00:00', '1、审批意见设置;2、常审批意见;3、表单详情页打印;4、附件、图片支持一次上传多个文件;5、设置默认密码;6、存储组件化;7、数据库兼容;8、增加标准接口OCR、水印对接;9、优化部分已有功能;10、修复了上一版本bug;', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_version` VALUES (5, 'v5.4.4.201031', '2020-10-31 12:00:00', '1、查询条件中的部门选择器增加显示已删除组织;2、指纹/验证码验证N次及以上的流程标红;3、流程、印章设置授权过期设置;4、印章分布默认显示整个中国地图;5、附件为图片的OCR识别;6、印章柜取还章记录;7、除了处理节点，相邻节点是同一个人审批、表单为非编辑状态下才能自动审批;8、取章码失效设置（设计）;9、用印记录导出可选择是否导出审批历史;10、条件判断增加系统默认条件：发起人、发起人部门、发起人所在公司、发起人角色;11、印管员节点;12、优化部分已有功能;13、修复了上一版本bug;', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_version` VALUES (6, 'v5.4.5.201115', '2020-11-14 12:00:00', '1、修复已知安全漏洞;2、数据性能进行优化;3、外接应用结构进行优化;', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_version` VALUES (7, 'v5.4.5.201130', '2020-11-30 12:00:00', '1、修复已知安全漏洞;2、数据性能进行优化;3、外接应用结构进行优化;', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_version` VALUES (8, 'v5.4.6.201220', '2020-12-20 12:00:00', '1、新增印章外借、归还;2、新增企业微信端增加绑定、解绑功能;3、新增自定义列表查询功能;4、新增盖章机增加应急密码查看记录;5、功能优化', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_version` VALUES (9, 'v5.4.7.210120', '2021-01-20 12:00:00', '1、新建印章新增启用停用时间;2、审批详情中有上传图片的新增下载功能;3、印章外借归还结合印章柜自助取还章;4、补签流程支持短信推送验证码;5、参数配置中新增“数字水印文件设置”配置项;5、功能优化', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_version` VALUES (10, 'v5.5.0.210320', '2021-03-20 12:00:00', '1、新增主题自定义功能;2、新增短信登录和密码找回功能;3、新增管理员结束流程;4、印章信息页面检索优化;5、打印文件加盖印章图片;6、印章信息页面优化、新增智能印章用印详情页面;7、远程实时监控用印人和印管员操作功能;8、OCR相关功能页面优化、解析报表;9、其他功能优化', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_version` VALUES (11, 'v5.5.1.210420', '2021-04-20 12:00:00', '1、大屏报表;2、应急用印增加可支持绑定流程;3、印章信息新增设置标签功能;4、APP扫码登录;5、新增全文检索功能;6、风险审计;7、功能优化', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_version` VALUES (12, 'v5.5.2.210508', '2021-05-08 12:00:00', '1、云平台登录;2、配置中心;3、水印OCR优化;4、印章柜取还章码次数限制;5、印章柜盘点时间可配置;6、功能优化', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_version` VALUES (13, 'v5.5.4.210730', '2021-07-30 12:00:00', '1、角色管理优化;2、数据权限功能管理升级;3、功能优化;', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_version` VALUES (14, 'v5.5.5.210820', '2021-08-20 12:00:00', '1、五代终端设备功能;2、权限体系优化;3、印章柜功能优化;4、消息服务功能优化;5、OCR功能优化;6、修复一些已知问题;', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_version` VALUES (15, 'v5.5.6.210930', '2021-09-30 12:00:00', '1、归档管理改造;2、人员新增离职转办;3、事项管理功能优化;4、新增批量设置印管员;5、修复了一些已知问题;', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_version` VALUES (16, 'v5.5.7.211130', '2021-11-30 12:00:00', '1、菜单优化;2、新增系统日志;3、授权模式升级;4、功能优化;5、修复了一些已知问题;', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_version` VALUES (17, 'v5.5.8.211230', '2021-12-30 12:00:00', '1、五代设备新增人脸识别;2、五代用印宝新增异常用印预警视频;3、流程新增催办功能;4、平台端新增印控台LOGO上传入口;5、功能优化;6、修复了一些已知问题;', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `sys_version` VALUES (18, 'v5.5.8.220120', '2022-01-20 12:00:00', '1、新增印控台人脸登录功能;2、修复了一些已知问题;', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');

-- ----------------------------
-- Table structure for sys_water_mark
-- ----------------------------
DROP TABLE IF EXISTS `sys_water_mark`;
CREATE TABLE `sys_water_mark`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `page` int(11) NOT NULL COMMENT '页数',
  `water_mark` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '水印',
  `mark_length` int(11) NULL DEFAULT NULL COMMENT '水印长',
  PRIMARY KEY (`pid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1309 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_water_mark
-- ----------------------------
INSERT INTO `sys_water_mark` VALUES (873, 1, '1110001000010001', 16);
INSERT INTO `sys_water_mark` VALUES (874, 2, '1110001000010010', 16);
INSERT INTO `sys_water_mark` VALUES (875, 3, '1110001000010011', 16);
INSERT INTO `sys_water_mark` VALUES (876, 4, '1110001000010100', 16);
INSERT INTO `sys_water_mark` VALUES (877, 5, '1110001000010101', 16);
INSERT INTO `sys_water_mark` VALUES (878, 6, '1110001000010110', 16);
INSERT INTO `sys_water_mark` VALUES (879, 7, '1110001000010111', 16);
INSERT INTO `sys_water_mark` VALUES (880, 8, '1110001000011000', 16);
INSERT INTO `sys_water_mark` VALUES (881, 9, '1110001000011001', 16);
INSERT INTO `sys_water_mark` VALUES (882, 10, '1110001000011010', 16);
INSERT INTO `sys_water_mark` VALUES (883, 1, '11100100', 8);
INSERT INTO `sys_water_mark` VALUES (884, 2, '11100101', 8);
INSERT INTO `sys_water_mark` VALUES (885, 3, '11100110', 8);
INSERT INTO `sys_water_mark` VALUES (886, 4, '11100111', 8);
INSERT INTO `sys_water_mark` VALUES (887, 5, '11101000', 8);
INSERT INTO `sys_water_mark` VALUES (888, 6, '11101001', 8);
INSERT INTO `sys_water_mark` VALUES (889, 7, '11101010', 8);
INSERT INTO `sys_water_mark` VALUES (890, 8, '11101011', 8);
INSERT INTO `sys_water_mark` VALUES (891, 9, '11101100', 8);
INSERT INTO `sys_water_mark` VALUES (892, 10, '11101101', 8);
INSERT INTO `sys_water_mark` VALUES (893, 11, '11101110', 8);
INSERT INTO `sys_water_mark` VALUES (894, 12, '11101111', 8);
INSERT INTO `sys_water_mark` VALUES (895, 13, '11110000', 8);
INSERT INTO `sys_water_mark` VALUES (896, 14, '11110001', 8);
INSERT INTO `sys_water_mark` VALUES (897, 15, '11110010', 8);
INSERT INTO `sys_water_mark` VALUES (898, 16, '11110011', 8);
INSERT INTO `sys_water_mark` VALUES (899, 17, '11110100', 8);
INSERT INTO `sys_water_mark` VALUES (900, 18, '11110101', 8);
INSERT INTO `sys_water_mark` VALUES (901, 19, '11110110', 8);
INSERT INTO `sys_water_mark` VALUES (902, 20, '11110111', 8);
INSERT INTO `sys_water_mark` VALUES (903, 1, '1110001000', 10);
INSERT INTO `sys_water_mark` VALUES (904, 2, '1110001001', 10);
INSERT INTO `sys_water_mark` VALUES (905, 3, '1110001010', 10);
INSERT INTO `sys_water_mark` VALUES (906, 4, '1110001011', 10);
INSERT INTO `sys_water_mark` VALUES (907, 5, '1110001100', 10);
INSERT INTO `sys_water_mark` VALUES (908, 6, '1110001101', 10);
INSERT INTO `sys_water_mark` VALUES (909, 7, '1110001110', 10);
INSERT INTO `sys_water_mark` VALUES (910, 8, '1110001111', 10);
INSERT INTO `sys_water_mark` VALUES (911, 9, '1110010000', 10);
INSERT INTO `sys_water_mark` VALUES (912, 10, '1110010001', 10);
INSERT INTO `sys_water_mark` VALUES (913, 11, '1110010010', 10);
INSERT INTO `sys_water_mark` VALUES (914, 12, '1110010011', 10);
INSERT INTO `sys_water_mark` VALUES (915, 13, '1110010100', 10);
INSERT INTO `sys_water_mark` VALUES (916, 14, '1110010101', 10);
INSERT INTO `sys_water_mark` VALUES (917, 15, '1110010110', 10);
INSERT INTO `sys_water_mark` VALUES (918, 16, '1110010111', 10);
INSERT INTO `sys_water_mark` VALUES (919, 17, '1110011000', 10);
INSERT INTO `sys_water_mark` VALUES (920, 18, '1110011001', 10);
INSERT INTO `sys_water_mark` VALUES (921, 19, '1110011010', 10);
INSERT INTO `sys_water_mark` VALUES (922, 20, '1110011011', 10);
INSERT INTO `sys_water_mark` VALUES (923, 21, '1110011100', 10);
INSERT INTO `sys_water_mark` VALUES (924, 22, '1110011101', 10);
INSERT INTO `sys_water_mark` VALUES (925, 23, '1110011110', 10);
INSERT INTO `sys_water_mark` VALUES (926, 24, '1110100001', 10);
INSERT INTO `sys_water_mark` VALUES (927, 25, '1110100010', 10);
INSERT INTO `sys_water_mark` VALUES (928, 26, '1110100011', 10);
INSERT INTO `sys_water_mark` VALUES (929, 27, '1110100100', 10);
INSERT INTO `sys_water_mark` VALUES (930, 28, '1110100101', 10);
INSERT INTO `sys_water_mark` VALUES (931, 29, '1110100110', 10);
INSERT INTO `sys_water_mark` VALUES (932, 30, '1110100111', 10);
INSERT INTO `sys_water_mark` VALUES (933, 31, '1110101000', 10);
INSERT INTO `sys_water_mark` VALUES (934, 32, '1110101001', 10);
INSERT INTO `sys_water_mark` VALUES (935, 33, '1110101010', 10);
INSERT INTO `sys_water_mark` VALUES (936, 34, '1110101011', 10);
INSERT INTO `sys_water_mark` VALUES (937, 35, '1110101100', 10);
INSERT INTO `sys_water_mark` VALUES (938, 36, '1110101101', 10);
INSERT INTO `sys_water_mark` VALUES (939, 37, '1110101110', 10);
INSERT INTO `sys_water_mark` VALUES (940, 38, '1110101111', 10);
INSERT INTO `sys_water_mark` VALUES (941, 39, '1110110000', 10);
INSERT INTO `sys_water_mark` VALUES (942, 40, '1110110001', 10);
INSERT INTO `sys_water_mark` VALUES (943, 41, '1110110010', 10);
INSERT INTO `sys_water_mark` VALUES (944, 42, '1110110011', 10);
INSERT INTO `sys_water_mark` VALUES (945, 43, '1110110100', 10);
INSERT INTO `sys_water_mark` VALUES (946, 44, '1110110101', 10);
INSERT INTO `sys_water_mark` VALUES (947, 45, '1110110110', 10);
INSERT INTO `sys_water_mark` VALUES (948, 46, '1110110111', 10);
INSERT INTO `sys_water_mark` VALUES (949, 47, '1110111000', 10);
INSERT INTO `sys_water_mark` VALUES (950, 48, '1110111001', 10);
INSERT INTO `sys_water_mark` VALUES (951, 49, '1110111010', 10);
INSERT INTO `sys_water_mark` VALUES (952, 50, '1110111011', 10);
INSERT INTO `sys_water_mark` VALUES (953, 51, '1110111100', 10);
INSERT INTO `sys_water_mark` VALUES (954, 52, '1110111101', 10);
INSERT INTO `sys_water_mark` VALUES (955, 53, '1111000010', 10);
INSERT INTO `sys_water_mark` VALUES (956, 54, '1111000011', 10);
INSERT INTO `sys_water_mark` VALUES (957, 55, '1111000100', 10);
INSERT INTO `sys_water_mark` VALUES (958, 56, '1111000101', 10);
INSERT INTO `sys_water_mark` VALUES (959, 57, '1111000110', 10);
INSERT INTO `sys_water_mark` VALUES (960, 58, '1111000111', 10);
INSERT INTO `sys_water_mark` VALUES (961, 59, '1111001000', 10);
INSERT INTO `sys_water_mark` VALUES (962, 60, '1111001001', 10);
INSERT INTO `sys_water_mark` VALUES (963, 61, '1111001010', 10);
INSERT INTO `sys_water_mark` VALUES (964, 62, '1111001011', 10);
INSERT INTO `sys_water_mark` VALUES (965, 63, '1111001100', 10);
INSERT INTO `sys_water_mark` VALUES (966, 64, '1111001101', 10);
INSERT INTO `sys_water_mark` VALUES (967, 65, '1111001110', 10);
INSERT INTO `sys_water_mark` VALUES (968, 66, '1111001111', 10);
INSERT INTO `sys_water_mark` VALUES (969, 67, '1111010000', 10);
INSERT INTO `sys_water_mark` VALUES (970, 68, '1111010001', 10);
INSERT INTO `sys_water_mark` VALUES (971, 69, '1111010010', 10);
INSERT INTO `sys_water_mark` VALUES (972, 70, '1111010011', 10);
INSERT INTO `sys_water_mark` VALUES (973, 71, '1111010100', 10);
INSERT INTO `sys_water_mark` VALUES (974, 72, '1111010101', 10);
INSERT INTO `sys_water_mark` VALUES (975, 73, '1111010110', 10);
INSERT INTO `sys_water_mark` VALUES (976, 74, '1111010111', 10);
INSERT INTO `sys_water_mark` VALUES (977, 75, '1111011000', 10);
INSERT INTO `sys_water_mark` VALUES (978, 76, '1111011001', 10);
INSERT INTO `sys_water_mark` VALUES (979, 77, '1111011010', 10);
INSERT INTO `sys_water_mark` VALUES (980, 78, '1111011011', 10);
INSERT INTO `sys_water_mark` VALUES (981, 79, '1111011100', 10);
INSERT INTO `sys_water_mark` VALUES (982, 80, '1111011101', 10);
INSERT INTO `sys_water_mark` VALUES (983, 81, '1111011110', 10);
INSERT INTO `sys_water_mark` VALUES (984, 82, '1111011111', 10);
INSERT INTO `sys_water_mark` VALUES (985, 83, '1111100001', 10);
INSERT INTO `sys_water_mark` VALUES (986, 84, '1111100010', 10);
INSERT INTO `sys_water_mark` VALUES (987, 85, '1111100011', 10);
INSERT INTO `sys_water_mark` VALUES (988, 86, '1111100100', 10);
INSERT INTO `sys_water_mark` VALUES (989, 87, '1111100101', 10);
INSERT INTO `sys_water_mark` VALUES (990, 88, '1111100110', 10);
INSERT INTO `sys_water_mark` VALUES (991, 89, '1111100111', 10);
INSERT INTO `sys_water_mark` VALUES (992, 90, '1111101000', 10);
INSERT INTO `sys_water_mark` VALUES (993, 1, '111000010000', 12);
INSERT INTO `sys_water_mark` VALUES (994, 2, '111000010001', 12);
INSERT INTO `sys_water_mark` VALUES (995, 3, '111000010010', 12);
INSERT INTO `sys_water_mark` VALUES (996, 4, '111000010011', 12);
INSERT INTO `sys_water_mark` VALUES (997, 5, '111000010100', 12);
INSERT INTO `sys_water_mark` VALUES (998, 6, '111000010101', 12);
INSERT INTO `sys_water_mark` VALUES (999, 7, '111000010110', 12);
INSERT INTO `sys_water_mark` VALUES (1000, 8, '111000010111', 12);
INSERT INTO `sys_water_mark` VALUES (1001, 9, '111000011000', 12);
INSERT INTO `sys_water_mark` VALUES (1002, 10, '111000011001', 12);
INSERT INTO `sys_water_mark` VALUES (1003, 11, '111000011010', 12);
INSERT INTO `sys_water_mark` VALUES (1004, 12, '111000011011', 12);
INSERT INTO `sys_water_mark` VALUES (1005, 13, '111000011100', 12);
INSERT INTO `sys_water_mark` VALUES (1006, 14, '111000011101', 12);
INSERT INTO `sys_water_mark` VALUES (1007, 15, '111000011110', 12);
INSERT INTO `sys_water_mark` VALUES (1008, 16, '111000100001', 12);
INSERT INTO `sys_water_mark` VALUES (1009, 17, '111000100010', 12);
INSERT INTO `sys_water_mark` VALUES (1010, 18, '111000100011', 12);
INSERT INTO `sys_water_mark` VALUES (1011, 19, '111000100100', 12);
INSERT INTO `sys_water_mark` VALUES (1012, 20, '111000100101', 12);
INSERT INTO `sys_water_mark` VALUES (1013, 21, '111000100110', 12);
INSERT INTO `sys_water_mark` VALUES (1014, 22, '111000100111', 12);
INSERT INTO `sys_water_mark` VALUES (1015, 23, '111000101000', 12);
INSERT INTO `sys_water_mark` VALUES (1016, 24, '111000101001', 12);
INSERT INTO `sys_water_mark` VALUES (1017, 25, '111000101010', 12);
INSERT INTO `sys_water_mark` VALUES (1018, 26, '111000101011', 12);
INSERT INTO `sys_water_mark` VALUES (1019, 27, '111000101100', 12);
INSERT INTO `sys_water_mark` VALUES (1020, 28, '111000101101', 12);
INSERT INTO `sys_water_mark` VALUES (1021, 29, '111000101110', 12);
INSERT INTO `sys_water_mark` VALUES (1022, 30, '111000101111', 12);
INSERT INTO `sys_water_mark` VALUES (1023, 31, '111000110000', 12);
INSERT INTO `sys_water_mark` VALUES (1024, 32, '111000110001', 12);
INSERT INTO `sys_water_mark` VALUES (1025, 33, '111000110010', 12);
INSERT INTO `sys_water_mark` VALUES (1026, 34, '111000110011', 12);
INSERT INTO `sys_water_mark` VALUES (1027, 35, '111000110100', 12);
INSERT INTO `sys_water_mark` VALUES (1028, 36, '111000110101', 12);
INSERT INTO `sys_water_mark` VALUES (1029, 37, '111000110110', 12);
INSERT INTO `sys_water_mark` VALUES (1030, 38, '111000110111', 12);
INSERT INTO `sys_water_mark` VALUES (1031, 39, '111000111000', 12);
INSERT INTO `sys_water_mark` VALUES (1032, 40, '111000111001', 12);
INSERT INTO `sys_water_mark` VALUES (1033, 41, '111000111010', 12);
INSERT INTO `sys_water_mark` VALUES (1034, 42, '111000111011', 12);
INSERT INTO `sys_water_mark` VALUES (1035, 43, '111000111100', 12);
INSERT INTO `sys_water_mark` VALUES (1036, 44, '111000111101', 12);
INSERT INTO `sys_water_mark` VALUES (1037, 45, '111001000010', 12);
INSERT INTO `sys_water_mark` VALUES (1038, 46, '111001000011', 12);
INSERT INTO `sys_water_mark` VALUES (1039, 47, '111001000100', 12);
INSERT INTO `sys_water_mark` VALUES (1040, 48, '111001000101', 12);
INSERT INTO `sys_water_mark` VALUES (1041, 49, '111001000110', 12);
INSERT INTO `sys_water_mark` VALUES (1042, 50, '111001000111', 12);
INSERT INTO `sys_water_mark` VALUES (1043, 51, '111001001000', 12);
INSERT INTO `sys_water_mark` VALUES (1044, 52, '111001001001', 12);
INSERT INTO `sys_water_mark` VALUES (1045, 53, '111001001010', 12);
INSERT INTO `sys_water_mark` VALUES (1046, 54, '111001001011', 12);
INSERT INTO `sys_water_mark` VALUES (1047, 55, '111001001100', 12);
INSERT INTO `sys_water_mark` VALUES (1048, 56, '111001001101', 12);
INSERT INTO `sys_water_mark` VALUES (1049, 57, '111001001110', 12);
INSERT INTO `sys_water_mark` VALUES (1050, 58, '111001001111', 12);
INSERT INTO `sys_water_mark` VALUES (1051, 59, '111001010000', 12);
INSERT INTO `sys_water_mark` VALUES (1052, 60, '111001010001', 12);
INSERT INTO `sys_water_mark` VALUES (1053, 61, '111001010010', 12);
INSERT INTO `sys_water_mark` VALUES (1054, 62, '111001010011', 12);
INSERT INTO `sys_water_mark` VALUES (1055, 63, '111001010100', 12);
INSERT INTO `sys_water_mark` VALUES (1056, 64, '111001010101', 12);
INSERT INTO `sys_water_mark` VALUES (1057, 65, '111001010110', 12);
INSERT INTO `sys_water_mark` VALUES (1058, 66, '111001010111', 12);
INSERT INTO `sys_water_mark` VALUES (1059, 67, '111001011000', 12);
INSERT INTO `sys_water_mark` VALUES (1060, 68, '111001011001', 12);
INSERT INTO `sys_water_mark` VALUES (1061, 69, '111001011010', 12);
INSERT INTO `sys_water_mark` VALUES (1062, 70, '111001011011', 12);
INSERT INTO `sys_water_mark` VALUES (1063, 71, '111001011100', 12);
INSERT INTO `sys_water_mark` VALUES (1064, 72, '111001011101', 12);
INSERT INTO `sys_water_mark` VALUES (1065, 73, '111001011110', 12);
INSERT INTO `sys_water_mark` VALUES (1066, 74, '111001100001', 12);
INSERT INTO `sys_water_mark` VALUES (1067, 75, '111001100010', 12);
INSERT INTO `sys_water_mark` VALUES (1068, 76, '111001100011', 12);
INSERT INTO `sys_water_mark` VALUES (1069, 77, '111001100100', 12);
INSERT INTO `sys_water_mark` VALUES (1070, 78, '111001100101', 12);
INSERT INTO `sys_water_mark` VALUES (1071, 79, '111001100110', 12);
INSERT INTO `sys_water_mark` VALUES (1072, 80, '111001100111', 12);
INSERT INTO `sys_water_mark` VALUES (1073, 81, '111001101000', 12);
INSERT INTO `sys_water_mark` VALUES (1074, 82, '111001101001', 12);
INSERT INTO `sys_water_mark` VALUES (1075, 83, '111001101010', 12);
INSERT INTO `sys_water_mark` VALUES (1076, 84, '111001101011', 12);
INSERT INTO `sys_water_mark` VALUES (1077, 85, '111001101100', 12);
INSERT INTO `sys_water_mark` VALUES (1078, 86, '111001101101', 12);
INSERT INTO `sys_water_mark` VALUES (1079, 87, '111001101110', 12);
INSERT INTO `sys_water_mark` VALUES (1080, 88, '111001101111', 12);
INSERT INTO `sys_water_mark` VALUES (1081, 89, '111001110000', 12);
INSERT INTO `sys_water_mark` VALUES (1082, 90, '111001110001', 12);
INSERT INTO `sys_water_mark` VALUES (1083, 91, '111001110010', 12);
INSERT INTO `sys_water_mark` VALUES (1084, 92, '111001110011', 12);
INSERT INTO `sys_water_mark` VALUES (1085, 93, '111001110100', 12);
INSERT INTO `sys_water_mark` VALUES (1086, 94, '111001110101', 12);
INSERT INTO `sys_water_mark` VALUES (1087, 95, '111001110110', 12);
INSERT INTO `sys_water_mark` VALUES (1088, 96, '111001110111', 12);
INSERT INTO `sys_water_mark` VALUES (1089, 97, '111001111000', 12);
INSERT INTO `sys_water_mark` VALUES (1090, 98, '111001111001', 12);
INSERT INTO `sys_water_mark` VALUES (1091, 99, '111001111010', 12);
INSERT INTO `sys_water_mark` VALUES (1092, 100, '111001111011', 12);
INSERT INTO `sys_water_mark` VALUES (1093, 101, '111010000100', 12);
INSERT INTO `sys_water_mark` VALUES (1094, 102, '111010000101', 12);
INSERT INTO `sys_water_mark` VALUES (1095, 103, '111010000110', 12);
INSERT INTO `sys_water_mark` VALUES (1096, 104, '111010000111', 12);
INSERT INTO `sys_water_mark` VALUES (1097, 105, '111010001000', 12);
INSERT INTO `sys_water_mark` VALUES (1098, 106, '111010001001', 12);
INSERT INTO `sys_water_mark` VALUES (1099, 107, '111010001010', 12);
INSERT INTO `sys_water_mark` VALUES (1100, 108, '111010001011', 12);
INSERT INTO `sys_water_mark` VALUES (1101, 109, '111010001100', 12);
INSERT INTO `sys_water_mark` VALUES (1102, 110, '111010001101', 12);
INSERT INTO `sys_water_mark` VALUES (1103, 111, '111010001110', 12);
INSERT INTO `sys_water_mark` VALUES (1104, 112, '111010001111', 12);
INSERT INTO `sys_water_mark` VALUES (1105, 113, '111010010000', 12);
INSERT INTO `sys_water_mark` VALUES (1106, 114, '111010010001', 12);
INSERT INTO `sys_water_mark` VALUES (1107, 115, '111010010010', 12);
INSERT INTO `sys_water_mark` VALUES (1108, 116, '111010010011', 12);
INSERT INTO `sys_water_mark` VALUES (1109, 117, '111010010100', 12);
INSERT INTO `sys_water_mark` VALUES (1110, 118, '111010010101', 12);
INSERT INTO `sys_water_mark` VALUES (1111, 119, '111010010110', 12);
INSERT INTO `sys_water_mark` VALUES (1112, 120, '111010010111', 12);
INSERT INTO `sys_water_mark` VALUES (1113, 121, '111010011000', 12);
INSERT INTO `sys_water_mark` VALUES (1114, 122, '111010011001', 12);
INSERT INTO `sys_water_mark` VALUES (1115, 123, '111010011010', 12);
INSERT INTO `sys_water_mark` VALUES (1116, 124, '111010011011', 12);
INSERT INTO `sys_water_mark` VALUES (1117, 125, '111010011100', 12);
INSERT INTO `sys_water_mark` VALUES (1118, 126, '111010011101', 12);
INSERT INTO `sys_water_mark` VALUES (1119, 127, '111010011110', 12);
INSERT INTO `sys_water_mark` VALUES (1120, 128, '111010100001', 12);
INSERT INTO `sys_water_mark` VALUES (1121, 129, '111010100010', 12);
INSERT INTO `sys_water_mark` VALUES (1122, 130, '111010100011', 12);
INSERT INTO `sys_water_mark` VALUES (1123, 131, '111010100100', 12);
INSERT INTO `sys_water_mark` VALUES (1124, 132, '111010100101', 12);
INSERT INTO `sys_water_mark` VALUES (1125, 133, '111010100110', 12);
INSERT INTO `sys_water_mark` VALUES (1126, 134, '111010100111', 12);
INSERT INTO `sys_water_mark` VALUES (1127, 135, '111010101000', 12);
INSERT INTO `sys_water_mark` VALUES (1128, 136, '111010101001', 12);
INSERT INTO `sys_water_mark` VALUES (1129, 137, '111010101010', 12);
INSERT INTO `sys_water_mark` VALUES (1130, 138, '111010101011', 12);
INSERT INTO `sys_water_mark` VALUES (1131, 139, '111010101100', 12);
INSERT INTO `sys_water_mark` VALUES (1132, 140, '111010101101', 12);
INSERT INTO `sys_water_mark` VALUES (1133, 141, '111010101110', 12);
INSERT INTO `sys_water_mark` VALUES (1134, 142, '111010101111', 12);
INSERT INTO `sys_water_mark` VALUES (1135, 143, '111010110000', 12);
INSERT INTO `sys_water_mark` VALUES (1136, 144, '111010110001', 12);
INSERT INTO `sys_water_mark` VALUES (1137, 145, '111010110010', 12);
INSERT INTO `sys_water_mark` VALUES (1138, 146, '111010110011', 12);
INSERT INTO `sys_water_mark` VALUES (1139, 147, '111010110100', 12);
INSERT INTO `sys_water_mark` VALUES (1140, 148, '111010110101', 12);
INSERT INTO `sys_water_mark` VALUES (1141, 149, '111010110110', 12);
INSERT INTO `sys_water_mark` VALUES (1142, 150, '111010110111', 12);
INSERT INTO `sys_water_mark` VALUES (1143, 151, '111010111000', 12);
INSERT INTO `sys_water_mark` VALUES (1144, 152, '111010111001', 12);
INSERT INTO `sys_water_mark` VALUES (1145, 153, '111010111010', 12);
INSERT INTO `sys_water_mark` VALUES (1146, 154, '111010111011', 12);
INSERT INTO `sys_water_mark` VALUES (1147, 155, '111010111100', 12);
INSERT INTO `sys_water_mark` VALUES (1148, 156, '111010111101', 12);
INSERT INTO `sys_water_mark` VALUES (1149, 157, '111011000010', 12);
INSERT INTO `sys_water_mark` VALUES (1150, 158, '111011000011', 12);
INSERT INTO `sys_water_mark` VALUES (1151, 159, '111011000100', 12);
INSERT INTO `sys_water_mark` VALUES (1152, 160, '111011000101', 12);
INSERT INTO `sys_water_mark` VALUES (1153, 161, '111011000110', 12);
INSERT INTO `sys_water_mark` VALUES (1154, 162, '111011000111', 12);
INSERT INTO `sys_water_mark` VALUES (1155, 163, '111011001000', 12);
INSERT INTO `sys_water_mark` VALUES (1156, 164, '111011001001', 12);
INSERT INTO `sys_water_mark` VALUES (1157, 165, '111011001010', 12);
INSERT INTO `sys_water_mark` VALUES (1158, 166, '111011001011', 12);
INSERT INTO `sys_water_mark` VALUES (1159, 167, '111011001100', 12);
INSERT INTO `sys_water_mark` VALUES (1160, 168, '111011001101', 12);
INSERT INTO `sys_water_mark` VALUES (1161, 169, '111011001110', 12);
INSERT INTO `sys_water_mark` VALUES (1162, 170, '111011001111', 12);
INSERT INTO `sys_water_mark` VALUES (1163, 171, '111011010000', 12);
INSERT INTO `sys_water_mark` VALUES (1164, 172, '111011010001', 12);
INSERT INTO `sys_water_mark` VALUES (1165, 173, '111011010010', 12);
INSERT INTO `sys_water_mark` VALUES (1166, 174, '111011010011', 12);
INSERT INTO `sys_water_mark` VALUES (1167, 175, '111011010100', 12);
INSERT INTO `sys_water_mark` VALUES (1168, 176, '111011010101', 12);
INSERT INTO `sys_water_mark` VALUES (1169, 177, '111011010110', 12);
INSERT INTO `sys_water_mark` VALUES (1170, 178, '111011010111', 12);
INSERT INTO `sys_water_mark` VALUES (1171, 179, '111011011000', 12);
INSERT INTO `sys_water_mark` VALUES (1172, 180, '111011011001', 12);
INSERT INTO `sys_water_mark` VALUES (1173, 181, '111011011010', 12);
INSERT INTO `sys_water_mark` VALUES (1174, 182, '111011011011', 12);
INSERT INTO `sys_water_mark` VALUES (1175, 183, '111011011100', 12);
INSERT INTO `sys_water_mark` VALUES (1176, 184, '111011011101', 12);
INSERT INTO `sys_water_mark` VALUES (1177, 185, '111011011110', 12);
INSERT INTO `sys_water_mark` VALUES (1178, 186, '111011100001', 12);
INSERT INTO `sys_water_mark` VALUES (1179, 187, '111011100010', 12);
INSERT INTO `sys_water_mark` VALUES (1180, 188, '111011100011', 12);
INSERT INTO `sys_water_mark` VALUES (1181, 189, '111011100100', 12);
INSERT INTO `sys_water_mark` VALUES (1182, 190, '111011100101', 12);
INSERT INTO `sys_water_mark` VALUES (1183, 191, '111011100110', 12);
INSERT INTO `sys_water_mark` VALUES (1184, 192, '111011100111', 12);
INSERT INTO `sys_water_mark` VALUES (1185, 193, '111011101000', 12);
INSERT INTO `sys_water_mark` VALUES (1186, 194, '111011101001', 12);
INSERT INTO `sys_water_mark` VALUES (1187, 195, '111011101010', 12);
INSERT INTO `sys_water_mark` VALUES (1188, 196, '111011101011', 12);
INSERT INTO `sys_water_mark` VALUES (1189, 197, '111011101100', 12);
INSERT INTO `sys_water_mark` VALUES (1190, 198, '111011101101', 12);
INSERT INTO `sys_water_mark` VALUES (1191, 199, '111011101110', 12);
INSERT INTO `sys_water_mark` VALUES (1192, 200, '111011101111', 12);
INSERT INTO `sys_water_mark` VALUES (1193, 201, '111011110000', 12);
INSERT INTO `sys_water_mark` VALUES (1194, 202, '111011110001', 12);
INSERT INTO `sys_water_mark` VALUES (1195, 203, '111011110010', 12);
INSERT INTO `sys_water_mark` VALUES (1196, 204, '111011110011', 12);
INSERT INTO `sys_water_mark` VALUES (1197, 205, '111011110100', 12);
INSERT INTO `sys_water_mark` VALUES (1198, 206, '111011110101', 12);
INSERT INTO `sys_water_mark` VALUES (1199, 207, '111011110110', 12);
INSERT INTO `sys_water_mark` VALUES (1200, 208, '111011110111', 12);
INSERT INTO `sys_water_mark` VALUES (1201, 209, '111100001000', 12);
INSERT INTO `sys_water_mark` VALUES (1202, 210, '111100001001', 12);
INSERT INTO `sys_water_mark` VALUES (1203, 211, '111100001010', 12);
INSERT INTO `sys_water_mark` VALUES (1204, 212, '111100001011', 12);
INSERT INTO `sys_water_mark` VALUES (1205, 213, '111100001100', 12);
INSERT INTO `sys_water_mark` VALUES (1206, 214, '111100001101', 12);
INSERT INTO `sys_water_mark` VALUES (1207, 215, '111100001110', 12);
INSERT INTO `sys_water_mark` VALUES (1208, 216, '111100001111', 12);
INSERT INTO `sys_water_mark` VALUES (1209, 217, '111100010000', 12);
INSERT INTO `sys_water_mark` VALUES (1210, 218, '111100010001', 12);
INSERT INTO `sys_water_mark` VALUES (1211, 219, '111100010010', 12);
INSERT INTO `sys_water_mark` VALUES (1212, 220, '111100010011', 12);
INSERT INTO `sys_water_mark` VALUES (1213, 221, '111100010100', 12);
INSERT INTO `sys_water_mark` VALUES (1214, 222, '111100010101', 12);
INSERT INTO `sys_water_mark` VALUES (1215, 223, '111100010110', 12);
INSERT INTO `sys_water_mark` VALUES (1216, 224, '111100010111', 12);
INSERT INTO `sys_water_mark` VALUES (1217, 225, '111100011000', 12);
INSERT INTO `sys_water_mark` VALUES (1218, 226, '111100011001', 12);
INSERT INTO `sys_water_mark` VALUES (1219, 227, '111100011010', 12);
INSERT INTO `sys_water_mark` VALUES (1220, 228, '111100011011', 12);
INSERT INTO `sys_water_mark` VALUES (1221, 229, '111100011100', 12);
INSERT INTO `sys_water_mark` VALUES (1222, 230, '111100011101', 12);
INSERT INTO `sys_water_mark` VALUES (1223, 231, '111100011110', 12);
INSERT INTO `sys_water_mark` VALUES (1224, 232, '111100100001', 12);
INSERT INTO `sys_water_mark` VALUES (1225, 233, '111100100010', 12);
INSERT INTO `sys_water_mark` VALUES (1226, 234, '111100100011', 12);
INSERT INTO `sys_water_mark` VALUES (1227, 235, '111100100100', 12);
INSERT INTO `sys_water_mark` VALUES (1228, 236, '111100100101', 12);
INSERT INTO `sys_water_mark` VALUES (1229, 237, '111100100110', 12);
INSERT INTO `sys_water_mark` VALUES (1230, 238, '111100100111', 12);
INSERT INTO `sys_water_mark` VALUES (1231, 239, '111100101000', 12);
INSERT INTO `sys_water_mark` VALUES (1232, 240, '111100101001', 12);
INSERT INTO `sys_water_mark` VALUES (1233, 241, '111100101010', 12);
INSERT INTO `sys_water_mark` VALUES (1234, 242, '111100101011', 12);
INSERT INTO `sys_water_mark` VALUES (1235, 243, '111100101100', 12);
INSERT INTO `sys_water_mark` VALUES (1236, 244, '111100101101', 12);
INSERT INTO `sys_water_mark` VALUES (1237, 245, '111100101110', 12);
INSERT INTO `sys_water_mark` VALUES (1238, 246, '111100101111', 12);
INSERT INTO `sys_water_mark` VALUES (1239, 247, '111100110000', 12);
INSERT INTO `sys_water_mark` VALUES (1240, 248, '111100110001', 12);
INSERT INTO `sys_water_mark` VALUES (1241, 249, '111100110010', 12);
INSERT INTO `sys_water_mark` VALUES (1242, 250, '111100110011', 12);
INSERT INTO `sys_water_mark` VALUES (1243, 251, '111100110100', 12);
INSERT INTO `sys_water_mark` VALUES (1244, 252, '111100110101', 12);
INSERT INTO `sys_water_mark` VALUES (1245, 253, '111100110110', 12);
INSERT INTO `sys_water_mark` VALUES (1246, 254, '111100110111', 12);
INSERT INTO `sys_water_mark` VALUES (1247, 255, '111100111000', 12);
INSERT INTO `sys_water_mark` VALUES (1248, 256, '111100111001', 12);
INSERT INTO `sys_water_mark` VALUES (1249, 257, '111100111010', 12);
INSERT INTO `sys_water_mark` VALUES (1250, 258, '111100111011', 12);
INSERT INTO `sys_water_mark` VALUES (1251, 259, '111100111100', 12);
INSERT INTO `sys_water_mark` VALUES (1252, 260, '111100111101', 12);
INSERT INTO `sys_water_mark` VALUES (1253, 261, '111101000010', 12);
INSERT INTO `sys_water_mark` VALUES (1254, 262, '111101000011', 12);
INSERT INTO `sys_water_mark` VALUES (1255, 263, '111101000100', 12);
INSERT INTO `sys_water_mark` VALUES (1256, 264, '111101000101', 12);
INSERT INTO `sys_water_mark` VALUES (1257, 265, '111101000110', 12);
INSERT INTO `sys_water_mark` VALUES (1258, 266, '111101000111', 12);
INSERT INTO `sys_water_mark` VALUES (1259, 267, '111101001000', 12);
INSERT INTO `sys_water_mark` VALUES (1260, 268, '111101001001', 12);
INSERT INTO `sys_water_mark` VALUES (1261, 269, '111101001010', 12);
INSERT INTO `sys_water_mark` VALUES (1262, 270, '111101001011', 12);
INSERT INTO `sys_water_mark` VALUES (1263, 271, '111101001100', 12);
INSERT INTO `sys_water_mark` VALUES (1264, 272, '111101001101', 12);
INSERT INTO `sys_water_mark` VALUES (1265, 273, '111101001110', 12);
INSERT INTO `sys_water_mark` VALUES (1266, 274, '111101001111', 12);
INSERT INTO `sys_water_mark` VALUES (1267, 275, '111101010000', 12);
INSERT INTO `sys_water_mark` VALUES (1268, 276, '111101010001', 12);
INSERT INTO `sys_water_mark` VALUES (1269, 277, '111101010010', 12);
INSERT INTO `sys_water_mark` VALUES (1270, 278, '111101010011', 12);
INSERT INTO `sys_water_mark` VALUES (1271, 279, '111101010100', 12);
INSERT INTO `sys_water_mark` VALUES (1272, 280, '111101010101', 12);
INSERT INTO `sys_water_mark` VALUES (1273, 281, '111101010110', 12);
INSERT INTO `sys_water_mark` VALUES (1274, 282, '111101010111', 12);
INSERT INTO `sys_water_mark` VALUES (1275, 283, '111101011000', 12);
INSERT INTO `sys_water_mark` VALUES (1276, 284, '111101011001', 12);
INSERT INTO `sys_water_mark` VALUES (1277, 285, '111101011010', 12);
INSERT INTO `sys_water_mark` VALUES (1278, 286, '111101011011', 12);
INSERT INTO `sys_water_mark` VALUES (1279, 287, '111101011100', 12);
INSERT INTO `sys_water_mark` VALUES (1280, 288, '111101011101', 12);
INSERT INTO `sys_water_mark` VALUES (1281, 289, '111101011110', 12);
INSERT INTO `sys_water_mark` VALUES (1282, 290, '111101100001', 12);
INSERT INTO `sys_water_mark` VALUES (1283, 291, '111101100010', 12);
INSERT INTO `sys_water_mark` VALUES (1284, 292, '111101100011', 12);
INSERT INTO `sys_water_mark` VALUES (1285, 293, '111101100100', 12);
INSERT INTO `sys_water_mark` VALUES (1286, 294, '111101100101', 12);
INSERT INTO `sys_water_mark` VALUES (1287, 295, '111101100110', 12);
INSERT INTO `sys_water_mark` VALUES (1288, 296, '111101100111', 12);
INSERT INTO `sys_water_mark` VALUES (1289, 297, '111101101000', 12);
INSERT INTO `sys_water_mark` VALUES (1290, 298, '111101101001', 12);
INSERT INTO `sys_water_mark` VALUES (1291, 299, '111101101010', 12);
INSERT INTO `sys_water_mark` VALUES (1292, 300, '111101101011', 12);
INSERT INTO `sys_water_mark` VALUES (1293, 301, '111101101100', 12);
INSERT INTO `sys_water_mark` VALUES (1294, 302, '111101101101', 12);
INSERT INTO `sys_water_mark` VALUES (1295, 303, '111101101110', 12);
INSERT INTO `sys_water_mark` VALUES (1296, 304, '111101101111', 12);
INSERT INTO `sys_water_mark` VALUES (1297, 305, '111101110000', 12);
INSERT INTO `sys_water_mark` VALUES (1298, 306, '111101110001', 12);
INSERT INTO `sys_water_mark` VALUES (1299, 307, '111101110010', 12);
INSERT INTO `sys_water_mark` VALUES (1300, 308, '111101110011', 12);
INSERT INTO `sys_water_mark` VALUES (1301, 309, '111101110100', 12);
INSERT INTO `sys_water_mark` VALUES (1302, 310, '111101110101', 12);
INSERT INTO `sys_water_mark` VALUES (1303, 311, '111101110110', 12);
INSERT INTO `sys_water_mark` VALUES (1304, 312, '111101110111', 12);
INSERT INTO `sys_water_mark` VALUES (1305, 313, '111101111000', 12);
INSERT INTO `sys_water_mark` VALUES (1306, 314, '111101111001', 12);
INSERT INTO `sys_water_mark` VALUES (1307, 315, '111101111010', 12);
INSERT INTO `sys_water_mark` VALUES (1308, 316, '111101111011', 12);

-- ----------------------------
-- Table structure for sys_workflow_column
-- ----------------------------
DROP TABLE IF EXISTS `sys_workflow_column`;
CREATE TABLE `sys_workflow_column`  (
  `pid` int(10) NOT NULL AUTO_INCREMENT COMMENT '自增主键',
  `form_type` tinyint(2) NOT NULL COMMENT '表单类型：1 刻章 2 用印 3状态变更 4 移交 5 换章',
  `column_value` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '列字段',
  `column_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '列名称',
  `sort` tinyint(2) NOT NULL COMMENT '排序',
  `column_width` int(3) NOT NULL COMMENT '列宽，单位：%',
  `column_type` tinyint(2) NOT NULL COMMENT '列类型：1 列表展示；2 导出模板',
  `is_checked` tinyint(2) NOT NULL COMMENT '是否选中：1 未选中；2 选中',
  `parent_column` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '上一级列字段',
  PRIMARY KEY (`pid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 129 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_workflow_column
-- ----------------------------
INSERT INTO `sys_workflow_column` VALUES (1, 1, 'billNo', '流程编号', 1, 10, 1, 2, '');
INSERT INTO `sys_workflow_column` VALUES (2, 1, 'title', '标题', 2, 10, 1, 2, '');
INSERT INTO `sys_workflow_column` VALUES (3, 1, 'creatorName', '申请人', 3, 10, 1, 2, '');
INSERT INTO `sys_workflow_column` VALUES (4, 1, 'departmentName', '申请人部门', 4, 10, 1, 2, '');
INSERT INTO `sys_workflow_column` VALUES (5, 1, 'createSealStatuses', '印章明细', 5, 30, 1, 2, '');
INSERT INTO `sys_workflow_column` VALUES (6, 1, 'createDate', '申请时间', 6, 10, 1, 2, '');
INSERT INTO `sys_workflow_column` VALUES (7, 1, 'status', '审批状态', 7, 10, 1, 2, '');
INSERT INTO `sys_workflow_column` VALUES (8, 2, 'billNo', '流程编号', 1, 10, 1, 2, '');
INSERT INTO `sys_workflow_column` VALUES (9, 2, 'title', '标题', 2, 10, 1, 2, '');
INSERT INTO `sys_workflow_column` VALUES (10, 2, 'creatorName', '申请人', 3, 10, 1, 2, '');
INSERT INTO `sys_workflow_column` VALUES (11, 2, 'departmentName', '申请人部门', 4, 10, 1, 2, '');
INSERT INTO `sys_workflow_column` VALUES (12, 2, 'usedSealStatuses', '印章明细', 5, 30, 1, 2, '');
INSERT INTO `sys_workflow_column` VALUES (13, 2, 'createDate', '申请时间', 6, 10, 1, 2, '');
INSERT INTO `sys_workflow_column` VALUES (14, 2, 'recentUsedDate', '最近用印时间', 7, 10, 1, 2, '');
INSERT INTO `sys_workflow_column` VALUES (15, 2, 'warningCount', '预警内容', 8, 10, 1, 2, '');
INSERT INTO `sys_workflow_column` VALUES (16, 2, 'status', '审批状态', 9, 10, 1, 2, '');
INSERT INTO `sys_workflow_column` VALUES (17, 3, 'billNo', '流程编号', 1, 10, 1, 2, '');
INSERT INTO `sys_workflow_column` VALUES (18, 3, 'title', '标题', 2, 10, 1, 2, '');
INSERT INTO `sys_workflow_column` VALUES (19, 3, 'creatorName', '申请人', 3, 10, 1, 2, '');
INSERT INTO `sys_workflow_column` VALUES (20, 3, 'departmentName', '申请人部门', 4, 10, 1, 2, '');
INSERT INTO `sys_workflow_column` VALUES (21, 3, 'changeSealStatuses', '印章明细', 5, 30, 1, 2, '');
INSERT INTO `sys_workflow_column` VALUES (22, 3, 'createDate', '申请时间', 6, 10, 1, 2, '');
INSERT INTO `sys_workflow_column` VALUES (23, 3, 'status', '审批状态', 7, 10, 1, 2, '');
INSERT INTO `sys_workflow_column` VALUES (24, 4, 'billNo', '流程编号', 1, 10, 1, 2, '');
INSERT INTO `sys_workflow_column` VALUES (25, 4, 'title', '标题', 2, 10, 1, 2, '');
INSERT INTO `sys_workflow_column` VALUES (26, 4, 'creatorName', '申请人', 3, 10, 1, 2, '');
INSERT INTO `sys_workflow_column` VALUES (27, 4, 'departmentName', '申请人部门', 4, 10, 1, 2, '');
INSERT INTO `sys_workflow_column` VALUES (28, 4, 'transferDetail', '印章明细', 5, 30, 1, 2, '');
INSERT INTO `sys_workflow_column` VALUES (29, 4, 'createDate', '申请时间', 6, 10, 1, 2, '');
INSERT INTO `sys_workflow_column` VALUES (30, 4, 'status', '审批状态', 7, 10, 1, 2, '');
INSERT INTO `sys_workflow_column` VALUES (31, 5, 'billNo', '流程编号', 1, 10, 1, 2, '');
INSERT INTO `sys_workflow_column` VALUES (32, 5, 'title', '标题', 2, 10, 1, 2, '');
INSERT INTO `sys_workflow_column` VALUES (33, 5, 'creatorName', '申请人', 3, 10, 1, 2, '');
INSERT INTO `sys_workflow_column` VALUES (34, 5, 'departmentName', '申请人部门', 4, 10, 1, 2, '');
INSERT INTO `sys_workflow_column` VALUES (35, 5, 'changeDetail', '印章明细', 5, 30, 1, 2, '');
INSERT INTO `sys_workflow_column` VALUES (36, 5, 'createDate', '申请时间', 6, 10, 1, 2, '');
INSERT INTO `sys_workflow_column` VALUES (37, 5, 'status', '审批状态', 7, 10, 1, 2, '');
INSERT INTO `sys_workflow_column` VALUES (38, 1, 'billNo', '流程编号', 1, 25, 2, 2, '');
INSERT INTO `sys_workflow_column` VALUES (39, 1, 'title', '标题', 2, 25, 2, 2, '');
INSERT INTO `sys_workflow_column` VALUES (40, 1, 'showData', '其它数据', 3, 25, 2, 2, '');
INSERT INTO `sys_workflow_column` VALUES (41, 1, 'creatorName', '申请人', 4, 25, 2, 2, '');
INSERT INTO `sys_workflow_column` VALUES (42, 1, 'departmentName', '申请人部门', 5, 25, 2, 2, '');
INSERT INTO `sys_workflow_column` VALUES (43, 1, 'createDate', '申请时间', 6, 25, 2, 2, '');
INSERT INTO `sys_workflow_column` VALUES (44, 1, 'createSealStatuses', '刻章明细', 7, 80, 2, 2, '');
INSERT INTO `sys_workflow_column` VALUES (45, 1, 'approvalRecord', '审批记录', 8, 50, 2, 2, '');
INSERT INTO `sys_workflow_column` VALUES (46, 1, 'status', '审批状态', 9, 10, 2, 2, '');
INSERT INTO `sys_workflow_column` VALUES (47, 2, 'billNo', '流程编号', 1, 25, 2, 2, '');
INSERT INTO `sys_workflow_column` VALUES (48, 2, 'title', '标题', 2, 25, 2, 2, '');
INSERT INTO `sys_workflow_column` VALUES (49, 2, 'remark', '申请事由', 3, 25, 2, 2, '');
INSERT INTO `sys_workflow_column` VALUES (50, 2, 'showData', '其它数据', 4, 25, 2, 2, '');
INSERT INTO `sys_workflow_column` VALUES (51, 2, 'warningCount', '预警次数', 5, 10, 2, 2, '');
INSERT INTO `sys_workflow_column` VALUES (52, 2, 'creatorName', '申请人', 6, 25, 2, 2, '');
INSERT INTO `sys_workflow_column` VALUES (53, 2, 'departmentName', '申请人部门', 7, 25, 2, 2, '');
INSERT INTO `sys_workflow_column` VALUES (54, 2, 'createDate', '申请时间', 8, 25, 2, 2, '');
INSERT INTO `sys_workflow_column` VALUES (55, 2, 'recentUsedDate', '最近用印时间', 9, 25, 2, 2, '');
INSERT INTO `sys_workflow_column` VALUES (56, 2, 'usedSealStatuses', '用印明细', 10, 160, 2, 2, '');
INSERT INTO `sys_workflow_column` VALUES (57, 2, 'approvalRecord', '审批记录', 11, 50, 2, 2, '');
INSERT INTO `sys_workflow_column` VALUES (58, 2, 'status', '审批状态', 12, 10, 2, 2, '');
INSERT INTO `sys_workflow_column` VALUES (59, 3, 'billNo', '流程编号', 1, 25, 2, 2, '');
INSERT INTO `sys_workflow_column` VALUES (60, 3, 'title', '标题', 2, 25, 2, 2, '');
INSERT INTO `sys_workflow_column` VALUES (61, 3, 'showData', '其它数据', 3, 25, 2, 2, '');
INSERT INTO `sys_workflow_column` VALUES (62, 3, 'creatorName', '申请人', 4, 25, 2, 2, '');
INSERT INTO `sys_workflow_column` VALUES (63, 3, 'departmentName', '申请人部门', 5, 25, 2, 2, '');
INSERT INTO `sys_workflow_column` VALUES (64, 3, 'createDate', '申请时间', 6, 25, 2, 2, '');
INSERT INTO `sys_workflow_column` VALUES (65, 3, 'changeSealStatuses', '印章状态变更明细', 7, 40, 2, 2, '');
INSERT INTO `sys_workflow_column` VALUES (66, 3, 'approvalRecord', '审批记录', 8, 50, 2, 2, '');
INSERT INTO `sys_workflow_column` VALUES (67, 3, 'status', '审批状态', 9, 10, 2, 2, '');
INSERT INTO `sys_workflow_column` VALUES (68, 4, 'billNo', '流程编号', 1, 25, 2, 2, '');
INSERT INTO `sys_workflow_column` VALUES (69, 4, 'title', '标题', 2, 25, 2, 2, '');
INSERT INTO `sys_workflow_column` VALUES (70, 4, 'showData', '其它数据', 3, 25, 2, 2, '');
INSERT INTO `sys_workflow_column` VALUES (71, 4, 'creatorName', '申请人', 4, 25, 2, 2, '');
INSERT INTO `sys_workflow_column` VALUES (72, 4, 'departmentName', '申请人部门', 5, 25, 2, 2, '');
INSERT INTO `sys_workflow_column` VALUES (73, 4, 'createDate', '申请时间', 6, 25, 2, 2, '');
INSERT INTO `sys_workflow_column` VALUES (74, 4, 'transferDetail', '移交明细', 7, 25, 2, 2, '');
INSERT INTO `sys_workflow_column` VALUES (75, 4, 'approvalRecord', '审批记录', 8, 50, 2, 2, '');
INSERT INTO `sys_workflow_column` VALUES (76, 4, 'status', '审批状态', 9, 10, 2, 2, '');
INSERT INTO `sys_workflow_column` VALUES (77, 5, 'billNo', '流程编号', 1, 25, 2, 2, '');
INSERT INTO `sys_workflow_column` VALUES (78, 5, 'title', '标题', 2, 25, 2, 2, '');
INSERT INTO `sys_workflow_column` VALUES (79, 5, 'showData', '其它数据', 3, 25, 2, 2, '');
INSERT INTO `sys_workflow_column` VALUES (80, 5, 'creatorName', '申请人', 4, 25, 2, 2, '');
INSERT INTO `sys_workflow_column` VALUES (81, 5, 'departmentName', '申请人部门', 5, 25, 2, 2, '');
INSERT INTO `sys_workflow_column` VALUES (82, 5, 'createDate', '申请时间', 6, 25, 2, 2, '');
INSERT INTO `sys_workflow_column` VALUES (83, 5, 'changeDetail', '换章明细', 7, 50, 2, 2, '');
INSERT INTO `sys_workflow_column` VALUES (84, 5, 'approvalRecord', '审批记录', 8, 50, 2, 2, '');
INSERT INTO `sys_workflow_column` VALUES (85, 5, 'status', '审批状态', 9, 10, 2, 2, '');
INSERT INTO `sys_workflow_column` VALUES (86, 1, 'sealName', '印章名称', 1, 10, 1, 2, 'createSealStatuses');
INSERT INTO `sys_workflow_column` VALUES (87, 1, 'sealShape', '印章形状', 2, 10, 1, 2, 'createSealStatuses');
INSERT INTO `sys_workflow_column` VALUES (88, 1, 'sealMaterial', '印章材质', 3, 10, 1, 2, 'createSealStatuses');
INSERT INTO `sys_workflow_column` VALUES (89, 1, 'sealType', '印章类型', 4, 10, 1, 4, 'createSealStatuses');
INSERT INTO `sys_workflow_column` VALUES (90, 1, 'sealDept', '印章所属部门', 5, 10, 1, 2, 'createSealStatuses');
INSERT INTO `sys_workflow_column` VALUES (91, 2, 'sealName', '印章名称', 1, 10, 1, 2, 'usedSealStatuses');
INSERT INTO `sys_workflow_column` VALUES (92, 2, 'realName', '用印人', 2, 10, 1, 2, 'usedSealStatuses');
INSERT INTO `sys_workflow_column` VALUES (93, 2, 'applyCount', '申请次数', 3, 10, 1, 2, 'usedSealStatuses');
INSERT INTO `sys_workflow_column` VALUES (94, 2, 'usedCount', '已用次数', 4, 10, 1, 2, 'usedSealStatuses');
INSERT INTO `sys_workflow_column` VALUES (95, 2, 'residueCrossPageSealCount', '骑缝章剩余次数', 5, 10, 1, 2, 'usedSealStatuses');
INSERT INTO `sys_workflow_column` VALUES (96, 2, 'verificationCodeCount', '验证码解锁次数', 6, 10, 1, 2, 'usedSealStatuses');
INSERT INTO `sys_workflow_column` VALUES (97, 2, 'fingerprintCount', '指纹解锁次数', 7, 10, 1, 2, 'usedSealStatuses');
INSERT INTO `sys_workflow_column` VALUES (98, 2, 'addStatus', '补签', 8, 10, 1, 2, 'usedSealStatuses');
INSERT INTO `sys_workflow_column` VALUES (99, 2, 'lastAddress', '最后使用地址', 9, 10, 1, 2, 'usedSealStatuses');
INSERT INTO `sys_workflow_column` VALUES (100, 3, 'sealName', '印章名称', 1, 10, 1, 2, 'changeSealStatuses');
INSERT INTO `sys_workflow_column` VALUES (101, 3, 'sealStatus', '印章状态', 2, 10, 1, 2, 'changeSealStatuses');
INSERT INTO `sys_workflow_column` VALUES (102, 4, 'sealName', '印章名称', 1, 10, 1, 2, 'transferDetail');
INSERT INTO `sys_workflow_column` VALUES (103, 4, 'handOverPerson', '移交人', 2, 10, 1, 2, 'transferDetail');
INSERT INTO `sys_workflow_column` VALUES (104, 4, 'takeInPerson', '接收人', 3, 10, 1, 2, 'transferDetail');
INSERT INTO `sys_workflow_column` VALUES (105, 5, 'sealName', '变更印章名称', 1, 10, 1, 2, 'changeDetail');
INSERT INTO `sys_workflow_column` VALUES (106, 5, 'newName', '新印章名称', 2, 10, 1, 2, 'changeDetail');
INSERT INTO `sys_workflow_column` VALUES (107, 1, 'sealName', '印章名称', 1, 25, 2, 2, 'createSealStatuses');
INSERT INTO `sys_workflow_column` VALUES (108, 1, 'sealShape', '印章形状', 2, 15, 2, 2, 'createSealStatuses');
INSERT INTO `sys_workflow_column` VALUES (109, 1, 'sealMaterial', '印章材质', 3, 10, 2, 2, 'createSealStatuses');
INSERT INTO `sys_workflow_column` VALUES (110, 1, 'sealType', '印章类型', 4, 10, 2, 2, 'createSealStatuses');
INSERT INTO `sys_workflow_column` VALUES (111, 1, 'sealDept', '印章所属部门', 5, 20, 2, 2, 'createSealStatuses');
INSERT INTO `sys_workflow_column` VALUES (112, 2, 'sealName', '印章名称', 1, 25, 2, 2, 'usedSealStatuses');
INSERT INTO `sys_workflow_column` VALUES (113, 2, 'realName', '用印人', 2, 15, 2, 2, 'usedSealStatuses');
INSERT INTO `sys_workflow_column` VALUES (114, 2, 'applyCount', '申请次数', 3, 10, 2, 2, 'usedSealStatuses');
INSERT INTO `sys_workflow_column` VALUES (115, 2, 'usedCount', '已用次数', 4, 10, 2, 2, 'usedSealStatuses');
INSERT INTO `sys_workflow_column` VALUES (116, 2, 'residueCrossPageSealCount', '骑缝章剩余次数', 5, 20, 2, 2, 'usedSealStatuses');
INSERT INTO `sys_workflow_column` VALUES (117, 2, 'verificationCodeCount', '验证码解锁次数', 6, 20, 2, 2, 'usedSealStatuses');
INSERT INTO `sys_workflow_column` VALUES (118, 2, 'fingerprintCount', '指纹解锁次数', 7, 20, 2, 2, 'usedSealStatuses');
INSERT INTO `sys_workflow_column` VALUES (119, 2, 'addStatus', '补签', 8, 10, 2, 2, 'usedSealStatuses');
INSERT INTO `sys_workflow_column` VALUES (120, 2, 'lastAddress', '最后使用地址', 9, 50, 2, 2, 'usedSealStatuses');
INSERT INTO `sys_workflow_column` VALUES (121, 3, 'sealName', '印章名称', 1, 25, 2, 2, 'changeSealStatuses');
INSERT INTO `sys_workflow_column` VALUES (122, 3, 'sealStatus', '印章状态', 2, 15, 2, 2, 'changeSealStatuses');
INSERT INTO `sys_workflow_column` VALUES (123, 4, 'sealName', '印章名称', 1, 25, 2, 2, 'transferDetail');
INSERT INTO `sys_workflow_column` VALUES (124, 4, 'handOverPerson', '移交人', 2, 15, 2, 2, 'transferDetail');
INSERT INTO `sys_workflow_column` VALUES (125, 4, 'takeInPerson', '接收人', 3, 15, 2, 2, 'transferDetail');
INSERT INTO `sys_workflow_column` VALUES (126, 5, 'sealName', '变更印章名称', 1, 25, 2, 2, 'changeDetail');
INSERT INTO `sys_workflow_column` VALUES (127, 5, 'newName', '新印章名称', 2, 25, 2, 2, 'changeDetail');
INSERT INTO `sys_workflow_column` VALUES (128, 2, 'sealUsage', '用印次数使用率', 10, 15, 2, 2, 'usedSealStatuses');

-- ----------------------------
-- Table structure for t_temp_file
-- ----------------------------
DROP TABLE IF EXISTS `t_temp_file`;
CREATE TABLE `t_temp_file`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `image_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '图片id',
  `path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '路径',
  `server_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '服务端代码',
  `params` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '文件参数',
  `type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '类型',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '公司id',
  `error` int(11) NULL DEFAULT NULL COMMENT '0处理完成1未处理完成',
  `create_date` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建日期',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 151 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_temp_file
-- ----------------------------

-- ----------------------------
-- Table structure for theme_setting
-- ----------------------------
DROP TABLE IF EXISTS `theme_setting`;
CREATE TABLE `theme_setting`  (
  `pid` int(10) NOT NULL AUTO_INCREMENT,
  `rgba_type` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '顶部、侧边栏、主色',
  `rgba_value` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '颜色rgba值',
  `create_date` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '公司ID',
  `type` tinyint(1) NOT NULL COMMENT '1 系统默认，2 当前，3 历史',
  PRIMARY KEY (`pid`) USING BTREE,
  INDEX `theme_setting_type_company_id_create_date`(`type`, `company_id`, `create_date`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 8 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of theme_setting
-- ----------------------------
INSERT INTO `theme_setting` VALUES (1, 'top_background', 'rgba(12,35,63,1)', '2021-03-01 11:17:11', '', 1);
INSERT INTO `theme_setting` VALUES (2, 'top_font', 'rgba(238,238,238,1)', '2021-03-01 11:17:11', '', 1);
INSERT INTO `theme_setting` VALUES (3, 'top_icon', 'rgba(255,255,255,1)', '2021-03-01 11:17:11', '', 1);
INSERT INTO `theme_setting` VALUES (4, 'side_background', 'rgba(11,47,93,1)', '2021-03-01 11:17:11', '', 1);
INSERT INTO `theme_setting` VALUES (5, 'side_font', 'rgba(204,208,215,1)', '2021-03-01 11:17:11', '', 1);
INSERT INTO `theme_setting` VALUES (6, 'side_icon', 'rgba(182,193,207,1)', '2021-03-01 11:17:11', '', 1);
INSERT INTO `theme_setting` VALUES (7, 'theme', 'rgba(10,123,255,1)', '2021-03-01 11:17:11', '', 1);

-- ----------------------------
-- Table structure for transfer_used_seal_setting
-- ----------------------------
DROP TABLE IF EXISTS `transfer_used_seal_setting`;
CREATE TABLE `transfer_used_seal_setting`  (
  `code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of transfer_used_seal_setting
-- ----------------------------

-- ----------------------------
-- Table structure for w_form_base
-- ----------------------------
DROP TABLE IF EXISTS `w_form_base`;
CREATE TABLE `w_form_base`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `form_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '表单名称',
  `form_data` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '物理表名称',
  `status` int(1) NULL DEFAULT NULL COMMENT '图标',
  `form_type` int(1) NULL DEFAULT NULL COMMENT '表单分类',
  `create_date` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `creator` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业号',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of w_form_base
-- ----------------------------

-- ----------------------------
-- Table structure for w_workflow_apply
-- ----------------------------
DROP TABLE IF EXISTS `w_workflow_apply`;
CREATE TABLE `w_workflow_apply`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `workflow_base_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '实例id',
  `form_type` tinyint(4) NOT NULL COMMENT '表单类型',
  `title` varchar(350) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '标题',
  `apply_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '申请人id',
  `apply_user_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '申请人',
  `status` tinyint(1) NOT NULL DEFAULT 0 COMMENT '状态（0未开始，1审核处理中，2结束，3已授权,4终止，5归档）',
  `step_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '步骤名称',
  `last_step_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '最后流程步编码',
  `creator` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人',
  `create_date` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `updater` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '更新人',
  `update_date` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业号',
  `depart_orgNo` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '',
  `del_status` tinyint(4) NOT NULL DEFAULT 0 COMMENT '状态0在用1删除',
  `department_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '所属部门或者子公司id',
  `imp_status` tinyint(1) NOT NULL DEFAULT 0 COMMENT '流程紧急状态，0普通（默认值），1加急',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE,
  INDEX `idx_apply_user_id`(`apply_user_id`(36)) USING BTREE,
  INDEX `idx_creator_create_date`(`creator`, `create_date`) USING BTREE,
  INDEX `idx_last_step_id`(`last_step_id`) USING BTREE,
  INDEX `idx_create_date`(`create_date`) USING BTREE,
  INDEX `idx_del_wwa_status`(`del_status`) USING BTREE,
  INDEX `idx_status_form_type`(`status`, `form_type`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1948 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of w_workflow_apply
-- ----------------------------

-- ----------------------------
-- Table structure for w_workflow_apply_matrix_form
-- ----------------------------
DROP TABLE IF EXISTS `w_workflow_apply_matrix_form`;
CREATE TABLE `w_workflow_apply_matrix_form`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '主键',
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '业务唯一约束',
  `workflow_apply_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '工作流事项申请主键',
  `matrix_base_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '矩阵base主键',
  `form_key` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '作为矩阵对比条件的表单字段key',
  `form_value` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '作为矩阵对比条件的表单字段实际填写值',
  `form_content` varchar(350) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '作为矩阵对比条件的表单字段描述',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '企业id',
  `creator` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '创建人',
  `create_date` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建日期',
  `updater` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '变更人',
  `update_date` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '变更日期',
  `del_status` tinyint(2) NOT NULL DEFAULT 0 COMMENT '0在用1删除',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `uniq_id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '申请事项涉及矩阵数据表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of w_workflow_apply_matrix_form
-- ----------------------------

-- ----------------------------
-- Table structure for w_workflow_base
-- ----------------------------
DROP TABLE IF EXISTS `w_workflow_base`;
CREATE TABLE `w_workflow_base`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '流程名称',
  `icon` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '图标',
  `del_status` tinyint(1) NOT NULL DEFAULT 0 COMMENT '状态0在用1删除',
  `create_date` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业号',
  `workflow_type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程目录',
  `order_index` int(11) NULL DEFAULT NULL COMMENT '排序号',
  `parent_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '原流程id',
  `form_type` tinyint(1) NULL DEFAULT NULL COMMENT '表单类型',
  `user_type` tinyint(1) NULL DEFAULT NULL COMMENT '可见用户类别0全部1部门角色2部门3角色4人员',
  `version` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '版本',
  `expired_policy` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '过期策略',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE,
  INDEX `idx_form_type`(`form_type`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 807 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of w_workflow_base
-- ----------------------------
INSERT INTO `w_workflow_base` VALUES (801, '677f2cec-04d4-437b-b34d-01e1391b8429', '接口专用用印流程', 'icon19', 1, '2020-08-26 14:35:28', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '其他', 0, '1f6b36ce-b785-42c4-936d-bfa9190652bf', 2, 4, 'version_4', NULL);
INSERT INTO `w_workflow_base` VALUES (802, 'a4f6e27f-c28c-4bee-94b8-ebd523721f0e', '接口专用刻章流程', 'icon19', 0, '2020-12-07 21:09:20', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '其他', 0, '15ce68e9-ca09-414f-98f8-cfa4fb296745', 1, 4, 'version_2', NULL);
INSERT INTO `w_workflow_base` VALUES (803, 'ec291937-f62c-430e-8f9e-c4f911dd4715', '接口专用状态变更流程', 'icon19', 0, '2020-12-07 21:08:58', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '其他', 0, '76de32a2-7346-49f4-ad72-9952a0ba9e17', 3, 4, 'version_2', NULL);
INSERT INTO `w_workflow_base` VALUES (804, 'ebab3419-58ac-42df-bcfd-e66f6cdedb63', '接口专用换章流程', 'icon19', 0, '2020-12-07 21:08:33', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '其他', 0, 'bfa58221-a135-4f8c-a8ff-7e3ba301b915', 5, 4, 'version_2', NULL);
INSERT INTO `w_workflow_base` VALUES (805, 'b4ffd58d-b0d8-4069-ab3f-889540afbbf5', '接口专用印章移交流程', 'icon19', 0, '2020-12-07 21:08:48', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '其他', 0, '8ce58de8-1d6c-4b37-acb3-2d328b51f88d', 4, 4, 'version_2', NULL);
INSERT INTO `w_workflow_base` VALUES (806, '5e5600b8-fdef-4e4d-a0ff-30ce26889a5d', '接口专用用印申请流程', 'icon19', 0, '2021-11-24 15:23:42', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '其他', 0, '1f6b36ce-b785-42c4-936d-bfa9190652bf', 2, 4, 'version_2', NULL);

-- ----------------------------
-- Table structure for w_workflow_base_matrix
-- ----------------------------
DROP TABLE IF EXISTS `w_workflow_base_matrix`;
CREATE TABLE `w_workflow_base_matrix`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '主键',
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '业务唯一约束',
  `workflow_base_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '流程base主键',
  `node_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '节点code',
  `matrix_base_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '矩阵base主键',
  `form_key` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '作为矩阵对比条件的表单字段key',
  `form_content` varchar(350) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '作为矩阵对比条件的表单字',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '企业id',
  `creator` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '创建人',
  `create_date` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建日期',
  `updater` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '更改人',
  `update_date` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '更改日期',
  `del_status` tinyint(2) NOT NULL DEFAULT 0 COMMENT '0在用1删除',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `uniq_id`(`id`) USING BTREE,
  INDEX `idxworkflow_base_id_node_code`(`workflow_base_id`, `node_code`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '工作流矩阵关联表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of w_workflow_base_matrix
-- ----------------------------

-- ----------------------------
-- Table structure for w_workflow_base_relation
-- ----------------------------
DROP TABLE IF EXISTS `w_workflow_base_relation`;
CREATE TABLE `w_workflow_base_relation`  (
  `pid` int(10) NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '关联 w_workflow_base 中ID',
  `meta_data` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '原始数据',
  `creator` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业号',
  `description` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '描述',
  `start_time` date NULL DEFAULT NULL COMMENT '开始日期',
  `end_time` date NULL DEFAULT NULL COMMENT '结束日期',
  `form_data` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '绑定表单',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 9 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of w_workflow_base_relation
-- ----------------------------
INSERT INTO `w_workflow_base_relation` VALUES (1, '677f2cec-04d4-437b-b34d-01e1391b8429', '{\"nodes\":[{\"settings\":{\"addSeal\":false,\"moveSeal\":false},\"nodetype\":8,\"color\":\"#3e75c7\",\"shape\":\"circle\",\"vEfcfa25a\":\"\",\"index\":0,\"label\":\"开始\",\"privilege\":[{\"formId\":\"title\",\"readable\":true,\"label\":\"标题\",\"required\":false,\"writable\":true},{\"formId\":\"sealDetail\",\"readable\":true,\"children\":[{\"formId\":\"sealName\",\"readable\":true,\"label\":\"印章名称\",\"required\":false,\"writable\":true},{\"formId\":\"applyCount\",\"readable\":true,\"label\":\"用印次数\",\"required\":false,\"writable\":true},{\"formId\":\"applyCrossPageSealCount\",\"readable\":true,\"label\":\"骑缝章次数\",\"required\":false,\"writable\":true},{\"formId\":\"takeOut\",\"readable\":true,\"label\":\"是否外带\",\"required\":false,\"writable\":true},{\"formId\":\"outStartDate\",\"readable\":true,\"label\":\"外带开始时间\",\"required\":false,\"writable\":true},{\"formId\":\"outEndDate\",\"readable\":true,\"label\":\"外带结束时间\",\"required\":false,\"writable\":true},{\"formId\":\"outAddress\",\"readable\":true,\"label\":\"外带地点\",\"required\":false,\"writable\":true}],\"label\":\"印章明细\",\"required\":false,\"writable\":true},{\"formId\":\"useSealfile\",\"readable\":true,\"label\":\"用印文件\",\"required\":false,\"writable\":true},{\"formId\":\"remark\",\"readable\":true,\"label\":\"用印事由\",\"required\":false,\"writable\":true}],\"matrix\":[],\"type\":\"node\",\"approverValue\":[],\"size\":\"72*72\",\"copySends\":[],\"x\":86,\"signType\":0,\"y\":179,\"id\":\"cbf7da34\",\"approverType\":0,\"riskHints\":\"\"},{\"settings\":{\"addSeal\":true,\"moveSeal\":false},\"nodetype\":2,\"color\":\"#0A7BFF\",\"shape\":\"flow-rect\",\"vEfcfa25a\":\"\",\"index\":3,\"label\":\"授权\",\"privilege\":[{\"formId\":\"ocr_102\",\"readable\":true,\"label\":\"ocr开关\",\"required\":false,\"writable\":false},{\"formId\":\"overman_101\",\"readable\":true,\"label\":\"人员\",\"required\":false,\"writable\":false},{\"formId\":\"prevent-water-mark_105\",\"readable\":true,\"label\":\"水印事前\",\"required\":false,\"writable\":false},{\"formId\":\"prevent_104\",\"readable\":true,\"label\":\"二维码事前\",\"required\":false,\"writable\":false},{\"formId\":\"prevent-power_106\",\"readable\":true,\"label\":\"远程授权\",\"required\":false,\"writable\":false},{\"formId\":\"watermark_103\",\"readable\":true,\"label\":\"水印开关\",\"required\":false,\"writable\":false},{\"formId\":\"title\",\"readable\":true,\"label\":\"标题\",\"required\":false,\"writable\":false},{\"formId\":\"sealDetail\",\"readable\":true,\"children\":[{\"formId\":\"sealName\",\"readable\":true,\"label\":\"印章名称\",\"required\":false,\"writable\":false},{\"formId\":\"applyCount\",\"readable\":true,\"label\":\"用印次数\",\"required\":false,\"writable\":false},{\"formId\":\"applyCrossPageSealCount\",\"readable\":true,\"label\":\"骑缝章次数\",\"required\":false,\"writable\":false},{\"formId\":\"takeOut\",\"readable\":true,\"label\":\"是否外带\",\"required\":false,\"writable\":false},{\"formId\":\"outStartDate\",\"readable\":true,\"label\":\"外带开始时间\",\"required\":false,\"writable\":false},{\"formId\":\"outEndDate\",\"readable\":true,\"label\":\"外带结束时间\",\"required\":false,\"writable\":false},{\"formId\":\"outAddress\",\"readable\":true,\"label\":\"外带地点\",\"required\":false,\"writable\":false}],\"label\":\"印章明细\",\"required\":false,\"writable\":false},{\"formId\":\"useSealfile\",\"readable\":true,\"label\":\"用印文件\",\"required\":false,\"writable\":false},{\"formId\":\"remark\",\"readable\":true,\"label\":\"用印事由\",\"required\":false,\"writable\":false}],\"matrix\":[{\"matrixBaseId\":\"fce02779-4378-44d3-8369-b1435e10a9ac\",\"matrixBaseName\":\"接口测试使用-人员\",\"formContent\":\"\",\"formKey\":\"overman_101\",\"matrixType\":2,\"pid\":0}],\"type\":\"node\",\"approverValue\":[],\"size\":\"80*48\",\"copySends\":[],\"x\":617,\"signType\":2,\"y\":179,\"id\":\"2082df13\",\"approverType\":9,\"riskHints\":\"\"},{\"nodetype\":9,\"color\":\"#3e75c7\",\"shape\":\"circle\",\"vEfcfa25a\":\"\",\"index\":4,\"label\":\"结束\",\"type\":\"node\",\"approverValue\":[],\"size\":\"72*72\",\"copySends\":[],\"x\":1153,\"signType\":0,\"y\":178,\"id\":\"0f1e97b2\",\"approverType\":0},{\"settings\":{\"addSeal\":false,\"moveSeal\":false},\"nodetype\":2,\"color\":\"#0A7BFF\",\"shape\":\"flow-rect\",\"vEfcfa25a\":\"\",\"index\":5,\"label\":\"补签\",\"privilege\":[{\"formId\":\"ocr_102\",\"readable\":true,\"label\":\"ocr开关\",\"required\":false,\"writable\":false},{\"formId\":\"overman_101\",\"readable\":true,\"label\":\"人员\",\"required\":false,\"writable\":false},{\"formId\":\"prevent-water-mark_105\",\"readable\":true,\"label\":\"水印事前\",\"required\":false,\"writable\":false},{\"formId\":\"prevent_104\",\"readable\":true,\"label\":\"二维码事前\",\"required\":false,\"writable\":false},{\"formId\":\"prevent-power_106\",\"readable\":true,\"label\":\"远程授权\",\"required\":false,\"writable\":false},{\"formId\":\"watermark_103\",\"readable\":true,\"label\":\"水印开关\",\"required\":false,\"writable\":false},{\"formId\":\"title\",\"readable\":true,\"label\":\"标题\",\"required\":false,\"writable\":false},{\"formId\":\"sealDetail\",\"readable\":true,\"children\":[{\"formId\":\"sealName\",\"readable\":true,\"label\":\"印章名称\",\"required\":false,\"writable\":false},{\"formId\":\"applyCount\",\"readable\":true,\"label\":\"用印次数\",\"required\":false,\"writable\":false},{\"formId\":\"applyCrossPageSealCount\",\"readable\":true,\"label\":\"骑缝章次数\",\"required\":false,\"writable\":false},{\"formId\":\"takeOut\",\"readable\":true,\"label\":\"是否外带\",\"required\":false,\"writable\":false},{\"formId\":\"outStartDate\",\"readable\":true,\"label\":\"外带开始时间\",\"required\":false,\"writable\":false},{\"formId\":\"outEndDate\",\"readable\":true,\"label\":\"外带结束时间\",\"required\":false,\"writable\":false},{\"formId\":\"outAddress\",\"readable\":true,\"label\":\"外带地点\",\"required\":false,\"writable\":false}],\"label\":\"印章明细\",\"required\":false,\"writable\":false},{\"formId\":\"useSealfile\",\"readable\":true,\"label\":\"用印文件\",\"required\":false,\"writable\":false},{\"formId\":\"remark\",\"readable\":true,\"label\":\"用印事由\",\"required\":false,\"writable\":false}],\"matrix\":[],\"type\":\"node\",\"approverValue\":[{\"itemName\":\"管理员\",\"itemType\":0,\"flag\":0,\"itemValue\":\"71a5c292-68b4-407c-9a3d-ec61bc4bebe5\",\"targetType\":0,\"usedType\":0}],\"size\":\"80*48\",\"copySends\":[],\"x\":617,\"signType\":5,\"y\":485,\"id\":\"c36ca0ef\",\"approverType\":0,\"riskHints\":\"\"}],\"edges\":[{\"sourceAnchor\":\"1\",\"targetAnchor\":\"3\",\"shape\":\"flow-polyline\",\"index\":1,\"id\":\"f90b0a20\",\"source\":\"cbf7da34\",\"target\":\"2082df13\"},{\"sourceAnchor\":\"1\",\"targetAnchor\":\"3\",\"shape\":\"flow-polyline\",\"index\":2,\"id\":\"96e58f34\",\"source\":\"2082df13\",\"target\":\"0f1e97b2\"},{\"sourceAnchor\":\"2\",\"targetAnchor\":\"0\",\"shape\":\"flow-polyline\",\"index\":6,\"id\":\"47944366\",\"source\":\"2082df13\",\"target\":\"c36ca0ef\"},{\"sourceAnchor\":\"3\",\"targetAnchor\":\"3\",\"shape\":\"flow-polyline\",\"index\":7,\"id\":\"90e342ea\",\"source\":\"c36ca0ef\",\"target\":\"2082df13\"}]}', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '', NULL, NULL, '{\"formType\":2,\"sealList\":[],\"fields\":[{\"active-text\":\"\",\"__config__\":{\"formId\":\"ocr_102\",\"showRuleList\":[],\"defaultValue\":false,\"display\":\"hasRule\",\"isShowRule\":true,\"onlyOne\":true,\"label\":\"ocr开关\",\"showLabel\":true,\"required\":false,\"renderKey\":1597135487740,\"layout\":\"colFormItem\",\"tagIcon\":\"switch\",\"datatype\":\"ocr\",\"changeTag\":true,\"tag\":\"el-switch\",\"regList\":[],\"span\":6},\"inactive-text\":\"\",\"icon\":\"ocr\",\"__vModel__\":\"ocr_102\",\"style\":{},\"disabled\":false,\"active-value\":true,\"inactive-value\":false},{\"clearable\":true,\"__config__\":{\"formId\":\"overman_101\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"人员\",\"showLabel\":true,\"required\":false,\"unOperation\":false,\"renderKey\":1597135479230,\"layout\":\"colFormItem\",\"tagIcon\":\"input\",\"datatype\":\"overman\",\"changeTag\":true,\"tag\":\"el-input\",\"regList\":[],\"span\":6},\"readonly\":false,\"icon\":\"overman\",\"__vModel__\":\"overman_101\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择人员\",\"show-word-limit\":false,\"__slot__\":{\"prepend\":\"\",\"append\":\"\"},\"prefix-icon\":\"\",\"suffix-icon\":\"\"},{\"active-text\":\"\",\"__config__\":{\"formId\":\"prevent-water-mark_105\",\"showRuleList\":[],\"defaultValue\":false,\"display\":\"hasRule\",\"isShowRule\":true,\"onlyOne\":true,\"label\":\"水印事前\",\"showLabel\":true,\"required\":false,\"renderKey\":1597135497241,\"layout\":\"colFormItem\",\"tagIcon\":\"switch\",\"datatype\":\"prevent-water-mark\",\"changeTag\":true,\"tag\":\"el-switch\",\"regList\":[],\"span\":6},\"inactive-text\":\"\",\"icon\":\"watermark-prevent\",\"__vModel__\":\"prevent-water-mark_105\",\"style\":{},\"disabled\":false,\"active-value\":true,\"inactive-value\":false},{\"active-text\":\"\",\"__config__\":{\"formId\":\"prevent_104\",\"showRuleList\":[],\"defaultValue\":false,\"display\":\"hasRule\",\"isShowRule\":true,\"onlyOne\":true,\"label\":\"二维码事前\",\"showLabel\":true,\"required\":false,\"renderKey\":1597135495581,\"layout\":\"colFormItem\",\"tagIcon\":\"switch\",\"datatype\":\"prevent\",\"changeTag\":true,\"tag\":\"el-switch\",\"regList\":[],\"span\":6},\"inactive-text\":\"\",\"icon\":\"qrcode\",\"__vModel__\":\"prevent_104\",\"style\":{},\"disabled\":false,\"active-value\":true,\"inactive-value\":false},{\"active-text\":\"\",\"__config__\":{\"formId\":\"prevent-power_106\",\"showRuleList\":[],\"defaultValue\":false,\"display\":\"hasRule\",\"isShowRule\":true,\"onlyOne\":true,\"label\":\"远程授权\",\"showLabel\":true,\"required\":false,\"renderKey\":1597135499475,\"layout\":\"colFormItem\",\"tagIcon\":\"switch\",\"datatype\":\"prevent-power\",\"changeTag\":true,\"tag\":\"el-switch\",\"regList\":[],\"span\":6},\"inactive-text\":\"\",\"icon\":\"remote-control\",\"__vModel__\":\"prevent-power_106\",\"style\":{},\"disabled\":false,\"active-value\":true,\"inactive-value\":false},{\"active-text\":\"\",\"__config__\":{\"formId\":\"watermark_103\",\"showRuleList\":[],\"defaultValue\":false,\"display\":\"hasRule\",\"isShowRule\":true,\"onlyOne\":true,\"label\":\"水印开关\",\"showLabel\":true,\"required\":false,\"renderKey\":1597135491834,\"layout\":\"colFormItem\",\"tagIcon\":\"switch\",\"datatype\":\"watermark\",\"changeTag\":true,\"tag\":\"el-switch\",\"regList\":[],\"span\":6},\"inactive-text\":\"\",\"icon\":\"watermark\",\"__vModel__\":\"watermark_103\",\"style\":{},\"disabled\":false,\"active-value\":true,\"inactive-value\":false},{\"__config__\":{\"formId\":\"useseal\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"onlyOne\":true,\"label\":\"用章\",\"renderKey\":1597135449562,\"layout\":\"rowFormItem\",\"gutter\":15,\"tagIcon\":\"row\",\"layoutTree\":true,\"datatype\":\"useseal\",\"children\":[{\"clearable\":true,\"__config__\":{\"formId\":\"title\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"标题\",\"showLabel\":true,\"required\":false,\"unOperation\":true,\"renderKey\":1597135449562,\"layout\":\"colFormItem\",\"tagIcon\":\"input\",\"changeTag\":true,\"tag\":\"el-input\",\"fixedId\":\"title\",\"regList\":[],\"span\":24},\"readonly\":false,\"maxlength\":200,\"__vModel__\":\"title\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入标题\",\"show-word-limit\":false,\"__slot__\":{\"prepend\":\"\",\"append\":\"\"},\"prefix-icon\":\"\",\"suffix-icon\":\"\"},{\"__config__\":{\"formId\":\"sealDetail\",\"showRuleList\":[],\"sealList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"印章明细\",\"unOperation\":true,\"renderKey\":1597135449562,\"layout\":\"rowFormItem\",\"tagIcon\":\"row\",\"layoutTree\":true,\"datatype\":\"detail\",\"children\":[{\"clearable\":true,\"__config__\":{\"formId\":\"sealName\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"印章名称\",\"sealType\":\"all_using\",\"showLabel\":true,\"required\":false,\"unOperation\":true,\"renderKey\":1597135449562,\"layout\":\"colFormItem\",\"tagIcon\":\"input\",\"datatype\":\"seal\",\"changeTag\":true,\"tag\":\"el-input\",\"fixedId\":\"sealName\",\"regList\":[],\"span\":4},\"readonly\":false,\"__vModel__\":\"sealName\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"show-word-limit\":false,\"__slot__\":{\"prepend\":\"\",\"append\":\"\"},\"prefix-icon\":\"\",\"suffix-icon\":\"\"},{\"__config__\":{\"formId\":\"applyCount\",\"showRuleList\":[],\"max\":9999,\"defaultValue\":0,\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"用印次数\",\"showLabel\":true,\"required\":false,\"unOperation\":true,\"renderKey\":1597135449562,\"layout\":\"colFormItem\",\"isInteger\":true,\"min\":1,\"tagIcon\":\"number\",\"changeTag\":true,\"tag\":\"el-input-number\",\"fixedId\":\"applyCount\",\"regList\":[],\"span\":4},\"__vModel__\":\"applyCount\",\"style\":{\"width\":\"70%\"},\"step\":1,\"disabled\":false,\"placeholder\":\"请输入用印次数\"},{\"__config__\":{\"formId\":\"applyCrossPageSealCount\",\"showRuleList\":[],\"max\":9999,\"defaultValue\":0,\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"骑缝章次数\",\"showLabel\":true,\"required\":false,\"unOperation\":true,\"renderKey\":1597135449562,\"layout\":\"colFormItem\",\"isInteger\":true,\"min\":0,\"tagIcon\":\"number\",\"changeTag\":true,\"tag\":\"el-input-number\",\"fixedId\":\"applyCrossPageSealCount\",\"regList\":[],\"span\":4},\"__vModel__\":\"applyCrossPageSealCount\",\"style\":{\"width\":\"70%\"},\"step\":1,\"disabled\":false,\"placeholder\":\"请输入骑缝章次数\"},{\"__config__\":{\"formId\":\"takeOut\",\"showRuleList\":[],\"defaultValue\":false,\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"是否外带\",\"showLabel\":true,\"required\":false,\"unOperation\":true,\"renderKey\":1597135449562,\"layout\":\"colFormItem\",\"tagIcon\":\"switch\",\"changeTag\":true,\"tag\":\"el-switch\",\"regList\":[],\"fixedId\":\"takeOut\",\"span\":4},\"__vModel__\":\"takeOut\",\"style\":{},\"disabled\":false,\"active-value\":true,\"inactive-value\":false},{\"clearable\":true,\"__config__\":{\"formId\":\"outStartDate\",\"showRuleList\":[{\"formId\":\"takeOut\",\"sign\":\"=\",\"value\":\"true\",\"resultType\":\"boolean\"}],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"外带开始时间\",\"showLabel\":true,\"required\":false,\"unOperation\":true,\"renderKey\":1597135449562,\"layout\":\"colFormItem\",\"tagIcon\":\"date\",\"changeTag\":true,\"tag\":\"el-date-picker\",\"regList\":[],\"fixedId\":\"outStartDate\",\"span\":4},\"readonly\":false,\"format\":\"yyyy-MM-dd\",\"value-format\":\"yyyy-MM-dd\",\"__vModel__\":\"outStartDate\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择\",\"type\":\"datetime\"},{\"clearable\":true,\"__config__\":{\"formId\":\"outEndDate\",\"showRuleList\":[{\"formId\":\"takeOut\",\"sign\":\"=\",\"value\":\"true\",\"resultType\":\"boolean\"}],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"外带结束时间\",\"showLabel\":true,\"required\":false,\"unOperation\":true,\"renderKey\":1597135449562,\"layout\":\"colFormItem\",\"tagIcon\":\"date\",\"changeTag\":true,\"tag\":\"el-date-picker\",\"regList\":[],\"fixedId\":\"outEndDate\",\"span\":4},\"readonly\":false,\"format\":\"yyyy-MM-dd\",\"value-format\":\"yyyy-MM-dd\",\"__vModel__\":\"outEndDate\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择\",\"type\":\"datetime\"},{\"clearable\":true,\"__config__\":{\"formId\":\"outAddress\",\"showRuleList\":[{\"formId\":\"takeOut\",\"sign\":\"=\",\"value\":\"true\",\"resultType\":\"boolean\"}],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"外带地点\",\"showLabel\":true,\"required\":false,\"unOperation\":true,\"renderKey\":1597135449562,\"layout\":\"colFormItem\",\"tagIcon\":\"input\",\"datatype\":\"address\",\"changeTag\":true,\"tag\":\"el-input\",\"regList\":[],\"fixedId\":\"outAddress\",\"span\":4},\"readonly\":false,\"__vModel__\":\"outAddress\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"show-word-limit\":false,\"__slot__\":{\"prepend\":\"\",\"append\":\"\"},\"prefix-icon\":\"\",\"suffix-icon\":\"\"}],\"componentName\":\"sealDetail\",\"fixedId\":\"sealDetail\"},\"justify\":\"start\",\"__vModel__\":\"sealDetail\",\"type\":\"default\",\"align\":\"top\"},{\"list-type\":\"text\",\"__config__\":{\"formId\":\"useSealfile\",\"buttonText\":\"点击上传\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"用印文件\",\"showLabel\":true,\"required\":false,\"unOperation\":true,\"renderKey\":1597135449562,\"layout\":\"colFormItem\",\"tagIcon\":\"upload\",\"fileSize\":2,\"changeTag\":true,\"sizeUnit\":\"MB\",\"tag\":\"el-upload\",\"regList\":[],\"fixedId\":\"useSealfile\",\"span\":24},\"auto-upload\":true,\"name\":\"file\",\"multiple\":false,\"__vModel__\":\"useSealfile\",\"action\":\"https://jsonplaceholder.typicode.com/posts/\",\"disabled\":false,\"__slot__\":{\"list-type\":true},\"accept\":\".xls,.xlsx,.doc,.docx,.pdf,.txt\"},{\"__config__\":{\"formId\":\"remark\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"用印事由\",\"showLabel\":true,\"required\":false,\"unOperation\":true,\"renderKey\":1597135449562,\"layout\":\"colFormItem\",\"tagIcon\":\"textarea\",\"changeTag\":true,\"tag\":\"el-input\",\"regList\":[],\"fixedId\":\"remark\",\"span\":24},\"readonly\":false,\"__vModel__\":\"remark\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"show-word-limit\":false,\"type\":\"textarea\",\"autosize\":{\"minRows\":4,\"maxRows\":4}}],\"componentName\":\"useseal\",\"isGroup\":true,\"fixedId\":\"useseal\"},\"justify\":\"start\",\"icon\":\"useSeal\",\"__vModel__\":\"useseal\",\"type\":\"default\",\"align\":\"top\"}]}');
INSERT INTO `w_workflow_base_relation` VALUES (2, 'a4f6e27f-c28c-4bee-94b8-ebd523721f0e', '{\"nodes\":[{\"nodetype\":8,\"color\":\"#3e75c7\",\"shape\":\"circle\",\"index\":0,\"label\":\"开始\",\"type\":\"node\",\"approverValue\":[],\"size\":\"72*72\",\"copySends\":[],\"x\":432,\"signType\":0,\"y\":232,\"id\":\"a2eabded\",\"approverType\":0},{\"settings\":{\"addSeal\":false,\"isManual\":false,\"moveSeal\":false,\"approvalOpinion\":false},\"nodetype\":2,\"color\":\"#0A7BFF\",\"shape\":\"flow-rect\",\"index\":2,\"label\":\"审批\",\"privilege\":[{\"formId\":\"createSealDetail\",\"isSystem\":true,\"readable\":true,\"children\":[{\"formId\":\"sealName\",\"isSystem\":true,\"readable\":true,\"label\":\"印章名称\",\"required\":false,\"writable\":false},{\"formId\":\"sealMaterial\",\"isSystem\":true,\"readable\":true,\"label\":\"印章材质\",\"required\":false,\"writable\":false},{\"formId\":\"sealShape\",\"isSystem\":true,\"readable\":true,\"label\":\"印章形状\",\"required\":false,\"writable\":false},{\"formId\":\"sealType\",\"isSystem\":true,\"readable\":true,\"label\":\"印章类型\",\"required\":false,\"writable\":false},{\"formId\":\"sealDept\",\"isSystem\":true,\"readable\":true,\"label\":\"印章所属部门\",\"required\":false,\"writable\":false}],\"label\":\"刻章明细\",\"required\":false,\"writable\":false},{\"formId\":\"remark\",\"isSystem\":false,\"readable\":true,\"label\":\"刻章事由\",\"required\":false,\"writable\":false}],\"matrix\":[],\"type\":\"node\",\"approvalRoleDepType\":\"initDep\",\"approverValue\":[],\"size\":\"80*48\",\"copySends\":[],\"x\":653,\"signType\":2,\"y\":232,\"id\":\"2081294c\",\"approverType\":4,\"riskHints\":\"\"},{\"nodetype\":9,\"color\":\"#3e75c7\",\"shape\":\"circle\",\"index\":4,\"label\":\"结束\",\"type\":\"node\",\"approverValue\":[],\"size\":\"72*72\",\"copySends\":[],\"x\":889,\"signType\":0,\"y\":233,\"id\":\"93dcf415\",\"approverType\":0}],\"edges\":[{\"sourceAnchor\":\"1\",\"targetAnchor\":\"3\",\"shape\":\"flow-polyline\",\"index\":1,\"id\":\"bb1bdbac\",\"source\":\"a2eabded\",\"target\":\"2081294c\"},{\"sourceAnchor\":\"1\",\"targetAnchor\":\"3\",\"shape\":\"flow-polyline\",\"index\":3,\"id\":\"93615500\",\"source\":\"2081294c\",\"target\":\"93dcf415\"}]}', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '接口专用刻章流程', NULL, NULL, '{\"formType\":1,\"sealList\":[],\"fields\":[{\"__config__\":{\"formId\":\"createSeal\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"onlyOne\":true,\"label\":\"刻章\",\"i18n\":\"createSeal\",\"renderKey\":1607047151333,\"layout\":\"rowFormItem\",\"gutter\":15,\"tagIcon\":\"row\",\"layoutTree\":true,\"datatype\":\"createSeal\",\"children\":[{\"__config__\":{\"formId\":\"createSealDetail\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"刻章明细\",\"required\":true,\"unOperation\":true,\"renderKey\":1607047151333,\"isSystem\":true,\"layout\":\"rowFormItem\",\"tagIcon\":\"row\",\"layoutTree\":true,\"datatype\":\"detail\",\"children\":[{\"clearable\":true,\"__config__\":{\"formId\":\"sealName\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"印章名称\",\"showLabel\":true,\"required\":true,\"unOperation\":true,\"renderKey\":1607047151333,\"isSystem\":true,\"layout\":\"colFormItem\",\"tagIcon\":\"input\",\"changeTag\":true,\"tag\":\"el-input\",\"fixedId\":\"sealName\",\"regList\":[],\"span\":24},\"readonly\":false,\"maxlength\":30,\"__vModel__\":\"sealName\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入印章名称\",\"show-word-limit\":true,\"__slot__\":{\"prepend\":\"\",\"append\":\"\"},\"prefix-icon\":\"\",\"suffix-icon\":\"\"},{\"filterable\":false,\"clearable\":true,\"__config__\":{\"formId\":\"sealMaterial\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"印章材质\",\"showLabel\":true,\"required\":true,\"unOperation\":true,\"renderKey\":1607047151333,\"isSystem\":true,\"layout\":\"colFormItem\",\"tagIcon\":\"select\",\"changeTag\":true,\"tag\":\"el-select\",\"regList\":[],\"fixedId\":\"sealMaterial\",\"span\":6},\"multiple\":false,\"__vModel__\":\"sealMaterial\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择\",\"__slot__\":{\"dataList\":\"seal_material\",\"options\":[]}},{\"filterable\":false,\"clearable\":true,\"__config__\":{\"formId\":\"sealShape\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"印章形状\",\"showLabel\":true,\"required\":true,\"unOperation\":true,\"renderKey\":1607047151333,\"isSystem\":true,\"layout\":\"colFormItem\",\"tagIcon\":\"select\",\"changeTag\":true,\"tag\":\"el-select\",\"regList\":[],\"fixedId\":\"sealShape\",\"span\":6},\"multiple\":false,\"__vModel__\":\"sealShape\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择\",\"__slot__\":{\"dataList\":\"seal_shape\",\"options\":[]}},{\"filterable\":false,\"clearable\":true,\"__config__\":{\"formId\":\"sealType\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"印章类型\",\"showLabel\":true,\"required\":true,\"unOperation\":true,\"renderKey\":1607047151333,\"isSystem\":true,\"layout\":\"colFormItem\",\"tagIcon\":\"select\",\"changeTag\":true,\"tag\":\"el-select\",\"regList\":[],\"fixedId\":\"sealType\",\"span\":6},\"multiple\":false,\"__vModel__\":\"sealType\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择\",\"__slot__\":{\"dataList\":\"seal_type\",\"options\":[]}},{\"clearable\":true,\"__config__\":{\"formId\":\"sealDept\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"印章所属部门\",\"showLabel\":true,\"required\":true,\"unOperation\":true,\"renderKey\":1607047151333,\"isSystem\":true,\"layout\":\"colFormItem\",\"tagIcon\":\"input\",\"datatype\":\"sector\",\"changeTag\":true,\"tag\":\"el-input\",\"regList\":[],\"fixedId\":\"sealDept\",\"span\":6},\"readonly\":false,\"__vModel__\":\"sealDept\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择部门\",\"show-word-limit\":false,\"__slot__\":{\"prepend\":\"\",\"append\":\"\"},\"prefix-icon\":\"\",\"suffix-icon\":\"\"}],\"componentName\":\"createSealDetail\",\"fixedId\":\"createSealDetail\"},\"justify\":\"start\",\"__vModel__\":\"createSealDetail\",\"type\":\"default\",\"align\":\"top\"},{\"__config__\":{\"formId\":\"remark\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"刻章事由\",\"showLabel\":true,\"required\":false,\"unOperation\":true,\"renderKey\":1607047151333,\"layout\":\"colFormItem\",\"tagIcon\":\"textarea\",\"changeTag\":true,\"tag\":\"el-input\",\"regList\":[],\"fixedId\":\"remark\",\"span\":24},\"readonly\":false,\"__vModel__\":\"remark\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"show-word-limit\":false,\"type\":\"textarea\",\"autosize\":{\"minRows\":4,\"maxRows\":4}}],\"componentName\":\"createSeal\",\"isGroup\":true,\"fixedId\":\"createSeal\"},\"justify\":\"start\",\"icon\":\"component-group-create-seal\",\"__vModel__\":\"createSeal\",\"type\":\"default\",\"align\":\"top\"}]}');
INSERT INTO `w_workflow_base_relation` VALUES (3, 'ec291937-f62c-430e-8f9e-c4f911dd4715', '{\"nodes\":[{\"nodetype\":8,\"color\":\"#3e75c7\",\"shape\":\"circle\",\"index\":0,\"label\":\"开始\",\"type\":\"node\",\"approverValue\":[],\"size\":\"72*72\",\"copySends\":[],\"x\":385,\"signType\":0,\"y\":259,\"id\":\"f3211649\",\"approverType\":0},{\"settings\":{\"addSeal\":false,\"isManual\":false,\"moveSeal\":false,\"approvalOpinion\":false},\"nodetype\":2,\"color\":\"#0A7BFF\",\"shape\":\"flow-rect\",\"index\":1,\"label\":\"审批\",\"privilege\":[{\"formId\":\"changeStatusDetail\",\"isSystem\":true,\"readable\":true,\"children\":[{\"formId\":\"sealInfo\",\"isSystem\":true,\"readable\":true,\"label\":\"印章信息\",\"required\":false,\"writable\":false},{\"formId\":\"sealStatus\",\"isSystem\":true,\"readable\":true,\"label\":\"状态\",\"required\":false,\"writable\":false}],\"label\":\"状态变更明细\",\"required\":false,\"writable\":false},{\"formId\":\"remark\",\"isSystem\":false,\"readable\":true,\"label\":\"变更事由\",\"required\":false,\"writable\":false}],\"matrix\":[],\"type\":\"node\",\"approvalRoleDepType\":\"initDep\",\"approverValue\":[],\"size\":\"80*48\",\"copySends\":[],\"x\":641,\"signType\":2,\"y\":259,\"id\":\"dc42116b\",\"approverType\":4,\"riskHints\":\"\"},{\"nodetype\":9,\"color\":\"#3e75c7\",\"shape\":\"circle\",\"index\":4,\"label\":\"结束\",\"type\":\"node\",\"approverValue\":[],\"size\":\"72*72\",\"copySends\":[],\"x\":901,\"signType\":0,\"y\":260,\"id\":\"af3d4669\",\"approverType\":0}],\"edges\":[{\"sourceAnchor\":\"1\",\"targetAnchor\":\"3\",\"shape\":\"flow-polyline\",\"index\":2,\"id\":\"6ffe68a8\",\"source\":\"f3211649\",\"target\":\"dc42116b\"},{\"sourceAnchor\":\"1\",\"targetAnchor\":\"3\",\"shape\":\"flow-polyline\",\"index\":3,\"id\":\"1989670a\",\"source\":\"dc42116b\",\"target\":\"af3d4669\"}]}', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '接口专用状态变更流程', NULL, NULL, '{\"formType\":3,\"sealList\":[],\"fields\":[{\"__config__\":{\"formId\":\"changeStatus\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"onlyOne\":true,\"label\":\"状态变更\",\"i18n\":\"sealStatus\",\"renderKey\":1607047277035,\"layout\":\"rowFormItem\",\"gutter\":15,\"tagIcon\":\"row\",\"datatype\":\"changeStatus\",\"layoutTree\":true,\"children\":[{\"__config__\":{\"formId\":\"changeStatusDetail\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"状态变更明细\",\"required\":true,\"unOperation\":true,\"renderKey\":1607047277035,\"isSystem\":true,\"layout\":\"rowFormItem\",\"tagIcon\":\"row\",\"layoutTree\":true,\"datatype\":\"detail\",\"children\":[{\"clearable\":true,\"__config__\":{\"formId\":\"sealInfo\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"印章信息\",\"sealType\":\"my_seal\",\"showLabel\":true,\"required\":true,\"unOperation\":true,\"renderKey\":1607047277035,\"isSystem\":true,\"layout\":\"colFormItem\",\"tagIcon\":\"input\",\"datatype\":\"seal\",\"changeTag\":true,\"tag\":\"el-input\",\"regList\":[],\"fixedId\":\"sealInfo\",\"span\":6},\"readonly\":false,\"__vModel__\":\"sealInfo\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择印章\",\"show-word-limit\":false,\"__slot__\":{\"prepend\":\"\",\"append\":\"\"},\"prefix-icon\":\"\",\"suffix-icon\":\"\"},{\"filterable\":false,\"clearable\":true,\"__config__\":{\"formId\":\"sealStatus\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"状态\",\"showLabel\":true,\"required\":true,\"unOperation\":true,\"renderKey\":1607047277035,\"isSystem\":true,\"layout\":\"colFormItem\",\"tagIcon\":\"select\",\"changeTag\":true,\"tag\":\"el-select\",\"regList\":[],\"fixedId\":\"sealStatus\",\"span\":6},\"multiple\":false,\"__vModel__\":\"sealStatus\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择\",\"__slot__\":{\"dataList\":[],\"options\":[{\"label\":\"销毁\",\"value\":2},{\"label\":\"启用\",\"value\":0},{\"label\":\"停用\",\"value\":1}]}}],\"componentName\":\"changeStatusDetail\",\"fixedId\":\"changeStatusDetail\"},\"justify\":\"start\",\"__vModel__\":\"changeStatusDetail\",\"type\":\"default\",\"align\":\"top\"},{\"__config__\":{\"formId\":\"remark\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"变更事由\",\"showLabel\":true,\"required\":false,\"unOperation\":true,\"renderKey\":1607047277035,\"layout\":\"colFormItem\",\"tagIcon\":\"textarea\",\"changeTag\":true,\"tag\":\"el-input\",\"regList\":[],\"fixedId\":\"remark\",\"span\":24},\"readonly\":false,\"__vModel__\":\"remark\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"show-word-limit\":false,\"type\":\"textarea\",\"autosize\":{\"minRows\":4,\"maxRows\":4}}],\"componentName\":\"changeStatus\",\"isGroup\":true,\"fixedId\":\"changeStatus\"},\"justify\":\"start\",\"__vModel__\":\"changeStatus\",\"icon\":\"component-group-change-status\",\"type\":\"default\",\"align\":\"top\"}]}');
INSERT INTO `w_workflow_base_relation` VALUES (4, 'ebab3419-58ac-42df-bcfd-e66f6cdedb63', '{\"nodes\":[{\"nodetype\":8,\"color\":\"#3e75c7\",\"shape\":\"circle\",\"index\":0,\"label\":\"开始\",\"type\":\"node\",\"approverValue\":[],\"size\":\"72*72\",\"copySends\":[],\"x\":370,\"signType\":0,\"y\":236,\"id\":\"646ad646\",\"approverType\":0},{\"settings\":{\"addSeal\":false,\"isManual\":false,\"moveSeal\":false,\"approvalOpinion\":false},\"nodetype\":2,\"color\":\"#0A7BFF\",\"shape\":\"flow-rect\",\"index\":3,\"label\":\"审批\",\"privilege\":[{\"formId\":\"changeSealDetail\",\"isSystem\":true,\"readable\":true,\"children\":[{\"formId\":\"changeSeal\",\"isSystem\":true,\"readable\":true,\"label\":\"智能印章\",\"required\":false,\"writable\":false},{\"formId\":\"newSeal\",\"isSystem\":true,\"readable\":true,\"label\":\"新的印章\",\"required\":false,\"writable\":false}],\"label\":\"换章明细\",\"required\":false,\"writable\":false},{\"formId\":\"remark\",\"isSystem\":false,\"readable\":true,\"label\":\"更换事由\",\"required\":false,\"writable\":false}],\"matrix\":[],\"type\":\"node\",\"approvalRoleDepType\":\"initDep\",\"approverValue\":[],\"size\":\"80*48\",\"copySends\":[],\"x\":645,\"signType\":2,\"y\":236,\"id\":\"e71b6666\",\"approverType\":4,\"riskHints\":\"\"},{\"nodetype\":9,\"color\":\"#3e75c7\",\"shape\":\"circle\",\"index\":4,\"label\":\"结束\",\"type\":\"node\",\"approverValue\":[],\"size\":\"72*72\",\"copySends\":[],\"x\":889,\"signType\":0,\"y\":236,\"id\":\"55516e81\",\"approverType\":0}],\"edges\":[{\"sourceAnchor\":\"1\",\"targetAnchor\":\"3\",\"shape\":\"flow-polyline\",\"index\":1,\"id\":\"2a43ccb1\",\"source\":\"646ad646\",\"target\":\"e71b6666\"},{\"sourceAnchor\":\"1\",\"targetAnchor\":\"3\",\"shape\":\"flow-polyline\",\"index\":2,\"id\":\"ca21d876\",\"source\":\"e71b6666\",\"target\":\"55516e81\"}]}', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '接口专用换章流程', NULL, NULL, '{\"formType\":5,\"sealList\":[],\"fields\":[{\"__config__\":{\"formId\":\"changeSeal\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"onlyOne\":true,\"label\":\"换章\",\"i18n\":\"changeSeal\",\"renderKey\":1607047356909,\"layout\":\"rowFormItem\",\"gutter\":15,\"tagIcon\":\"row\",\"datatype\":\"changeSeal\",\"layoutTree\":true,\"children\":[{\"__config__\":{\"formId\":\"changeSealDetail\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"换章明细\",\"required\":true,\"unOperation\":true,\"renderKey\":1607047356909,\"isSystem\":true,\"layout\":\"rowFormItem\",\"tagIcon\":\"row\",\"layoutTree\":true,\"datatype\":\"detail\",\"children\":[{\"clearable\":true,\"__config__\":{\"formId\":\"changeSeal\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"智能印章\",\"sealType\":\"my_intelligent_using\",\"showLabel\":true,\"required\":true,\"unOperation\":true,\"renderKey\":1607047356909,\"isSystem\":true,\"layout\":\"colFormItem\",\"tagIcon\":\"input\",\"datatype\":\"seal\",\"changeTag\":true,\"tag\":\"el-input\",\"regList\":[],\"fixedId\":\"changeSeal\",\"span\":6},\"readonly\":false,\"__vModel__\":\"changeSeal\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择印章\",\"show-word-limit\":false,\"__slot__\":{\"prepend\":\"\",\"append\":\"\"},\"prefix-icon\":\"\",\"suffix-icon\":\"\"},{\"clearable\":true,\"__config__\":{\"formId\":\"newSeal\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"新的印章\",\"sealType\":\"my_seal\",\"showLabel\":true,\"required\":true,\"unOperation\":true,\"renderKey\":1607047356909,\"isSystem\":true,\"layout\":\"colFormItem\",\"tagIcon\":\"input\",\"datatype\":\"seal\",\"changeTag\":true,\"tag\":\"el-input\",\"regList\":[],\"fixedId\":\"newSeal\",\"span\":6},\"readonly\":false,\"__vModel__\":\"newSeal\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择印章\",\"show-word-limit\":false,\"__slot__\":{\"prepend\":\"\",\"append\":\"\"},\"prefix-icon\":\"\",\"suffix-icon\":\"\"}],\"componentName\":\"changeSealDetail\",\"fixedId\":\"changeSealDetail\"},\"justify\":\"start\",\"__vModel__\":\"changeSealDetail\",\"type\":\"default\",\"align\":\"top\"},{\"__config__\":{\"formId\":\"remark\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"更换事由\",\"showLabel\":true,\"required\":false,\"unOperation\":true,\"renderKey\":1607047356909,\"layout\":\"colFormItem\",\"tagIcon\":\"textarea\",\"changeTag\":true,\"tag\":\"el-input\",\"regList\":[],\"fixedId\":\"remark\",\"span\":24},\"readonly\":false,\"__vModel__\":\"remark\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"show-word-limit\":false,\"type\":\"textarea\",\"autosize\":{\"minRows\":4,\"maxRows\":4}}],\"componentName\":\"changeSeal\",\"isGroup\":true,\"fixedId\":\"changeSeal\"},\"justify\":\"start\",\"icon\":\"component-group-change-seal\",\"__vModel__\":\"changeSeal\",\"type\":\"default\",\"align\":\"top\"}]}');
INSERT INTO `w_workflow_base_relation` VALUES (5, 'b4ffd58d-b0d8-4069-ab3f-889540afbbf5', '{\"nodes\":[{\"settings\":{\"addSeal\":false,\"isManual\":false,\"moveSeal\":false,\"approvalOpinion\":false},\"nodetype\":2,\"color\":\"#0A7BFF\",\"shape\":\"flow-rect\",\"index\":0,\"label\":\"审批\",\"privilege\":[{\"formId\":\"transferSealDetail\",\"isSystem\":true,\"readable\":true,\"children\":[{\"formId\":\"sealInfo\",\"isSystem\":true,\"readable\":true,\"label\":\"印章信息\",\"required\":false,\"writable\":false},{\"formId\":\"handOverPerson\",\"isSystem\":true,\"readable\":true,\"label\":\"移交人\",\"required\":false,\"writable\":false},{\"formId\":\"takeInPerson\",\"isSystem\":true,\"readable\":true,\"label\":\"印章接收人\",\"required\":false,\"writable\":false}],\"label\":\"印章移交明细\",\"required\":false,\"writable\":false},{\"formId\":\"remark\",\"isSystem\":false,\"readable\":true,\"label\":\"移交事由\",\"required\":false,\"writable\":false}],\"matrix\":[],\"type\":\"node\",\"approvalRoleDepType\":\"initDep\",\"approverValue\":[],\"size\":\"80*48\",\"copySends\":[],\"x\":670,\"signType\":2,\"y\":250,\"id\":\"97c3ba64\",\"approverType\":4,\"riskHints\":\"\"},{\"nodetype\":8,\"color\":\"#3e75c7\",\"shape\":\"circle\",\"index\":3,\"label\":\"开始\",\"type\":\"node\",\"approverValue\":[],\"size\":\"72*72\",\"copySends\":[],\"x\":397,\"signType\":0,\"y\":250,\"id\":\"821ccc0d\",\"approverType\":0},{\"nodetype\":9,\"color\":\"#3e75c7\",\"shape\":\"circle\",\"index\":4,\"label\":\"结束\",\"type\":\"node\",\"approverValue\":[],\"size\":\"72*72\",\"copySends\":[],\"x\":937,\"signType\":0,\"y\":251,\"id\":\"541387cc\",\"approverType\":0}],\"edges\":[{\"sourceAnchor\":\"1\",\"targetAnchor\":\"3\",\"shape\":\"flow-polyline\",\"index\":1,\"id\":\"056d5d1d\",\"source\":\"821ccc0d\",\"target\":\"97c3ba64\"},{\"sourceAnchor\":\"1\",\"targetAnchor\":\"3\",\"shape\":\"flow-polyline\",\"index\":2,\"id\":\"fbfe0086\",\"source\":\"97c3ba64\",\"target\":\"541387cc\"}]}', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '接口专用印章移交流程', NULL, NULL, '{\"formType\":4,\"sealList\":[],\"fields\":[{\"__config__\":{\"formId\":\"transferSeal\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"onlyOne\":true,\"label\":\"印章移交\",\"i18n\":\"transferSeal\",\"renderKey\":1607047439466,\"layout\":\"rowFormItem\",\"gutter\":15,\"tagIcon\":\"row\",\"datatype\":\"transferSeal\",\"layoutTree\":true,\"children\":[{\"__config__\":{\"formId\":\"transferSealDetail\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"印章移交明细\",\"required\":true,\"unOperation\":true,\"renderKey\":1607047439466,\"isSystem\":true,\"layout\":\"rowFormItem\",\"tagIcon\":\"row\",\"layoutTree\":true,\"datatype\":\"detail\",\"children\":[{\"clearable\":true,\"__config__\":{\"formId\":\"sealInfo\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"印章信息\",\"sealType\":\"all_using\",\"showLabel\":true,\"required\":true,\"unOperation\":true,\"renderKey\":1607047439466,\"isSystem\":true,\"layout\":\"colFormItem\",\"tagIcon\":\"input\",\"datatype\":\"seal\",\"changeTag\":true,\"tag\":\"el-input\",\"regList\":[],\"fixedId\":\"sealInfo\",\"span\":6},\"readonly\":false,\"__vModel__\":\"sealInfo\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择印章\",\"show-word-limit\":false,\"__slot__\":{\"prepend\":\"\",\"append\":\"\"},\"prefix-icon\":\"\",\"suffix-icon\":\"\"},{\"clearable\":true,\"__config__\":{\"formId\":\"handOverPerson\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"移交人\",\"showLabel\":true,\"required\":true,\"unOperation\":false,\"renderKey\":1607047439466,\"isSystem\":true,\"layout\":\"colFormItem\",\"tagIcon\":\"input\",\"datatype\":\"overman\",\"changeTag\":true,\"tag\":\"el-input\",\"fixedId\":\"handOverPerson\",\"regList\":[],\"span\":6},\"readonly\":false,\"__vModel__\":\"handOverPerson\",\"icon\":\"overman\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择印章移交人\",\"show-word-limit\":false,\"__slot__\":{\"prepend\":\"\",\"append\":\"\"},\"prefix-icon\":\"\",\"suffix-icon\":\"\"},{\"clearable\":true,\"__config__\":{\"formId\":\"takeInPerson\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"印章接收人\",\"showLabel\":true,\"required\":true,\"unOperation\":false,\"renderKey\":1607047439466,\"isSystem\":true,\"layout\":\"colFormItem\",\"tagIcon\":\"input\",\"datatype\":\"overman\",\"changeTag\":true,\"tag\":\"el-input\",\"fixedId\":\"takeInPerson\",\"regList\":[],\"span\":6},\"readonly\":false,\"__vModel__\":\"takeInPerson\",\"icon\":\"overman\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择印章接收人\",\"show-word-limit\":false,\"__slot__\":{\"prepend\":\"\",\"append\":\"\"},\"prefix-icon\":\"\",\"suffix-icon\":\"\"}],\"componentName\":\"transferSealDetail\",\"fixedId\":\"transferSealDetail\"},\"justify\":\"start\",\"__vModel__\":\"transferSealDetail\",\"type\":\"default\",\"align\":\"top\"},{\"__config__\":{\"formId\":\"remark\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"移交事由\",\"showLabel\":true,\"required\":false,\"unOperation\":true,\"renderKey\":1607047439466,\"layout\":\"colFormItem\",\"tagIcon\":\"textarea\",\"changeTag\":true,\"tag\":\"el-input\",\"regList\":[],\"fixedId\":\"remark\",\"span\":24},\"readonly\":false,\"__vModel__\":\"remark\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"show-word-limit\":false,\"type\":\"textarea\",\"autosize\":{\"minRows\":4,\"maxRows\":4}}],\"componentName\":\"transferSeal\",\"isGroup\":true,\"fixedId\":\"transferSeal\"},\"justify\":\"start\",\"icon\":\"flow-manage-transform-seal\",\"__vModel__\":\"transferSeal\",\"type\":\"default\",\"align\":\"top\"}]}');
INSERT INTO `w_workflow_base_relation` VALUES (8, '5e5600b8-fdef-4e4d-a0ff-30ce26889a5d', '{\"nodes\":[{\"id\":\"cbf7da34\",\"vEfcfa25a\":\"\",\"type\":\"node\",\"shape\":\"circle\",\"size\":\"72*72\",\"color\":\"#3e75c7\",\"x\":86,\"y\":179,\"index\":0,\"label\":\"开始\",\"nodetype\":8,\"signType\":0,\"settings\":{\"addSeal\":false,\"moveSeal\":false},\"approverType\":0,\"approverValue\":[],\"copySends\":[],\"privilege\":[{\"formId\":\"title\",\"readable\":true,\"label\":\"标题\",\"required\":false,\"writable\":true},{\"formId\":\"sealDetail\",\"readable\":true,\"children\":[{\"formId\":\"sealName\",\"readable\":true,\"label\":\"印章名称\",\"required\":false,\"writable\":true},{\"formId\":\"applyCount\",\"readable\":true,\"label\":\"用印次数\",\"required\":false,\"writable\":true},{\"formId\":\"applyCrossPageSealCount\",\"readable\":true,\"label\":\"骑缝章次数\",\"required\":false,\"writable\":true},{\"formId\":\"takeOut\",\"readable\":true,\"label\":\"是否外带\",\"required\":false,\"writable\":true},{\"formId\":\"outStartDate\",\"readable\":true,\"label\":\"外带开始时间\",\"required\":false,\"writable\":true},{\"formId\":\"outEndDate\",\"readable\":true,\"label\":\"外带结束时间\",\"required\":false,\"writable\":true},{\"formId\":\"outAddress\",\"readable\":true,\"label\":\"外带地点\",\"required\":false,\"writable\":true}],\"label\":\"印章明细\",\"required\":false,\"writable\":true},{\"formId\":\"useSealfile\",\"readable\":true,\"label\":\"用印文件\",\"required\":false,\"writable\":true},{\"formId\":\"remark\",\"readable\":true,\"label\":\"用印事由\",\"required\":false,\"writable\":true}],\"matrix\":[],\"riskHints\":\"\",\"approvalRoleDepType\":null},{\"id\":\"2082df13\",\"vEfcfa25a\":\"\",\"type\":\"node\",\"shape\":\"flow-rect\",\"size\":\"80*48\",\"color\":\"#0A7BFF\",\"x\":617,\"y\":179,\"index\":3,\"label\":\"授权\",\"nodetype\":2,\"signType\":2,\"settings\":{\"addSeal\":true,\"moveSeal\":false},\"approverType\":9,\"approverValue\":[],\"copySends\":[],\"privilege\":[{\"formId\":\"ocr_102\",\"readable\":true,\"label\":\"ocr开关\",\"required\":false,\"writable\":false},{\"formId\":\"overman_101\",\"readable\":true,\"label\":\"人员\",\"required\":false,\"writable\":false},{\"formId\":\"prevent-water-mark_105\",\"readable\":true,\"label\":\"水印事前\",\"required\":false,\"writable\":false},{\"formId\":\"prevent_104\",\"readable\":true,\"label\":\"二维码事前\",\"required\":false,\"writable\":false},{\"formId\":\"prevent-power_106\",\"readable\":true,\"label\":\"远程授权\",\"required\":false,\"writable\":false},{\"formId\":\"watermark_103\",\"readable\":true,\"label\":\"水印开关\",\"required\":false,\"writable\":false},{\"formId\":\"title\",\"readable\":true,\"label\":\"标题\",\"required\":false,\"writable\":false},{\"formId\":\"sealDetail\",\"readable\":true,\"children\":[{\"formId\":\"sealName\",\"readable\":true,\"label\":\"印章名称\",\"required\":false,\"writable\":false},{\"formId\":\"applyCount\",\"readable\":true,\"label\":\"用印次数\",\"required\":false,\"writable\":false},{\"formId\":\"applyCrossPageSealCount\",\"readable\":true,\"label\":\"骑缝章次数\",\"required\":false,\"writable\":false},{\"formId\":\"takeOut\",\"readable\":true,\"label\":\"是否外带\",\"required\":false,\"writable\":false},{\"formId\":\"outStartDate\",\"readable\":true,\"label\":\"外带开始时间\",\"required\":false,\"writable\":false},{\"formId\":\"outEndDate\",\"readable\":true,\"label\":\"外带结束时间\",\"required\":false,\"writable\":false},{\"formId\":\"outAddress\",\"readable\":true,\"label\":\"外带地点\",\"required\":false,\"writable\":false}],\"label\":\"印章明细\",\"required\":false,\"writable\":false},{\"formId\":\"useSealfile\",\"readable\":true,\"label\":\"用印文件\",\"required\":false,\"writable\":false},{\"formId\":\"remark\",\"readable\":true,\"label\":\"用印事由\",\"required\":false,\"writable\":false}],\"matrix\":[{\"pid\":0,\"id\":null,\"workflowBaseId\":null,\"nodeCode\":null,\"matrixBaseId\":\"fce02779-4378-44d3-8369-b1435e10a9ac\",\"matrixBaseName\":\"接口测试使用-人员\",\"matrixType\":2,\"formKey\":\"overman_101\",\"formContent\":\"\",\"companyId\":null,\"creator\":null,\"createDate\":null,\"updater\":null,\"updateDate\":null,\"delStatus\":null}],\"riskHints\":\"\",\"approvalRoleDepType\":null},{\"id\":\"0f1e97b2\",\"vEfcfa25a\":\"\",\"type\":\"node\",\"shape\":\"circle\",\"size\":\"72*72\",\"color\":\"#3e75c7\",\"x\":1153,\"y\":178,\"index\":4,\"label\":\"结束\",\"nodetype\":9,\"signType\":0,\"settings\":null,\"approverType\":0,\"approverValue\":[],\"copySends\":[],\"privilege\":[{\"formId\":\"ocr_102\",\"label\":\"ocr开关\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false},{\"formId\":\"overman_101\",\"label\":\"人员\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false},{\"formId\":\"prevent-water-mark_105\",\"label\":\"水印事前\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false},{\"formId\":\"prevent_104\",\"label\":\"二维码事前\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false},{\"formId\":\"prevent-power_106\",\"label\":\"远程授权\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false},{\"formId\":\"watermark_103\",\"label\":\"水印开关\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false},{\"formId\":\"remote-monitoring_101\",\"label\":\"远程实时监控\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false},{\"formId\":\"title\",\"label\":\"标题\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false},{\"formId\":\"sealDetail\",\"label\":\"印章明细\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false,\"children\":[{\"formId\":\"sealName\",\"label\":\"印章名称\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false},{\"formId\":\"applyCount\",\"label\":\"用印次数\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false},{\"formId\":\"applyCrossPageSealCount\",\"label\":\"骑缝章次数\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false},{\"formId\":\"takeOut\",\"label\":\"是否外带\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false},{\"formId\":\"outStartDate\",\"label\":\"外带开始时间\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false},{\"formId\":\"outEndDate\",\"label\":\"外带结束时间\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false},{\"formId\":\"outAddress\",\"label\":\"外带地点\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false}]},{\"formId\":\"useSealfile\",\"label\":\"用印文件\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false},{\"formId\":\"remark\",\"label\":\"用印事由\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false}],\"matrix\":null,\"riskHints\":null,\"approvalRoleDepType\":null},{\"id\":\"c36ca0ef\",\"vEfcfa25a\":\"\",\"type\":\"node\",\"shape\":\"flow-rect\",\"size\":\"80*48\",\"color\":\"#0A7BFF\",\"x\":617,\"y\":485,\"index\":5,\"label\":\"补签\",\"nodetype\":2,\"signType\":5,\"settings\":{\"addSeal\":false,\"moveSeal\":false},\"approverType\":0,\"approverValue\":[{\"itemType\":0,\"itemValue\":\"71a5c292-68b4-407c-9a3d-ec61bc4bebe5\",\"itemName\":\"管理员\",\"flag\":0,\"targetType\":0,\"id\":null,\"usedType\":0,\"usedId\":null,\"versionId\":null,\"companyId\":null,\"createDate\":null,\"isContainsLower\":0,\"authType\":0}],\"copySends\":[],\"privilege\":[{\"formId\":\"ocr_102\",\"readable\":true,\"label\":\"ocr开关\",\"required\":false,\"writable\":false},{\"formId\":\"overman_101\",\"readable\":true,\"label\":\"人员\",\"required\":false,\"writable\":false},{\"formId\":\"prevent-water-mark_105\",\"readable\":true,\"label\":\"水印事前\",\"required\":false,\"writable\":false},{\"formId\":\"prevent_104\",\"readable\":true,\"label\":\"二维码事前\",\"required\":false,\"writable\":false},{\"formId\":\"prevent-power_106\",\"readable\":true,\"label\":\"远程授权\",\"required\":false,\"writable\":false},{\"formId\":\"watermark_103\",\"readable\":true,\"label\":\"水印开关\",\"required\":false,\"writable\":false},{\"formId\":\"title\",\"readable\":true,\"label\":\"标题\",\"required\":false,\"writable\":false},{\"formId\":\"sealDetail\",\"readable\":true,\"children\":[{\"formId\":\"sealName\",\"readable\":true,\"label\":\"印章名称\",\"required\":false,\"writable\":false},{\"formId\":\"applyCount\",\"readable\":true,\"label\":\"用印次数\",\"required\":false,\"writable\":false},{\"formId\":\"applyCrossPageSealCount\",\"readable\":true,\"label\":\"骑缝章次数\",\"required\":false,\"writable\":false},{\"formId\":\"takeOut\",\"readable\":true,\"label\":\"是否外带\",\"required\":false,\"writable\":false},{\"formId\":\"outStartDate\",\"readable\":true,\"label\":\"外带开始时间\",\"required\":false,\"writable\":false},{\"formId\":\"outEndDate\",\"readable\":true,\"label\":\"外带结束时间\",\"required\":false,\"writable\":false},{\"formId\":\"outAddress\",\"readable\":true,\"label\":\"外带地点\",\"required\":false,\"writable\":false}],\"label\":\"印章明细\",\"required\":false,\"writable\":false},{\"formId\":\"useSealfile\",\"readable\":true,\"label\":\"用印文件\",\"required\":false,\"writable\":false},{\"formId\":\"remark\",\"readable\":true,\"label\":\"用印事由\",\"required\":false,\"writable\":false}],\"matrix\":[],\"riskHints\":\"\",\"approvalRoleDepType\":null}],\"edges\":[{\"id\":\"f90b0a20\",\"label\":null,\"shape\":\"flow-polyline\",\"sourceAnchor\":\"1\",\"source\":\"cbf7da34\",\"targetAnchor\":\"3\",\"target\":\"2082df13\",\"index\":1,\"conditionalBranching\":null},{\"id\":\"96e58f34\",\"label\":null,\"shape\":\"flow-polyline\",\"sourceAnchor\":\"1\",\"source\":\"2082df13\",\"targetAnchor\":\"3\",\"target\":\"0f1e97b2\",\"index\":2,\"conditionalBranching\":null},{\"id\":\"47944366\",\"label\":null,\"shape\":\"flow-polyline\",\"sourceAnchor\":\"2\",\"source\":\"2082df13\",\"targetAnchor\":\"0\",\"target\":\"c36ca0ef\",\"index\":6,\"conditionalBranching\":null},{\"id\":\"90e342ea\",\"label\":null,\"shape\":\"flow-polyline\",\"sourceAnchor\":\"3\",\"source\":\"c36ca0ef\",\"targetAnchor\":\"3\",\"target\":\"2082df13\",\"index\":7,\"conditionalBranching\":null}]}', '1b46e184-29d0-45a7-813e-5d6ec149f459', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '', NULL, NULL, '{\"formType\":2,\"sealList\":[],\"formName\":null,\"fields\":[{\"active-text\":\"\",\"__config__\":{\"formId\":\"ocr_102\",\"showRuleList\":[],\"defaultValue\":false,\"display\":\"hasRule\",\"isShowRule\":true,\"onlyOne\":true,\"label\":\"ocr开关\",\"showLabel\":true,\"required\":false,\"renderKey\":1597135487740,\"layout\":\"colFormItem\",\"tagIcon\":\"switch\",\"datatype\":\"ocr\",\"changeTag\":true,\"tag\":\"el-switch\",\"regList\":[],\"span\":6},\"inactive-text\":\"\",\"icon\":\"ocr\",\"__vModel__\":\"ocr_102\",\"style\":{},\"disabled\":false,\"active-value\":true,\"inactive-value\":false},{\"clearable\":true,\"__config__\":{\"formId\":\"overman_101\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"人员\",\"showLabel\":true,\"required\":false,\"unOperation\":false,\"renderKey\":1597135479230,\"layout\":\"colFormItem\",\"tagIcon\":\"input\",\"datatype\":\"overman\",\"changeTag\":true,\"tag\":\"el-input\",\"regList\":[],\"span\":6},\"readonly\":false,\"icon\":\"overman\",\"__vModel__\":\"overman_101\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择人员\",\"show-word-limit\":false,\"__slot__\":{\"prepend\":\"\",\"append\":\"\"},\"prefix-icon\":\"\",\"suffix-icon\":\"\"},{\"active-text\":\"\",\"__config__\":{\"formId\":\"prevent-water-mark_105\",\"showRuleList\":[],\"defaultValue\":false,\"display\":\"hasRule\",\"isShowRule\":true,\"onlyOne\":true,\"label\":\"水印事前\",\"showLabel\":true,\"required\":false,\"renderKey\":1597135497241,\"layout\":\"colFormItem\",\"tagIcon\":\"switch\",\"datatype\":\"prevent-water-mark\",\"changeTag\":true,\"tag\":\"el-switch\",\"regList\":[],\"span\":6},\"inactive-text\":\"\",\"icon\":\"watermark-prevent\",\"__vModel__\":\"prevent-water-mark_105\",\"style\":{},\"disabled\":false,\"active-value\":true,\"inactive-value\":false},{\"active-text\":\"\",\"__config__\":{\"formId\":\"prevent_104\",\"showRuleList\":[],\"defaultValue\":false,\"display\":\"hasRule\",\"isShowRule\":true,\"onlyOne\":true,\"label\":\"二维码事前\",\"showLabel\":true,\"required\":false,\"renderKey\":1597135495581,\"layout\":\"colFormItem\",\"tagIcon\":\"switch\",\"datatype\":\"prevent\",\"changeTag\":true,\"tag\":\"el-switch\",\"regList\":[],\"span\":6},\"inactive-text\":\"\",\"icon\":\"qrcode\",\"__vModel__\":\"prevent_104\",\"style\":{},\"disabled\":false,\"active-value\":true,\"inactive-value\":false},{\"active-text\":\"\",\"__config__\":{\"formId\":\"prevent-power_106\",\"showRuleList\":[],\"defaultValue\":false,\"display\":\"hasRule\",\"isShowRule\":true,\"onlyOne\":true,\"label\":\"远程授权\",\"showLabel\":true,\"required\":false,\"renderKey\":1597135499475,\"layout\":\"colFormItem\",\"tagIcon\":\"switch\",\"datatype\":\"prevent-power\",\"changeTag\":true,\"tag\":\"el-switch\",\"regList\":[],\"span\":6},\"inactive-text\":\"\",\"icon\":\"remote-control\",\"__vModel__\":\"prevent-power_106\",\"style\":{},\"disabled\":false,\"active-value\":true,\"inactive-value\":false},{\"active-text\":\"\",\"__config__\":{\"formId\":\"watermark_103\",\"showRuleList\":[],\"defaultValue\":false,\"display\":\"hasRule\",\"isShowRule\":true,\"onlyOne\":true,\"label\":\"水印开关\",\"showLabel\":true,\"required\":false,\"renderKey\":1597135491834,\"layout\":\"colFormItem\",\"tagIcon\":\"switch\",\"datatype\":\"watermark\",\"changeTag\":true,\"tag\":\"el-switch\",\"regList\":[],\"span\":6},\"inactive-text\":\"\",\"icon\":\"watermark\",\"__vModel__\":\"watermark_103\",\"style\":{},\"disabled\":false,\"active-value\":true,\"inactive-value\":false},{\"__config__\":{\"i18n\":\"inputRemoteMonitoring\",\"label\":\"远程实时监控\",\"tag\":\"el-switch\",\"tagIcon\":\"switch\",\"datatype\":\"remote-monitoring\",\"defaultValue\":false,\"onlyOne\":true,\"span\":6,\"showLabel\":true,\"labelWidth\":null,\"layout\":\"colFormItem\",\"required\":false,\"regList\":[],\"changeTag\":true,\"display\":\"hasRule\",\"isShowRule\":true,\"showRuleList\":[],\"formId\":\"remote-monitoring_101\",\"renderKey\":1637738497469},\"style\":{},\"disabled\":false,\"remoteMonitoringValue\":\"0\",\"active-text\":\"\",\"inactive-text\":\"\",\"active-color\":null,\"inactive-color\":null,\"active-value\":true,\"inactive-value\":false,\"icon\":\"component-remote-monitoring\",\"__vModel__\":\"remote-monitoring_101\"},{\"__config__\":{\"formId\":\"useseal\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"onlyOne\":true,\"label\":\"用章\",\"renderKey\":1597135449562,\"layout\":\"rowFormItem\",\"gutter\":15,\"tagIcon\":\"row\",\"layoutTree\":true,\"datatype\":\"useseal\",\"children\":[{\"clearable\":true,\"__config__\":{\"formId\":\"title\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"标题\",\"showLabel\":true,\"required\":false,\"unOperation\":true,\"renderKey\":1597135449562,\"layout\":\"colFormItem\",\"tagIcon\":\"input\",\"changeTag\":true,\"tag\":\"el-input\",\"fixedId\":\"title\",\"regList\":[],\"span\":24},\"readonly\":false,\"maxlength\":200,\"__vModel__\":\"title\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入标题\",\"show-word-limit\":false,\"__slot__\":{\"prepend\":\"\",\"append\":\"\"},\"prefix-icon\":\"\",\"suffix-icon\":\"\"},{\"__config__\":{\"formId\":\"sealDetail\",\"showRuleList\":[],\"sealList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"印章明细\",\"unOperation\":true,\"renderKey\":1597135449562,\"layout\":\"rowFormItem\",\"tagIcon\":\"row\",\"layoutTree\":true,\"datatype\":\"detail\",\"children\":[{\"clearable\":true,\"__config__\":{\"formId\":\"sealName\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"印章名称\",\"sealType\":\"all_using\",\"showLabel\":true,\"required\":false,\"unOperation\":true,\"renderKey\":1597135449562,\"layout\":\"colFormItem\",\"tagIcon\":\"input\",\"datatype\":\"seal\",\"changeTag\":true,\"tag\":\"el-input\",\"fixedId\":\"sealName\",\"regList\":[],\"span\":4},\"readonly\":false,\"__vModel__\":\"sealName\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"show-word-limit\":false,\"__slot__\":{\"prepend\":\"\",\"append\":\"\"},\"prefix-icon\":\"\",\"suffix-icon\":\"\"},{\"__config__\":{\"formId\":\"applyCount\",\"showRuleList\":[],\"max\":9999,\"defaultValue\":0,\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"用印次数\",\"showLabel\":true,\"required\":false,\"unOperation\":true,\"renderKey\":1597135449562,\"layout\":\"colFormItem\",\"isInteger\":true,\"min\":1,\"tagIcon\":\"number\",\"changeTag\":true,\"tag\":\"el-input-number\",\"fixedId\":\"applyCount\",\"regList\":[],\"span\":4},\"__vModel__\":\"applyCount\",\"style\":{\"width\":\"70%\"},\"step\":1,\"disabled\":false,\"placeholder\":\"请输入用印次数\"},{\"__config__\":{\"formId\":\"applyCrossPageSealCount\",\"showRuleList\":[],\"max\":9999,\"defaultValue\":0,\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"骑缝章次数\",\"showLabel\":true,\"required\":false,\"unOperation\":true,\"renderKey\":1597135449562,\"layout\":\"colFormItem\",\"isInteger\":true,\"min\":0,\"tagIcon\":\"number\",\"changeTag\":true,\"tag\":\"el-input-number\",\"fixedId\":\"applyCrossPageSealCount\",\"regList\":[],\"span\":4},\"__vModel__\":\"applyCrossPageSealCount\",\"style\":{\"width\":\"70%\"},\"step\":1,\"disabled\":false,\"placeholder\":\"请输入骑缝章次数\"},{\"__config__\":{\"formId\":\"takeOut\",\"showRuleList\":[],\"defaultValue\":false,\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"是否外带\",\"showLabel\":true,\"required\":false,\"unOperation\":true,\"renderKey\":1597135449562,\"layout\":\"colFormItem\",\"tagIcon\":\"switch\",\"changeTag\":true,\"tag\":\"el-switch\",\"regList\":[],\"fixedId\":\"takeOut\",\"span\":4},\"__vModel__\":\"takeOut\",\"style\":{},\"disabled\":false,\"active-value\":true,\"inactive-value\":false},{\"clearable\":true,\"__config__\":{\"formId\":\"outStartDate\",\"showRuleList\":[{\"formId\":\"takeOut\",\"sign\":\"=\",\"value\":\"true\",\"resultType\":\"boolean\"}],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"外带开始时间\",\"showLabel\":true,\"required\":false,\"unOperation\":true,\"renderKey\":1597135449562,\"layout\":\"colFormItem\",\"tagIcon\":\"date\",\"changeTag\":true,\"tag\":\"el-date-picker\",\"regList\":[],\"fixedId\":\"outStartDate\",\"span\":4},\"readonly\":false,\"format\":\"yyyy-MM-dd\",\"value-format\":\"yyyy-MM-dd\",\"__vModel__\":\"outStartDate\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择\",\"type\":\"datetime\"},{\"clearable\":true,\"__config__\":{\"formId\":\"outEndDate\",\"showRuleList\":[{\"formId\":\"takeOut\",\"sign\":\"=\",\"value\":\"true\",\"resultType\":\"boolean\"}],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"外带结束时间\",\"showLabel\":true,\"required\":false,\"unOperation\":true,\"renderKey\":1597135449562,\"layout\":\"colFormItem\",\"tagIcon\":\"date\",\"changeTag\":true,\"tag\":\"el-date-picker\",\"regList\":[],\"fixedId\":\"outEndDate\",\"span\":4},\"readonly\":false,\"format\":\"yyyy-MM-dd\",\"value-format\":\"yyyy-MM-dd\",\"__vModel__\":\"outEndDate\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择\",\"type\":\"datetime\"},{\"clearable\":true,\"__config__\":{\"formId\":\"outAddress\",\"showRuleList\":[{\"formId\":\"takeOut\",\"sign\":\"=\",\"value\":\"true\",\"resultType\":\"boolean\"}],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"外带地点\",\"showLabel\":true,\"required\":false,\"unOperation\":true,\"renderKey\":1597135449562,\"layout\":\"colFormItem\",\"tagIcon\":\"input\",\"datatype\":\"address\",\"changeTag\":true,\"tag\":\"el-input\",\"regList\":[],\"fixedId\":\"outAddress\",\"span\":4},\"readonly\":false,\"__vModel__\":\"outAddress\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"show-word-limit\":false,\"__slot__\":{\"prepend\":\"\",\"append\":\"\"},\"prefix-icon\":\"\",\"suffix-icon\":\"\"}],\"componentName\":\"sealDetail\",\"fixedId\":\"sealDetail\"},\"justify\":\"start\",\"__vModel__\":\"sealDetail\",\"type\":\"default\",\"align\":\"top\"},{\"list-type\":\"text\",\"__config__\":{\"formId\":\"useSealfile\",\"buttonText\":\"点击上传\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"用印文件\",\"showLabel\":true,\"required\":false,\"unOperation\":true,\"renderKey\":1597135449562,\"layout\":\"colFormItem\",\"tagIcon\":\"upload\",\"fileSize\":2,\"changeTag\":true,\"sizeUnit\":\"MB\",\"tag\":\"el-upload\",\"regList\":[],\"fixedId\":\"useSealfile\",\"span\":24},\"auto-upload\":true,\"name\":\"file\",\"multiple\":false,\"__vModel__\":\"useSealfile\",\"action\":\"https://jsonplaceholder.typicode.com/posts/\",\"disabled\":false,\"__slot__\":{\"list-type\":true},\"accept\":\".xls,.xlsx,.doc,.docx,.pdf,.txt\"},{\"__config__\":{\"formId\":\"remark\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"用印事由\",\"showLabel\":true,\"required\":false,\"unOperation\":true,\"renderKey\":1597135449562,\"layout\":\"colFormItem\",\"tagIcon\":\"textarea\",\"changeTag\":true,\"tag\":\"el-input\",\"regList\":[],\"fixedId\":\"remark\",\"span\":24},\"readonly\":false,\"__vModel__\":\"remark\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"show-word-limit\":false,\"type\":\"textarea\",\"autosize\":{\"minRows\":4,\"maxRows\":4}}],\"componentName\":\"useseal\",\"isGroup\":true,\"fixedId\":\"useseal\"},\"justify\":\"start\",\"icon\":\"useSeal\",\"__vModel__\":\"useseal\",\"type\":\"default\",\"align\":\"top\"}]}');

-- ----------------------------
-- Table structure for w_workflow_column
-- ----------------------------
DROP TABLE IF EXISTS `w_workflow_column`;
CREATE TABLE `w_workflow_column`  (
  `pid` int(10) NOT NULL AUTO_INCREMENT COMMENT '自增主键',
  `form_type` tinyint(2) NOT NULL COMMENT '表单类型：1 刻章 2 用印 3状态变更 4 移交 5 换章',
  `column_value` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '列字段',
  `column_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '列名称',
  `sort` tinyint(2) NOT NULL COMMENT '排序',
  `column_width` int(3) NOT NULL COMMENT '列宽，单位：%',
  `column_type` tinyint(2) NOT NULL COMMENT '列类型：1 列表展示；2 导出模板',
  `is_checked` tinyint(2) NOT NULL COMMENT '是否选中：1 未选中；2 选中',
  `parent_column` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '上一级列字段',
  `field_type` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '控件类型，固定字段为\"default\"',
  `workflow_model_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '流程model ID\n',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业号',
  `creator` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人',
  `create_date` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  PRIMARY KEY (`pid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 183 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of w_workflow_column
-- ----------------------------

-- ----------------------------
-- Table structure for w_workflow_countersign
-- ----------------------------
DROP TABLE IF EXISTS `w_workflow_countersign`;
CREATE TABLE `w_workflow_countersign`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `apply_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主线id',
  `step_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '流程步',
  `execute_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '审核人id',
  `execute_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '审核人',
  `allow` tinyint(1) NULL DEFAULT NULL COMMENT '签署0未处理 1同意 2 退上一步 3拒绝',
  `opinion` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '意见',
  `create_date` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业号',
  `type` tinyint(1) NOT NULL DEFAULT 0 COMMENT '0会签1抄送',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE,
  INDEX `idx_execute_id_apply_id`(`execute_id`, `apply_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 258 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of w_workflow_countersign
-- ----------------------------

-- ----------------------------
-- Table structure for w_workflow_line
-- ----------------------------
DROP TABLE IF EXISTS `w_workflow_line`;
CREATE TABLE `w_workflow_line`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `workflow_base_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '实例id',
  `line_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '线id',
  `from_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'from_code',
  `to_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'to_code',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业号',
  `priority` int(11) NULL DEFAULT 0 COMMENT '优先级（1、2、3、4、5）',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE,
  INDEX `idx_from_code_workflow_base_id`(`from_code`(10), `workflow_base_id`(36)) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1808 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of w_workflow_line
-- ----------------------------
INSERT INTO `w_workflow_line` VALUES (1792, 'f97b2f4e-07c0-4615-9048-5ac1599dbdb0', '677f2cec-04d4-437b-b34d-01e1391b8429', 'f90b0a20', 'cbf7da34', '2082df13', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 999);
INSERT INTO `w_workflow_line` VALUES (1793, '879302fe-98f3-474c-b747-3d7b13918fcd', '677f2cec-04d4-437b-b34d-01e1391b8429', '96e58f34', '2082df13', '0f1e97b2', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 999);
INSERT INTO `w_workflow_line` VALUES (1794, '7d1a4470-69e8-48c6-ad1e-29258b034b90', '677f2cec-04d4-437b-b34d-01e1391b8429', '47944366', '2082df13', 'c36ca0ef', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 999);
INSERT INTO `w_workflow_line` VALUES (1795, '6203bb4f-45ce-4de7-b879-b54ccb6693ae', '677f2cec-04d4-437b-b34d-01e1391b8429', '90e342ea', 'c36ca0ef', '2082df13', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 999);
INSERT INTO `w_workflow_line` VALUES (1796, '6de05e0b-7938-4bda-94e9-de2b8c866ce3', 'a4f6e27f-c28c-4bee-94b8-ebd523721f0e', 'bb1bdbac', 'a2eabded', '2081294c', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 999);
INSERT INTO `w_workflow_line` VALUES (1797, '8865cb0a-4663-4bd2-bada-578cce08aae6', 'a4f6e27f-c28c-4bee-94b8-ebd523721f0e', '93615500', '2081294c', '93dcf415', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 999);
INSERT INTO `w_workflow_line` VALUES (1798, 'e0f4a11c-c41d-4f16-97ea-56cdbed9c536', 'ec291937-f62c-430e-8f9e-c4f911dd4715', '6ffe68a8', 'f3211649', 'dc42116b', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 999);
INSERT INTO `w_workflow_line` VALUES (1799, '1cac7234-1acd-4afb-bd59-d4a3683def2e', 'ec291937-f62c-430e-8f9e-c4f911dd4715', '1989670a', 'dc42116b', 'af3d4669', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 999);
INSERT INTO `w_workflow_line` VALUES (1800, '58a9d3cf-e014-4385-b847-4328bfd8242d', 'ebab3419-58ac-42df-bcfd-e66f6cdedb63', '2a43ccb1', '646ad646', 'e71b6666', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 999);
INSERT INTO `w_workflow_line` VALUES (1801, '6dab18d0-b097-41cb-9770-4aa287cf921a', 'ebab3419-58ac-42df-bcfd-e66f6cdedb63', 'ca21d876', 'e71b6666', '55516e81', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 999);
INSERT INTO `w_workflow_line` VALUES (1802, '87da0e06-294f-4c83-8fde-5db98d0c4bf8', 'b4ffd58d-b0d8-4069-ab3f-889540afbbf5', '056d5d1d', '821ccc0d', '97c3ba64', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 999);
INSERT INTO `w_workflow_line` VALUES (1803, '428e987c-7e90-4920-9a34-9760da7283b8', 'b4ffd58d-b0d8-4069-ab3f-889540afbbf5', 'fbfe0086', '97c3ba64', '541387cc', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 999);
INSERT INTO `w_workflow_line` VALUES (1804, 'ff6808e5-e443-413c-852e-8bed1a78779e', '5e5600b8-fdef-4e4d-a0ff-30ce26889a5d', '90e342ea', 'c36ca0ef', '2082df13', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 999);
INSERT INTO `w_workflow_line` VALUES (1805, 'b1d0ec0d-0f86-40d5-bb93-a4d2de444a9c', '5e5600b8-fdef-4e4d-a0ff-30ce26889a5d', '47944366', '2082df13', 'c36ca0ef', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 999);
INSERT INTO `w_workflow_line` VALUES (1806, '3d934ccb-9339-4eb5-a2c5-01fe2811bcd8', '5e5600b8-fdef-4e4d-a0ff-30ce26889a5d', '96e58f34', '2082df13', '0f1e97b2', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 999);
INSERT INTO `w_workflow_line` VALUES (1807, 'bf6128d0-af03-4837-a32d-828e21e94ebc', '5e5600b8-fdef-4e4d-a0ff-30ce26889a5d', 'f90b0a20', 'cbf7da34', '2082df13', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 999);

-- ----------------------------
-- Table structure for w_workflow_line_relation
-- ----------------------------
DROP TABLE IF EXISTS `w_workflow_line_relation`;
CREATE TABLE `w_workflow_line_relation`  (
  `pid` int(10) NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '关联 w_workflow_line 中ID',
  `line_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '线名',
  `icon` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '图标',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业号',
  `creator` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人',
  `create_date` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `params_version_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '线配置信息id',
  `logical_expression` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '逻辑表达式',
  `logical_data` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '条件表达式（原始数据）',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 20 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of w_workflow_line_relation
-- ----------------------------
INSERT INTO `w_workflow_line_relation` VALUES (1, 'f97b2f4e-07c0-4615-9048-5ac1599dbdb0', '', '', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-08-26 14:35:28', NULL, '', '');
INSERT INTO `w_workflow_line_relation` VALUES (2, '879302fe-98f3-474c-b747-3d7b13918fcd', '', '', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-08-26 14:35:28', NULL, '', '');
INSERT INTO `w_workflow_line_relation` VALUES (3, '7d1a4470-69e8-48c6-ad1e-29258b034b90', '', '', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-08-26 14:35:28', NULL, '', '');
INSERT INTO `w_workflow_line_relation` VALUES (4, '6203bb4f-45ce-4de7-b879-b54ccb6693ae', '', '', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-08-26 14:35:28', NULL, '', '');
INSERT INTO `w_workflow_line_relation` VALUES (5, '6de05e0b-7938-4bda-94e9-de2b8c866ce3', '', '', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-04 09:59:55', NULL, '', '');
INSERT INTO `w_workflow_line_relation` VALUES (6, '8865cb0a-4663-4bd2-bada-578cce08aae6', '', '', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-04 09:59:55', NULL, '', '');
INSERT INTO `w_workflow_line_relation` VALUES (7, 'e0f4a11c-c41d-4f16-97ea-56cdbed9c536', '', '', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-04 10:01:49', NULL, '', '');
INSERT INTO `w_workflow_line_relation` VALUES (8, '1cac7234-1acd-4afb-bd59-d4a3683def2e', '', '', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-04 10:01:49', NULL, '', '');
INSERT INTO `w_workflow_line_relation` VALUES (9, '58a9d3cf-e014-4385-b847-4328bfd8242d', '', '', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-04 10:03:16', NULL, '', '');
INSERT INTO `w_workflow_line_relation` VALUES (10, '6dab18d0-b097-41cb-9770-4aa287cf921a', '', '', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-04 10:03:16', NULL, '', '');
INSERT INTO `w_workflow_line_relation` VALUES (11, '87da0e06-294f-4c83-8fde-5db98d0c4bf8', '', '', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-04 10:04:34', NULL, '', '');
INSERT INTO `w_workflow_line_relation` VALUES (12, '428e987c-7e90-4920-9a34-9760da7283b8', '', '', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-04 10:04:34', NULL, '', '');
INSERT INTO `w_workflow_line_relation` VALUES (16, 'ff6808e5-e443-413c-852e-8bed1a78779e', '', '', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '1b46e184-29d0-45a7-813e-5d6ec149f459', '2021-11-24 15:23:42', NULL, '', '');
INSERT INTO `w_workflow_line_relation` VALUES (17, 'b1d0ec0d-0f86-40d5-bb93-a4d2de444a9c', '', '', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '1b46e184-29d0-45a7-813e-5d6ec149f459', '2021-11-24 15:23:42', NULL, '', '');
INSERT INTO `w_workflow_line_relation` VALUES (18, '3d934ccb-9339-4eb5-a2c5-01fe2811bcd8', '', '', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '1b46e184-29d0-45a7-813e-5d6ec149f459', '2021-11-24 15:23:42', NULL, '', '');
INSERT INTO `w_workflow_line_relation` VALUES (19, 'bf6128d0-af03-4837-a32d-828e21e94ebc', '', '', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '1b46e184-29d0-45a7-813e-5d6ec149f459', '2021-11-24 15:23:42', NULL, '', '');

-- ----------------------------
-- Table structure for w_workflow_matrix_base
-- ----------------------------
DROP TABLE IF EXISTS `w_workflow_matrix_base`;
CREATE TABLE `w_workflow_matrix_base`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '主键',
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '业务唯一约束',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '企业ID',
  `matrix_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '矩阵名称',
  `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '矩阵描述',
  `creator` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '创建人',
  `create_date` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建日期',
  `updater` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '变更人',
  `update_date` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '变更日期',
  `del_status` tinyint(2) NOT NULL DEFAULT 0 COMMENT '0在用1删除',
  `json_data` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '用于前端展示字段',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `uniq_id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '矩阵主表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of w_workflow_matrix_base
-- ----------------------------

-- ----------------------------
-- Table structure for w_workflow_matrix_detail
-- ----------------------------
DROP TABLE IF EXISTS `w_workflow_matrix_detail`;
CREATE TABLE `w_workflow_matrix_detail`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '主键',
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '业务唯一约束',
  `matrix_base_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '矩阵base主键',
  `matrix_type` tinyint(1) NOT NULL DEFAULT 0 COMMENT '类型（1：部门，2：人员，3：印章）',
  `source_key` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '原点字段key(用于比对)',
  `source_content` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '原点字段内容（用于页面展示）',
  `result_key` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '目标字段key',
  `result_content` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '目标字段内容',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '企业ID',
  `creator` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '创建人',
  `create_date` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建日期',
  `updater` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '更改人',
  `update_date` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '更改日期',
  `del_status` tinyint(2) NOT NULL DEFAULT 0 COMMENT '0在用1删除',
  `group_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '分组字段',
  `sort` int(4) NOT NULL DEFAULT 1 COMMENT '排序',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `uniq_id`(`id`) USING BTREE,
  INDEX `idx_matrix_base_id_del_status_source_key_result_key`(`matrix_base_id`, `del_status`, `source_key`, `result_key`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '矩阵明细表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of w_workflow_matrix_detail
-- ----------------------------

-- ----------------------------
-- Table structure for w_workflow_model
-- ----------------------------
DROP TABLE IF EXISTS `w_workflow_model`;
CREATE TABLE `w_workflow_model`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '流程名字',
  `icon` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '图标',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '公司id',
  `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
  `sort` bigint(10) NULL DEFAULT NULL COMMENT '排序',
  `status` tinyint(1) NOT NULL DEFAULT 0 COMMENT '状态0在用1删除',
  `version` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '版本',
  `org_no` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '部门编号',
  `form_type` tinyint(1) NOT NULL COMMENT '表单类型',
  `work_flow_type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '申请类型',
  `department_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '所属部门或者子公司id',
  `model_type` tinyint(1) NOT NULL DEFAULT 0 COMMENT '0默认，1接口专用流程',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE,
  INDEX `idx_form_type`(`form_type`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 155 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of w_workflow_model
-- ----------------------------
INSERT INTO `w_workflow_model` VALUES (150, '1f6b36ce-b785-42c4-936d-bfa9190652bf', '接口专用用印申请流程', 'icon19', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '2021-11-25 16:45:29', 1, 0, 'version_2', NULL, 2, '其他', '1', 1);
INSERT INTO `w_workflow_model` VALUES (151, '15ce68e9-ca09-414f-98f8-cfa4fb296745', '接口专用刻章流程', 'icon19', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '2020-12-04 09:59:55', 0, 0, 'version_2', NULL, 1, '其他', '1', 1);
INSERT INTO `w_workflow_model` VALUES (152, '76de32a2-7346-49f4-ad72-9952a0ba9e17', '接口专用状态变更流程', 'icon19', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '2020-12-04 10:01:49', 0, 0, 'version_2', NULL, 3, '其他', '1', 1);
INSERT INTO `w_workflow_model` VALUES (153, 'bfa58221-a135-4f8c-a8ff-7e3ba301b915', '接口专用换章流程', 'icon19', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '2020-12-04 10:03:16', 0, 0, 'version_2', NULL, 5, '其他', '1', 1);
INSERT INTO `w_workflow_model` VALUES (154, '8ce58de8-1d6c-4b37-acb3-2d328b51f88d', '接口专用印章移交流程', 'icon19', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '2020-12-04 10:04:34', 0, 0, 'version_2', NULL, 4, '其他', '1', 1);

-- ----------------------------
-- Table structure for w_workflow_model_relation
-- ----------------------------
DROP TABLE IF EXISTS `w_workflow_model_relation`;
CREATE TABLE `w_workflow_model_relation`  (
  `pid` int(10) NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '关联b_used_seal_info中ID',
  `meta_data` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '元数据',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '公司id',
  `creator` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建者',
  `description` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '描述',
  `update_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '更新用户的id',
  `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新日期',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 8 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of w_workflow_model_relation
-- ----------------------------
INSERT INTO `w_workflow_model_relation` VALUES (1, '1f6b36ce-b785-42c4-936d-bfa9190652bf', '{\"userList\":[{\"itemType\":0,\"itemValue\":\"71a5c292-68b4-407c-9a3d-ec61bc4bebe5\",\"itemName\":\"管理员\",\"flag\":0,\"targetType\":0,\"id\":null,\"usedType\":0,\"usedId\":null,\"versionId\":null,\"companyId\":null,\"createDate\":null,\"isContainsLower\":0,\"authType\":0}],\"formData\":{\"formName\":null,\"fields\":[{\"active-text\":\"\",\"__config__\":{\"formId\":\"ocr_102\",\"showRuleList\":[],\"defaultValue\":false,\"display\":\"hasRule\",\"isShowRule\":true,\"onlyOne\":true,\"label\":\"ocr开关\",\"showLabel\":true,\"required\":false,\"renderKey\":1597135487740,\"layout\":\"colFormItem\",\"tagIcon\":\"switch\",\"datatype\":\"ocr\",\"changeTag\":true,\"tag\":\"el-switch\",\"regList\":[],\"span\":6},\"inactive-text\":\"\",\"icon\":\"ocr\",\"__vModel__\":\"ocr_102\",\"style\":{},\"disabled\":false,\"active-value\":true,\"inactive-value\":false},{\"clearable\":true,\"__config__\":{\"formId\":\"overman_101\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"人员\",\"showLabel\":true,\"required\":false,\"unOperation\":false,\"renderKey\":1597135479230,\"layout\":\"colFormItem\",\"tagIcon\":\"input\",\"datatype\":\"overman\",\"changeTag\":true,\"tag\":\"el-input\",\"regList\":[],\"span\":6},\"readonly\":false,\"icon\":\"overman\",\"__vModel__\":\"overman_101\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择人员\",\"show-word-limit\":false,\"__slot__\":{\"prepend\":\"\",\"append\":\"\"},\"prefix-icon\":\"\",\"suffix-icon\":\"\"},{\"active-text\":\"\",\"__config__\":{\"formId\":\"prevent-water-mark_105\",\"showRuleList\":[],\"defaultValue\":false,\"display\":\"hasRule\",\"isShowRule\":true,\"onlyOne\":true,\"label\":\"水印事前\",\"showLabel\":true,\"required\":false,\"renderKey\":1597135497241,\"layout\":\"colFormItem\",\"tagIcon\":\"switch\",\"datatype\":\"prevent-water-mark\",\"changeTag\":true,\"tag\":\"el-switch\",\"regList\":[],\"span\":6},\"inactive-text\":\"\",\"icon\":\"watermark-prevent\",\"__vModel__\":\"prevent-water-mark_105\",\"style\":{},\"disabled\":false,\"active-value\":true,\"inactive-value\":false},{\"active-text\":\"\",\"__config__\":{\"formId\":\"prevent_104\",\"showRuleList\":[],\"defaultValue\":false,\"display\":\"hasRule\",\"isShowRule\":true,\"onlyOne\":true,\"label\":\"二维码事前\",\"showLabel\":true,\"required\":false,\"renderKey\":1597135495581,\"layout\":\"colFormItem\",\"tagIcon\":\"switch\",\"datatype\":\"prevent\",\"changeTag\":true,\"tag\":\"el-switch\",\"regList\":[],\"span\":6},\"inactive-text\":\"\",\"icon\":\"qrcode\",\"__vModel__\":\"prevent_104\",\"style\":{},\"disabled\":false,\"active-value\":true,\"inactive-value\":false},{\"active-text\":\"\",\"__config__\":{\"formId\":\"prevent-power_106\",\"showRuleList\":[],\"defaultValue\":false,\"display\":\"hasRule\",\"isShowRule\":true,\"onlyOne\":true,\"label\":\"远程授权\",\"showLabel\":true,\"required\":false,\"renderKey\":1597135499475,\"layout\":\"colFormItem\",\"tagIcon\":\"switch\",\"datatype\":\"prevent-power\",\"changeTag\":true,\"tag\":\"el-switch\",\"regList\":[],\"span\":6},\"inactive-text\":\"\",\"icon\":\"remote-control\",\"__vModel__\":\"prevent-power_106\",\"style\":{},\"disabled\":false,\"active-value\":true,\"inactive-value\":false},{\"active-text\":\"\",\"__config__\":{\"formId\":\"watermark_103\",\"showRuleList\":[],\"defaultValue\":false,\"display\":\"hasRule\",\"isShowRule\":true,\"onlyOne\":true,\"label\":\"水印开关\",\"showLabel\":true,\"required\":false,\"renderKey\":1597135491834,\"layout\":\"colFormItem\",\"tagIcon\":\"switch\",\"datatype\":\"watermark\",\"changeTag\":true,\"tag\":\"el-switch\",\"regList\":[],\"span\":6},\"inactive-text\":\"\",\"icon\":\"watermark\",\"__vModel__\":\"watermark_103\",\"style\":{},\"disabled\":false,\"active-value\":true,\"inactive-value\":false},{\"__config__\":{\"i18n\":\"inputRemoteMonitoring\",\"label\":\"远程实时监控\",\"tag\":\"el-switch\",\"tagIcon\":\"switch\",\"datatype\":\"remote-monitoring\",\"defaultValue\":false,\"onlyOne\":true,\"span\":6,\"showLabel\":true,\"labelWidth\":null,\"layout\":\"colFormItem\",\"required\":false,\"regList\":[],\"changeTag\":true,\"display\":\"hasRule\",\"isShowRule\":true,\"showRuleList\":[],\"formId\":\"remote-monitoring_101\",\"renderKey\":1637738497469},\"style\":{},\"disabled\":false,\"remoteMonitoringValue\":\"0\",\"active-text\":\"\",\"inactive-text\":\"\",\"active-color\":null,\"inactive-color\":null,\"active-value\":true,\"inactive-value\":false,\"icon\":\"component-remote-monitoring\",\"__vModel__\":\"remote-monitoring_101\"},{\"__config__\":{\"formId\":\"useseal\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"onlyOne\":true,\"label\":\"用章\",\"renderKey\":1597135449562,\"layout\":\"rowFormItem\",\"gutter\":15,\"tagIcon\":\"row\",\"layoutTree\":true,\"datatype\":\"useseal\",\"children\":[{\"clearable\":true,\"__config__\":{\"formId\":\"title\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"标题\",\"showLabel\":true,\"required\":false,\"unOperation\":true,\"renderKey\":1597135449562,\"layout\":\"colFormItem\",\"tagIcon\":\"input\",\"changeTag\":true,\"tag\":\"el-input\",\"fixedId\":\"title\",\"regList\":[],\"span\":24},\"readonly\":false,\"maxlength\":200,\"__vModel__\":\"title\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入标题\",\"show-word-limit\":false,\"__slot__\":{\"prepend\":\"\",\"append\":\"\"},\"prefix-icon\":\"\",\"suffix-icon\":\"\"},{\"__config__\":{\"formId\":\"sealDetail\",\"showRuleList\":[],\"sealList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"印章明细\",\"unOperation\":true,\"renderKey\":1597135449562,\"layout\":\"rowFormItem\",\"tagIcon\":\"row\",\"layoutTree\":true,\"datatype\":\"detail\",\"children\":[{\"clearable\":true,\"__config__\":{\"formId\":\"sealName\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"印章名称\",\"sealType\":\"all_using\",\"showLabel\":true,\"required\":false,\"unOperation\":true,\"renderKey\":1597135449562,\"layout\":\"colFormItem\",\"tagIcon\":\"input\",\"datatype\":\"seal\",\"changeTag\":true,\"tag\":\"el-input\",\"fixedId\":\"sealName\",\"regList\":[],\"span\":4},\"readonly\":false,\"__vModel__\":\"sealName\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"show-word-limit\":false,\"__slot__\":{\"prepend\":\"\",\"append\":\"\"},\"prefix-icon\":\"\",\"suffix-icon\":\"\"},{\"__config__\":{\"formId\":\"applyCount\",\"showRuleList\":[],\"max\":9999,\"defaultValue\":0,\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"用印次数\",\"showLabel\":true,\"required\":false,\"unOperation\":true,\"renderKey\":1597135449562,\"layout\":\"colFormItem\",\"isInteger\":true,\"min\":1,\"tagIcon\":\"number\",\"changeTag\":true,\"tag\":\"el-input-number\",\"fixedId\":\"applyCount\",\"regList\":[],\"span\":4},\"__vModel__\":\"applyCount\",\"style\":{\"width\":\"70%\"},\"step\":1,\"disabled\":false,\"placeholder\":\"请输入用印次数\"},{\"__config__\":{\"formId\":\"applyCrossPageSealCount\",\"showRuleList\":[],\"max\":9999,\"defaultValue\":0,\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"骑缝章次数\",\"showLabel\":true,\"required\":false,\"unOperation\":true,\"renderKey\":1597135449562,\"layout\":\"colFormItem\",\"isInteger\":true,\"min\":0,\"tagIcon\":\"number\",\"changeTag\":true,\"tag\":\"el-input-number\",\"fixedId\":\"applyCrossPageSealCount\",\"regList\":[],\"span\":4},\"__vModel__\":\"applyCrossPageSealCount\",\"style\":{\"width\":\"70%\"},\"step\":1,\"disabled\":false,\"placeholder\":\"请输入骑缝章次数\"},{\"__config__\":{\"formId\":\"takeOut\",\"showRuleList\":[],\"defaultValue\":false,\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"是否外带\",\"showLabel\":true,\"required\":false,\"unOperation\":true,\"renderKey\":1597135449562,\"layout\":\"colFormItem\",\"tagIcon\":\"switch\",\"changeTag\":true,\"tag\":\"el-switch\",\"regList\":[],\"fixedId\":\"takeOut\",\"span\":4},\"__vModel__\":\"takeOut\",\"style\":{},\"disabled\":false,\"active-value\":true,\"inactive-value\":false},{\"clearable\":true,\"__config__\":{\"formId\":\"outStartDate\",\"showRuleList\":[{\"formId\":\"takeOut\",\"sign\":\"=\",\"value\":\"true\",\"resultType\":\"boolean\"}],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"外带开始时间\",\"showLabel\":true,\"required\":false,\"unOperation\":true,\"renderKey\":1597135449562,\"layout\":\"colFormItem\",\"tagIcon\":\"date\",\"changeTag\":true,\"tag\":\"el-date-picker\",\"regList\":[],\"fixedId\":\"outStartDate\",\"span\":4},\"readonly\":false,\"format\":\"yyyy-MM-dd\",\"value-format\":\"yyyy-MM-dd\",\"__vModel__\":\"outStartDate\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择\",\"type\":\"datetime\"},{\"clearable\":true,\"__config__\":{\"formId\":\"outEndDate\",\"showRuleList\":[{\"formId\":\"takeOut\",\"sign\":\"=\",\"value\":\"true\",\"resultType\":\"boolean\"}],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"外带结束时间\",\"showLabel\":true,\"required\":false,\"unOperation\":true,\"renderKey\":1597135449562,\"layout\":\"colFormItem\",\"tagIcon\":\"date\",\"changeTag\":true,\"tag\":\"el-date-picker\",\"regList\":[],\"fixedId\":\"outEndDate\",\"span\":4},\"readonly\":false,\"format\":\"yyyy-MM-dd\",\"value-format\":\"yyyy-MM-dd\",\"__vModel__\":\"outEndDate\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择\",\"type\":\"datetime\"},{\"clearable\":true,\"__config__\":{\"formId\":\"outAddress\",\"showRuleList\":[{\"formId\":\"takeOut\",\"sign\":\"=\",\"value\":\"true\",\"resultType\":\"boolean\"}],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"外带地点\",\"showLabel\":true,\"required\":false,\"unOperation\":true,\"renderKey\":1597135449562,\"layout\":\"colFormItem\",\"tagIcon\":\"input\",\"datatype\":\"address\",\"changeTag\":true,\"tag\":\"el-input\",\"regList\":[],\"fixedId\":\"outAddress\",\"span\":4},\"readonly\":false,\"__vModel__\":\"outAddress\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"show-word-limit\":false,\"__slot__\":{\"prepend\":\"\",\"append\":\"\"},\"prefix-icon\":\"\",\"suffix-icon\":\"\"}],\"componentName\":\"sealDetail\",\"fixedId\":\"sealDetail\"},\"justify\":\"start\",\"__vModel__\":\"sealDetail\",\"type\":\"default\",\"align\":\"top\"},{\"list-type\":\"text\",\"__config__\":{\"formId\":\"useSealfile\",\"buttonText\":\"点击上传\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"用印文件\",\"showLabel\":true,\"required\":false,\"unOperation\":true,\"renderKey\":1597135449562,\"layout\":\"colFormItem\",\"tagIcon\":\"upload\",\"fileSize\":2,\"changeTag\":true,\"sizeUnit\":\"MB\",\"tag\":\"el-upload\",\"regList\":[],\"fixedId\":\"useSealfile\",\"span\":24},\"auto-upload\":true,\"name\":\"file\",\"multiple\":false,\"__vModel__\":\"useSealfile\",\"action\":\"https://jsonplaceholder.typicode.com/posts/\",\"disabled\":false,\"__slot__\":{\"list-type\":true},\"accept\":\".xls,.xlsx,.doc,.docx,.pdf,.txt\"},{\"__config__\":{\"formId\":\"remark\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"用印事由\",\"showLabel\":true,\"required\":false,\"unOperation\":true,\"renderKey\":1597135449562,\"layout\":\"colFormItem\",\"tagIcon\":\"textarea\",\"changeTag\":true,\"tag\":\"el-input\",\"regList\":[],\"fixedId\":\"remark\",\"span\":24},\"readonly\":false,\"__vModel__\":\"remark\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"show-word-limit\":false,\"type\":\"textarea\",\"autosize\":{\"minRows\":4,\"maxRows\":4}}],\"componentName\":\"useseal\",\"isGroup\":true,\"fixedId\":\"useseal\"},\"justify\":\"start\",\"icon\":\"useSeal\",\"__vModel__\":\"useseal\",\"type\":\"default\",\"align\":\"top\"}],\"sealList\":[],\"formType\":2},\"workflowBase\":{\"id\":null,\"name\":\"接口专用用印申请流程\",\"metadata\":{\"edges\":[{\"id\":\"f90b0a20\",\"label\":null,\"shape\":\"flow-polyline\",\"sourceAnchor\":\"1\",\"source\":\"cbf7da34\",\"targetAnchor\":\"3\",\"target\":\"2082df13\",\"index\":1,\"conditionalBranching\":null},{\"id\":\"96e58f34\",\"label\":null,\"shape\":\"flow-polyline\",\"sourceAnchor\":\"1\",\"source\":\"2082df13\",\"targetAnchor\":\"3\",\"target\":\"0f1e97b2\",\"index\":2,\"conditionalBranching\":null},{\"id\":\"47944366\",\"label\":null,\"shape\":\"flow-polyline\",\"sourceAnchor\":\"2\",\"source\":\"2082df13\",\"targetAnchor\":\"0\",\"target\":\"c36ca0ef\",\"index\":6,\"conditionalBranching\":null},{\"id\":\"90e342ea\",\"label\":null,\"shape\":\"flow-polyline\",\"sourceAnchor\":\"3\",\"source\":\"c36ca0ef\",\"targetAnchor\":\"3\",\"target\":\"2082df13\",\"index\":7,\"conditionalBranching\":null}],\"nodes\":[{\"id\":\"cbf7da34\",\"vEfcfa25a\":\"\",\"type\":\"node\",\"shape\":\"circle\",\"size\":\"72*72\",\"color\":\"#3e75c7\",\"x\":86,\"y\":179,\"index\":0,\"label\":\"开始\",\"nodetype\":8,\"signType\":0,\"settings\":{\"addSeal\":false,\"moveSeal\":false},\"approverType\":0,\"approverValue\":[],\"copySends\":[],\"privilege\":[{\"formId\":\"title\",\"readable\":true,\"label\":\"标题\",\"required\":false,\"writable\":true},{\"formId\":\"sealDetail\",\"readable\":true,\"children\":[{\"formId\":\"sealName\",\"readable\":true,\"label\":\"印章名称\",\"required\":false,\"writable\":true},{\"formId\":\"applyCount\",\"readable\":true,\"label\":\"用印次数\",\"required\":false,\"writable\":true},{\"formId\":\"applyCrossPageSealCount\",\"readable\":true,\"label\":\"骑缝章次数\",\"required\":false,\"writable\":true},{\"formId\":\"takeOut\",\"readable\":true,\"label\":\"是否外带\",\"required\":false,\"writable\":true},{\"formId\":\"outStartDate\",\"readable\":true,\"label\":\"外带开始时间\",\"required\":false,\"writable\":true},{\"formId\":\"outEndDate\",\"readable\":true,\"label\":\"外带结束时间\",\"required\":false,\"writable\":true},{\"formId\":\"outAddress\",\"readable\":true,\"label\":\"外带地点\",\"required\":false,\"writable\":true}],\"label\":\"印章明细\",\"required\":false,\"writable\":true},{\"formId\":\"useSealfile\",\"readable\":true,\"label\":\"用印文件\",\"required\":false,\"writable\":true},{\"formId\":\"remark\",\"readable\":true,\"label\":\"用印事由\",\"required\":false,\"writable\":true}],\"matrix\":[],\"riskHints\":\"\",\"approvalRoleDepType\":null},{\"id\":\"2082df13\",\"vEfcfa25a\":\"\",\"type\":\"node\",\"shape\":\"flow-rect\",\"size\":\"80*48\",\"color\":\"#0A7BFF\",\"x\":617,\"y\":179,\"index\":3,\"label\":\"授权\",\"nodetype\":2,\"signType\":2,\"settings\":{\"addSeal\":true,\"moveSeal\":false},\"approverType\":9,\"approverValue\":[],\"copySends\":[],\"privilege\":[{\"formId\":\"ocr_102\",\"readable\":true,\"label\":\"ocr开关\",\"required\":false,\"writable\":false},{\"formId\":\"overman_101\",\"readable\":true,\"label\":\"人员\",\"required\":false,\"writable\":false},{\"formId\":\"prevent-water-mark_105\",\"readable\":true,\"label\":\"水印事前\",\"required\":false,\"writable\":false},{\"formId\":\"prevent_104\",\"readable\":true,\"label\":\"二维码事前\",\"required\":false,\"writable\":false},{\"formId\":\"prevent-power_106\",\"readable\":true,\"label\":\"远程授权\",\"required\":false,\"writable\":false},{\"formId\":\"watermark_103\",\"readable\":true,\"label\":\"水印开关\",\"required\":false,\"writable\":false},{\"formId\":\"title\",\"readable\":true,\"label\":\"标题\",\"required\":false,\"writable\":false},{\"formId\":\"sealDetail\",\"readable\":true,\"children\":[{\"formId\":\"sealName\",\"readable\":true,\"label\":\"印章名称\",\"required\":false,\"writable\":false},{\"formId\":\"applyCount\",\"readable\":true,\"label\":\"用印次数\",\"required\":false,\"writable\":false},{\"formId\":\"applyCrossPageSealCount\",\"readable\":true,\"label\":\"骑缝章次数\",\"required\":false,\"writable\":false},{\"formId\":\"takeOut\",\"readable\":true,\"label\":\"是否外带\",\"required\":false,\"writable\":false},{\"formId\":\"outStartDate\",\"readable\":true,\"label\":\"外带开始时间\",\"required\":false,\"writable\":false},{\"formId\":\"outEndDate\",\"readable\":true,\"label\":\"外带结束时间\",\"required\":false,\"writable\":false},{\"formId\":\"outAddress\",\"readable\":true,\"label\":\"外带地点\",\"required\":false,\"writable\":false}],\"label\":\"印章明细\",\"required\":false,\"writable\":false},{\"formId\":\"useSealfile\",\"readable\":true,\"label\":\"用印文件\",\"required\":false,\"writable\":false},{\"formId\":\"remark\",\"readable\":true,\"label\":\"用印事由\",\"required\":false,\"writable\":false}],\"matrix\":[{\"pid\":0,\"id\":null,\"workflowBaseId\":null,\"nodeCode\":null,\"matrixBaseId\":\"fce02779-4378-44d3-8369-b1435e10a9ac\",\"matrixBaseName\":\"接口测试使用-人员\",\"matrixType\":2,\"formKey\":\"overman_101\",\"formContent\":\"\",\"companyId\":null,\"creator\":null,\"createDate\":null,\"updater\":null,\"updateDate\":null,\"delStatus\":null}],\"riskHints\":\"\",\"approvalRoleDepType\":null},{\"id\":\"0f1e97b2\",\"vEfcfa25a\":\"\",\"type\":\"node\",\"shape\":\"circle\",\"size\":\"72*72\",\"color\":\"#3e75c7\",\"x\":1153,\"y\":178,\"index\":4,\"label\":\"结束\",\"nodetype\":9,\"signType\":0,\"settings\":null,\"approverType\":0,\"approverValue\":[],\"copySends\":[],\"privilege\":[{\"formId\":\"ocr_102\",\"label\":\"ocr开关\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false},{\"formId\":\"overman_101\",\"label\":\"人员\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false},{\"formId\":\"prevent-water-mark_105\",\"label\":\"水印事前\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false},{\"formId\":\"prevent_104\",\"label\":\"二维码事前\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false},{\"formId\":\"prevent-power_106\",\"label\":\"远程授权\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false},{\"formId\":\"watermark_103\",\"label\":\"水印开关\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false},{\"formId\":\"remote-monitoring_101\",\"label\":\"远程实时监控\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false},{\"formId\":\"title\",\"label\":\"标题\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false},{\"formId\":\"sealDetail\",\"label\":\"印章明细\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false,\"children\":[{\"formId\":\"sealName\",\"label\":\"印章名称\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false},{\"formId\":\"applyCount\",\"label\":\"用印次数\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false},{\"formId\":\"applyCrossPageSealCount\",\"label\":\"骑缝章次数\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false},{\"formId\":\"takeOut\",\"label\":\"是否外带\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false},{\"formId\":\"outStartDate\",\"label\":\"外带开始时间\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false},{\"formId\":\"outEndDate\",\"label\":\"外带结束时间\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false},{\"formId\":\"outAddress\",\"label\":\"外带地点\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false}]},{\"formId\":\"useSealfile\",\"label\":\"用印文件\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false},{\"formId\":\"remark\",\"label\":\"用印事由\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false}],\"matrix\":null,\"riskHints\":null,\"approvalRoleDepType\":null},{\"id\":\"c36ca0ef\",\"vEfcfa25a\":\"\",\"type\":\"node\",\"shape\":\"flow-rect\",\"size\":\"80*48\",\"color\":\"#0A7BFF\",\"x\":617,\"y\":485,\"index\":5,\"label\":\"补签\",\"nodetype\":2,\"signType\":5,\"settings\":{\"addSeal\":false,\"moveSeal\":false},\"approverType\":0,\"approverValue\":[{\"itemType\":0,\"itemValue\":\"71a5c292-68b4-407c-9a3d-ec61bc4bebe5\",\"itemName\":\"管理员\",\"flag\":0,\"targetType\":0,\"id\":null,\"usedType\":0,\"usedId\":null,\"versionId\":null,\"companyId\":null,\"createDate\":null,\"isContainsLower\":0,\"authType\":0}],\"copySends\":[],\"privilege\":[{\"formId\":\"ocr_102\",\"readable\":true,\"label\":\"ocr开关\",\"required\":false,\"writable\":false},{\"formId\":\"overman_101\",\"readable\":true,\"label\":\"人员\",\"required\":false,\"writable\":false},{\"formId\":\"prevent-water-mark_105\",\"readable\":true,\"label\":\"水印事前\",\"required\":false,\"writable\":false},{\"formId\":\"prevent_104\",\"readable\":true,\"label\":\"二维码事前\",\"required\":false,\"writable\":false},{\"formId\":\"prevent-power_106\",\"readable\":true,\"label\":\"远程授权\",\"required\":false,\"writable\":false},{\"formId\":\"watermark_103\",\"readable\":true,\"label\":\"水印开关\",\"required\":false,\"writable\":false},{\"formId\":\"title\",\"readable\":true,\"label\":\"标题\",\"required\":false,\"writable\":false},{\"formId\":\"sealDetail\",\"readable\":true,\"children\":[{\"formId\":\"sealName\",\"readable\":true,\"label\":\"印章名称\",\"required\":false,\"writable\":false},{\"formId\":\"applyCount\",\"readable\":true,\"label\":\"用印次数\",\"required\":false,\"writable\":false},{\"formId\":\"applyCrossPageSealCount\",\"readable\":true,\"label\":\"骑缝章次数\",\"required\":false,\"writable\":false},{\"formId\":\"takeOut\",\"readable\":true,\"label\":\"是否外带\",\"required\":false,\"writable\":false},{\"formId\":\"outStartDate\",\"readable\":true,\"label\":\"外带开始时间\",\"required\":false,\"writable\":false},{\"formId\":\"outEndDate\",\"readable\":true,\"label\":\"外带结束时间\",\"required\":false,\"writable\":false},{\"formId\":\"outAddress\",\"readable\":true,\"label\":\"外带地点\",\"required\":false,\"writable\":false}],\"label\":\"印章明细\",\"required\":false,\"writable\":false},{\"formId\":\"useSealfile\",\"readable\":true,\"label\":\"用印文件\",\"required\":false,\"writable\":false},{\"formId\":\"remark\",\"readable\":true,\"label\":\"用印事由\",\"required\":false,\"writable\":false}],\"matrix\":[],\"riskHints\":\"\",\"approvalRoleDepType\":null}]},\"icon\":\"icon19\",\"description\":\"\",\"workflowType\":\"其他\",\"sort\":1,\"expiredPolicy\":null}}', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '', NULL, NULL);
INSERT INTO `w_workflow_model_relation` VALUES (2, '15ce68e9-ca09-414f-98f8-cfa4fb296745', '{\"userList\":[{\"itemName\":\"管理员\",\"itemType\":0,\"flag\":0,\"itemValue\":\"71a5c292-68b4-407c-9a3d-ec61bc4bebe5\",\"targetType\":0,\"usedType\":0,\"username\":\"admin\"}],\"formData\":{\"formType\":1,\"sealList\":[],\"fields\":[{\"__config__\":{\"formId\":\"createSeal\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"onlyOne\":true,\"label\":\"刻章\",\"i18n\":\"createSeal\",\"renderKey\":1607047151333,\"layout\":\"rowFormItem\",\"gutter\":15,\"tagIcon\":\"row\",\"layoutTree\":true,\"datatype\":\"createSeal\",\"children\":[{\"__config__\":{\"formId\":\"createSealDetail\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"刻章明细\",\"required\":true,\"unOperation\":true,\"renderKey\":1607047151333,\"isSystem\":true,\"layout\":\"rowFormItem\",\"tagIcon\":\"row\",\"layoutTree\":true,\"datatype\":\"detail\",\"children\":[{\"clearable\":true,\"__config__\":{\"formId\":\"sealName\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"印章名称\",\"showLabel\":true,\"required\":true,\"unOperation\":true,\"renderKey\":1607047151333,\"isSystem\":true,\"layout\":\"colFormItem\",\"tagIcon\":\"input\",\"changeTag\":true,\"tag\":\"el-input\",\"fixedId\":\"sealName\",\"regList\":[],\"span\":24},\"readonly\":false,\"maxlength\":30,\"__vModel__\":\"sealName\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入印章名称\",\"show-word-limit\":true,\"__slot__\":{\"prepend\":\"\",\"append\":\"\"},\"prefix-icon\":\"\",\"suffix-icon\":\"\"},{\"filterable\":false,\"clearable\":true,\"__config__\":{\"formId\":\"sealMaterial\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"印章材质\",\"showLabel\":true,\"required\":true,\"unOperation\":true,\"renderKey\":1607047151333,\"isSystem\":true,\"layout\":\"colFormItem\",\"tagIcon\":\"select\",\"changeTag\":true,\"tag\":\"el-select\",\"regList\":[],\"fixedId\":\"sealMaterial\",\"span\":6},\"multiple\":false,\"__vModel__\":\"sealMaterial\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择\",\"__slot__\":{\"dataList\":\"seal_material\",\"options\":[]}},{\"filterable\":false,\"clearable\":true,\"__config__\":{\"formId\":\"sealShape\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"印章形状\",\"showLabel\":true,\"required\":true,\"unOperation\":true,\"renderKey\":1607047151333,\"isSystem\":true,\"layout\":\"colFormItem\",\"tagIcon\":\"select\",\"changeTag\":true,\"tag\":\"el-select\",\"regList\":[],\"fixedId\":\"sealShape\",\"span\":6},\"multiple\":false,\"__vModel__\":\"sealShape\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择\",\"__slot__\":{\"dataList\":\"seal_shape\",\"options\":[]}},{\"filterable\":false,\"clearable\":true,\"__config__\":{\"formId\":\"sealType\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"印章类型\",\"showLabel\":true,\"required\":true,\"unOperation\":true,\"renderKey\":1607047151333,\"isSystem\":true,\"layout\":\"colFormItem\",\"tagIcon\":\"select\",\"changeTag\":true,\"tag\":\"el-select\",\"regList\":[],\"fixedId\":\"sealType\",\"span\":6},\"multiple\":false,\"__vModel__\":\"sealType\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择\",\"__slot__\":{\"dataList\":\"seal_type\",\"options\":[]}},{\"clearable\":true,\"__config__\":{\"formId\":\"sealDept\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"印章所属部门\",\"showLabel\":true,\"required\":true,\"unOperation\":true,\"renderKey\":1607047151333,\"isSystem\":true,\"layout\":\"colFormItem\",\"tagIcon\":\"input\",\"datatype\":\"sector\",\"changeTag\":true,\"tag\":\"el-input\",\"regList\":[],\"fixedId\":\"sealDept\",\"span\":6},\"readonly\":false,\"__vModel__\":\"sealDept\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择部门\",\"show-word-limit\":false,\"__slot__\":{\"prepend\":\"\",\"append\":\"\"},\"prefix-icon\":\"\",\"suffix-icon\":\"\"}],\"componentName\":\"createSealDetail\",\"fixedId\":\"createSealDetail\"},\"justify\":\"start\",\"__vModel__\":\"createSealDetail\",\"type\":\"default\",\"align\":\"top\"},{\"__config__\":{\"formId\":\"remark\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"刻章事由\",\"showLabel\":true,\"required\":false,\"unOperation\":true,\"renderKey\":1607047151333,\"layout\":\"colFormItem\",\"tagIcon\":\"textarea\",\"changeTag\":true,\"tag\":\"el-input\",\"regList\":[],\"fixedId\":\"remark\",\"span\":24},\"readonly\":false,\"__vModel__\":\"remark\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"show-word-limit\":false,\"type\":\"textarea\",\"autosize\":{\"minRows\":4,\"maxRows\":4}}],\"componentName\":\"createSeal\",\"isGroup\":true,\"fixedId\":\"createSeal\"},\"justify\":\"start\",\"icon\":\"component-group-create-seal\",\"__vModel__\":\"createSeal\",\"type\":\"default\",\"align\":\"top\"}]},\"workflowBase\":{\"metadata\":{\"nodes\":[{\"nodetype\":8,\"color\":\"#3e75c7\",\"shape\":\"circle\",\"index\":0,\"label\":\"开始\",\"type\":\"node\",\"approverValue\":[],\"size\":\"72*72\",\"copySends\":[],\"x\":432,\"signType\":0,\"y\":232,\"id\":\"a2eabded\",\"approverType\":0},{\"settings\":{\"addSeal\":false,\"isManual\":false,\"moveSeal\":false,\"approvalOpinion\":false},\"nodetype\":2,\"color\":\"#0A7BFF\",\"shape\":\"flow-rect\",\"index\":2,\"label\":\"审批\",\"privilege\":[{\"formId\":\"createSealDetail\",\"isSystem\":true,\"readable\":true,\"children\":[{\"formId\":\"sealName\",\"isSystem\":true,\"readable\":true,\"label\":\"印章名称\",\"required\":false,\"writable\":false},{\"formId\":\"sealMaterial\",\"isSystem\":true,\"readable\":true,\"label\":\"印章材质\",\"required\":false,\"writable\":false},{\"formId\":\"sealShape\",\"isSystem\":true,\"readable\":true,\"label\":\"印章形状\",\"required\":false,\"writable\":false},{\"formId\":\"sealType\",\"isSystem\":true,\"readable\":true,\"label\":\"印章类型\",\"required\":false,\"writable\":false},{\"formId\":\"sealDept\",\"isSystem\":true,\"readable\":true,\"label\":\"印章所属部门\",\"required\":false,\"writable\":false}],\"label\":\"刻章明细\",\"required\":false,\"writable\":false},{\"formId\":\"remark\",\"isSystem\":false,\"readable\":true,\"label\":\"刻章事由\",\"required\":false,\"writable\":false}],\"matrix\":[],\"type\":\"node\",\"approvalRoleDepType\":\"initDep\",\"approverValue\":[],\"size\":\"80*48\",\"copySends\":[],\"x\":653,\"signType\":2,\"y\":232,\"id\":\"2081294c\",\"approverType\":4,\"riskHints\":\"\"},{\"nodetype\":9,\"color\":\"#3e75c7\",\"shape\":\"circle\",\"index\":4,\"label\":\"结束\",\"type\":\"node\",\"approverValue\":[],\"size\":\"72*72\",\"copySends\":[],\"x\":889,\"signType\":0,\"y\":233,\"id\":\"93dcf415\",\"approverType\":0}],\"edges\":[{\"sourceAnchor\":\"1\",\"targetAnchor\":\"3\",\"shape\":\"flow-polyline\",\"index\":1,\"id\":\"bb1bdbac\",\"source\":\"a2eabded\",\"target\":\"2081294c\"},{\"sourceAnchor\":\"1\",\"targetAnchor\":\"3\",\"shape\":\"flow-polyline\",\"index\":3,\"id\":\"93615500\",\"source\":\"2081294c\",\"target\":\"93dcf415\"}]},\"icon\":\"icon19\",\"name\":\"接口专用刻章流程\",\"description\":\"接口专用刻章流程\",\"workflowType\":\"其他\"}}', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '接口专用刻章流程', NULL, NULL);
INSERT INTO `w_workflow_model_relation` VALUES (3, '76de32a2-7346-49f4-ad72-9952a0ba9e17', '{\"userList\":[{\"itemName\":\"管理员\",\"itemType\":0,\"flag\":0,\"itemValue\":\"71a5c292-68b4-407c-9a3d-ec61bc4bebe5\",\"targetType\":0,\"usedType\":0,\"username\":\"admin\"}],\"formData\":{\"formType\":3,\"sealList\":[],\"fields\":[{\"__config__\":{\"formId\":\"changeStatus\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"onlyOne\":true,\"label\":\"状态变更\",\"i18n\":\"sealStatus\",\"renderKey\":1607047277035,\"layout\":\"rowFormItem\",\"gutter\":15,\"tagIcon\":\"row\",\"datatype\":\"changeStatus\",\"layoutTree\":true,\"children\":[{\"__config__\":{\"formId\":\"changeStatusDetail\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"状态变更明细\",\"required\":true,\"unOperation\":true,\"renderKey\":1607047277035,\"isSystem\":true,\"layout\":\"rowFormItem\",\"tagIcon\":\"row\",\"layoutTree\":true,\"datatype\":\"detail\",\"children\":[{\"clearable\":true,\"__config__\":{\"formId\":\"sealInfo\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"印章信息\",\"sealType\":\"my_seal\",\"showLabel\":true,\"required\":true,\"unOperation\":true,\"renderKey\":1607047277035,\"isSystem\":true,\"layout\":\"colFormItem\",\"tagIcon\":\"input\",\"datatype\":\"seal\",\"changeTag\":true,\"tag\":\"el-input\",\"regList\":[],\"fixedId\":\"sealInfo\",\"span\":6},\"readonly\":false,\"__vModel__\":\"sealInfo\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择印章\",\"show-word-limit\":false,\"__slot__\":{\"prepend\":\"\",\"append\":\"\"},\"prefix-icon\":\"\",\"suffix-icon\":\"\"},{\"filterable\":false,\"clearable\":true,\"__config__\":{\"formId\":\"sealStatus\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"状态\",\"showLabel\":true,\"required\":true,\"unOperation\":true,\"renderKey\":1607047277035,\"isSystem\":true,\"layout\":\"colFormItem\",\"tagIcon\":\"select\",\"changeTag\":true,\"tag\":\"el-select\",\"regList\":[],\"fixedId\":\"sealStatus\",\"span\":6},\"multiple\":false,\"__vModel__\":\"sealStatus\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择\",\"__slot__\":{\"dataList\":[],\"options\":[{\"label\":\"销毁\",\"value\":2},{\"label\":\"启用\",\"value\":0},{\"label\":\"停用\",\"value\":1}]}}],\"componentName\":\"changeStatusDetail\",\"fixedId\":\"changeStatusDetail\"},\"justify\":\"start\",\"__vModel__\":\"changeStatusDetail\",\"type\":\"default\",\"align\":\"top\"},{\"__config__\":{\"formId\":\"remark\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"变更事由\",\"showLabel\":true,\"required\":false,\"unOperation\":true,\"renderKey\":1607047277035,\"layout\":\"colFormItem\",\"tagIcon\":\"textarea\",\"changeTag\":true,\"tag\":\"el-input\",\"regList\":[],\"fixedId\":\"remark\",\"span\":24},\"readonly\":false,\"__vModel__\":\"remark\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"show-word-limit\":false,\"type\":\"textarea\",\"autosize\":{\"minRows\":4,\"maxRows\":4}}],\"componentName\":\"changeStatus\",\"isGroup\":true,\"fixedId\":\"changeStatus\"},\"justify\":\"start\",\"__vModel__\":\"changeStatus\",\"icon\":\"component-group-change-status\",\"type\":\"default\",\"align\":\"top\"}]},\"workflowBase\":{\"metadata\":{\"nodes\":[{\"nodetype\":8,\"color\":\"#3e75c7\",\"shape\":\"circle\",\"index\":0,\"label\":\"开始\",\"type\":\"node\",\"approverValue\":[],\"size\":\"72*72\",\"copySends\":[],\"x\":385,\"signType\":0,\"y\":259,\"id\":\"f3211649\",\"approverType\":0},{\"settings\":{\"addSeal\":false,\"isManual\":false,\"moveSeal\":false,\"approvalOpinion\":false},\"nodetype\":2,\"color\":\"#0A7BFF\",\"shape\":\"flow-rect\",\"index\":1,\"label\":\"审批\",\"privilege\":[{\"formId\":\"changeStatusDetail\",\"isSystem\":true,\"readable\":true,\"children\":[{\"formId\":\"sealInfo\",\"isSystem\":true,\"readable\":true,\"label\":\"印章信息\",\"required\":false,\"writable\":false},{\"formId\":\"sealStatus\",\"isSystem\":true,\"readable\":true,\"label\":\"状态\",\"required\":false,\"writable\":false}],\"label\":\"状态变更明细\",\"required\":false,\"writable\":false},{\"formId\":\"remark\",\"isSystem\":false,\"readable\":true,\"label\":\"变更事由\",\"required\":false,\"writable\":false}],\"matrix\":[],\"type\":\"node\",\"approvalRoleDepType\":\"initDep\",\"approverValue\":[],\"size\":\"80*48\",\"copySends\":[],\"x\":641,\"signType\":2,\"y\":259,\"id\":\"dc42116b\",\"approverType\":4,\"riskHints\":\"\"},{\"nodetype\":9,\"color\":\"#3e75c7\",\"shape\":\"circle\",\"index\":4,\"label\":\"结束\",\"type\":\"node\",\"approverValue\":[],\"size\":\"72*72\",\"copySends\":[],\"x\":901,\"signType\":0,\"y\":260,\"id\":\"af3d4669\",\"approverType\":0}],\"edges\":[{\"sourceAnchor\":\"1\",\"targetAnchor\":\"3\",\"shape\":\"flow-polyline\",\"index\":2,\"id\":\"6ffe68a8\",\"source\":\"f3211649\",\"target\":\"dc42116b\"},{\"sourceAnchor\":\"1\",\"targetAnchor\":\"3\",\"shape\":\"flow-polyline\",\"index\":3,\"id\":\"1989670a\",\"source\":\"dc42116b\",\"target\":\"af3d4669\"}]},\"icon\":\"icon19\",\"name\":\"接口专用状态变更流程\",\"description\":\"接口专用状态变更流程\",\"workflowType\":\"其他\"}}', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '接口专用状态变更流程', NULL, NULL);
INSERT INTO `w_workflow_model_relation` VALUES (4, 'bfa58221-a135-4f8c-a8ff-7e3ba301b915', '{\"userList\":[{\"itemName\":\"管理员\",\"itemType\":0,\"flag\":0,\"itemValue\":\"71a5c292-68b4-407c-9a3d-ec61bc4bebe5\",\"targetType\":0,\"usedType\":0,\"username\":\"admin\"}],\"formData\":{\"formType\":5,\"sealList\":[],\"fields\":[{\"__config__\":{\"formId\":\"changeSeal\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"onlyOne\":true,\"label\":\"换章\",\"i18n\":\"changeSeal\",\"renderKey\":1607047356909,\"layout\":\"rowFormItem\",\"gutter\":15,\"tagIcon\":\"row\",\"datatype\":\"changeSeal\",\"layoutTree\":true,\"children\":[{\"__config__\":{\"formId\":\"changeSealDetail\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"换章明细\",\"required\":true,\"unOperation\":true,\"renderKey\":1607047356909,\"isSystem\":true,\"layout\":\"rowFormItem\",\"tagIcon\":\"row\",\"layoutTree\":true,\"datatype\":\"detail\",\"children\":[{\"clearable\":true,\"__config__\":{\"formId\":\"changeSeal\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"智能印章\",\"sealType\":\"my_intelligent_using\",\"showLabel\":true,\"required\":true,\"unOperation\":true,\"renderKey\":1607047356909,\"isSystem\":true,\"layout\":\"colFormItem\",\"tagIcon\":\"input\",\"datatype\":\"seal\",\"changeTag\":true,\"tag\":\"el-input\",\"regList\":[],\"fixedId\":\"changeSeal\",\"span\":6},\"readonly\":false,\"__vModel__\":\"changeSeal\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择印章\",\"show-word-limit\":false,\"__slot__\":{\"prepend\":\"\",\"append\":\"\"},\"prefix-icon\":\"\",\"suffix-icon\":\"\"},{\"clearable\":true,\"__config__\":{\"formId\":\"newSeal\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"新的印章\",\"sealType\":\"my_seal\",\"showLabel\":true,\"required\":true,\"unOperation\":true,\"renderKey\":1607047356909,\"isSystem\":true,\"layout\":\"colFormItem\",\"tagIcon\":\"input\",\"datatype\":\"seal\",\"changeTag\":true,\"tag\":\"el-input\",\"regList\":[],\"fixedId\":\"newSeal\",\"span\":6},\"readonly\":false,\"__vModel__\":\"newSeal\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择印章\",\"show-word-limit\":false,\"__slot__\":{\"prepend\":\"\",\"append\":\"\"},\"prefix-icon\":\"\",\"suffix-icon\":\"\"}],\"componentName\":\"changeSealDetail\",\"fixedId\":\"changeSealDetail\"},\"justify\":\"start\",\"__vModel__\":\"changeSealDetail\",\"type\":\"default\",\"align\":\"top\"},{\"__config__\":{\"formId\":\"remark\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"更换事由\",\"showLabel\":true,\"required\":false,\"unOperation\":true,\"renderKey\":1607047356909,\"layout\":\"colFormItem\",\"tagIcon\":\"textarea\",\"changeTag\":true,\"tag\":\"el-input\",\"regList\":[],\"fixedId\":\"remark\",\"span\":24},\"readonly\":false,\"__vModel__\":\"remark\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"show-word-limit\":false,\"type\":\"textarea\",\"autosize\":{\"minRows\":4,\"maxRows\":4}}],\"componentName\":\"changeSeal\",\"isGroup\":true,\"fixedId\":\"changeSeal\"},\"justify\":\"start\",\"icon\":\"component-group-change-seal\",\"__vModel__\":\"changeSeal\",\"type\":\"default\",\"align\":\"top\"}]},\"workflowBase\":{\"metadata\":{\"nodes\":[{\"nodetype\":8,\"color\":\"#3e75c7\",\"shape\":\"circle\",\"index\":0,\"label\":\"开始\",\"type\":\"node\",\"approverValue\":[],\"size\":\"72*72\",\"copySends\":[],\"x\":370,\"signType\":0,\"y\":236,\"id\":\"646ad646\",\"approverType\":0},{\"settings\":{\"addSeal\":false,\"isManual\":false,\"moveSeal\":false,\"approvalOpinion\":false},\"nodetype\":2,\"color\":\"#0A7BFF\",\"shape\":\"flow-rect\",\"index\":3,\"label\":\"审批\",\"privilege\":[{\"formId\":\"changeSealDetail\",\"isSystem\":true,\"readable\":true,\"children\":[{\"formId\":\"changeSeal\",\"isSystem\":true,\"readable\":true,\"label\":\"智能印章\",\"required\":false,\"writable\":false},{\"formId\":\"newSeal\",\"isSystem\":true,\"readable\":true,\"label\":\"新的印章\",\"required\":false,\"writable\":false}],\"label\":\"换章明细\",\"required\":false,\"writable\":false},{\"formId\":\"remark\",\"isSystem\":false,\"readable\":true,\"label\":\"更换事由\",\"required\":false,\"writable\":false}],\"matrix\":[],\"type\":\"node\",\"approvalRoleDepType\":\"initDep\",\"approverValue\":[],\"size\":\"80*48\",\"copySends\":[],\"x\":645,\"signType\":2,\"y\":236,\"id\":\"e71b6666\",\"approverType\":4,\"riskHints\":\"\"},{\"nodetype\":9,\"color\":\"#3e75c7\",\"shape\":\"circle\",\"index\":4,\"label\":\"结束\",\"type\":\"node\",\"approverValue\":[],\"size\":\"72*72\",\"copySends\":[],\"x\":889,\"signType\":0,\"y\":236,\"id\":\"55516e81\",\"approverType\":0}],\"edges\":[{\"sourceAnchor\":\"1\",\"targetAnchor\":\"3\",\"shape\":\"flow-polyline\",\"index\":1,\"id\":\"2a43ccb1\",\"source\":\"646ad646\",\"target\":\"e71b6666\"},{\"sourceAnchor\":\"1\",\"targetAnchor\":\"3\",\"shape\":\"flow-polyline\",\"index\":2,\"id\":\"ca21d876\",\"source\":\"e71b6666\",\"target\":\"55516e81\"}]},\"icon\":\"icon19\",\"name\":\"接口专用换章流程\",\"description\":\"接口专用换章流程\",\"workflowType\":\"其他\"}}', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '接口专用换章流程', NULL, NULL);
INSERT INTO `w_workflow_model_relation` VALUES (5, '8ce58de8-1d6c-4b37-acb3-2d328b51f88d', '{\"userList\":[{\"itemName\":\"管理员\",\"itemType\":0,\"flag\":0,\"itemValue\":\"71a5c292-68b4-407c-9a3d-ec61bc4bebe5\",\"targetType\":0,\"usedType\":0,\"username\":\"admin\"}],\"formData\":{\"formType\":4,\"sealList\":[],\"fields\":[{\"__config__\":{\"formId\":\"transferSeal\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"onlyOne\":true,\"label\":\"印章移交\",\"i18n\":\"transferSeal\",\"renderKey\":1607047439466,\"layout\":\"rowFormItem\",\"gutter\":15,\"tagIcon\":\"row\",\"datatype\":\"transferSeal\",\"layoutTree\":true,\"children\":[{\"__config__\":{\"formId\":\"transferSealDetail\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"印章移交明细\",\"required\":true,\"unOperation\":true,\"renderKey\":1607047439466,\"isSystem\":true,\"layout\":\"rowFormItem\",\"tagIcon\":\"row\",\"layoutTree\":true,\"datatype\":\"detail\",\"children\":[{\"clearable\":true,\"__config__\":{\"formId\":\"sealInfo\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"印章信息\",\"sealType\":\"all_using\",\"showLabel\":true,\"required\":true,\"unOperation\":true,\"renderKey\":1607047439466,\"isSystem\":true,\"layout\":\"colFormItem\",\"tagIcon\":\"input\",\"datatype\":\"seal\",\"changeTag\":true,\"tag\":\"el-input\",\"regList\":[],\"fixedId\":\"sealInfo\",\"span\":6},\"readonly\":false,\"__vModel__\":\"sealInfo\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择印章\",\"show-word-limit\":false,\"__slot__\":{\"prepend\":\"\",\"append\":\"\"},\"prefix-icon\":\"\",\"suffix-icon\":\"\"},{\"clearable\":true,\"__config__\":{\"formId\":\"handOverPerson\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"移交人\",\"showLabel\":true,\"required\":true,\"unOperation\":false,\"renderKey\":1607047439466,\"isSystem\":true,\"layout\":\"colFormItem\",\"tagIcon\":\"input\",\"datatype\":\"overman\",\"changeTag\":true,\"tag\":\"el-input\",\"fixedId\":\"handOverPerson\",\"regList\":[],\"span\":6},\"readonly\":false,\"__vModel__\":\"handOverPerson\",\"icon\":\"overman\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择印章移交人\",\"show-word-limit\":false,\"__slot__\":{\"prepend\":\"\",\"append\":\"\"},\"prefix-icon\":\"\",\"suffix-icon\":\"\"},{\"clearable\":true,\"__config__\":{\"formId\":\"takeInPerson\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"印章接收人\",\"showLabel\":true,\"required\":true,\"unOperation\":false,\"renderKey\":1607047439466,\"isSystem\":true,\"layout\":\"colFormItem\",\"tagIcon\":\"input\",\"datatype\":\"overman\",\"changeTag\":true,\"tag\":\"el-input\",\"fixedId\":\"takeInPerson\",\"regList\":[],\"span\":6},\"readonly\":false,\"__vModel__\":\"takeInPerson\",\"icon\":\"overman\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择印章接收人\",\"show-word-limit\":false,\"__slot__\":{\"prepend\":\"\",\"append\":\"\"},\"prefix-icon\":\"\",\"suffix-icon\":\"\"}],\"componentName\":\"transferSealDetail\",\"fixedId\":\"transferSealDetail\"},\"justify\":\"start\",\"__vModel__\":\"transferSealDetail\",\"type\":\"default\",\"align\":\"top\"},{\"__config__\":{\"formId\":\"remark\",\"showRuleList\":[],\"display\":\"hasRule\",\"isShowRule\":true,\"label\":\"移交事由\",\"showLabel\":true,\"required\":false,\"unOperation\":true,\"renderKey\":1607047439466,\"layout\":\"colFormItem\",\"tagIcon\":\"textarea\",\"changeTag\":true,\"tag\":\"el-input\",\"regList\":[],\"fixedId\":\"remark\",\"span\":24},\"readonly\":false,\"__vModel__\":\"remark\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"show-word-limit\":false,\"type\":\"textarea\",\"autosize\":{\"minRows\":4,\"maxRows\":4}}],\"componentName\":\"transferSeal\",\"isGroup\":true,\"fixedId\":\"transferSeal\"},\"justify\":\"start\",\"icon\":\"flow-manage-transform-seal\",\"__vModel__\":\"transferSeal\",\"type\":\"default\",\"align\":\"top\"}]},\"workflowBase\":{\"metadata\":{\"nodes\":[{\"settings\":{\"addSeal\":false,\"isManual\":false,\"moveSeal\":false,\"approvalOpinion\":false},\"nodetype\":2,\"color\":\"#0A7BFF\",\"shape\":\"flow-rect\",\"index\":0,\"label\":\"审批\",\"privilege\":[{\"formId\":\"transferSealDetail\",\"isSystem\":true,\"readable\":true,\"children\":[{\"formId\":\"sealInfo\",\"isSystem\":true,\"readable\":true,\"label\":\"印章信息\",\"required\":false,\"writable\":false},{\"formId\":\"handOverPerson\",\"isSystem\":true,\"readable\":true,\"label\":\"移交人\",\"required\":false,\"writable\":false},{\"formId\":\"takeInPerson\",\"isSystem\":true,\"readable\":true,\"label\":\"印章接收人\",\"required\":false,\"writable\":false}],\"label\":\"印章移交明细\",\"required\":false,\"writable\":false},{\"formId\":\"remark\",\"isSystem\":false,\"readable\":true,\"label\":\"移交事由\",\"required\":false,\"writable\":false}],\"matrix\":[],\"type\":\"node\",\"approvalRoleDepType\":\"initDep\",\"approverValue\":[],\"size\":\"80*48\",\"copySends\":[],\"x\":670,\"signType\":2,\"y\":250,\"id\":\"97c3ba64\",\"approverType\":4,\"riskHints\":\"\"},{\"nodetype\":8,\"color\":\"#3e75c7\",\"shape\":\"circle\",\"index\":3,\"label\":\"开始\",\"type\":\"node\",\"approverValue\":[],\"size\":\"72*72\",\"copySends\":[],\"x\":397,\"signType\":0,\"y\":250,\"id\":\"821ccc0d\",\"approverType\":0},{\"nodetype\":9,\"color\":\"#3e75c7\",\"shape\":\"circle\",\"index\":4,\"label\":\"结束\",\"type\":\"node\",\"approverValue\":[],\"size\":\"72*72\",\"copySends\":[],\"x\":937,\"signType\":0,\"y\":251,\"id\":\"541387cc\",\"approverType\":0}],\"edges\":[{\"sourceAnchor\":\"1\",\"targetAnchor\":\"3\",\"shape\":\"flow-polyline\",\"index\":1,\"id\":\"056d5d1d\",\"source\":\"821ccc0d\",\"target\":\"97c3ba64\"},{\"sourceAnchor\":\"1\",\"targetAnchor\":\"3\",\"shape\":\"flow-polyline\",\"index\":2,\"id\":\"fbfe0086\",\"source\":\"97c3ba64\",\"target\":\"541387cc\"}]},\"icon\":\"icon19\",\"name\":\"接口专用印章移交流程\",\"description\":\"接口专用印章移交流程\",\"workflowType\":\"其他\"}}', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '接口专用印章移交流程', NULL, NULL);

-- ----------------------------
-- Table structure for w_workflow_node
-- ----------------------------
DROP TABLE IF EXISTS `w_workflow_node`;
CREATE TABLE `w_workflow_node`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `workflow_base_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '实例id',
  `node_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '节点名',
  `code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '节点编码',
  `node_type` tinyint(4) NOT NULL DEFAULT 0 COMMENT '节点类型（审核(0或签,1会签),2处理 8开始 9结束）',
  `sms_open` tinyint(4) NOT NULL DEFAULT 0 COMMENT '是否开启短信',
  `move_open` tinyint(4) NOT NULL DEFAULT 0 COMMENT '是否可转办',
  `move_start_enable` tinyint(4) NOT NULL DEFAULT 0 COMMENT '是否可退回到发起人',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业号',
  `sign_type` tinyint(1) NULL DEFAULT 0 COMMENT '签署方式 ：0：或签，1：会签，2：处理',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE,
  INDEX `idx_node_type_workflow_base_id`(`node_type`, `workflow_base_id`) USING BTREE,
  INDEX `idx_workflow_base_id_code`(`workflow_base_id`, `code`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2654 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of w_workflow_node
-- ----------------------------
INSERT INTO `w_workflow_node` VALUES (2634, '2abf2562-f55a-49c9-b153-7df505ca1a41', '677f2cec-04d4-437b-b34d-01e1391b8429', '开始', 'cbf7da34', 8, 0, 0, 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 8);
INSERT INTO `w_workflow_node` VALUES (2635, 'eeee49c4-fd88-41fb-b47b-8ec4adc5a70f', '677f2cec-04d4-437b-b34d-01e1391b8429', '授权', '2082df13', 2, 0, 0, 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 2);
INSERT INTO `w_workflow_node` VALUES (2636, 'ecc5a765-787a-473d-968e-c3bd874a6db0', '677f2cec-04d4-437b-b34d-01e1391b8429', '结束', '0f1e97b2', 9, 0, 0, 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 9);
INSERT INTO `w_workflow_node` VALUES (2637, '683fc446-b487-4c61-8da5-59ac1c4a4ac5', '677f2cec-04d4-437b-b34d-01e1391b8429', '补签', 'c36ca0ef', 2, 0, 0, 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 5);
INSERT INTO `w_workflow_node` VALUES (2638, '25a0b93c-5ac4-4aea-b0bb-8facbf09d4b5', 'a4f6e27f-c28c-4bee-94b8-ebd523721f0e', '开始', 'a2eabded', 8, 0, 0, 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 8);
INSERT INTO `w_workflow_node` VALUES (2639, '2b4bd1b8-ad1d-4371-a9cd-c2740c486bbe', 'a4f6e27f-c28c-4bee-94b8-ebd523721f0e', '审批', '2081294c', 2, 0, 0, 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 2);
INSERT INTO `w_workflow_node` VALUES (2640, 'a63e4c2e-e6d1-4a7b-a565-fc37e402c94d', 'a4f6e27f-c28c-4bee-94b8-ebd523721f0e', '结束', '93dcf415', 9, 0, 0, 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 9);
INSERT INTO `w_workflow_node` VALUES (2641, '35bd2642-098f-47f2-b800-5e80c8fb6a54', 'ec291937-f62c-430e-8f9e-c4f911dd4715', '开始', 'f3211649', 8, 0, 0, 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 8);
INSERT INTO `w_workflow_node` VALUES (2642, '67080801-5c54-4781-a252-e95f116108ee', 'ec291937-f62c-430e-8f9e-c4f911dd4715', '审批', 'dc42116b', 2, 0, 0, 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 2);
INSERT INTO `w_workflow_node` VALUES (2643, '144d7264-239b-4901-8b1f-16772e5efda3', 'ec291937-f62c-430e-8f9e-c4f911dd4715', '结束', 'af3d4669', 9, 0, 0, 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 9);
INSERT INTO `w_workflow_node` VALUES (2644, '7df5f392-9bb4-4f2b-a9b4-e0624bf8a69b', 'ebab3419-58ac-42df-bcfd-e66f6cdedb63', '开始', '646ad646', 8, 0, 0, 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 8);
INSERT INTO `w_workflow_node` VALUES (2645, '6280efb7-1d55-4dc4-88a4-95faa4c7548c', 'ebab3419-58ac-42df-bcfd-e66f6cdedb63', '审批', 'e71b6666', 2, 0, 0, 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 2);
INSERT INTO `w_workflow_node` VALUES (2646, 'fda7402c-12ee-4eee-9c5c-d21586726219', 'ebab3419-58ac-42df-bcfd-e66f6cdedb63', '结束', '55516e81', 9, 0, 0, 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 9);
INSERT INTO `w_workflow_node` VALUES (2647, 'cc8c622c-a656-4121-9abf-f6d0e75f052d', 'b4ffd58d-b0d8-4069-ab3f-889540afbbf5', '审批', '97c3ba64', 2, 0, 0, 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 2);
INSERT INTO `w_workflow_node` VALUES (2648, 'b2f6b706-7e9b-4063-9a0b-511163796909', 'b4ffd58d-b0d8-4069-ab3f-889540afbbf5', '开始', '821ccc0d', 8, 0, 0, 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 8);
INSERT INTO `w_workflow_node` VALUES (2649, 'bd655ef8-870a-4ee4-9bd8-9b6c24e5cabf', 'b4ffd58d-b0d8-4069-ab3f-889540afbbf5', '结束', '541387cc', 9, 0, 0, 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 9);
INSERT INTO `w_workflow_node` VALUES (2650, 'b716fa74-b876-40ee-94c7-1454267fc389', '5e5600b8-fdef-4e4d-a0ff-30ce26889a5d', '补签', 'c36ca0ef', 2, 0, 0, 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 5);
INSERT INTO `w_workflow_node` VALUES (2651, '2cb9e625-c6f6-4f01-b99c-1096b47bbbda', '5e5600b8-fdef-4e4d-a0ff-30ce26889a5d', '结束', '0f1e97b2', 9, 0, 0, 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 9);
INSERT INTO `w_workflow_node` VALUES (2652, 'fc576666-9304-4988-ade8-c3ffc1f220ec', '5e5600b8-fdef-4e4d-a0ff-30ce26889a5d', '授权', '2082df13', 2, 0, 0, 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 2);
INSERT INTO `w_workflow_node` VALUES (2653, '7a458b6a-5326-49d8-9506-11f267cf5fe5', '5e5600b8-fdef-4e4d-a0ff-30ce26889a5d', '开始', 'cbf7da34', 8, 0, 0, 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', 8);

-- ----------------------------
-- Table structure for w_workflow_node_relation
-- ----------------------------
DROP TABLE IF EXISTS `w_workflow_node_relation`;
CREATE TABLE `w_workflow_node_relation`  (
  `pid` int(10) NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '关联 w_workflow_node 中ID',
  `creator` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人',
  `create_date` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `risk_hints` varchar(350) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '风险提示',
  `copy_send` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '抄送人员数据版本',
  `userview_version` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '指定人员角色数据组（特殊筛选）',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业号',
  `params_version_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '点配置信息id',
  `form_data` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '当前节点表单信息',
  `extra_function` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '是否可转办,补签。',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 36 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of w_workflow_node_relation
-- ----------------------------
INSERT INTO `w_workflow_node_relation` VALUES (1, '2abf2562-f55a-49c9-b153-7df505ca1a41', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-08-26 14:35:28', '', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL, '[{\"formId\":\"title\",\"readable\":true,\"label\":\"标题\",\"required\":false,\"writable\":true},{\"formId\":\"sealDetail\",\"readable\":true,\"children\":[{\"formId\":\"sealName\",\"readable\":true,\"label\":\"印章名称\",\"required\":false,\"writable\":true},{\"formId\":\"applyCount\",\"readable\":true,\"label\":\"用印次数\",\"required\":false,\"writable\":true},{\"formId\":\"applyCrossPageSealCount\",\"readable\":true,\"label\":\"骑缝章次数\",\"required\":false,\"writable\":true},{\"formId\":\"takeOut\",\"readable\":true,\"label\":\"是否外带\",\"required\":false,\"writable\":true},{\"formId\":\"outStartDate\",\"readable\":true,\"label\":\"外带开始时间\",\"required\":false,\"writable\":true},{\"formId\":\"outEndDate\",\"readable\":true,\"label\":\"外带结束时间\",\"required\":false,\"writable\":true},{\"formId\":\"outAddress\",\"readable\":true,\"label\":\"外带地点\",\"required\":false,\"writable\":true}],\"label\":\"印章明细\",\"required\":false,\"writable\":true},{\"formId\":\"useSealfile\",\"readable\":true,\"label\":\"用印文件\",\"required\":false,\"writable\":true},{\"formId\":\"remark\",\"readable\":true,\"label\":\"用印事由\",\"required\":false,\"writable\":true}]', '{\"addSeal\":false,\"moveSeal\":false}');
INSERT INTO `w_workflow_node_relation` VALUES (2, 'eeee49c4-fd88-41fb-b47b-8ec4adc5a70f', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-08-26 14:35:28', '', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL, '[{\"formId\":\"ocr_102\",\"readable\":true,\"label\":\"ocr开关\",\"required\":false,\"writable\":false},{\"formId\":\"overman_101\",\"readable\":true,\"label\":\"人员\",\"required\":false,\"writable\":false},{\"formId\":\"prevent-water-mark_105\",\"readable\":true,\"label\":\"水印事前\",\"required\":false,\"writable\":false},{\"formId\":\"prevent_104\",\"readable\":true,\"label\":\"二维码事前\",\"required\":false,\"writable\":false},{\"formId\":\"prevent-power_106\",\"readable\":true,\"label\":\"远程授权\",\"required\":false,\"writable\":false},{\"formId\":\"watermark_103\",\"readable\":true,\"label\":\"水印开关\",\"required\":false,\"writable\":false},{\"formId\":\"title\",\"readable\":true,\"label\":\"标题\",\"required\":false,\"writable\":false},{\"formId\":\"sealDetail\",\"readable\":true,\"children\":[{\"formId\":\"sealName\",\"readable\":true,\"label\":\"印章名称\",\"required\":false,\"writable\":false},{\"formId\":\"applyCount\",\"readable\":true,\"label\":\"用印次数\",\"required\":false,\"writable\":false},{\"formId\":\"applyCrossPageSealCount\",\"readable\":true,\"label\":\"骑缝章次数\",\"required\":false,\"writable\":false},{\"formId\":\"takeOut\",\"readable\":true,\"label\":\"是否外带\",\"required\":false,\"writable\":false},{\"formId\":\"outStartDate\",\"readable\":true,\"label\":\"外带开始时间\",\"required\":false,\"writable\":false},{\"formId\":\"outEndDate\",\"readable\":true,\"label\":\"外带结束时间\",\"required\":false,\"writable\":false},{\"formId\":\"outAddress\",\"readable\":true,\"label\":\"外带地点\",\"required\":false,\"writable\":false}],\"label\":\"印章明细\",\"required\":false,\"writable\":false},{\"formId\":\"useSealfile\",\"readable\":true,\"label\":\"用印文件\",\"required\":false,\"writable\":false},{\"formId\":\"remark\",\"readable\":true,\"label\":\"用印事由\",\"required\":false,\"writable\":false}]', '{\"addSeal\":true,\"moveSeal\":false}');
INSERT INTO `w_workflow_node_relation` VALUES (3, 'ecc5a765-787a-473d-968e-c3bd874a6db0', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-08-26 14:35:28', NULL, NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL, NULL, '\"{\\\"addSeal\\\":false,\\\"moveSeal\\\":false}\"');
INSERT INTO `w_workflow_node_relation` VALUES (4, '683fc446-b487-4c61-8da5-59ac1c4a4ac5', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-08-26 14:35:28', '', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL, '[{\"formId\":\"ocr_102\",\"readable\":true,\"label\":\"ocr开关\",\"required\":false,\"writable\":false},{\"formId\":\"overman_101\",\"readable\":true,\"label\":\"人员\",\"required\":false,\"writable\":false},{\"formId\":\"prevent-water-mark_105\",\"readable\":true,\"label\":\"水印事前\",\"required\":false,\"writable\":false},{\"formId\":\"prevent_104\",\"readable\":true,\"label\":\"二维码事前\",\"required\":false,\"writable\":false},{\"formId\":\"prevent-power_106\",\"readable\":true,\"label\":\"远程授权\",\"required\":false,\"writable\":false},{\"formId\":\"watermark_103\",\"readable\":true,\"label\":\"水印开关\",\"required\":false,\"writable\":false},{\"formId\":\"title\",\"readable\":true,\"label\":\"标题\",\"required\":false,\"writable\":false},{\"formId\":\"sealDetail\",\"readable\":true,\"children\":[{\"formId\":\"sealName\",\"readable\":true,\"label\":\"印章名称\",\"required\":false,\"writable\":false},{\"formId\":\"applyCount\",\"readable\":true,\"label\":\"用印次数\",\"required\":false,\"writable\":false},{\"formId\":\"applyCrossPageSealCount\",\"readable\":true,\"label\":\"骑缝章次数\",\"required\":false,\"writable\":false},{\"formId\":\"takeOut\",\"readable\":true,\"label\":\"是否外带\",\"required\":false,\"writable\":false},{\"formId\":\"outStartDate\",\"readable\":true,\"label\":\"外带开始时间\",\"required\":false,\"writable\":false},{\"formId\":\"outEndDate\",\"readable\":true,\"label\":\"外带结束时间\",\"required\":false,\"writable\":false},{\"formId\":\"outAddress\",\"readable\":true,\"label\":\"外带地点\",\"required\":false,\"writable\":false}],\"label\":\"印章明细\",\"required\":false,\"writable\":false},{\"formId\":\"useSealfile\",\"readable\":true,\"label\":\"用印文件\",\"required\":false,\"writable\":false},{\"formId\":\"remark\",\"readable\":true,\"label\":\"用印事由\",\"required\":false,\"writable\":false}]', '{\"addSeal\":false,\"moveSeal\":false}');
INSERT INTO `w_workflow_node_relation` VALUES (5, '25a0b93c-5ac4-4aea-b0bb-8facbf09d4b5', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-07 21:09:20', NULL, NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL, NULL, '\"{\\\"addSeal\\\":false,\\\"moveSeal\\\":false,\\\"approvalOpinion\\\":false}\"');
INSERT INTO `w_workflow_node_relation` VALUES (6, '2b4bd1b8-ad1d-4371-a9cd-c2740c486bbe', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-07 21:09:20', '', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL, '[{\"formId\":\"createSealDetail\",\"isSystem\":true,\"readable\":true,\"children\":[{\"formId\":\"sealName\",\"isSystem\":true,\"readable\":true,\"label\":\"印章名称\",\"required\":false,\"writable\":false},{\"formId\":\"sealMaterial\",\"isSystem\":true,\"readable\":true,\"label\":\"印章材质\",\"required\":false,\"writable\":false},{\"formId\":\"sealShape\",\"isSystem\":true,\"readable\":true,\"label\":\"印章形状\",\"required\":false,\"writable\":false},{\"formId\":\"sealType\",\"isSystem\":true,\"readable\":true,\"label\":\"印章类型\",\"required\":false,\"writable\":false},{\"formId\":\"sealDept\",\"isSystem\":true,\"readable\":true,\"label\":\"印章所属部门\",\"required\":false,\"writable\":false}],\"label\":\"刻章明细\",\"required\":false,\"writable\":false},{\"formId\":\"remark\",\"isSystem\":false,\"readable\":true,\"label\":\"刻章事由\",\"required\":false,\"writable\":false}]', '{\"addSeal\":false,\"isManual\":false,\"moveSeal\":false,\"approvalOpinion\":false}');
INSERT INTO `w_workflow_node_relation` VALUES (7, 'a63e4c2e-e6d1-4a7b-a565-fc37e402c94d', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-07 21:09:20', NULL, NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL, NULL, '\"{\\\"addSeal\\\":false,\\\"moveSeal\\\":false,\\\"approvalOpinion\\\":false}\"');
INSERT INTO `w_workflow_node_relation` VALUES (8, '35bd2642-098f-47f2-b800-5e80c8fb6a54', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-07 21:08:58', NULL, NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL, NULL, '\"{\\\"addSeal\\\":false,\\\"moveSeal\\\":false,\\\"approvalOpinion\\\":false}\"');
INSERT INTO `w_workflow_node_relation` VALUES (9, '67080801-5c54-4781-a252-e95f116108ee', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-07 21:08:58', '', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL, '[{\"formId\":\"changeStatusDetail\",\"isSystem\":true,\"readable\":true,\"children\":[{\"formId\":\"sealInfo\",\"isSystem\":true,\"readable\":true,\"label\":\"印章信息\",\"required\":false,\"writable\":false},{\"formId\":\"sealStatus\",\"isSystem\":true,\"readable\":true,\"label\":\"状态\",\"required\":false,\"writable\":false}],\"label\":\"状态变更明细\",\"required\":false,\"writable\":false},{\"formId\":\"remark\",\"isSystem\":false,\"readable\":true,\"label\":\"变更事由\",\"required\":false,\"writable\":false}]', '{\"addSeal\":false,\"isManual\":false,\"moveSeal\":false,\"approvalOpinion\":false}');
INSERT INTO `w_workflow_node_relation` VALUES (10, '144d7264-239b-4901-8b1f-16772e5efda3', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-07 21:08:58', NULL, NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL, NULL, '\"{\\\"addSeal\\\":false,\\\"moveSeal\\\":false,\\\"approvalOpinion\\\":false}\"');
INSERT INTO `w_workflow_node_relation` VALUES (11, '7df5f392-9bb4-4f2b-a9b4-e0624bf8a69b', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-07 21:08:33', NULL, NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL, NULL, '\"{\\\"addSeal\\\":false,\\\"moveSeal\\\":false,\\\"approvalOpinion\\\":false}\"');
INSERT INTO `w_workflow_node_relation` VALUES (12, '6280efb7-1d55-4dc4-88a4-95faa4c7548c', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-07 21:08:33', '', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL, '[{\"formId\":\"changeSealDetail\",\"isSystem\":true,\"readable\":true,\"children\":[{\"formId\":\"changeSeal\",\"isSystem\":true,\"readable\":true,\"label\":\"智能印章\",\"required\":false,\"writable\":false},{\"formId\":\"newSeal\",\"isSystem\":true,\"readable\":true,\"label\":\"新的印章\",\"required\":false,\"writable\":false}],\"label\":\"换章明细\",\"required\":false,\"writable\":false},{\"formId\":\"remark\",\"isSystem\":false,\"readable\":true,\"label\":\"更换事由\",\"required\":false,\"writable\":false}]', '{\"addSeal\":false,\"isManual\":false,\"moveSeal\":false,\"approvalOpinion\":false}');
INSERT INTO `w_workflow_node_relation` VALUES (13, 'fda7402c-12ee-4eee-9c5c-d21586726219', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-07 21:08:33', NULL, NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL, NULL, '\"{\\\"addSeal\\\":false,\\\"moveSeal\\\":false,\\\"approvalOpinion\\\":false}\"');
INSERT INTO `w_workflow_node_relation` VALUES (14, 'cc8c622c-a656-4121-9abf-f6d0e75f052d', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-07 21:08:48', '', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL, '[{\"formId\":\"transferSealDetail\",\"isSystem\":true,\"readable\":true,\"children\":[{\"formId\":\"sealInfo\",\"isSystem\":true,\"readable\":true,\"label\":\"印章信息\",\"required\":false,\"writable\":false},{\"formId\":\"handOverPerson\",\"isSystem\":true,\"readable\":true,\"label\":\"移交人\",\"required\":false,\"writable\":false},{\"formId\":\"takeInPerson\",\"isSystem\":true,\"readable\":true,\"label\":\"印章接收人\",\"required\":false,\"writable\":false}],\"label\":\"印章移交明细\",\"required\":false,\"writable\":false},{\"formId\":\"remark\",\"isSystem\":false,\"readable\":true,\"label\":\"移交事由\",\"required\":false,\"writable\":false}]', '{\"addSeal\":false,\"isManual\":false,\"moveSeal\":false,\"approvalOpinion\":false}');
INSERT INTO `w_workflow_node_relation` VALUES (15, 'b2f6b706-7e9b-4063-9a0b-511163796909', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-07 21:08:48', NULL, NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL, NULL, '\"{\\\"addSeal\\\":false,\\\"moveSeal\\\":false,\\\"approvalOpinion\\\":false}\"');
INSERT INTO `w_workflow_node_relation` VALUES (16, 'bd655ef8-870a-4ee4-9bd8-9b6c24e5cabf', '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '2020-12-07 21:08:48', NULL, NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL, NULL, '\"{\\\"addSeal\\\":false,\\\"moveSeal\\\":false,\\\"approvalOpinion\\\":false}\"');
INSERT INTO `w_workflow_node_relation` VALUES (32, 'b716fa74-b876-40ee-94c7-1454267fc389', '1b46e184-29d0-45a7-813e-5d6ec149f459', '2021-11-24 15:23:42', '', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL, '[{\"formId\":\"ocr_102\",\"readable\":true,\"label\":\"ocr开关\",\"required\":false,\"writable\":false},{\"formId\":\"overman_101\",\"readable\":true,\"label\":\"人员\",\"required\":false,\"writable\":false},{\"formId\":\"prevent-water-mark_105\",\"readable\":true,\"label\":\"水印事前\",\"required\":false,\"writable\":false},{\"formId\":\"prevent_104\",\"readable\":true,\"label\":\"二维码事前\",\"required\":false,\"writable\":false},{\"formId\":\"prevent-power_106\",\"readable\":true,\"label\":\"远程授权\",\"required\":false,\"writable\":false},{\"formId\":\"watermark_103\",\"readable\":true,\"label\":\"水印开关\",\"required\":false,\"writable\":false},{\"formId\":\"title\",\"readable\":true,\"label\":\"标题\",\"required\":false,\"writable\":false},{\"formId\":\"sealDetail\",\"readable\":true,\"children\":[{\"formId\":\"sealName\",\"readable\":true,\"label\":\"印章名称\",\"required\":false,\"writable\":false},{\"formId\":\"applyCount\",\"readable\":true,\"label\":\"用印次数\",\"required\":false,\"writable\":false},{\"formId\":\"applyCrossPageSealCount\",\"readable\":true,\"label\":\"骑缝章次数\",\"required\":false,\"writable\":false},{\"formId\":\"takeOut\",\"readable\":true,\"label\":\"是否外带\",\"required\":false,\"writable\":false},{\"formId\":\"outStartDate\",\"readable\":true,\"label\":\"外带开始时间\",\"required\":false,\"writable\":false},{\"formId\":\"outEndDate\",\"readable\":true,\"label\":\"外带结束时间\",\"required\":false,\"writable\":false},{\"formId\":\"outAddress\",\"readable\":true,\"label\":\"外带地点\",\"required\":false,\"writable\":false}],\"label\":\"印章明细\",\"required\":false,\"writable\":false},{\"formId\":\"useSealfile\",\"readable\":true,\"label\":\"用印文件\",\"required\":false,\"writable\":false},{\"formId\":\"remark\",\"readable\":true,\"label\":\"用印事由\",\"required\":false,\"writable\":false}]', '{\"addSeal\":false,\"moveSeal\":false}');
INSERT INTO `w_workflow_node_relation` VALUES (33, '2cb9e625-c6f6-4f01-b99c-1096b47bbbda', '1b46e184-29d0-45a7-813e-5d6ec149f459', '2021-11-24 15:23:42', NULL, NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL, '[{\"formId\":\"ocr_102\",\"label\":\"ocr开关\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false},{\"formId\":\"overman_101\",\"label\":\"人员\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false},{\"formId\":\"prevent-water-mark_105\",\"label\":\"水印事前\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false},{\"formId\":\"prevent_104\",\"label\":\"二维码事前\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false},{\"formId\":\"prevent-power_106\",\"label\":\"远程授权\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false},{\"formId\":\"watermark_103\",\"label\":\"水印开关\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false},{\"formId\":\"remote-monitoring_101\",\"label\":\"远程实时监控\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false},{\"formId\":\"title\",\"label\":\"标题\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false},{\"formId\":\"sealDetail\",\"label\":\"印章明细\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false,\"children\":[{\"formId\":\"sealName\",\"label\":\"印章名称\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false},{\"formId\":\"applyCount\",\"label\":\"用印次数\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false},{\"formId\":\"applyCrossPageSealCount\",\"label\":\"骑缝章次数\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false},{\"formId\":\"takeOut\",\"label\":\"是否外带\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false},{\"formId\":\"outStartDate\",\"label\":\"外带开始时间\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false},{\"formId\":\"outEndDate\",\"label\":\"外带结束时间\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false},{\"formId\":\"outAddress\",\"label\":\"外带地点\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false}]},{\"formId\":\"useSealfile\",\"label\":\"用印文件\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false},{\"formId\":\"remark\",\"label\":\"用印事由\",\"isSystem\":false,\"readable\":true,\"writable\":false,\"required\":false}]', '\"{\\\"addSeal\\\":false,\\\"moveSeal\\\":false,\\\"approvalOpinion\\\":false}\"');
INSERT INTO `w_workflow_node_relation` VALUES (34, 'fc576666-9304-4988-ade8-c3ffc1f220ec', '1b46e184-29d0-45a7-813e-5d6ec149f459', '2021-11-24 15:23:42', '', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL, '[{\"formId\":\"ocr_102\",\"readable\":true,\"label\":\"ocr开关\",\"required\":false,\"writable\":false},{\"formId\":\"overman_101\",\"readable\":true,\"label\":\"人员\",\"required\":false,\"writable\":false},{\"formId\":\"prevent-water-mark_105\",\"readable\":true,\"label\":\"水印事前\",\"required\":false,\"writable\":false},{\"formId\":\"prevent_104\",\"readable\":true,\"label\":\"二维码事前\",\"required\":false,\"writable\":false},{\"formId\":\"prevent-power_106\",\"readable\":true,\"label\":\"远程授权\",\"required\":false,\"writable\":false},{\"formId\":\"watermark_103\",\"readable\":true,\"label\":\"水印开关\",\"required\":false,\"writable\":false},{\"formId\":\"title\",\"readable\":true,\"label\":\"标题\",\"required\":false,\"writable\":false},{\"formId\":\"sealDetail\",\"readable\":true,\"children\":[{\"formId\":\"sealName\",\"readable\":true,\"label\":\"印章名称\",\"required\":false,\"writable\":false},{\"formId\":\"applyCount\",\"readable\":true,\"label\":\"用印次数\",\"required\":false,\"writable\":false},{\"formId\":\"applyCrossPageSealCount\",\"readable\":true,\"label\":\"骑缝章次数\",\"required\":false,\"writable\":false},{\"formId\":\"takeOut\",\"readable\":true,\"label\":\"是否外带\",\"required\":false,\"writable\":false},{\"formId\":\"outStartDate\",\"readable\":true,\"label\":\"外带开始时间\",\"required\":false,\"writable\":false},{\"formId\":\"outEndDate\",\"readable\":true,\"label\":\"外带结束时间\",\"required\":false,\"writable\":false},{\"formId\":\"outAddress\",\"readable\":true,\"label\":\"外带地点\",\"required\":false,\"writable\":false}],\"label\":\"印章明细\",\"required\":false,\"writable\":false},{\"formId\":\"useSealfile\",\"readable\":true,\"label\":\"用印文件\",\"required\":false,\"writable\":false},{\"formId\":\"remark\",\"readable\":true,\"label\":\"用印事由\",\"required\":false,\"writable\":false}]', '{\"addSeal\":true,\"moveSeal\":false}');
INSERT INTO `w_workflow_node_relation` VALUES (35, '7a458b6a-5326-49d8-9506-11f267cf5fe5', '1b46e184-29d0-45a7-813e-5d6ec149f459', '2021-11-24 15:23:42', '', NULL, NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', NULL, '[{\"formId\":\"title\",\"readable\":true,\"label\":\"标题\",\"required\":false,\"writable\":true},{\"formId\":\"sealDetail\",\"readable\":true,\"children\":[{\"formId\":\"sealName\",\"readable\":true,\"label\":\"印章名称\",\"required\":false,\"writable\":true},{\"formId\":\"applyCount\",\"readable\":true,\"label\":\"用印次数\",\"required\":false,\"writable\":true},{\"formId\":\"applyCrossPageSealCount\",\"readable\":true,\"label\":\"骑缝章次数\",\"required\":false,\"writable\":true},{\"formId\":\"takeOut\",\"readable\":true,\"label\":\"是否外带\",\"required\":false,\"writable\":true},{\"formId\":\"outStartDate\",\"readable\":true,\"label\":\"外带开始时间\",\"required\":false,\"writable\":true},{\"formId\":\"outEndDate\",\"readable\":true,\"label\":\"外带结束时间\",\"required\":false,\"writable\":true},{\"formId\":\"outAddress\",\"readable\":true,\"label\":\"外带地点\",\"required\":false,\"writable\":true}],\"label\":\"印章明细\",\"required\":false,\"writable\":true},{\"formId\":\"useSealfile\",\"readable\":true,\"label\":\"用印文件\",\"required\":false,\"writable\":true},{\"formId\":\"remark\",\"readable\":true,\"label\":\"用印事由\",\"required\":false,\"writable\":true}]', '{\"addSeal\":false,\"moveSeal\":false}');

-- ----------------------------
-- Table structure for w_workflow_opinion
-- ----------------------------
DROP TABLE IF EXISTS `w_workflow_opinion`;
CREATE TABLE `w_workflow_opinion`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '主键',
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '业务唯一约束',
  `content` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '内容',
  `create_date` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建日期',
  `user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '用户ID',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '企业ID',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `uniq_id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of w_workflow_opinion
-- ----------------------------

-- ----------------------------
-- Table structure for w_workflow_seal_log
-- ----------------------------
DROP TABLE IF EXISTS `w_workflow_seal_log`;
CREATE TABLE `w_workflow_seal_log`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '主键',
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '业务唯一约束',
  `workflow_apply_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '表单id',
  `operate_time` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '操作时间',
  `operate_type_code` tinyint(2) NULL DEFAULT NULL COMMENT '操作类型编号',
  `operate_type_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '操作类型名称',
  `seal_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '印章id',
  `validate_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '验证和盖章对应ID',
  `event_type` tinyint(4) NULL DEFAULT NULL COMMENT '0:验证码 1：二维码 2：远程 3：RFID还章 4：管理员直接开柜 5:初始化',
  `source_machine` tinyint(4) NULL DEFAULT NULL COMMENT '日志来源，0、用印宝 1、印章柜 2、盖章机',
  `source_machine_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '来源设备Id',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `uniq_id`(`id`) USING BTREE,
  INDEX `idx_workflow_apply_id`(`workflow_apply_id`) USING BTREE,
  INDEX `idx_validate_id`(`validate_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '工作流日志' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of w_workflow_seal_log
-- ----------------------------

-- ----------------------------
-- Table structure for w_workflow_seal_log_operator
-- ----------------------------
DROP TABLE IF EXISTS `w_workflow_seal_log_operator`;
CREATE TABLE `w_workflow_seal_log_operator`  (
  `pid` int(10) NOT NULL AUTO_INCREMENT COMMENT '自增主键',
  `seal_log_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '日志关联ID',
  `operator_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '操作人员ID',
  `create_date` datetime(0) NOT NULL,
  PRIMARY KEY (`pid`) USING BTREE,
  INDEX `idx_seal_log_id`(`seal_log_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of w_workflow_seal_log_operator
-- ----------------------------

-- ----------------------------
-- Table structure for w_workflow_setting
-- ----------------------------
DROP TABLE IF EXISTS `w_workflow_setting`;
CREATE TABLE `w_workflow_setting`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `setting_type` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '应用类型(模型,2实例,1线,0点)',
  `used_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '应用id',
  `version_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '版本号',
  `setting_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '编码名称',
  `setting_value` varchar(350) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '编码值',
  `description` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '编码描述',
  `create_date` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业号',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1767 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of w_workflow_setting
-- ----------------------------

-- ----------------------------
-- Table structure for w_workflow_step
-- ----------------------------
DROP TABLE IF EXISTS `w_workflow_step`;
CREATE TABLE `w_workflow_step`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `apply_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '申请id',
  `from_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'from_code',
  `to_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'to_code',
  `execute_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '执行人id',
  `node_type` tinyint(1) NOT NULL COMMENT '类型0或签1会签2执行',
  `allow` tinyint(1) NOT NULL COMMENT '签署0未处理 1同意 2 退上一步 3拒绝',
  `status` tinyint(1) NULL DEFAULT NULL COMMENT '状态（是否处理）0未处理  ',
  `create_date` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_date` datetime(0) NULL DEFAULT NULL COMMENT '完成时间',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业号',
  `step_type` tinyint(1) NOT NULL DEFAULT -1 COMMENT '0 发起',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE,
  INDEX `idx_apply_id_create_date`(`apply_id`(36), `create_date`) USING BTREE,
  INDEX `idx_execute_id_apply_id`(`execute_id`, `apply_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1616 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of w_workflow_step
-- ----------------------------

-- ----------------------------
-- Table structure for w_workflow_step_data
-- ----------------------------
DROP TABLE IF EXISTS `w_workflow_step_data`;
CREATE TABLE `w_workflow_step_data`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '主键',
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '业务唯一约束',
  `workflow_apply_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '表单id',
  `node_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '节点code',
  `form_data` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '表单数据',
  `creator` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '创建人id',
  `create_time` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `updater` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '更改人',
  `update_date` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '更改日期',
  `del_status` tinyint(2) NOT NULL DEFAULT 0 COMMENT '0正常1删除',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `uniq_id`(`id`) USING BTREE,
  INDEX `idx_workflow_apply_id_node_code`(`workflow_apply_id`, `node_code`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '事项节点数据' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of w_workflow_step_data
-- ----------------------------

-- ----------------------------
-- Table structure for w_workflow_step_relation
-- ----------------------------
DROP TABLE IF EXISTS `w_workflow_step_relation`;
CREATE TABLE `w_workflow_step_relation`  (
  `pid` int(10) NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '关联 w_workflow_step 中ID',
  `code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '当前节点',
  `step_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '线名称',
  `opinion` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '意见',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业号',
  `used_time` int(11) NULL DEFAULT NULL COMMENT '耗时',
  `user_type` int(1) NULL DEFAULT NULL COMMENT '选中的用户类型',
  `from_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'from点名',
  `to_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'to点名',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of w_workflow_step_relation
-- ----------------------------

-- ----------------------------
-- Table structure for w_workflow_step_user
-- ----------------------------
DROP TABLE IF EXISTS `w_workflow_step_user`;
CREATE TABLE `w_workflow_step_user`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `step_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '流程步',
  `apply_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '流程主线id',
  `status` tinyint(4) NOT NULL COMMENT '状态:0 有效 1 失效',
  `item_type` tinyint(4) NOT NULL COMMENT '类型:0人员 1角色 2部门',
  `item_value` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '数值',
  `item_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '数据名称',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业号',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE,
  INDEX `idx_item_value`(`item_value`(36)) USING BTREE,
  INDEX `idx_step_id`(`step_id`(36)) USING BTREE,
  INDEX `idx_status`(`status`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1362 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of w_workflow_step_user
-- ----------------------------

-- ----------------------------
-- Table structure for w_workflow_user
-- ----------------------------
DROP TABLE IF EXISTS `w_workflow_user`;
CREATE TABLE `w_workflow_user`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `used_type` tinyint(1) NOT NULL DEFAULT 0 COMMENT '应用类型',
  `used_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '应用id',
  `version_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '版本id',
  `item_type` tinyint(4) NOT NULL COMMENT '类型:0人员1角色2部门3copyTo',
  `item_value` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '人员',
  `item_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '名称',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业号',
  `create_date` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `flag` tinyint(4) NULL DEFAULT NULL COMMENT '只针对抄送 0 不包含 1包含下级',
  `auth_type` tinyint(4) NULL DEFAULT NULL COMMENT '0人员 1部门',
  `org_no` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '组织代码A001',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE,
  INDEX `idx_version_id`(`version_id`) USING BTREE,
  INDEX `idx_item_type_version_id`(`item_type`, `version_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1491 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of w_workflow_user
-- ----------------------------
INSERT INTO `w_workflow_user` VALUES (1479, '29f63d18-1485-4e0d-a79e-49ad891f23aa', 0, '677f2cec-04d4-437b-b34d-01e1391b8429', '677f2cec-04d4-437b-b34d-01e1391b8429', 0, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '管理员', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '2020-08-26 14:35:28', NULL, NULL, NULL);
INSERT INTO `w_workflow_user` VALUES (1480, '9d4cd928-bf59-4f7f-8ff1-385076b75e0b', 0, 'c36ca0ef', '677f2cec-04d4-437b-b34d-01e1391b8429-c36ca0ef', 0, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '管理员', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '2020-08-26 14:35:28', NULL, NULL, NULL);
INSERT INTO `w_workflow_user` VALUES (1481, '88b3eb82-1c64-44d7-aa9d-dafa6850dff2', 0, 'a4f6e27f-c28c-4bee-94b8-ebd523721f0e', 'a4f6e27f-c28c-4bee-94b8-ebd523721f0e', 0, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '管理员', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '2020-12-04 09:59:55', NULL, NULL, NULL);
INSERT INTO `w_workflow_user` VALUES (1482, '1a1075db-02a3-447a-b1a6-ca4ea8b60431', 0, '2081294c', 'a4f6e27f-c28c-4bee-94b8-ebd523721f0e-2081294c', 4, '', NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '2020-12-04 09:59:55', NULL, NULL, NULL);
INSERT INTO `w_workflow_user` VALUES (1483, 'b7f6535b-0638-4782-b3a6-bd87ed7d0e63', 0, 'ec291937-f62c-430e-8f9e-c4f911dd4715', 'ec291937-f62c-430e-8f9e-c4f911dd4715', 0, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '管理员', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '2020-12-04 10:01:49', NULL, NULL, NULL);
INSERT INTO `w_workflow_user` VALUES (1484, 'fed637c2-abfe-4d33-9523-fad4389e31c5', 0, 'dc42116b', 'ec291937-f62c-430e-8f9e-c4f911dd4715-dc42116b', 4, '', NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '2020-12-04 10:01:49', NULL, NULL, NULL);
INSERT INTO `w_workflow_user` VALUES (1485, 'e537fd37-ac19-477b-bce5-ea5415531981', 0, 'ebab3419-58ac-42df-bcfd-e66f6cdedb63', 'ebab3419-58ac-42df-bcfd-e66f6cdedb63', 0, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '管理员', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '2020-12-04 10:03:16', NULL, NULL, NULL);
INSERT INTO `w_workflow_user` VALUES (1486, '925c2da7-d6e6-455f-8945-849ba30ff827', 0, 'e71b6666', 'ebab3419-58ac-42df-bcfd-e66f6cdedb63-e71b6666', 4, '', NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '2020-12-04 10:03:16', NULL, NULL, NULL);
INSERT INTO `w_workflow_user` VALUES (1487, 'c170286b-61de-42a3-b6fc-df249782df15', 0, 'b4ffd58d-b0d8-4069-ab3f-889540afbbf5', 'b4ffd58d-b0d8-4069-ab3f-889540afbbf5', 0, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '管理员', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '2020-12-04 10:04:34', NULL, NULL, NULL);
INSERT INTO `w_workflow_user` VALUES (1488, '7ff8fb45-bf92-4b65-94f2-a25159dc8822', 0, '97c3ba64', 'b4ffd58d-b0d8-4069-ab3f-889540afbbf5-97c3ba64', 4, '', NULL, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '2020-12-04 10:04:34', NULL, NULL, NULL);
INSERT INTO `w_workflow_user` VALUES (1489, '768187cc-44d7-4cd0-aafd-6f3a93867331', 0, 'c36ca0ef', '5e5600b8-fdef-4e4d-a0ff-30ce26889a5d-c36ca0ef', 0, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '管理员', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '2021-11-24 15:23:42', NULL, NULL, NULL);
INSERT INTO `w_workflow_user` VALUES (1490, 'e91778ab-d9e5-4292-91f4-163903deab36', 0, '5e5600b8-fdef-4e4d-a0ff-30ce26889a5d', '5e5600b8-fdef-4e4d-a0ff-30ce26889a5d', 0, '71a5c292-68b4-407c-9a3d-ec61bc4bebe5', '管理员', 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40', '2021-11-24 15:23:42', NULL, NULL, NULL);

-- ----------------------------
-- Table structure for websocket_message_log
-- ----------------------------
DROP TABLE IF EXISTS `websocket_message_log`;
CREATE TABLE `websocket_message_log`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `msg_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '消息ID',
  `msg_result` tinyint(1) NOT NULL DEFAULT 0 COMMENT '消息结果 0:成功 1:失败',
  `msg_type` tinyint(1) NOT NULL DEFAULT 0 COMMENT '0:发送 1:接受',
  `message` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '消息体json对象',
  `msg_status` tinyint(1) NULL DEFAULT 0 COMMENT 'msgId状态，0为有效，1为过期',
  `msg_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '终端返回消息的状态码',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE,
  INDEX `idx_msg_id`(`msg_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 22 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = 'Socket交互日志表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of websocket_message_log
-- ----------------------------

-- ----------------------------
-- Table structure for wf_change_seal
-- ----------------------------
DROP TABLE IF EXISTS `wf_change_seal`;
CREATE TABLE `wf_change_seal`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `workflow_base_id` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '对应workflowbase的主键id',
  `bill_no` varchar(127) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程号',
  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '标题',
  `change_seal` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '修改印章',
  `change_seal_name` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '印章名',
  `new_seal` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '新印章',
  `new_seal_name` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '新印章名',
  `remark` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '描述',
  `json_data` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '表单数据',
  `show_data` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '展示下载使用',
  `query_data` json NULL COMMENT '套件外字段',
  `org_no` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '',
  `company_id` char(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业id',
  `creator_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '创建人名',
  `creator_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人id',
  `create_date` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建日期',
  `file_path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '归档文件地址',
  `department_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '部门名称',
  `seal_info` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '印章明细',
  `department_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '所属部门或者子公司id',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE,
  INDEX `idx_wf_change_seal_create_date_company_id_id_department_id`(`create_date`, `company_id`, `id`, `department_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 24 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wf_change_seal
-- ----------------------------

-- ----------------------------
-- Table structure for wf_change_seal_status
-- ----------------------------
DROP TABLE IF EXISTS `wf_change_seal_status`;
CREATE TABLE `wf_change_seal_status`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `workflow_base_id` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '对应workflowbase的主键id',
  `bill_no` varchar(127) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程号',
  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '标题',
  `seal_name` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '印章名称',
  `seal_info` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '印章明细',
  `seal_status` tinyint(1) NOT NULL COMMENT '印章状态',
  `remark` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '描述',
  `json_data` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '表单数据',
  `show_data` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '展示下载使用',
  `query_data` json NULL COMMENT '套件外字段',
  `org_no` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '',
  `company_id` char(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业id',
  `creator_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '创建人名',
  `creator_id` char(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人id',
  `create_date` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `file_path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '归档文件地址',
  `department_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '部门名称',
  `department_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '所属部门或者子公司id',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 92 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wf_change_seal_status
-- ----------------------------

-- ----------------------------
-- Table structure for wf_create_seal
-- ----------------------------
DROP TABLE IF EXISTS `wf_create_seal`;
CREATE TABLE `wf_create_seal`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `workflow_base_id` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '对应workflowbase的主键id',
  `bill_no` varchar(127) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程号',
  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '标题',
  `seal_name` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '印章名称',
  `seal_shape` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '印章形状',
  `seal_material` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '印章材质',
  `seal_type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '印章类别',
  `seal_dept_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '部门名',
  `seal_dept` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '部门',
  `remark` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '描述',
  `json_data` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '表单额外数据',
  `show_data` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '展示下载使用',
  `query_data` json NULL COMMENT '查询',
  `org_no` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业id',
  `creator_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '创建人名',
  `creator_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人id',
  `create_date` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建日期',
  `file_path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '归档文件地址',
  `department_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '部门名称',
  `seal_info` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '印章明细',
  `department_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '所属部门或者子公司id',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 306 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wf_create_seal
-- ----------------------------

-- ----------------------------
-- Table structure for wf_transfer_seal
-- ----------------------------
DROP TABLE IF EXISTS `wf_transfer_seal`;
CREATE TABLE `wf_transfer_seal`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `workflow_base_id` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '对应workflowbase的主键id',
  `bill_no` varchar(127) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程号',
  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '标题',
  `seal_info` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '印章明细',
  `seal_name` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '印章名称',
  `remark` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '描述',
  `json_data` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '表单额外数据',
  `show_data` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '展示下载使用',
  `query_data` json NULL COMMENT '部门编号',
  `org_no` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业id',
  `creator_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '创建人名',
  `creator_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人id',
  `create_date` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建日期',
  `file_path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '归档文件地址',
  `department_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '部门名称',
  `department_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '所属部门或者子公司id',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 34 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wf_transfer_seal
-- ----------------------------

-- ----------------------------
-- Table structure for wf_used_seal
-- ----------------------------
DROP TABLE IF EXISTS `wf_used_seal`;
CREATE TABLE `wf_used_seal`  (
  `pid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '唯一约束',
  `workflow_base_id` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '对应workflowbase的主键id',
  `bill_no` varchar(127) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程号',
  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '标题',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业id',
  `creator_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '创建人id',
  `create_date` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建日期',
  `department_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '所属部门或者子公司id',
  `del_status` tinyint(1) NOT NULL DEFAULT 0 COMMENT '状态：0在用 1删除',
  `print_bill_no` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '打印编号',
  `version` int(4) NOT NULL DEFAULT 1 COMMENT '版本标识',
  `prevent_switch` tinyint(1) NOT NULL DEFAULT 0 COMMENT '事前验证开关 0-开 1-关',
  `recent_used_date` datetime(0) NULL DEFAULT NULL COMMENT '最近用印时间',
  `mark_file_status` tinyint(2) NOT NULL DEFAULT 0 COMMENT '防伪水印文件状态：0 正常；1 已删除；2 重新生成中',
  `regenerate_mark_file_date` datetime(0) NULL DEFAULT NULL COMMENT '防伪水印重新生成时间，默认NULL',
  `emergency_type` tinyint(4) NOT NULL DEFAULT 0 COMMENT '0无应急1有应急',
  `plaintext_mark_switch` tinyint(2) NOT NULL DEFAULT -1 COMMENT '0 开启 1 关闭',
  `thorough_del_date` timestamp(0) NULL DEFAULT NULL COMMENT '彻底删除时间',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE,
  INDEX `idx_company_id_create_date_id`(`company_id`, `create_date`, `id`) USING BTREE,
  INDEX `idx_create_date`(`create_date`) USING BTREE,
  INDEX `idx_department_id`(`department_id`) USING BTREE,
  INDEX `idx_wus_creator_id`(`creator_id`) USING BTREE,
  INDEX `idx_wf_used_seal_work_base_id`(`workflow_base_id`) USING BTREE,
  INDEX `idx_del_status_company_id`(`del_status`, `company_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wf_used_seal
-- ----------------------------

-- ----------------------------
-- Table structure for wf_used_seal_relation
-- ----------------------------
DROP TABLE IF EXISTS `wf_used_seal_relation`;
CREATE TABLE `wf_used_seal_relation`  (
  `pid` int(10) NOT NULL AUTO_INCREMENT,
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '关联 wf_used_seal 中ID',
  `remark` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '描述',
  `json_data` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '表单数据',
  `show_data` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '展示下载使用',
  `query_data` json NULL COMMENT '套件外字段',
  `org_no` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '',
  `warning_count` int(11) NOT NULL DEFAULT 0 COMMENT '预警次数',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '企业id',
  `seal_name` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '印章名称',
  `file_path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '归档文件地址',
  `zip_path` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '压缩包地址',
  PRIMARY KEY (`pid`) USING BTREE,
  UNIQUE INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wf_used_seal_relation
-- ----------------------------

-- ----------------------------
-- Table structure for xxl_job_group
-- ----------------------------
DROP TABLE IF EXISTS `xxl_job_group`;
CREATE TABLE `xxl_job_group`  (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `app_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '执行器AppName',
  `title` varchar(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '执行器名称',
  `address_type` tinyint(4) NOT NULL DEFAULT 0 COMMENT '执行器地址类型：0=自动注册、1=手动录入',
  `address_list` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '执行器地址列表，多地址逗号分隔',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of xxl_job_group
-- ----------------------------
INSERT INTO `xxl_job_group` VALUES (1, 'apollo-job-executor', 'apollo执行器', 0, 'http://192.168.10.28:9998/');

-- ----------------------------
-- Table structure for xxl_job_info
-- ----------------------------
DROP TABLE IF EXISTS `xxl_job_info`;
CREATE TABLE `xxl_job_info`  (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `job_group` int(11) NOT NULL COMMENT '执行器主键ID',
  `job_cron` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '任务执行CRON',
  `job_desc` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `add_time` datetime(0) NULL DEFAULT NULL,
  `update_time` datetime(0) NULL DEFAULT NULL,
  `author` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '作者',
  `alarm_email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '报警邮件',
  `executor_route_strategy` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '执行器路由策略',
  `executor_handler` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '执行器任务handler',
  `executor_param` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '执行器任务参数',
  `executor_block_strategy` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '阻塞处理策略',
  `executor_timeout` int(11) NOT NULL DEFAULT 0 COMMENT '任务执行超时时间，单位秒',
  `executor_fail_retry_count` int(11) NOT NULL DEFAULT 0 COMMENT '失败重试次数',
  `glue_type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'GLUE类型',
  `glue_source` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT 'GLUE源代码',
  `glue_remark` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'GLUE备注',
  `glue_updatetime` datetime(0) NULL DEFAULT NULL COMMENT 'GLUE更新时间',
  `child_jobid` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '子任务ID，多个逗号分隔',
  `trigger_status` tinyint(4) NOT NULL DEFAULT 0 COMMENT '调度状态：0-停止，1-运行',
  `trigger_last_time` bigint(13) NOT NULL DEFAULT 0 COMMENT '上次调度时间',
  `trigger_next_time` bigint(13) NOT NULL DEFAULT 0 COMMENT '下次调度时间',
  `company_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40' COMMENT '公司id',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of xxl_job_info
-- ----------------------------
INSERT INTO `xxl_job_info` VALUES (1, 1, '0 0 0 * * ? *', '组织数据同步', '2020-06-20 17:30:21', '2020-06-22 11:12:46', 'admin', '', 'FIRST', 'departmentSyncJobHandler', '1', 'SERIAL_EXECUTION', 0, 0, 'BEAN', '', 'GLUE代码初始化', '2020-06-20 17:30:21', '', 0, 0, 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `xxl_job_info` VALUES (2, 1, '0 0 0 * * ? *', '人员数据同步', '2020-06-22 11:06:01', '2020-06-22 11:06:39', 'admin', '', 'FIRST', 'userSyncJobHandler', '1', 'SERIAL_EXECUTION', 0, 0, 'BEAN', '', 'GLUE代码初始化', '2020-06-22 11:06:01', '', 0, 0, 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `xxl_job_info` VALUES (3, 1, '0 45 17 ? * TUE', '人员组织数据同步', '2021-05-08 09:50:56', '2021-05-08 09:50:56', 'admin', '', 'FIRST', 'userDepartmentSyncJobHandler', '1', 'SERIAL_EXECUTION', 0, 0, 'BEAN', '', 'GLUE代码初始化', '2021-05-08 09:50:56', '', 0, 0, 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');
INSERT INTO `xxl_job_info` VALUES (4, 1, '0 45 17 ? * TUE', '印章数据同步', '2021-05-08 09:50:56', '2021-05-08 09:50:56', 'admin', '', 'FIRST', 'sealSyncJobHandler', '1', 'SERIAL_EXECUTION', 0, 0, 'BEAN', '', 'GLUE代码初始化', '2021-05-08 09:50:56', '', 0, 0, 0, 'abdeec7b-647a-48c3-b414-3b9bdd6e0a40');

-- ----------------------------
-- Table structure for xxl_job_lock
-- ----------------------------
DROP TABLE IF EXISTS `xxl_job_lock`;
CREATE TABLE `xxl_job_lock`  (
  `lock_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '锁名称',
  PRIMARY KEY (`lock_name`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of xxl_job_lock
-- ----------------------------
INSERT INTO `xxl_job_lock` VALUES ('schedule_lock');

-- ----------------------------
-- Table structure for xxl_job_log
-- ----------------------------
DROP TABLE IF EXISTS `xxl_job_log`;
CREATE TABLE `xxl_job_log`  (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `job_group` int(11) NOT NULL COMMENT '执行器主键ID',
  `job_id` int(11) NOT NULL COMMENT '任务，主键ID',
  `executor_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '执行器地址，本次执行的地址',
  `executor_handler` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '执行器任务handler',
  `executor_param` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '执行器任务参数',
  `executor_sharding_param` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '执行器任务分片参数，格式如 1/2',
  `executor_fail_retry_count` int(11) NOT NULL DEFAULT 0 COMMENT '失败重试次数',
  `trigger_time` datetime(0) NULL DEFAULT NULL COMMENT '调度-时间',
  `trigger_code` int(11) NOT NULL COMMENT '调度-结果',
  `trigger_msg` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '调度-日志',
  `handle_time` datetime(0) NULL DEFAULT NULL COMMENT '执行-时间',
  `handle_code` int(11) NOT NULL COMMENT '执行-状态',
  `handle_msg` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '执行-日志',
  `alarm_status` tinyint(4) NOT NULL DEFAULT 0 COMMENT '告警状态：0-默认、1-无需告警、2-告警成功、3-告警失败',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `I_trigger_time`(`trigger_time`) USING BTREE,
  INDEX `I_handle_code`(`handle_code`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of xxl_job_log
-- ----------------------------

-- ----------------------------
-- Table structure for xxl_job_log_report
-- ----------------------------
DROP TABLE IF EXISTS `xxl_job_log_report`;
CREATE TABLE `xxl_job_log_report`  (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `trigger_day` datetime(0) NULL DEFAULT NULL COMMENT '调度-时间',
  `running_count` int(11) NOT NULL DEFAULT 0 COMMENT '运行中-日志数量',
  `suc_count` int(11) NOT NULL DEFAULT 0 COMMENT '执行成功-日志数量',
  `fail_count` int(11) NOT NULL DEFAULT 0 COMMENT '执行失败-日志数量',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `i_trigger_day`(`trigger_day`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of xxl_job_log_report
-- ----------------------------

-- ----------------------------
-- Table structure for xxl_job_logglue
-- ----------------------------
DROP TABLE IF EXISTS `xxl_job_logglue`;
CREATE TABLE `xxl_job_logglue`  (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `job_id` int(11) NOT NULL COMMENT '任务，主键ID',
  `glue_type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'GLUE类型',
  `glue_source` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT 'GLUE源代码',
  `glue_remark` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'GLUE备注',
  `add_time` datetime(0) NULL DEFAULT NULL,
  `update_time` datetime(0) NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of xxl_job_logglue
-- ----------------------------

-- ----------------------------
-- Table structure for xxl_job_registry
-- ----------------------------
DROP TABLE IF EXISTS `xxl_job_registry`;
CREATE TABLE `xxl_job_registry`  (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `registry_group` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `registry_key` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `registry_value` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `update_time` datetime(0) NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `i_g_k_v`(`registry_group`, `registry_key`, `registry_value`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of xxl_job_registry
-- ----------------------------

-- ----------------------------
-- Table structure for xxl_job_user
-- ----------------------------
DROP TABLE IF EXISTS `xxl_job_user`;
CREATE TABLE `xxl_job_user`  (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `username` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '账号',
  `password` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '密码',
  `role` tinyint(4) NOT NULL COMMENT '角色：0-普通用户、1-管理员',
  `permission` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '权限：执行器ID列表，多个逗号分割',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `i_username`(`username`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of xxl_job_user
-- ----------------------------
INSERT INTO `xxl_job_user` VALUES (1, 'admin', 'e10adc3949ba59abbe56e057f20f883e', 1, NULL);

SET FOREIGN_KEY_CHECKS = 1;
