-- afc_application
DELETE FROM AFC_APPLICATION WHERE ID like 'dqms%';
INSERT INTO AFC_APPLICATION (ID, NAME, CODE, TYPES, SECRET, URL, DESCRIPTION, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED, EXTRA, IS_SHARE, ACCESS_TOKEN, REFRESH_TOKEN, OPEN_TYPE, MICRO_URL, MICRO_MARK, IS_LOWCODE, BPS_TENANT_ID, DIMENSION_CODE) VALUES ('dqms-66', '数据质量', 'QUALITY', null, '215acf6db2844663a0c1c0bdac287441', null, null, 'sys_tenant', '2022-07-18 21:44:33', '2022-07-19 02:22:44', '64', '64', null, null, '0', 5, 30, 'microApp', '[{"id":1663312107142,"microMark":"quality","microUrl":"/"}]', 'quality_ui', null, null, null);

-- afc_res_group
DELETE FROM AFC_RES_GROUP WHERE ID like 'dqms%';
INSERT INTO AFC_RES_GROUP (ID, NAME, CODE, TYPES, RES_TYPE, DESCRIPTION, APP_ID, BUSINESS_OBJ_ID, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, SORT_NO, IS_FIXED) VALUES ('dqms-446', '默认分组', 'dqms-66_public_group', 'public_group', null, null, 'dqms-66', null, 'sys_tenant', '2022-07-18 21:44:33', null, '64', null, 0, null);
INSERT INTO AFC_RES_GROUP (ID, NAME, CODE, TYPES, RES_TYPE, DESCRIPTION, APP_ID, BUSINESS_OBJ_ID, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, SORT_NO, IS_FIXED) VALUES ('dqms-449', '质量定义', 'define', null, null, null, 'dqms-66', null, 'sys_tenant', '2022-07-19 03:52:15', null, '64', null, 1, null);
INSERT INTO AFC_RES_GROUP (ID, NAME, CODE, TYPES, RES_TYPE, DESCRIPTION, APP_ID, BUSINESS_OBJ_ID, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, SORT_NO, IS_FIXED) VALUES ('dqms-450', '质量调度', 'dispatch', null, null, null, 'dqms-66', null, 'sys_tenant', '2022-07-19 03:52:32', null, '64', null, 2, null);
INSERT INTO AFC_RES_GROUP (ID, NAME, CODE, TYPES, RES_TYPE, DESCRIPTION, APP_ID, BUSINESS_OBJ_ID, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, SORT_NO, IS_FIXED) VALUES ('dqms-451', '质量监控', 'monitor', null, null, null, 'dqms-66', null, 'sys_tenant', '2022-07-19 03:52:48', null, '64', null, 3, null);
INSERT INTO AFC_RES_GROUP (ID, NAME, CODE, TYPES, RES_TYPE, DESCRIPTION, APP_ID, BUSINESS_OBJ_ID, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, SORT_NO, IS_FIXED) VALUES ('dqms-452', '质量结果', 'result', null, null, null, 'dqms-66', null, 'sys_tenant', '2022-07-19 03:53:04', null, '64', null, 4, null);
INSERT INTO AFC_RES_GROUP (ID, NAME, CODE, TYPES, RES_TYPE, DESCRIPTION, APP_ID, BUSINESS_OBJ_ID, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, SORT_NO, IS_FIXED) VALUES ('dqms-453', '质量警告', 'alarm', null, null, null, 'dqms-66', null, 'sys_tenant', '2022-07-19 03:53:20', null, '64', null, 5, null);
INSERT INTO AFC_RES_GROUP (ID, NAME, CODE, TYPES, RES_TYPE, DESCRIPTION, APP_ID, BUSINESS_OBJ_ID, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, SORT_NO, IS_FIXED) VALUES ('dqms-454', '问题管理', 'problem', null, null, null, 'dqms-66', null, 'sys_tenant', '2022-07-19 03:53:40', null, '64', null, 6, null);
INSERT INTO AFC_RES_GROUP (ID, NAME, CODE, TYPES, RES_TYPE, DESCRIPTION, APP_ID, BUSINESS_OBJ_ID, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, SORT_NO, IS_FIXED) VALUES ('dqms-455', '质量分析', 'dqAnalysis', null, null, null, 'dqms-66', null, 'sys_tenant', '2022-07-19 03:53:59', null, '64', null, 7, null);
INSERT INTO AFC_RES_GROUP (ID, NAME, CODE, TYPES, RES_TYPE, DESCRIPTION, APP_ID, BUSINESS_OBJ_ID, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, SORT_NO, IS_FIXED) VALUES ('dqms-456', '数据源管理', 'dataOperation', null, null, null, 'dqms-66', null, 'sys_tenant', '2022-07-19 03:54:17', null, '64', null, 8, null);
INSERT INTO AFC_RES_GROUP (ID, NAME, CODE, TYPES, RES_TYPE, DESCRIPTION, APP_ID, BUSINESS_OBJ_ID, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, SORT_NO, IS_FIXED) VALUES ('dqms-457', '安全审计', 'securityAudit', null, null, null, 'dqms-66', null, 'sys_tenant', '2022-12-20 14:05:49', null, 'admin', null, 9, null);
INSERT INTO AFC_RES_GROUP (ID, NAME, CODE, TYPES, RES_TYPE, DESCRIPTION, APP_ID, BUSINESS_OBJ_ID, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, SORT_NO, IS_FIXED) VALUES ('dqms-458', '产品信息', 'productsInfo', null, null, null, 'dqms-66', null, 'sys_tenant', '2022-12-20 14:05:58', null, 'admin', null, 10, null);

DELETE FROM AFC_RES_GROUP WHERE ID LIKE 'quality%';

INSERT INTO AFC_RES_GROUP (ID, NAME, CODE, TYPES, RES_TYPE, DESCRIPTION, APP_ID, BUSINESS_OBJ_ID, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, SORT_NO, IS_FIXED)
VALUES ('quality-11', '主数据平台变量', 'mdm_platform_vars', 'platform', 'systemVariable', null, null, null, 'sys_tenant', '2022-12-30 12:00:00', null, null, null, 1, null),
       ('quality-12', 'AFC变量', 'afc_platform_vars', 'platform', 'systemVariable', null, null, null, 'sys_tenant', '2022-12-30 12:00:00', null, null, null, 1, null);

-- afc_menu
DELETE FROM AFC_MENU WHERE ID like 'dqms%';
INSERT INTO AFC_MENU (ID, NAME, CODE, RES_ID, DESCRIPTION, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, PARENT_ID, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED, OPEN_TYPE, MENU_ICON, MENU_TYPE, BUSINESS_OBJ_ID, IS_NEW_WINDOW_OPEN) VALUES ('dqms-442', '数据质量', 'quality', 'dqms-1885', null, 9, '0', null, null, 'root', 'sys_tenant', '2022-07-18 21:43:27', '2022-07-19 01:51:08', '64', '64', null, null, 'Newuserzone', null, null, null);
INSERT INTO AFC_MENU (ID, NAME, CODE, RES_ID, DESCRIPTION, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, PARENT_ID, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED, OPEN_TYPE, MENU_ICON, MENU_TYPE, BUSINESS_OBJ_ID, IS_NEW_WINDOW_OPEN) VALUES ('dqms-364', '质量调度', 'dispatch', null, null, 2, '0', null, null, 'dqms-442', 'sys_tenant', '2022-07-19 17:28:07', '2022-07-28 11:26:06', '64', '64', null, null, 'dingdan', null, null, null);
INSERT INTO AFC_MENU (ID, NAME, CODE, RES_ID, DESCRIPTION, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, PARENT_ID, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED, OPEN_TYPE, MENU_ICON, MENU_TYPE, BUSINESS_OBJ_ID, IS_NEW_WINDOW_OPEN) VALUES ('dqms-365', '质量监控', 'monitor', null, null, 3, '0', null, null, 'dqms-442', 'sys_tenant', '2022-07-19 17:28:41', '2022-07-28 11:26:19', '64', '64', null, null, 'fenlei', null, null, null);
INSERT INTO AFC_MENU (ID, NAME, CODE, RES_ID, DESCRIPTION, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, PARENT_ID, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED, OPEN_TYPE, MENU_ICON, MENU_TYPE, BUSINESS_OBJ_ID, IS_NEW_WINDOW_OPEN) VALUES ('dqms-366', '质量结果', 'result', null, null, 4, '0', null, null, 'dqms-442', 'sys_tenant', '2022-07-19 17:29:03', '2022-07-28 11:26:24', '64', '64', null, null, 'dingdan', null, null, null);
INSERT INTO AFC_MENU (ID, NAME, CODE, RES_ID, DESCRIPTION, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, PARENT_ID, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED, OPEN_TYPE, MENU_ICON, MENU_TYPE, BUSINESS_OBJ_ID, IS_NEW_WINDOW_OPEN) VALUES ('dqms-367', '质量告警', 'alarm', null, null, 5, '0', null, null, 'dqms-442', 'sys_tenant', '2022-07-19 17:29:21', '2022-07-28 13:56:10', '64', '64', null, null, 'remind-fill', null, null, null);
INSERT INTO AFC_MENU (ID, NAME, CODE, RES_ID, DESCRIPTION, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, PARENT_ID, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED, OPEN_TYPE, MENU_ICON, MENU_TYPE, BUSINESS_OBJ_ID, IS_NEW_WINDOW_OPEN) VALUES ('dqms-368', '问题管理', 'problemManage', null, null, 6, '0', null, null, 'dqms-442', 'sys_tenant', '2022-07-19 17:29:50', '2022-07-28 13:55:54', '64', '64', null, null, 'rightalignment', null, null, null);
INSERT INTO AFC_MENU (ID, NAME, CODE, RES_ID, DESCRIPTION, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, PARENT_ID, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED, OPEN_TYPE, MENU_ICON, MENU_TYPE, BUSINESS_OBJ_ID, IS_NEW_WINDOW_OPEN) VALUES ('dqms-369', '质量分析', 'dqAnalysis', null, null, 7, '0', null, null, 'dqms-442', 'sys_tenant', '2022-07-19 17:30:07', '2022-07-28 13:57:33', '64', '64', null, null, 'dingdan', null, null, null);
INSERT INTO AFC_MENU (ID, NAME, CODE, RES_ID, DESCRIPTION, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, PARENT_ID, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED, OPEN_TYPE, MENU_ICON, MENU_TYPE, BUSINESS_OBJ_ID, IS_NEW_WINDOW_OPEN) VALUES ('dqms-370', '数据源管理', 'dataOperation', null, null, 8, '0', null, null, 'dqms-442', 'sys_tenant', '2022-07-19 17:30:25', '2022-07-28 13:58:11', '64', '64', null, null, 'jifen_2', null, null, null);
INSERT INTO AFC_MENU (ID, NAME, CODE, RES_ID, DESCRIPTION, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, PARENT_ID, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED, OPEN_TYPE, MENU_ICON, MENU_TYPE, BUSINESS_OBJ_ID, IS_NEW_WINDOW_OPEN) VALUES ('dqms-443', '质量定义', 'define', null, null, 1, '0', null, null, 'dqms-442', 'sys_tenant', '2022-07-19 01:44:21', '2022-07-28 11:24:41', '64', '64', null, null, 'fenlei_2', null, null, null);
INSERT INTO AFC_MENU (ID, NAME, CODE, RES_ID, DESCRIPTION, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, PARENT_ID, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED, OPEN_TYPE, MENU_ICON, MENU_TYPE, BUSINESS_OBJ_ID, IS_NEW_WINDOW_OPEN) VALUES ('dqms-372', '检核规则分组', 'group', 'dqms-1887', null, 2, '1', null, null, 'dqms-443', 'sys_tenant', '2022-07-19 17:31:38', null, '64', null, null, null, null, null, null, null);
INSERT INTO AFC_MENU (ID, NAME, CODE, RES_ID, DESCRIPTION, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, PARENT_ID, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED, OPEN_TYPE, MENU_ICON, MENU_TYPE, BUSINESS_OBJ_ID, IS_NEW_WINDOW_OPEN) VALUES ('dqms-373', '检核规则管理', 'checkRuleManage', 'dqms-1888', null, 3, '1', null, null, 'dqms-443', 'sys_tenant', '2022-07-19 17:32:08', null, '64', null, null, null, null, null, null, null);
INSERT INTO AFC_MENU (ID, NAME, CODE, RES_ID, DESCRIPTION, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, PARENT_ID, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED, OPEN_TYPE, MENU_ICON, MENU_TYPE, BUSINESS_OBJ_ID, IS_NEW_WINDOW_OPEN) VALUES ('dqms-374', '指标信息维护', 'indexinfo', 'dqms-1889', null, 4, '1', null, null, 'dqms-443', 'sys_tenant', '2022-07-19 17:32:33', null, '64', null, null, null, null, null, null, null);
INSERT INTO AFC_MENU (ID, NAME, CODE, RES_ID, DESCRIPTION, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, PARENT_ID, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED, OPEN_TYPE, MENU_ICON, MENU_TYPE, BUSINESS_OBJ_ID, IS_NEW_WINDOW_OPEN) VALUES ('dqms-375', 'HBase规则维护', 'ruleinfo', 'dqms-1890', null, 5, '1', null, null, 'dqms-443', 'sys_tenant', '2022-07-19 17:33:03', null, '64', null, null, null, null, null, null, null);
INSERT INTO AFC_MENU (ID, NAME, CODE, RES_ID, DESCRIPTION, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, PARENT_ID, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED, OPEN_TYPE, MENU_ICON, MENU_TYPE, BUSINESS_OBJ_ID, IS_NEW_WINDOW_OPEN) VALUES ('dqms-376', '通用检核配置', 'commoncheckconf', 'dqms-1891', null, 6, '1', null, null, 'dqms-443', 'sys_tenant', '2022-07-19 17:33:27', null, '64', null, null, null, null, null, null, null);
INSERT INTO AFC_MENU (ID, NAME, CODE, RES_ID, DESCRIPTION, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, PARENT_ID, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED, OPEN_TYPE, MENU_ICON, MENU_TYPE, BUSINESS_OBJ_ID, IS_NEW_WINDOW_OPEN) VALUES ('dqms-377', '频度管理', 'frequency', 'dqms-1892', null, 1, '1', null, null, 'dqms-364', 'sys_tenant', '2022-07-19 17:39:59', null, '64', null, null, null, null, null, null, null);
INSERT INTO AFC_MENU (ID, NAME, CODE, RES_ID, DESCRIPTION, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, PARENT_ID, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED, OPEN_TYPE, MENU_ICON, MENU_TYPE, BUSINESS_OBJ_ID, IS_NEW_WINDOW_OPEN) VALUES ('dqms-378', '日历管理', 'calendar', 'dqms-1893', null, 2, '1', null, null, 'dqms-364', 'sys_tenant', '2022-07-19 17:40:28', null, '64', null, null, null, null, null, null, null);
INSERT INTO AFC_MENU (ID, NAME, CODE, RES_ID, DESCRIPTION, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, PARENT_ID, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED, OPEN_TYPE, MENU_ICON, MENU_TYPE, BUSINESS_OBJ_ID, IS_NEW_WINDOW_OPEN) VALUES ('dqms-379', '检核任务管理', 'scheduleInfo', 'dqms-1894', null, 3, '1', null, null, 'dqms-364', 'sys_tenant', '2022-07-19 17:41:01', null, '64', null, null, null, null, null, null, null);
INSERT INTO AFC_MENU (ID, NAME, CODE, RES_ID, DESCRIPTION, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, PARENT_ID, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED, OPEN_TYPE, MENU_ICON, MENU_TYPE, BUSINESS_OBJ_ID, IS_NEW_WINDOW_OPEN) VALUES ('dqms-380', '检核规则监控', 'checkRuleMonitor', 'dqms-1895', null, 1, '1', null, null, 'dqms-365', 'sys_tenant', '2022-07-19 17:42:57', null, '64', null, null, null, null, null, null, null);
INSERT INTO AFC_MENU (ID, NAME, CODE, RES_ID, DESCRIPTION, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, PARENT_ID, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED, OPEN_TYPE, MENU_ICON, MENU_TYPE, BUSINESS_OBJ_ID, IS_NEW_WINDOW_OPEN) VALUES ('dqms-461', '检核任务监控', 'scheduleMonitor', 'dqms-1896', null, 2, '1', null, null, 'dqms-365', 'sys_tenant', '2022-07-19 17:43:19', null, '64', null, null, null, null, null, null, null);
INSERT INTO AFC_MENU (ID, NAME, CODE, RES_ID, DESCRIPTION, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, PARENT_ID, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED, OPEN_TYPE, MENU_ICON, MENU_TYPE, BUSINESS_OBJ_ID, IS_NEW_WINDOW_OPEN) VALUES ('dqms-462', '检核规则日志', 'checkRuleLogs', 'dqms-1897', null, 3, '1', null, null, 'dqms-365', 'sys_tenant', '2022-07-19 17:43:53', null, '64', null, null, null, null, null, null, null);
INSERT INTO AFC_MENU (ID, NAME, CODE, RES_ID, DESCRIPTION, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, PARENT_ID, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED, OPEN_TYPE, MENU_ICON, MENU_TYPE, BUSINESS_OBJ_ID, IS_NEW_WINDOW_OPEN) VALUES ('dqms-463', '检核结果', 'checkRuleResult', 'dqms-1898', null, 1, '1', null, null, 'dqms-366', 'sys_tenant', '2022-07-19 17:44:29', null, '64', null, null, null, null, null, null, null);
INSERT INTO AFC_MENU (ID, NAME, CODE, RES_ID, DESCRIPTION, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, PARENT_ID, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED, OPEN_TYPE, MENU_ICON, MENU_TYPE, BUSINESS_OBJ_ID, IS_NEW_WINDOW_OPEN) VALUES ('dqms-464', '通用检核详情', 'commoncheckDetail', 'dqms-1899', null, 2, '1', null, null, 'dqms-366', 'sys_tenant', '2022-07-19 17:44:54', null, '64', null, null, null, null, null, null, null);
INSERT INTO AFC_MENU (ID, NAME, CODE, RES_ID, DESCRIPTION, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, PARENT_ID, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED, OPEN_TYPE, MENU_ICON, MENU_TYPE, BUSINESS_OBJ_ID, IS_NEW_WINDOW_OPEN) VALUES ('dqms-465', '告警配置', 'alarmConfigInfo', 'dqms-1900', null, 1, '1', null, null, 'dqms-367', 'sys_tenant', '2022-07-19 17:45:34', null, '64', null, null, null, '', null, null, null);
INSERT INTO AFC_MENU (ID, NAME, CODE, RES_ID, DESCRIPTION, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, PARENT_ID, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED, OPEN_TYPE, MENU_ICON, MENU_TYPE, BUSINESS_OBJ_ID, IS_NEW_WINDOW_OPEN) VALUES ('dqms-466', '告警结果', 'alarmRecord', 'dqms-1901', null, 2, '1', null, null, 'dqms-367', 'sys_tenant', '2022-07-19 17:45:55', null, '64', null, null, null, null, null, null, null);
INSERT INTO AFC_MENU (ID, NAME, CODE, RES_ID, DESCRIPTION, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, PARENT_ID, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED, OPEN_TYPE, MENU_ICON, MENU_TYPE, BUSINESS_OBJ_ID, IS_NEW_WINDOW_OPEN) VALUES ('dqms-468', '问题处理', 'problem', 'dqms-1903', null, 1, '1', null, null, 'dqms-368', 'sys_tenant', '2022-07-19 17:46:45', null, '64', null, null, null, null, null, null, null);
INSERT INTO AFC_MENU (ID, NAME, CODE, RES_ID, DESCRIPTION, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, PARENT_ID, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED, OPEN_TYPE, MENU_ICON, MENU_TYPE, BUSINESS_OBJ_ID, IS_NEW_WINDOW_OPEN) VALUES ('dqms-469', '知识库', 'knowledgeinfo', 'dqms-1904', null, 2, '1', null, null, 'dqms-368', 'sys_tenant', '2022-07-19 17:47:10', null, '64', null, null, null, null, null, null, null);
INSERT INTO AFC_MENU (ID, NAME, CODE, RES_ID, DESCRIPTION, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, PARENT_ID, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED, OPEN_TYPE, MENU_ICON, MENU_TYPE, BUSINESS_OBJ_ID, IS_NEW_WINDOW_OPEN) VALUES ('dqms-470', '检核指标分析', 'checkIndexAnalysis', 'dqms-1905', null, 1, '1', null, null, 'dqms-369', 'sys_tenant', '2022-07-19 17:48:04', null, '64', null, null, null, null, null, null, null);
INSERT INTO AFC_MENU (ID, NAME, CODE, RES_ID, DESCRIPTION, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, PARENT_ID, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED, OPEN_TYPE, MENU_ICON, MENU_TYPE, BUSINESS_OBJ_ID, IS_NEW_WINDOW_OPEN) VALUES ('dqms-471', '检核规则分析', 'checkRuleAnalysis', 'dqms-1906', null, 2, '1', null, null, 'dqms-369', 'sys_tenant', '2022-07-19 17:48:51', null, '64', null, null, null, null, null, null, null);
INSERT INTO AFC_MENU (ID, NAME, CODE, RES_ID, DESCRIPTION, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, PARENT_ID, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED, OPEN_TYPE, MENU_ICON, MENU_TYPE, BUSINESS_OBJ_ID, IS_NEW_WINDOW_OPEN) VALUES ('dqms-472', '质量分析报告', 'checkDataAnalysis', 'dqms-1907', null, 3, '1', null, null, 'dqms-369', 'sys_tenant', '2022-07-19 17:49:16', '2022-07-19 17:49:28', '64', '64', null, null, null, null, null, null);
INSERT INTO AFC_MENU (ID, NAME, CODE, RES_ID, DESCRIPTION, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, PARENT_ID, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED, OPEN_TYPE, MENU_ICON, MENU_TYPE, BUSINESS_OBJ_ID, IS_NEW_WINDOW_OPEN) VALUES ('dqms-473', '数据源维护', 'dataSourceInfo', 'dqms-1908', null, 1, '1', null, null, 'dqms-370', 'sys_tenant', '2022-07-19 17:50:04', null, '64', null, null, null, null, null, null, null);
INSERT INTO AFC_MENU (ID, NAME, CODE, RES_ID, DESCRIPTION, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, PARENT_ID, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED, OPEN_TYPE, MENU_ICON, MENU_TYPE, BUSINESS_OBJ_ID, IS_NEW_WINDOW_OPEN) VALUES ('dqms-474', '数据源配置管理', 'config', 'dqms-1909', null, 2, '1', null, null, 'dqms-370', 'sys_tenant', '2022-07-19 17:50:24', null, '64', null, null, null, null, null, null, null);
INSERT INTO AFC_MENU (ID, NAME, CODE, RES_ID, DESCRIPTION, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, PARENT_ID, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED, OPEN_TYPE, MENU_ICON, MENU_TYPE, BUSINESS_OBJ_ID, IS_NEW_WINDOW_OPEN) VALUES ('dqms-475', 'HBase表映射管理', 'Hbaseconfig', 'dqms-1910', null, 3, '1', null, null, 'dqms-370', 'sys_tenant', '2022-07-19 17:50:45', null, '64', null, null, null, null, null, null, null);
INSERT INTO AFC_MENU (ID, NAME, CODE, RES_ID, DESCRIPTION, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, PARENT_ID, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED, OPEN_TYPE, MENU_ICON, MENU_TYPE, BUSINESS_OBJ_ID, IS_NEW_WINDOW_OPEN) VALUES ('dqms-43', '操作日志', 'logger', 'dqms-221', null, 3, '1', null, null, 'dqms-81', 'sys_tenant', '2022-12-20 14:18:06', null, 'admin', null, null, null, 'jiandu', null, null, null);
INSERT INTO AFC_MENU (ID, NAME, CODE, RES_ID, DESCRIPTION, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, PARENT_ID, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED, OPEN_TYPE, MENU_ICON, MENU_TYPE, BUSINESS_OBJ_ID, IS_NEW_WINDOW_OPEN) VALUES ('dqms-44', '质量评分', 'checkDataScore', 'dqms-222', null, 4, '1', null, null, 'dqms-369', 'sys_tenant', '2022-12-28 15:47:43', null, 'admin', null, null, null, null, null, null, null);
INSERT INTO AFC_MENU (ID, NAME, CODE, RES_ID, DESCRIPTION, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, PARENT_ID, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED, OPEN_TYPE, MENU_ICON, MENU_TYPE, BUSINESS_OBJ_ID, IS_NEW_WINDOW_OPEN) VALUES ('dqms-81', '安全审计', 'securityAudit', null, null, 10, '0', null, null, 'dqms-442', 'sys_tenant', '2023-01-12 17:27:26', null, 'admin', null, null, null, 'jiandu', null, null, null);
INSERT INTO AFC_MENU (ID, NAME, CODE, RES_ID, DESCRIPTION, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, PARENT_ID, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED, OPEN_TYPE, MENU_ICON, MENU_TYPE, BUSINESS_OBJ_ID, IS_NEW_WINDOW_OPEN) VALUES ('dqms-82', '产品信息', 'productsInfo', 'dqms-223', null, 10, '1', 0, null, 'dqms-442', 'sys_tenant', '2023-01-12 17:27:26', null, 'admin', null, null, null, 'jiandu', null, null, null);

-- afc_role
DELETE FROM AFC_ROLE WHERE ID like 'dqms%';
INSERT INTO AFC_ROLE (ID, NAME, CODE, DESCRIPTION, ROLE_TPL_ID, TYPES, BUSINESS_OBJ_ID, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-92', '数据质量管理员', 'dqms-admin', '', null, 'platform', null, 'sys_tenant', '2022-07-19 03:37:45', null, '64', null, '0');

-- afc_system_variable
DELETE FROM AFC_SYSTEM_VARIABLE WHERE RES_GROUP_ID LIKE 'quality%';

INSERT INTO AFC_SYSTEM_VARIABLE (ID, CODE, NAME, VALUE, RES_GROUP_ID, IS_ENCRYPT, DESCRIPTION, SOURCE, CREATE_USER, UPDATE_USER, TENANT_ID, CREATE_TIME, UPDATE_TIME, TYPES, APP_ID)
VALUES ('quality-11', 'mdm.server.url', 'mdm_server_url', 'http://10.15.15.130:29898', 'quality-11', '0', null, null, null, null, 'sys_tenant', '2022-12-30 12:00:00', null, 'platform', null),
       ('quality-12', 'mdm.server.token', 'mdm_server_token', '501143620fac471bb1ec2840e09f091d', 'quality-11', '0', null, null, null, null, 'sys_tenant', '2022-12-30 12:00:00', null, 'platform', null),
       ('quality-13', 'mdm.frequency.name', 'mdm_frequency_name', 'mdm_frequency', 'quality-11', '0', null, null, null, null, 'sys_tenant', '2022-12-30 12:00:00', null, 'platform', null),
       ('quality-14', 'mdm.index.id', 'mdm_index_id', '775617973328220160', 'quality-11', '0', null, null, null, null, 'sys_tenant', '2022-12-30 12:00:00', null, 'platform', null),
       ('quality-15', 'mdm.datasource.id', 'mdm_datasource_id', '775620198016421888', 'quality-11', '0', null, null, null, null, 'sys_tenant', '2022-12-30 12:00:00', null, 'platform', null),
       ('quality-16', 'mdm.output.datasource.id', 'mdm_output_datasource_id', '775874119687409664', 'quality-11', '0', null, null, null, null, 'sys_tenant', '2022-12-30 12:00:00', null, 'platform', null),
       ('quality-17', 'mdm.output.datasource.databaseName', 'mdm_output_datasource_databaseName', 'dqms_result_store', 'quality-11', '0', null, null, null, null, 'sys_tenant', '2022-12-30 12:00:00', null, 'platform', null),
       ('quality-18', 'afc.server.url', 'afc_server_url', 'http://10.15.15.136:28085', 'quality-12', '0', null, null, null, null, 'sys_tenant', '2022-12-30 12:00:00', null, 'platform', null),
       ('quality-19', 'afc.server.token', 'afc_server_token', 'fe98f2cbf76444169ef209d2f59a9967', 'quality-12', '0', null, null, null, null, 'sys_tenant', '2022-12-30 12:00:00', null, 'platform', null);

DELETE FROM AFC_API_TOKEN WHERE TOKEN = 'c0101b6109e8478784ceb8897159fe2b';
INSERT INTO AFC_API_TOKEN (ID, TOKEN, USER_ID, CREATE_TIME, EXPIRE_TIME, REMARK) VALUES ('1', 'c0101b6109e8478784ceb8897159fe2b', '1', '2024-01-25 20:19:02', '2030-12-31 23:59:59', null);

DELETE FROM XXL_JOB_GROUP WHERE ID IN (9);
INSERT INTO XXL_JOB_GROUP (ID, APP_NAME, TITLE, ADDRESS_TYPE, ADDRESS_LIST) VALUES (9, 'quality-executor', 'quality执行器', 0, '');

-- 7.2GA
-- AFC_RESOURCE
DELETE FROM AFC_RESOURCE WHERE ID like 'dqms%';
INSERT INTO afc_resource (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-365', '检核工作台 - 检核任务新增（页面）', 'dqms-f-method-config-add-task', 'function', 'dqms-66', 'dqms-449', null, '页面tree', null, null, 'sys_tenant', '2023-04-19 17:50:03', null, 'admin', null, null);
INSERT INTO afc_resource (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-366', '检核工作台 - 检核任务修改（页面）', 'dqms-f-method-config-edit-task', 'function', 'dqms-66', 'dqms-449', null, '页面tree', null, null, 'sys_tenant', '2023-04-19 17:50:33', null, 'admin', null, null);
INSERT INTO afc_resource (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-367', '检核工作台 - 检核任务删除（页面）', 'dqms-f-method-config-del-task', 'function', 'dqms-66', 'dqms-449', null, '页面tree', null, null, 'sys_tenant', '2023-04-19 17:50:56', null, 'admin', null, null);
INSERT INTO afc_resource (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-368', '检核工作台 - 检核任务启用（页面）', 'dqms-f-method-config-start-task', 'function', 'dqms-66', 'dqms-449', null, '页面tree', null, null, 'sys_tenant', '2023-04-19 17:51:38', null, 'admin', null, null);
INSERT INTO afc_resource (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-369', '检核工作台 - 检核任务停用（页面）', 'dqms-f-method-config-stop-task', 'function', 'dqms-66', 'dqms-449', null, '页面tree', null, null, 'sys_tenant', '2023-04-19 17:52:09', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-1885', '首页', 'quality_ui_index', 'url', 'dqms-66', 'dqms-446', null, null, null, '{"openType":"microApp","mark":"index","url":null,"params":null,"afcenterPath":"http://localhost:9000/","appMark":"quality","microMark":"quality","appCode":"quality"}', 'sys_tenant', '2022-07-19 01:25:05', '2022-09-16 15:39:41', '64', 'fran', null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-1887', '检核规则分组', 'group', 'url', 'dqms-66', 'dqms-449', null, null, null, '{"openType":"microApp","mark":"define/group","url":null,"params":null,"afcenterPath":"/","appMark":"quality","microMark":"quality","appCode":"quality"}', 'sys_tenant', '2022-07-19 03:56:56', '2022-09-16 15:12:34', '64', 'wangyue', null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-1888', '检核规则管理', 'checkRuleManage', 'url', 'dqms-66', 'dqms-449', null, null, null, '{"openType":"microApp","mark":"define/checkRuleManage","url":null,"params":null,"afcenterPath":"/","appMark":"quality","microMark":"quality","appCode":"quality"}', 'sys_tenant', '2022-07-19 03:57:14', '2022-09-16 15:12:50', '64', 'wangyue', null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-1889', '指标信息维护', 'indexinfo', 'url', 'dqms-66', 'dqms-449', null, null, null, '{"openType":"microApp","mark":"define/indexinfo","url":null,"params":null,"afcenterPath":"/","appMark":"quality","microMark":"quality","appCode":"quality"}', 'sys_tenant', '2022-07-19 03:57:33', '2022-09-16 15:12:54', '64', 'wangyue', null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-1890', 'HBase规则维护', 'ruleinfo', 'url', 'dqms-66', 'dqms-449', null, null, null, '{"openType":"microApp","mark":"define/ruleinfo","url":null,"params":null,"afcenterPath":"/","appMark":"quality","microMark":"quality","appCode":"quality"}', 'sys_tenant', '2022-07-19 03:58:01', '2022-09-16 15:12:57', '64', 'wangyue', null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-1891', '通用检核配置', 'commoncheckconf', 'url', 'dqms-66', 'dqms-449', null, null, null, '{"openType":"microApp","mark":"define/commoncheckconf","url":null,"params":null,"afcenterPath":"/","appMark":"quality","microMark":"quality","appCode":"quality"}', 'sys_tenant', '2022-07-19 03:58:20', '2022-09-16 15:15:01', '64', 'wangyue', null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-1892', '频度管理', 'frequency', 'url', 'dqms-66', 'dqms-450', null, null, null, '{"openType":"microApp","mark":"dispatch/frequency","url":null,"params":null,"afcenterPath":"/","appMark":"quality","microMark":"quality","appCode":"quality"}', 'sys_tenant', '2022-07-19 03:58:42', '2022-09-16 15:13:13', '64', 'wangyue', null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-1893', '日历管理', 'calendar', 'url', 'dqms-66', 'dqms-450', null, null, null, '{"openType":"microApp","mark":"dispatch/calendar","url":null,"params":null,"afcenterPath":"/","appMark":"quality","microMark":"quality","appCode":"quality"}', 'sys_tenant', '2022-07-19 03:58:57', '2022-09-16 15:13:17', '64', 'wangyue', null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-1894', '检核任务管理', 'scheduleInfo', 'url', 'dqms-66', 'dqms-450', null, null, null, '{"openType":"microApp","mark":"dispatch/scheduleInfo","url":null,"params":null,"afcenterPath":"/","appMark":"quality","microMark":"quality","appCode":"quality"}', 'sys_tenant', '2022-07-19 03:59:14', '2022-09-16 15:13:20', '64', 'wangyue', null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-1895', '检核规则监控', 'checkRuleMonitor', 'url', 'dqms-66', 'dqms-451', null, null, null, '{"openType":"microApp","mark":"monitor/checkRuleMonitor","url":null,"params":null,"afcenterPath":"/","appMark":"quality","microMark":"quality","appCode":"quality"}', 'sys_tenant', '2022-07-19 03:59:34', '2022-09-16 15:13:25', '64', 'wangyue', null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-1896', '检核任务监控', 'scheduleMonitor', 'url', 'dqms-66', 'dqms-451', null, null, null, '{"openType":"microApp","mark":"monitor/scheduleMonitor","url":null,"params":null,"afcenterPath":"/","appMark":"quality","microMark":"quality","appCode":"quality"}', 'sys_tenant', '2022-07-19 03:59:51', '2022-09-16 15:13:28', '64', 'wangyue', null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-1897', '检核规则日志', 'checkRuleLogs', 'url', 'dqms-66', 'dqms-451', null, null, null, '{"openType":"microApp","mark":"monitor/checkRuleLogs","url":null,"params":null,"afcenterPath":"/","appMark":"quality","microMark":"quality","appCode":"quality"}', 'sys_tenant', '2022-07-19 04:00:07', '2022-09-16 15:13:31', '64', 'wangyue', null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-1898', '检核结果', 'checkRuleResult', 'url', 'dqms-66', 'dqms-452', null, null, null, '{"openType":"microApp","mark":"result/checkRuleResult","url":null,"params":null,"afcenterPath":"/","appMark":"quality","microMark":"quality","appCode":"quality"}', 'sys_tenant', '2022-07-19 04:00:24', '2022-09-16 15:13:36', '64', 'wangyue', null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-1899', '通用检核详情', 'commoncheckDetail', 'url', 'dqms-66', 'dqms-452', null, null, null, '{"openType":"microApp","mark":"result/commoncheckDetail","url":null,"params":null,"afcenterPath":"/","appMark":"quality","microMark":"quality","appCode":"quality"}', 'sys_tenant', '2022-07-19 04:00:40', '2022-09-16 15:13:39', '64', 'wangyue', null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-1900', '告警配置', 'alarmConfigInfo', 'url', 'dqms-66', 'dqms-453', null, null, null, '{"openType":"microApp","mark":"alarm/alarmConfigInfo","url":null,"params":null,"afcenterPath":"/","appMark":"quality","microMark":"quality","appCode":"quality"}', 'sys_tenant', '2022-07-19 04:00:58', '2022-09-16 15:13:43', '64', 'wangyue', null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-1901', '告警结果', 'alarmRecord', 'url', 'dqms-66', 'dqms-453', null, null, null, '{"openType":"microApp","mark":"alarm/alarmRecord","url":null,"params":null,"afcenterPath":"/","appMark":"quality","microMark":"quality","appCode":"quality"}', 'sys_tenant', '2022-07-19 04:01:12', '2022-09-16 15:13:47', '64', 'wangyue', null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-1903', '问题处理', 'problem', 'url', 'dqms-66', 'dqms-454', null, null, null, '{"openType":"microApp","mark":"problem/problem","url":null,"params":null,"afcenterPath":"/","appMark":"quality","microMark":"quality","appCode":"quality"}', 'sys_tenant', '2022-07-19 04:01:45', '2022-09-16 15:13:53', '64', 'wangyue', null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-1904', '知识库', 'knowledgeinfo', 'url', 'dqms-66', 'dqms-454', null, null, null, '{"openType":"microApp","mark":"problem/knowledgeinfo","url":null,"params":null,"afcenterPath":"/","appMark":"quality","microMark":"quality","appCode":"quality"}', 'sys_tenant', '2022-07-19 04:02:00', '2022-09-16 15:13:57', '64', 'wangyue', null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-1905', '检核指标分析', 'checkIndexAnalysis', 'url', 'dqms-66', 'dqms-455', null, null, null, '{"openType":"microApp","mark":"dqAnalysis/checkIndexAnalysis","url":null,"params":null,"afcenterPath":"/","appMark":"quality","microMark":"quality","appCode":"quality"}', 'sys_tenant', '2022-07-19 04:02:19', '2022-09-16 15:14:05', '64', 'wangyue', null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-1906', '检核规则分析', 'checkRuleAnalysis', 'url', 'dqms-66', 'dqms-455', null, null, null, '{"openType":"microApp","mark":"dqAnalysis/checkRuleAnalysis","url":null,"params":null,"afcenterPath":"/","appMark":"quality","microMark":"quality","appCode":"quality"}', 'sys_tenant', '2022-07-19 04:02:37', '2022-09-16 15:14:08', '64', 'wangyue', null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-1907', '质量分析报告', 'checkDataAnalysis', 'url', 'dqms-66', 'dqms-455', null, null, null, '{"openType":"microApp","mark":"dqAnalysis/checkDataAnalysis","url":null,"params":null,"afcenterPath":"/","appMark":"quality","microMark":"quality","appCode":"quality"}', 'sys_tenant', '2022-07-19 04:02:52', '2022-09-16 15:14:11', '64', 'wangyue', null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-1908', '数据源维护', 'dataSourceInfo', 'url', 'dqms-66', 'dqms-456', null, null, null, '{"openType":"microApp","mark":"dataOperation/dataSourceInfo","url":null,"params":null,"afcenterPath":"/","appMark":"quality","microMark":"quality","appCode":"quality"}', 'sys_tenant', '2022-07-19 04:03:15', '2022-09-16 15:14:14', '64', 'wangyue', null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-1909', '数据源配置管理', 'config', 'url', 'dqms-66', 'dqms-456', null, null, null, '{"openType":"microApp","mark":"dataOperation/config","url":null,"params":null,"afcenterPath":"/","appMark":"quality","microMark":"quality","appCode":"quality"}', 'sys_tenant', '2022-07-19 04:05:13', '2022-09-16 15:14:17', '64', 'wangyue', null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-1910', 'HBase表映射管理', 'Hbaseconfig', 'url', 'dqms-66', 'dqms-456', null, null, null, '{"openType":"microApp","mark":"dataOperation/Hbaseconfig","url":null,"params":null,"afcenterPath":"/","appMark":"quality","microMark":"quality","appCode":"quality"}', 'sys_tenant', '2022-07-19 04:05:28', '2022-09-16 15:14:20', '64', 'wangyue', null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-601', '数据源新增', 'dqms-dataSource-add', 'function', 'dqms-66', 'dqms-456', null, null, null, null, 'sys_tenant', '2022-09-28 11:18:05', '2022-09-29 09:59:23', 'wangyue', 'fran', null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-602', '数据源修改', 'dqms-dataSource-mod', 'function', 'dqms-66', 'dqms-456', null, null, null, null, 'sys_tenant', '2022-09-28 11:18:57', null, 'wangyue', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-605', '数据源配置新增', 'dqms-dataSource-config-add', 'function', 'dqms-66', 'dqms-456', null, null, null, null, 'sys_tenant', '2022-09-28 14:10:38', null, 'wangyue', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-606', '数据源配置修改', 'dqms-dataSource-config-mod', 'function', 'dqms-66', 'dqms-456', null, null, null, null, 'sys_tenant', '2022-09-28 14:10:55', null, 'wangyue', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-221', '操作日志', 'logger', 'url', 'dqms-66', 'dqms-457', null, null, null, '{"openType":"microApp","mark":"securityAudit/logger","url":null,"params":null,"microUrl":null,"microMark":"quality","isLowOrHigh":"high","resourceCode":null,"formStatus":null,"resourceType":null,"viewType":null,"appCode":"quality","query":null,"processDefName":null,"biId":null,"biType":null,"bicode":null}', 'sys_tenant', '2022-12-20 14:09:21','2022-12-20 14:15:46', 'admin','admin', null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-222', '质量评分', 'checkDataScore', 'url', 'dqms-66', 'dqms-455', null, null, null, '{"openType":"microApp","mark":"dqAnalysis/checkDataScore","url":null,"params":null,"microUrl":null,"microMark":"quality","isLowOrHigh":"high","resourceCode":null,"formStatus":null,"resourceType":null,"viewType":null,"appCode":"quality","query":null,"processDefName":null,"biId":null,"biType":null,"bicode":null}', 'sys_tenant', '2022-12-28 15:40:38', '2022-12-28 16:54:59', 'admin', 'admin', null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-241', '告警配置 - 新增告警', 'dqms-f-alarm-config-add', 'function', 'dqms-66', 'dqms-453', null, null, null, null, 'sys_tenant', '2023-04-10 23:42:32', '2023-04-17 22:08:44', 'admin', 'admin', null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-242', '告警配置 - 删除告警', 'dqms-f-alarm-config-delete-by-id', 'function', 'dqms-66', 'dqms-453', null, null, null, null, 'sys_tenant', '2023-04-10 23:43:38', '2023-04-17 22:08:51', 'admin', 'admin', null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-244', '告警配置 - 编辑告警', 'dqms-f-alarm-config-update', 'function', 'dqms-66', 'dqms-453', null, null, null, null, 'sys_tenant', '2023-04-10 23:44:23', '2023-04-17 22:08:31', 'admin', 'admin', null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-245', '告警配置 - 状态修改', 'dqms-f-alarm-config-update-state', 'function', 'dqms-66', 'dqms-453', null, null, null, null, 'sys_tenant', '2023-04-10 23:45:02', '2023-04-17 22:08:24', 'admin', 'admin', null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-246', '告警结果 - 关闭', 'dqms-f-alarm-record-close-remind', 'function', 'dqms-66', 'dqms-453', null, null, null, null, 'sys_tenant', '2023-04-10 23:58:00', '2023-04-17 22:08:10', 'admin', 'admin', null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-247', '告警结果 - 批量关闭', 'dqms-f-alarm-record-batch-modify-state', 'function', 'dqms-66', 'dqms-453', null, null, null, null, 'sys_tenant', '2023-04-10 23:58:52', '2023-04-17 22:08:17', 'admin', 'admin', null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-248', '数据源配置新增', 'dqms-f-ds-data-config-save', 'function', 'dqms-66', 'dqms-456', null, null, null, null, 'sys_tenant', '2023-04-11 00:00:53', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-250', '数据源配置修改', 'dqms-f-ds-data-config-update', 'function', 'dqms-66', 'dqms-456', null, null, null, null, 'sys_tenant', '2023-04-11 00:02:32', '2023-04-11 00:02:47', 'admin', 'admin', null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-251', '数据源配置删除', 'dqms-f-ds-data-config-delete', 'function', 'dqms-66', 'dqms-456', null, null, null, null, 'sys_tenant', '2023-04-11 00:03:21', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-252', '数据源新增', 'dqms-f-ds-data-source-add', 'function', 'dqms-66', 'dqms-456', null, null, null, null, 'sys_tenant', '2023-04-11 00:12:04', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-253', '数据源删除', 'dqms-f-ds-data-source-delete', 'function', 'dqms-66', 'dqms-456', null, null, null, null, 'sys_tenant', '2023-04-11 00:12:20', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-254', '数据源修改', 'dqms-f-ds-data-source-update', 'function', 'dqms-66', 'dqms-456', null, null, null, null, 'sys_tenant', '2023-04-11 00:12:37', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-255', '数据源 - 测试连接', 'dqms-f-ds-data-source-test-connect', 'function', 'dqms-66', 'dqms-456', null, null, null, null, 'sys_tenant', '2023-04-11 00:13:02', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-256', 'hbase表映射配置删除', 'dqms-f-hbase-table-mapping-del', 'function', 'dqms-66', 'dqms-456', null, null, null, null, 'sys_tenant', '2023-04-11 00:14:15', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-257', 'hbase表映射配置新增', 'dqms-f-hbase-table-mapping-save', 'function', 'dqms-66', 'dqms-456', null, null, null, null, 'sys_tenant', '2023-04-11 00:14:34', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-258', 'hbase映射表创建', 'dqms-f-hbase-table-mapping-create-table', 'function', 'dqms-66', 'dqms-456', null, null, null, null, 'sys_tenant', '2023-04-11 00:15:01', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-259', '日历 - 新增', 'dqms-f-calendar-add', 'function', 'dqms-66', 'dqms-450', null, null, null, null, 'sys_tenant', '2023-04-11 00:15:41', '2023-04-14 00:13:43', 'admin', 'admin', null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-260', '日历 - 修改', 'dqms-f-calendar-update', 'function', 'dqms-66', 'dqms-450', null, null, null, null, 'sys_tenant', '2023-04-11 00:15:57', '2023-04-14 00:13:54', 'admin', 'admin', null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-261', '日历 - 删除', 'dqms-f-calendar-delete-by-name', 'function', 'dqms-66', 'dqms-450', null, null, null, null, 'sys_tenant', '2023-04-11 00:19:54', '2023-04-14 00:14:01', 'admin', 'admin', null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-263', '检核结果转问题', 'dqms-f-res-check-save-problem', 'function', 'dqms-66', 'dqms-452', null, null, null, null, 'sys_tenant', '2023-04-11 00:52:37', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-264', '检核结果 - 问题关闭', 'dqms-f-res-check-save-close-problem', 'function', 'dqms-66', 'dqms-454', null, null, null, null, 'sys_tenant', '2023-04-11 00:53:12', '2023-04-14 23:13:14', 'admin', 'admin', null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-350', '检核结果列表导出', 'dqms-f-res-check-excel-export', 'function', 'dqms-66', 'dqms-452', null, null, null, '将检核结果列表导出为xlsx', 'sys_tenant', '2023-06-07 00:42:44', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-267', '检核结果下载', 'dqms-f-res-check-download-ftp', 'function', 'dqms-66', 'dqms-452', null, null, null, null, 'sys_tenant', '2023-04-11 17:44:52', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-266', '检核规则立即执行', 'dqms-f-res-check-immediate-exe', 'function', 'dqms-66', 'dqms-451', null, null, null, null, 'sys_tenant', '2023-04-11 17:42:58', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-268', '检核规则监控状态重置', 'dqms-f-res-check-re-set-method-monitor', 'function', 'dqms-66', 'dqms-451', null, null, null, null, 'sys_tenant', '2023-04-11 17:45:49', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-282', '检核规则管理 - 新增', 'dqms-f-method-config-add-tradition-method', 'function', 'dqms-66', 'dqms-449', null, null, null, null, 'sys_tenant', '2023-04-11 22:52:32', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-265', '检核规则管理 - 删除', 'dqms-f-res-check-del-by-config-sid', 'function', 'dqms-66', 'dqms-449', null, null, null, null, 'sys_tenant', '2023-04-11 17:41:36', '2023-04-11 22:52:47', 'admin', 'admin', null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-290', '检核规则管理 - 状态 -> 停用', 'dqms-f-method-config-stop-config', 'function', 'dqms-66', 'dqms-449', null, null, null, null, 'sys_tenant', '2023-04-12 23:40:00', '2023-04-12 23:41:00', 'admin', 'admin', null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-291', '检核规则管理 - 状态 -> 启用', 'dqms-f-method-config-start-config', 'function', 'dqms-66', 'dqms-449', null, null, null, null, 'sys_tenant', '2023-04-12 23:40:33', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-310', '检核规则管理 - 导入（页面）', 'dqms-f-method-config-import', 'function', 'dqms-66', 'dqms-449', null, null, null, null, 'sys_tenant', '2023-04-14 01:44:49', '2023-04-14 02:21:44', 'admin', 'admin', null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-343', '检核规则管理 - 修改', 'dqms-f-method-config-edit-tradition-method', 'function', 'dqms-66', 'dqms-449', null, null, null, null, 'sys_tenant', '2023-04-18 01:20:28', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-297', '检核规则管理 - hbase导入模板下载', 'dqms-f-method-config-down-for-ct', 'function', 'dqms-66', 'dqms-449', null, null, null, null, 'sys_tenant', '2023-04-13 01:00:19', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-298', '检核规则管理 - hbase导入', 'dqms-f-method-config-import-data-for-ct', 'function', 'dqms-66', 'dqms-449', null, null, null, null, 'sys_tenant', '2023-04-13 01:03:25', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-299', '检核规则管理 - jdbc导入模板下载', 'dqms-f-x-check-config-sql-template', 'function', 'dqms-66', 'dqms-449', null, null, null, null, 'sys_tenant', '2023-04-13 02:26:00', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-300', '检核规则管理 - jdbc导入', 'dqms-f-x-check-config-import-data', 'function', 'dqms-66', 'dqms-449', null, null, null, null, 'sys_tenant', '2023-04-13 02:26:18', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-301', '频度 - 新增', 'dqms-f-frequency-add', 'function', 'dqms-66', 'dqms-450', null, null, null, null, 'sys_tenant', '2023-04-14 00:14:20', '2023-04-14 00:14:32', 'admin', 'admin', null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-302', '频度 - 修改', 'dqms-f-frequency-update', 'function', 'dqms-66', 'dqms-450', null, null, null, null, 'sys_tenant', '2023-04-14 00:14:50', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-303', '频度 - 删除', 'dqms-f-frequency-delete-batch', 'function', 'dqms-66', 'dqms-450', null, null, null, null, 'sys_tenant', '2023-04-14 00:15:11', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-304', '通用检核 - 新增', 'dqms-f-general-config-add-general-config', 'function', 'dqms-66', 'dqms-449', null, null, null, null, 'sys_tenant', '2023-04-14 01:14:31', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-305', '通用检核 - 数据对照新增', 'dqms-f-general-config-add-general-config-for-data-compare', 'function', 'dqms-66', 'dqms-449', null, null, null, null, 'sys_tenant', '2023-04-14 01:15:02', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-306', '通用检核 - 删除', 'dqms-f-general-config-delete-by-ids', 'function', 'dqms-66', 'dqms-449', null, null, null, null, 'sys_tenant', '2023-04-14 01:15:26', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-307', '通用检核 - 修改', 'dqms-f-general-config-update-general-config', 'function', 'dqms-66', 'dqms-449', null, null, null, null, 'sys_tenant', '2023-04-14 01:15:44', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-308', '通用检核 - 状态修改', 'dqms-f-general-config-update-general-config-state', 'function', 'dqms-66', 'dqms-449', null, null, null, null, 'sys_tenant', '2023-04-14 01:16:05', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-309', '通用检核 - 新增（页面）', 'dqms-f-general-config-add', 'function', 'dqms-66', 'dqms-449', null, null, null, null, 'sys_tenant', '2023-04-14 01:16:26', '2023-04-14 02:21:34', 'admin', 'admin', null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-342', '分组 - 删除（页面）', 'dqms-f-group-delete', 'function', 'dqms-66', 'dqms-449', null, null, null, null, 'sys_tenant', '2023-04-17 23:46:19', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-311', '分组 - 新增', 'dqms-f-group-add', 'function', 'dqms-66', 'dqms-449', null, null, null, null, 'sys_tenant', '2023-04-14 02:22:06', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-312', '分组 - 批量删除分组信息', 'dqms-f-group-delete-batch', 'function', 'dqms-66', 'dqms-449', null, null, null, null, 'sys_tenant', '2023-04-14 02:22:24', '2023-04-14 02:23:32', 'admin', 'admin', null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-314', '分组 - 修改', 'dqms-f-group-update-relation', 'function', 'dqms-66', 'dqms-449', null, null, null, null, 'sys_tenant', '2023-04-14 02:24:04', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-315', '分组 - 规则/指标指定分组', 'dqms-f-group-add-relation-batch', 'function', 'dqms-66', 'dqms-449', null, null, null, null, 'sys_tenant', '2023-04-14 02:26:06', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-317', '指标 - 新增', 'dqms-f-index-info-add', 'function', 'dqms-66', 'dqms-449', null, null, null, null, 'sys_tenant', '2023-04-14 02:27:04', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-318', '指标 - 删除', 'dqms-f-index-info-delete', 'function', 'dqms-66', 'dqms-449', null, null, null, null, 'sys_tenant', '2023-04-14 02:27:21', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-319', '指标 - 更新', 'dqms-f-index-info-update', 'function', 'dqms-66', 'dqms-449', null, null, null, null, 'sys_tenant', '2023-04-14 02:27:37', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-320', '知识库 - 保存（页面）', 'dqms-f-knowledge-info-save', 'function', 'dqms-66', 'dqms-454', null, null, null, null, 'sys_tenant', '2023-04-14 22:03:25', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-321', '知识库 - 新增', 'dqms-f-knowledge-info-add', 'function', 'dqms-66', 'dqms-454', null, null, null, null, 'sys_tenant', '2023-04-14 22:03:48', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-322', '知识库 - 修改', 'dqms-f-knowledge-info-update', 'function', 'dqms-66', 'dqms-454', null, null, null, null, 'sys_tenant', '2023-04-14 22:04:06', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-324', '问题处理 - 添加反馈', 'dqms-f-option-save-feedback', 'function', 'dqms-66', 'dqms-454', null, null, null, null, 'sys_tenant', '2023-04-14 23:04:04', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-325', '问题处理 - 新增', 'dqms-f-option-save-option', 'function', 'dqms-66', 'dqms-454', null, null, null, null, 'sys_tenant', '2023-04-14 23:04:30', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-326', '问题处理 - 关闭', 'dqms-f-option-update-state', 'function', 'dqms-66', 'dqms-454', null, null, null, null, 'sys_tenant', '2023-04-14 23:04:57', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-327', 'hbase规则维护 - 新增', 'dqms-f-rule-info-add', 'function', 'dqms-66', 'dqms-449', null, null, null, null, 'sys_tenant', '2023-04-14 23:28:44', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-328', 'hbase规则维护 - 删除', 'dqms-f-rule-info-delete', 'function', 'dqms-66', 'dqms-449', null, null, null, null, 'sys_tenant', '2023-04-14 23:29:05', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-329', 'hbase规则维护 - 修改', 'dqms-f-rule-info-update', 'function', 'dqms-66', 'dqms-449', null, null, null, null, 'sys_tenant', '2023-04-14 23:29:31', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-330', '检核任务管理 - 新增', 'dqms-f-schedule-config-add', 'function', 'dqms-66', 'dqms-450', null, null, null, null, 'sys_tenant', '2023-04-15 00:04:17', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-331', '检核任务管理 - 删除', 'dqms-f-schedule-config-delete', 'function', 'dqms-66', 'dqms-450', null, '检核工作台使用', null, null, 'sys_tenant', '2023-04-15 00:05:19', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-332', '检核任务管理 - 修改', 'dqms-f-schedule-config-update', 'function', 'dqms-66', 'dqms-450', null, null, null, null, 'sys_tenant', '2023-04-15 00:06:04', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-333', '检核任务管理 - 启用', 'dqms-f-schedule-config-start-schedule', 'function', 'dqms-66', 'dqms-450', null, null, null, null, 'sys_tenant', '2023-04-15 00:06:25', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-334', '检核任务管理 - 停用', 'dqms-f-schedule-config-stop-schedule', 'function', 'dqms-66', 'dqms-450', null, null, null, null, 'sys_tenant', '2023-04-15 00:06:55', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-335', '检核任务管理 - 批量删除', 'dqms-f-schedule-config-delete-batch', 'function', 'dqms-66', 'dqms-450', null, null, null, null, 'sys_tenant', '2023-04-15 00:07:23', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-336', '检核任务管理 - 批量启用', 'dqms-f-schedule-config-start-schedule-batch', 'function', 'dqms-66', 'dqms-450', null, null, null, null, 'sys_tenant', '2023-04-15 00:08:08', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-337', '检核任务管理 - 批量停用', 'dqms-f-schedule-config-stop-schedule-batch', 'function', 'dqms-66', 'dqms-450', null, null, null, null, 'sys_tenant', '2023-04-15 00:08:27', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-338', '检核任务管理 - 立即执行', 'dqms-f-schedule-config-start-schedule-now', 'function', 'dqms-66', 'dqms-450', null, null, null, null, 'sys_tenant', '2023-04-15 00:09:17', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-341', '检核任务管理 - 状态切换（页面）', 'dqms-f-schedule-config-update-state', 'function', 'dqms-66', 'dqms-450', null, '启用\\停用', null, null, 'sys_tenant', '2023-04-15 00:14:46', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-373', '质量分析报告 - 下载pdf', null, 'function', 'dqms-66', 'dqms-455', null, null, null, null, 'sys_tenant', '2023-04-15 00:14:46', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-374', '质量分析报告 - 下载word', null, 'function', 'dqms-66', 'dqms-455', null, null, null, null, 'sys_tenant', '2023-04-15 00:14:46', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-375', '质量分析报告 - 导出excel', null, 'function', 'dqms-66', 'dqms-455', null, null, null, null, 'sys_tenant', '2023-04-15 00:14:46', null, 'admin', null, null);
INSERT INTO AFC_RESOURCE (ID, NAME, CODE, TYPES, APP_ID, RES_GROUP_ID, SUB_TYPE, DESCRIPTION, BUSINESS_OBJ_ID, CONTENT, TENANT_ID, CREATE_TIME, UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_FIXED) VALUES ('dqms-223', '产品信息', 'productsInfo', 'url', 'dqms-66', 'dqms-458', null, null, null, '{"openType":"microApp","mark":"products-info/info","url":null,"params":null,"microUrl":null,"microMark":"quality","isLowOrHigh":"high","resourceCode":null,"formStatus":null,"resourceType":null,"viewType":null,"appCode":"quality","query":null,"processDefName":null,"biId":null,"biType":null,"bicode":null}', 'sys_tenant', '2022-12-20 14:09:21','2022-12-20 14:15:46', 'admin','admin', null);

-- afc_r_res_role
DELETE FROM AFC_R_RES_ROLE WHERE ID like 'dqms%';
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-425', 'dqms-223', 'url', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1202', 'dqms-300', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-3353', 'dqms-1885', 'url', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-3355', 'dqms-1887', 'url', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-3356', 'dqms-1888', 'url', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-3357', 'dqms-1889', 'url', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-3358', 'dqms-1890', 'url', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-3359', 'dqms-1891', 'url', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-3360', 'dqms-1892', 'url', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-3921', 'dqms-1893', 'url', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-3922', 'dqms-1894', 'url', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-3923', 'dqms-1895', 'url', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-3924', 'dqms-1896', 'url', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-3925', 'dqms-1897', 'url', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-3926', 'dqms-1898', 'url', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-3927', 'dqms-1899', 'url', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-3928', 'dqms-1900', 'url', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-3929', 'dqms-1901', 'url', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-3931', 'dqms-1903', 'url', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-3932', 'dqms-1904', 'url', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-3933', 'dqms-1905', 'url', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-3934', 'dqms-1906', 'url', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-3935', 'dqms-1907', 'url', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-3936', 'dqms-1908', 'url', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-3937', 'dqms-1909', 'url', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-3938', 'dqms-1910', 'url', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-2265', 'dqms-601', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-2266', 'dqms-602', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-2267', 'dqms-605', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-2268', 'dqms-606', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-424', 'dqms-221', 'url', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-423', 'dqms-222', 'url', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-822', 'dqms-350', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1116', 'dqms-265', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1118', 'dqms-282', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1125', 'dqms-290', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1126', 'dqms-291', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1132', 'dqms-297', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1133', 'dqms-298', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1134', 'dqms-299', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1135', 'dqms-304', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1136', 'dqms-305', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1137', 'dqms-306', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1138', 'dqms-307', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1139', 'dqms-308', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1140', 'dqms-309', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1141', 'dqms-310', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1142', 'dqms-311', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1143', 'dqms-312', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1145', 'dqms-314', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1146', 'dqms-315', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1147', 'dqms-317', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1148', 'dqms-318', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1149', 'dqms-319', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1150', 'dqms-327', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1151', 'dqms-328', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1152', 'dqms-329', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1153', 'dqms-342', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1154', 'dqms-343', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1155', 'dqms-259', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1156', 'dqms-260', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1157', 'dqms-261', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1158', 'dqms-301', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1159', 'dqms-302', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1160', 'dqms-303', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1161', 'dqms-330', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1162', 'dqms-331', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1163', 'dqms-332', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1164', 'dqms-333', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1165', 'dqms-334', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1166', 'dqms-335', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1167', 'dqms-336', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1168', 'dqms-337', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1169', 'dqms-338', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1170', 'dqms-341', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1171', 'dqms-266', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1172', 'dqms-268', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1173', 'dqms-263', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1174', 'dqms-267', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1175', 'dqms-241', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1176', 'dqms-242', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1177', 'dqms-243', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1178', 'dqms-244', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1179', 'dqms-245', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1180', 'dqms-246', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1181', 'dqms-247', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1182', 'dqms-264', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1183', 'dqms-320', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1184', 'dqms-321', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1185', 'dqms-322', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1186', 'dqms-324', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1187', 'dqms-325', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1188', 'dqms-326', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1189', 'dqms-248', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1190', 'dqms-250', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1191', 'dqms-251', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1192', 'dqms-252', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1193', 'dqms-253', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1194', 'dqms-254', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1195', 'dqms-255', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1196', 'dqms-256', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1197', 'dqms-257', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1198', 'dqms-258', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-449', 'dqms-316', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1199', 'dqms-373', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1200', 'dqms-374', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1201', 'dqms-375', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1207', 'dqms-365', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1203', 'dqms-366', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1204', 'dqms-367', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1205', 'dqms-368', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
INSERT INTO AFC_R_RES_ROLE (ID, RES_ID, RES_TYPE, ROLE_ID, ROLE_TYPE, BUSINESS_OBJ_ID, BUSINESS_OBJ_INST_ID, TENANT_ID, IS_FIXED) VALUES ('dqms-1206', 'dqms-369', 'function', 'dqms-92', 'platform', null, null, 'sys_tenant', null);
DELETE FROM XXL_JOB_INFO WHERE ID IN (1);
INSERT INTO XXL_JOB_INFO (ID, JOB_GROUP, JOB_DESC, ADD_TIME, UPDATE_TIME, AUTHOR, ALARM_EMAIL, SCHEDULE_TYPE, SCHEDULE_CONF, MISFIRE_STRATEGY, EXECUTOR_ROUTE_STRATEGY, EXECUTOR_HANDLER, EXECUTOR_PARAM, EXECUTOR_BLOCK_STRATEGY, EXECUTOR_TIMEOUT, EXECUTOR_FAIL_RETRY_COUNT, GLUE_TYPE, GLUE_SOURCE, GLUE_REMARK, GLUE_UPDATETIME, CHILD_JOBID, TRIGGER_STATUS, TRIGGER_LAST_TIME, TRIGGER_NEXT_TIME) VALUES (1, 9, '告警结果生成任务', '2024-02-27 01:45:14', '2024-02-27 01:45:14', 'admin', null, 'CRON', '0 0/30 * * * ?', 'DO_NOTHING', 'FIRST', 'alarmRecordJobHandler', null, 'SERIAL_EXECUTION', 0, 0, 'BEAN', null, null, '2024-02-27 01:45:14', null, 0, 0, 0);

-- ----------------------------
-- Table structure for ck_alarm_config
-- ----------------------------
DROP TABLE IF EXISTS ck_alarm_config;
CREATE TABLE ck_alarm_config (
    SID bigint NOT NULL,
    ALARM_NAME varchar(255)  NULL DEFAULT NULL,
    THRESHOLD_TYPE char(1)  NULL DEFAULT NULL,
    THRESHOLD_RELATION varchar(64)  NULL DEFAULT NULL,
    THRESHOLD_VALUE varchar(10)  NULL DEFAULT NULL,
    ALARM_LEVEL char(1)  NULL DEFAULT NULL,
    STATE char(1)  NULL DEFAULT NULL,
    DELETED char(1)  NOT NULL,
    CREATE_BY varchar(255)  NOT NULL,
    CREATE_TIME timestamp NOT NULL,
    UPDATE_BY varchar(255)  NULL DEFAULT NULL,
    UPDATE_TIME timestamp NULL DEFAULT NULL,
    REMARK varchar(255)  NULL DEFAULT NULL,
    MESSAGETYPE int NULL DEFAULT NULL,
    STANDBY varchar(255)  NULL DEFAULT NULL
);
COMMENT ON TABLE ck_alarm_config IS 'CK_ALARM_CONFIG';
COMMENT ON COLUMN ck_alarm_config.THRESHOLD_TYPE IS '1、数值 2、百分比';
COMMENT ON COLUMN ck_alarm_config.THRESHOLD_RELATION IS 'gt代表> eq代表= lt代表<';
COMMENT ON COLUMN ck_alarm_config.ALARM_LEVEL IS '1、一般 2、中等 3、严重';
COMMENT ON COLUMN ck_alarm_config.STATE IS '1、新增 2、生效 9、挂起';
ALTER TABLE ck_alarm_config ADD CONSTRAINT ck_alarm_config_pkey PRIMARY KEY (SID);

alter table ck_alarm_config alter column DELETED set default 0;



-- ----------------------------
-- Table structure for ck_alarm_record
-- ----------------------------
DROP TABLE IF EXISTS ck_alarm_record;
CREATE TABLE ck_alarm_record (
    SID bigint NOT NULL,
    RELATION_ID bigint NULL DEFAULT NULL,
    RELATION_TABLE varchar(10)  NULL DEFAULT NULL ,
    ALARM_SID bigint NULL DEFAULT NULL,
    CHECK_LOG_SID bigint,
    CONTENT varchar(1000)  NULL DEFAULT NULL,
    MESSAGE_SEND_RESULT varchar(255)  NULL DEFAULT NULL,
    RECEIVED_BY varchar(255)  NULL DEFAULT NULL,
    RECEIPT_TIME timestamp NULL DEFAULT NULL,
    STATE char(1)  NULL DEFAULT NULL,
    DELETED char(1)  NULL DEFAULT NULL,
    CREATE_BY varchar(255)  NULL DEFAULT NULL,
    CREATE_TIME timestamp NULL DEFAULT NULL,
    UPDATE_BY varchar(255)  NULL DEFAULT NULL,
    UPDATE_TIME timestamp NULL DEFAULT NULL
);
COMMENT ON TABLE ck_alarm_record IS '告警记录表';
COMMENT ON COLUMN ck_alarm_record.RELATION_TABLE IS 'TABLE:表检核、ITEM:nosql检核、COMMON:通用检核';
COMMENT ON COLUMN ck_alarm_record.STATE IS '提醒、不再提醒';
COMMENT ON COLUMN ck_alarm_record.DELETED IS '1删除，0不删除（默认0）';
ALTER TABLE ck_alarm_record ADD CONSTRAINT ck_alarm_record_pkey PRIMARY KEY (SID);


-- ----------------------------
-- Table structure for ck_calendar
-- ----------------------------
DROP TABLE IF EXISTS ck_calendar;
CREATE TABLE ck_calendar (
    CK_ID varchar(255)  NOT NULL,
    CK_NAME varchar(255)  NOT NULL,
    CK_DESC varchar(255)  NULL DEFAULT NULL,
    CK_YEAR int NOT NULL,
    CK_DATELIST text  NOT NULL,
    CREATE_BY varchar(255)  NULL DEFAULT NULL,
    CREATE_TIME timestamp NULL DEFAULT NULL,
    UPDATE_BY varchar(255)  NULL DEFAULT NULL,
    UPDATE_TIME timestamp NULL DEFAULT NULL
);
ALTER TABLE ck_calendar ADD CONSTRAINT ck_calendar_pkey PRIMARY KEY (CK_ID);


-- ----------------------------
-- Table structure for ck_check_log
-- ----------------------------
DROP TABLE IF EXISTS ck_check_log;
CREATE TABLE ck_check_log (
    SID bigint NOT NULL,
    METHOD_CONFIG_ID bigint NULL DEFAULT NULL,
    CHECK_TIME timestamp NULL DEFAULT NULL,
    CHECK_END_TIME timestamp NULL DEFAULT NULL,
    CHECK_DURATION varchar(10)  NULL DEFAULT NULL,
    JOB_ID bigint NULL DEFAULT NULL,
    JOB_LOG_ID bigint NULL DEFAULT NULL,
    CHECK_STATUS varchar(10)  NULL DEFAULT NULL,
    RESULT_ID varchar(64)  NULL DEFAULT NULL,
    ERROR_REMARK text  NULL
);
CREATE INDEX METHOD_CONFIG_ID ON ck_check_log USING btree (METHOD_CONFIG_ID);
CREATE INDEX JOB_LOG_ID ON ck_check_log USING btree (JOB_LOG_ID);
CREATE INDEX SID ON ck_check_log USING btree (SID);
ALTER TABLE ck_check_log ADD CONSTRAINT ck_check_log_pkey PRIMARY KEY (SID);


-- ----------------------------
-- Table structure for ck_check_log_latest
-- ----------------------------
DROP TABLE IF EXISTS ck_check_log_latest;
CREATE TABLE ck_check_log_latest (
	METHOD_CONFIG_ID BIGINT NOT NULL,
	LOG_SID BIGINT DEFAULT NULL
);
ALTER TABLE ck_check_log_latest ADD CONSTRAINT ck_check_log_latest_pkey PRIMARY KEY (METHOD_CONFIG_ID);


-- ----------------------------
-- Table structure for ck_check_result
-- ----------------------------
DROP TABLE IF EXISTS ck_check_result;
CREATE TABLE ck_check_result (
    SID bigint NOT NULL ,
    INDEX_SID bigint NULL DEFAULT NULL,
    CHECK_FREQUENCY varchar(5)  NULL DEFAULT NULL,
    CHECK_TIME timestamp NULL DEFAULT NULL,
    CHECK_END_TIME timestamp NULL DEFAULT NULL,
    CHECK_DURATION varchar(10)  NULL DEFAULT NULL,
    ERROR_NUM bigint NULL DEFAULT NULL,
    SUM_NUM bigint NULL DEFAULT NULL,
    RESOURCE_SID bigint NULL DEFAULT NULL,
    ITEM_SID bigint NULL DEFAULT NULL,
    ERROR_KEYWORD text  NULL,
    ERROR_VALUE text  NULL ,
    ERROR_REMARK text  NULL,
    SOURCE_DATE timestamp NULL DEFAULT NULL,
    ERROR_SOURCE1 varchar(200)  NULL DEFAULT NULL,
    ERROR_SOURCE2 varchar(100)  NULL DEFAULT NULL,
    ERROR_SOURCE3 varchar(50)  NULL DEFAULT NULL,
    METHOD_CONFIG_ID bigint NOT NULL,
    JOB_ID bigint NULL DEFAULT NULL,
    JOB_LOG_ID bigint NULL DEFAULT NULL,
    CHECK_RESULT_URL varchar(200)  NULL DEFAULT NULL,
    CHECK_STATUS varchar(10)  NULL DEFAULT NULL,
    CHECK_RESULT_PATH varchar(200)  NULL DEFAULT NULL,
    CHECK_RESULT text
);
COMMENT ON COLUMN ck_check_result.SID IS '主键';
COMMENT ON COLUMN ck_check_result.INDEX_SID IS '所属指标';
COMMENT ON COLUMN ck_check_result.CHECK_FREQUENCY IS '检核频率';
COMMENT ON COLUMN ck_check_result.CHECK_TIME IS '检核时间';
COMMENT ON COLUMN ck_check_result.CHECK_DURATION IS '检核时长';
COMMENT ON COLUMN ck_check_result.ERROR_NUM IS '错误总数';
COMMENT ON COLUMN ck_check_result.SUM_NUM IS '总次数';
COMMENT ON COLUMN ck_check_result.RESOURCE_SID IS '资源id';
COMMENT ON COLUMN ck_check_result.ITEM_SID IS '资源项id';
COMMENT ON COLUMN ck_check_result.ERROR_KEYWORD IS '错误数据关键字';
COMMENT ON COLUMN ck_check_result.ERROR_VALUE IS '错误数据关键字';
COMMENT ON COLUMN ck_check_result.SOURCE_DATE IS '归属日期';
COMMENT ON COLUMN ck_check_result.ERROR_SOURCE1 IS '错误数据来源目录';
COMMENT ON COLUMN ck_check_result.ERROR_SOURCE2 IS '错误数据来源资源';
COMMENT ON COLUMN ck_check_result.ERROR_SOURCE3 IS '错误数据来源定位';
COMMENT ON COLUMN ck_check_result.METHOD_CONFIG_ID IS '关联\检核规则配置表\的主键';
COMMENT ON COLUMN ck_check_result.JOB_ID IS '任务id';
COMMENT ON COLUMN ck_check_result.JOB_LOG_ID IS '日志id';
COMMENT ON COLUMN ck_check_result.CHECK_RESULT_URL IS '检核结果文件下载地址';
COMMENT ON COLUMN ck_check_result.CHECK_STATUS IS '检核状态 1 成功 0失败';
COMMENT ON COLUMN ck_check_result.CHECK_RESULT_PATH IS '检核结果上传路径';
COMMENT ON COLUMN ck_check_result.CHECK_RESULT IS '检核结果上传路径';
ALTER TABLE ck_check_result ADD CONSTRAINT ck_check_result_pkey PRIMARY KEY (SID);
CREATE INDEX index_ck_check_result ON ck_check_result USING btree (CHECK_TIME) ;
CREATE INDEX ck_check_result_METHOD_CONFIG_ID ON ck_check_result USING btree (METHOD_CONFIG_ID) ;
CREATE INDEX ck_check_result_JOB_LOG_ID ON ck_check_result USING btree (JOB_LOG_ID) ;


-- ----------------------------
-- Table structure for ck_check_result_latest
-- ----------------------------
DROP TABLE IF EXISTS ck_check_result_latest;
CREATE TABLE ck_check_result_latest (
    METHOD_CONFIG_ID bigint NOT NULL,
    JOB_ID bigint NULL DEFAULT NULL,
    MAX_JOB_LOG_ID bigint NULL DEFAULT NULL,
    MAX_CHECK_TIME timestamp NULL DEFAULT NULL
);
ALTER TABLE ck_check_result_latest ADD CONSTRAINT ck_check_result_latest_pkey PRIMARY KEY (METHOD_CONFIG_ID);


-- ----------------------------
-- Table structure for ck_frequency
-- ----------------------------
DROP TABLE IF EXISTS ck_frequency;
CREATE TABLE ck_frequency (
    NAME varchar(128)  NOT NULL,
    TYPE char(1)  NULL DEFAULT NULL,
    INTERVALNUM int NULL DEFAULT NULL,
    CREATE_BY varchar(255)  NULL DEFAULT NULL,
    CREATE_TIME timestamp NULL DEFAULT NULL,
    UPDATE_BY varchar(255)  NULL DEFAULT NULL,
    UPDATE_TIME timestamp NULL DEFAULT NULL,
    EXPRESSION varchar(255)  NULL DEFAULT NULL,
    DESCRIPTION varchar(255)  NULL DEFAULT NULL
);
COMMENT ON COLUMN ck_frequency.INTERVALNUM IS '如果是类型是周期性，间隔不允许为空，默认为1';
ALTER TABLE ck_frequency ADD CONSTRAINT ck_frequency_pkey PRIMARY KEY (NAME);


-- ----------------------------
-- Table structure for ck_general_config
-- ----------------------------
DROP TABLE IF EXISTS ck_general_config;
CREATE TABLE ck_general_config (
    SID bigint NOT NULL,
    CONFIG_TYPE char(1)  NULL DEFAULT NULL,
    CONFIG_NAME varchar(255)  NULL DEFAULT NULL,
    STATE char(1)  NOT NULL DEFAULT '1',
    DELETED char(1)  NOT NULL DEFAULT '0',
    CREATE_BY varchar(255)  NOT NULL,
    CREATE_TIME timestamp NOT NULL,
    UPDATE_BY varchar(255)  NULL DEFAULT NULL,
    UPDATE_TIME timestamp NULL DEFAULT NULL,
    REMARK varchar(255)  NULL DEFAULT NULL,
    STANDBY varchar(500)  NULL DEFAULT NULL,
    SCHEDULE_ID bigint NULL DEFAULT NULL,
    SCHEDULE_NAME varchar(128)  NULL DEFAULT NULL,
    PRINCIPAL varchar(255)  NULL DEFAULT NULL,
    ALARM_ID      bigint NULL DEFAULT NULL,
    CHECK_CONFIG  varchar(255) NULL DEFAULT NULL
);
COMMENT ON TABLE ck_general_config IS 'CK_GENERAL_CONFIG';
COMMENT ON COLUMN ck_general_config.CONFIG_TYPE IS '1、数据抖动 2、数据偏移 3、数据堆积 4、数据对照';
COMMENT ON COLUMN ck_general_config.STATE IS '1、新建 2、启用  3、停用';
COMMENT ON COLUMN ck_general_config.PRINCIPAL IS '责任人';
ALTER TABLE ck_general_config ADD CONSTRAINT ck_general_config_pkey PRIMARY KEY (SID);


-- ----------------------------
-- Table structure for ck_general_config_detail
-- ----------------------------
DROP TABLE IF EXISTS ck_general_config_detail;
CREATE TABLE ck_general_config_detail (
    SID bigint NOT NULL,
    CONFIG_ID bigint NOT NULL,
    RESOURCE_NAME varchar(2000)  NULL DEFAULT NULL,
    RESOURCE_ID bigint NULL DEFAULT NULL,
    DATA_SOURCE_NAME varchar(64)  NULL DEFAULT NULL,
    INSTANCE_CODE varchar(255)  NULL DEFAULT NULL,
    ITEM_CODE varchar(200)  NULL DEFAULT NULL,
    ITEM_NAME varchar(2000)  NULL DEFAULT NULL,
    TABLE_CODE varchar(128)  NULL DEFAULT NULL,
    EXT_CONDITION varchar(500)  NULL DEFAULT NULL,
    UP_THRESHOLD varchar(20)  NULL DEFAULT NULL,
    DOWN_THRESHOLD varchar(20)  NULL DEFAULT NULL,
    PERIOD int NULL DEFAULT NULL,
    PERIOD_TYPE char(1)  NULL DEFAULT NULL,
    ITEM_ID bigint NULL DEFAULT NULL,
    DATA_SOURCE_SID bigint NULL DEFAULT NULL,
    SCHEMA_CODE varchar(255)  NULL DEFAULT NULL
);
COMMENT ON TABLE ck_general_config_detail IS 'CK_GENERAL_CONFIG_DETAIL';
COMMENT ON COLUMN ck_general_config_detail.CONFIG_ID IS '与通用检核规则配置表SID关联';
COMMENT ON COLUMN ck_general_config_detail.RESOURCE_NAME IS '与资产信息表（DA_RESOURCE_INFO)表的数据资源编码（RESOURCE_NAME）关联';
COMMENT ON COLUMN ck_general_config_detail.RESOURCE_ID IS '与资产信息表（DA_RESOURCE_INFO)表的主键SID关联';
COMMENT ON COLUMN ck_general_config_detail.INSTANCE_CODE IS '与DS_RESOURCE_ITEM的INSTANCE_CODE关联';
COMMENT ON COLUMN ck_general_config_detail.ITEM_CODE IS '与资产数据项（DA_RESOURCE_ITEM）表中的数据资源项标识（ITEM_CODE）关联';
COMMENT ON COLUMN ck_general_config_detail.ITEM_NAME IS '与资产数据项（DA_RESOURCE_ITEM）表中的元数据项名称（ITEM_NAME）关联';
COMMENT ON COLUMN ck_general_config_detail.TABLE_CODE IS '与资产信息表（DA_RESOURCE_INFO)表的数据资源编码（TABLE_CODE）关联';
COMMENT ON COLUMN ck_general_config_detail.PERIOD_TYPE IS '1、天 2、小时 3、分钟';
ALTER TABLE ck_general_config_detail ADD CONSTRAINT ck_general_config_detail_pkey PRIMARY KEY (SID);


-- ----------------------------
-- Table structure for ck_general_result
-- ----------------------------
DROP TABLE IF EXISTS ck_general_result;
CREATE TABLE ck_general_result (
    SID bigint NOT NULL,
    CONFIG_ID bigint NOT NULL,
    AVERAGE_VALUE varchar(20)  NULL DEFAULT NULL,
    UP_THRESHOLD varchar(20)  NULL DEFAULT NULL,
    DOWN_THRESHOLD varchar(20)  NULL DEFAULT NULL,
    CREATE_TIME timestamp NULL DEFAULT NULL,
    JOB_ID bigint NULL DEFAULT NULL,
    JOB_LOG_ID bigint NULL DEFAULT NULL,
    COUNT_OUT_OF_RANGE bigint NULL DEFAULT NULL,
    LOG_MESSAGE varchar(8000)  NULL DEFAULT NULL
);
COMMENT ON TABLE ck_general_result IS 'CK_GENERAL_RESULT';
COMMENT ON COLUMN ck_general_result.CONFIG_ID IS '关联通用检核规则配置表主键SID';
COMMENT ON COLUMN ck_general_result.COUNT_OUT_OF_RANGE IS '非法值组数';
ALTER TABLE ck_general_result ADD CONSTRAINT ck_general_result_pkey PRIMARY KEY (SID);


-- ----------------------------
-- Table structure for ck_general_result_detail
-- ----------------------------
DROP TABLE IF EXISTS ck_general_result_detail;
CREATE TABLE ck_general_result_detail (
    SID bigint NOT NULL,
    RESULT_SID bigint NOT NULL,
    DATA_SOURCE_NAME varchar(64)  NULL DEFAULT NULL,
    TABLE_CODE varchar(128)  NULL DEFAULT NULL,
    RESOURCE_ID bigint NULL DEFAULT NULL,
    RESOURCE_NAME varchar(2000)  NULL DEFAULT NULL,
    ITEM_CODE varchar(200)  NULL DEFAULT NULL,
    ITEM_NAME varchar(2000)  NULL DEFAULT NULL,
    ACTUAL_VALUE varchar(20)  NULL DEFAULT NULL,
    LINE_NUM varchar(20)  NULL DEFAULT NULL,
    INSTANCE_CODE varchar(255)  NULL DEFAULT NULL,
    EXT_CONDITION varchar(500)  NULL DEFAULT NULL,
    ITEM_ID bigint NULL DEFAULT NULL,
    DATA_SOURCE_SID bigint NULL DEFAULT NULL,
    SCHEMA_CODE varchar(255)  NULL DEFAULT NULL
);
COMMENT ON COLUMN ck_general_result_detail.RESULT_SID IS '关联通用检核结果表的SID';
COMMENT ON COLUMN ck_general_result_detail.TABLE_CODE IS '与资产信息表（DA_RESOURCE_INFO)表的数据资源编码（TABLE_CODE）关联';
COMMENT ON COLUMN ck_general_result_detail.RESOURCE_ID IS '与资产信息表（DA_RESOURCE_INFO)表的主键SID关联';
COMMENT ON COLUMN ck_general_result_detail.RESOURCE_NAME IS '与资产信息表（DA_RESOURCE_INFO)表的数据资源编码（RESOURCE_NAME）关联';
COMMENT ON COLUMN ck_general_result_detail.ITEM_CODE IS '与资产数据项（DA_RESOURCE_ITEM）表中的数据资源项标识（SID）关联';
COMMENT ON COLUMN ck_general_result_detail.ITEM_NAME IS '与资产数据项（DA_RESOURCE_ITEM）表中的元数据项名称（ITEM_NAME）关联';
ALTER TABLE ck_general_result_detail ADD CONSTRAINT ck_general_result_detail_pkey PRIMARY KEY (SID);


-- ----------------------------
-- Table structure for ck_group
-- ----------------------------
DROP TABLE IF EXISTS ck_group;
CREATE TABLE ck_group (
    SID bigint NOT NULL,
    GROUP_NAME varchar(128)  NULL DEFAULT NULL,
    UPPER_GROUP bigint NULL DEFAULT NULL,
    DESCRIPTION text  NULL,
    CREATE_BY varchar(255)  NULL DEFAULT NULL,
    CREATE_TIME timestamp NULL DEFAULT NULL,
    UPDATE_BY varchar(255)  NULL DEFAULT NULL,
    UPDATE_TIME timestamp NULL DEFAULT NULL,
    UPPER_NAME varchar(128)  NULL DEFAULT NULL
);
COMMENT ON COLUMN ck_group.UPPER_GROUP IS '父节点id，一级节点为空';
COMMENT ON COLUMN ck_group.UPPER_NAME IS '简称';
CREATE INDEX INDEX_CK_GROUP_UPPERGROUP ON ck_group USING btree (GROUP_NAME);
ALTER TABLE ck_group ADD CONSTRAINT ck_group_pkey PRIMARY KEY (SID);


-- ----------------------------
-- Table structure for ck_group_relation
-- ----------------------------
DROP TABLE IF EXISTS ck_group_relation;
CREATE TABLE ck_group_relation (
    CONFIGSID bigint NOT NULL,
    CONFIGTYPE int NOT NULL ,
    GROUPSID bigint NULL DEFAULT NULL,
    CREATE_BY varchar(255)  NULL DEFAULT NULL,
    CREATE_TIME timestamp NULL DEFAULT NULL,
    UPDATE_BY varchar(255)  NULL DEFAULT NULL,
    UPDATE_TIME timestamp NULL DEFAULT NULL
);
COMMENT ON COLUMN ck_group_relation.CONFIGTYPE IS '1,检核规则，2，通用检核配置';
ALTER TABLE ck_group_relation ADD CONSTRAINT ck_group_relation_pkey PRIMARY KEY (CONFIGSID, CONFIGTYPE);


-- ----------------------------
-- Table structure for ck_index_info
-- ----------------------------
DROP TABLE IF EXISTS ck_index_info;
CREATE TABLE ck_index_info (
    SID bigint NOT NULL,
    INDEX_CODE varchar(128)  NULL DEFAULT NULL,
    INDEX_NAME varchar(128)  NULL DEFAULT NULL,
    CHECK_TYPE char(1)  NULL DEFAULT NULL,
    INDEX_LEVEL varchar(2)  NULL DEFAULT NULL,
    PARENT_SID varchar(40)  NULL DEFAULT NULL,
    INDEX_WEIGHT bigint NULL DEFAULT NULL,
    REMARK text  NULL,
    DELETED char(1)  NULL DEFAULT NULL,
    CREATE_BY varchar(255)  NULL DEFAULT NULL,
    CREATE_TIME timestamp NULL DEFAULT NULL,
    UPDATE_BY varchar(255)  NULL DEFAULT NULL,
    UPDATE_TIME timestamp NULL DEFAULT NULL,
    ALARM_ID bigint NULL DEFAULT NULL,
    ALARM_NAME varchar(128)  NULL DEFAULT NULL
);
COMMENT ON TABLE ck_index_info IS '检核指标表';
COMMENT ON COLUMN ck_index_info.SID IS '主键';
COMMENT ON COLUMN ck_index_info.INDEX_CODE IS '指标代码';
COMMENT ON COLUMN ck_index_info.INDEX_NAME IS '指标名称';
COMMENT ON COLUMN ck_index_info.CHECK_TYPE IS '检核类型';
COMMENT ON COLUMN ck_index_info.INDEX_LEVEL IS '指标级别';
COMMENT ON COLUMN ck_index_info.PARENT_SID IS '上级指标ID';
COMMENT ON COLUMN ck_index_info.INDEX_WEIGHT IS '权重(百分制)';
COMMENT ON COLUMN ck_index_info.ALARM_ID IS '告警信息ID,关联告警信息id';
COMMENT ON COLUMN ck_index_info.ALARM_NAME IS '告警名称,关联告警信息名称';
ALTER TABLE ck_index_info ADD CONSTRAINT ck_index_info_pkey PRIMARY KEY (SID);


-- ----------------------------
-- Table structure for ck_index_weight_info
-- ----------------------------
DROP TABLE IF EXISTS ck_index_weight_info;
CREATE TABLE ck_index_weight_info (
    SID bigint NOT NULL,
    INDEX_SID bigint NULL DEFAULT NULL,
    INDEX_NAME varchar(128)  NULL DEFAULT NULL,
    START_VALUE bigint NULL DEFAULT NULL ,
    END_VALUE bigint NULL DEFAULT NULL,
    SCORE bigint NULL DEFAULT NULL ,
    CREATE_BY varchar(255)  NULL DEFAULT NULL,
    CREATE_TIME timestamp NULL DEFAULT NULL,
    UPDATE_BY varchar(255)  NULL DEFAULT NULL,
    UPDATE_TIME timestamp NULL DEFAULT NULL
);
COMMENT ON TABLE ck_index_weight_info IS '标准权值设置表';
COMMENT ON COLUMN ck_index_weight_info.SID IS '主键';
COMMENT ON COLUMN ck_index_weight_info.INDEX_SID IS '标准主键SID';
COMMENT ON COLUMN ck_index_weight_info.INDEX_NAME IS '指标名称';
COMMENT ON COLUMN ck_index_weight_info.START_VALUE IS '起始值';
COMMENT ON COLUMN ck_index_weight_info.END_VALUE IS '结束值';
COMMENT ON COLUMN ck_index_weight_info.SCORE IS '分数';
ALTER TABLE ck_index_weight_info ADD CONSTRAINT ck_index_weight_info_pkey PRIMARY KEY (SID);


-- ----------------------------
-- Table structure for ck_knowledge_info
-- ----------------------------
DROP TABLE IF EXISTS ck_knowledge_info;
CREATE TABLE ck_knowledge_info (
    SID bigint NOT NULL,
    TITLE varchar(255)  NULL DEFAULT NULL,
    CONTENT text  NULL,
    TARGET varchar(255)  NULL DEFAULT NULL,
    DELETED char(1)  NULL DEFAULT NULL,
    CREATE_BY varchar(255)  NULL DEFAULT NULL,
    CREATE_TIME timestamp NULL DEFAULT NULL,
    UPDATE_BY varchar(255)  NULL DEFAULT NULL,
    UPDATE_TIME timestamp NULL DEFAULT NULL,
    PREVIEW text  NULL,
    READNUM bigint NULL DEFAULT 0
);
ALTER TABLE ck_knowledge_info ADD CONSTRAINT ck_knowledge_info_pkey PRIMARY KEY (SID);


-- ----------------------------
-- Table structure for ck_knowledge_log
-- ----------------------------
DROP TABLE IF EXISTS ck_knowledge_log;
CREATE TABLE ck_knowledge_log (
    SID bigint NOT NULL,
    KNOWLEDGE_SID bigint NULL DEFAULT NULL,
    DELETED char(1)  NULL DEFAULT NULL,
    CREATE_BY varchar(255)  NULL DEFAULT NULL,
    CREATE_TIME timestamp NULL DEFAULT NULL,
    UPDATE_BY varchar(255)  NULL DEFAULT NULL,
    UPDATE_TIME timestamp NULL DEFAULT NULL
);


-- ----------------------------
-- Table structure for ck_method_config
-- ----------------------------
DROP TABLE IF EXISTS ck_method_config;
CREATE TABLE ck_method_config (
    SID bigint NOT NULL,
    NAME varchar(500)  NOT NULL,
    CODE varchar(255)  NULL DEFAULT NULL,
    CHECK_METHOD char(1)  NULL DEFAULT NULL,
    RESOURCE_ID bigint NULL DEFAULT NULL,
    RESOURCE_NAME varchar(2000)  NULL DEFAULT NULL,
    ITEM_ID bigint NULL DEFAULT NULL,
    ITEM_CODE varchar(255)  NULL DEFAULT NULL,
    ITEM_NAME varchar(2000)  NULL DEFAULT NULL,
    TABLE_CODE varchar(128)  NOT NULL,
    INSTANCE_CODE varchar(255)  NOT NULL,
    FULLSQL varchar(3000)  NULL DEFAULT NULL,
    WHERESQL varchar(3000)  NULL DEFAULT NULL,
    NUMSQL varchar(3000)  NULL DEFAULT NULL,
    CHECK_TYPE char(1)  NULL DEFAULT NULL,
    INDEX_ID bigint NULL DEFAULT NULL,
    INDEX_CODE varchar(128)  NULL DEFAULT NULL,
    INDEX_NAME varchar(128)  NULL DEFAULT NULL,
    SCHEDULE_ID bigint NULL DEFAULT NULL,
    SCHEDULE_NAME varchar(128)  NULL DEFAULT NULL,
    CONFIG_TYPE char(1)  NULL DEFAULT NULL,
    CHECK_TPL int NULL DEFAULT -1,
    CHECK_CONFIG text  NULL,
    IS_ALARM char(1)  DEFAULT 0,
    ALARM_ID bigint NULL DEFAULT NULL,
    ALARM_NAME varchar(128)  NULL DEFAULT NULL,
    ALARM_TIME timestamp NULL DEFAULT NULL,
    STATE char(1)  NOT NULL,
    DELETED char(1)  NOT NULL,
    CREATE_BY varchar(255)  NOT NULL,
    CREATE_TIME timestamp NOT NULL,
    UPDATE_BY varchar(255)  NULL DEFAULT NULL,
    UPDATE_TIME timestamp NULL DEFAULT NULL,
    REMARK varchar(255)  NULL DEFAULT NULL,
    STANDBY varchar(500)  NULL DEFAULT NULL,
    SHOW_FIELD varchar(2000)  NULL DEFAULT NULL,
    DATA_SOURCE_NAME varchar(255)  NULL DEFAULT NULL,
    DATA_SOURCE_SID bigint NULL DEFAULT NULL,
    RESOURCE_TYPE varchar(255)  NULL DEFAULT NULL,
    SCHEMA_CODE varchar(255)  NULL DEFAULT NULL,
    PRINCIPAL varchar(255)  NULL DEFAULT NULL,
    SINK_MODE varchar(64) NULL DEFAULT NULL,
    DATA_FROM varchar(64) NULL DEFAULT NULL
);
COMMENT ON TABLE ck_method_config IS '此表用于配置检核规则（即原检核方法配置）CK_METHOD_CONFIG';
COMMENT ON COLUMN ck_method_config.CHECK_METHOD IS '1、SQL检核 2、NOSQL检核';
COMMENT ON COLUMN ck_method_config.RESOURCE_ID IS '与资产信息表（DA_RESOURCE_INFO)表的主键SID关联';
COMMENT ON COLUMN ck_method_config.RESOURCE_NAME IS '与资产信息表（DA_RESOURCE_INFO)表的数据资源编码（RESOURCE_NAME）关联';
COMMENT ON COLUMN ck_method_config.ITEM_ID IS '与资产数据项（DA_RESOURCE_ITEM）表中的数据资源项标识（SID）关联';
COMMENT ON COLUMN ck_method_config.ITEM_CODE IS '与资产数据项（DA_RESOURCE_ITEM）表中的元数据项编码（ITEM_CODE）关联';
COMMENT ON COLUMN ck_method_config.ITEM_NAME IS '与资产数据项（DA_RESOURCE_ITEM）表中的元数据项名称（ITEM_NAME）关联';
COMMENT ON COLUMN ck_method_config.TABLE_CODE IS '与资产信息表（DA_RESOURCE_INFO)表的数据资源编码（TABLE_CODE）关联';
COMMENT ON COLUMN ck_method_config.INSTANCE_CODE IS '与DS_RESOURCE_ITEM的INSTANCE_CODE关联';
COMMENT ON COLUMN ck_method_config.FULLSQL IS '根据前端配置的信息，组装成的完整的SQL 如果条件中存在{CheckField}占位符，则需要替换为相应的字段名称';
COMMENT ON COLUMN ck_method_config.WHERESQL IS 'SQL配置方式中，用户输入的where的SQL语句';
COMMENT ON COLUMN ck_method_config.INDEX_ID IS '指标id（SQL检核配置需要写入）';
COMMENT ON COLUMN ck_method_config.CONFIG_TYPE IS '1、可视化配置   2、SQL配置';
COMMENT ON COLUMN ck_method_config.CHECK_TPL IS '检核模板';
COMMENT ON COLUMN ck_method_config.CHECK_CONFIG IS '检查配置JSON';
COMMENT ON COLUMN ck_method_config.IS_ALARM IS '1、自定义告警  0、默认使用检核指标配置的告警 默认是0';
COMMENT ON COLUMN ck_method_config.STATE IS '1、新建 2、启用 3、停用';
COMMENT ON COLUMN ck_method_config.SHOW_FIELD IS '显示字段';
COMMENT ON COLUMN ck_method_config.DATA_SOURCE_NAME IS '数据源名称';
COMMENT ON COLUMN ck_method_config.DATA_SOURCE_SID IS '数据源SID';
COMMENT ON COLUMN ck_method_config.RESOURCE_TYPE IS '资源类型';
COMMENT ON COLUMN ck_method_config.PRINCIPAL IS '责任人';
COMMENT ON COLUMN ck_method_config.SINK_MODE IS '结果输出方式';
COMMENT ON COLUMN ck_method_config.DATA_FROM IS '检核规则创建来源, 默认为NULL';
CREATE INDEX index_ck_method_config1 ON ck_method_config USING btree (DELETED) ;
CREATE INDEX index_ck_method_config ON ck_method_config USING btree (RESOURCE_ID) ;
ALTER TABLE ck_method_config ADD CONSTRAINT ck_method_config_pkey PRIMARY KEY (SID);
ALTER TABLE ck_method_config ALTER COLUMN DELETED SET DEFAULT 0;

-- ----------------------------
-- Table structure for ck_method_config_course
-- ----------------------------
DROP TABLE IF EXISTS ck_method_config_course;
CREATE TABLE ck_method_config_course  (
    SID bigint NOT NULL,
    METHOD_CONFIG_ID bigint NULL DEFAULT NULL,
    OPT char(2)  NULL DEFAULT NULL ,
    TABLE_CODE varchar(128)  NULL DEFAULT NULL,
    ITEM_CODE varchar(128)  NULL DEFAULT NULL,
    INSTANCE_CODE varchar(255)  NULL DEFAULT NULL,
    WILDCARD char(1)  NULL DEFAULT NULL,
    ACTUAL_VALUE varchar(128)  NULL DEFAULT NULL,
    STARTTIME varchar(20)  NULL DEFAULT NULL,
    ENDTIME varchar(20)  NULL DEFAULT NULL,
    DICT_ID varchar(20)  NULL DEFAULT NULL,
    ITEM_ID bigint NULL DEFAULT NULL,
    ITEM_NAME varchar(128)  NULL DEFAULT NULL,
    PRIMARY KEY (SID)
);
COMMENT ON TABLE ck_method_config_course IS '记录SQL检核配置过程的表。主要是记录可视化配置的信息';
COMMENT ON COLUMN ck_method_config_course.OPT IS '&&且 ||或';
COMMENT ON COLUMN ck_method_config_course.WILDCARD IS '前缀匹配、后缀匹配、全模糊匹配、等于、不等于、包含、不包含、大于、大于等于、小于、小于等于、区间（包括边界）、区间（不包括边界）、区间（包含前边界）、区间（包含后边界）';


-- ----------------------------
-- Table structure for ck_method_item
-- ----------------------------
DROP TABLE IF EXISTS ck_method_item;
CREATE TABLE ck_method_item (
    SID bigint NOT NULL,
    CONFIG_SID bigint NULL DEFAULT NULL ,
    INDEX_SID bigint NULL DEFAULT NULL ,
    PARENT_SID bigint NULL DEFAULT NULL,
    OPT varchar(10)  NULL DEFAULT NULL,
    RULE_SID bigint NULL DEFAULT NULL ,
    EXPRESSION varchar(200)  NULL DEFAULT NULL,
    IDENTIFIER varchar(200)  NULL DEFAULT NULL,
    CHECK_MODE char(1)  NULL DEFAULT NULL,
    DELETED char(1)  NULL DEFAULT NULL,
    CREATE_BY varchar(255)  NULL DEFAULT NULL,
    CREATE_TIME timestamp NULL DEFAULT NULL,
    UPDATE_BY varchar(255)  NULL DEFAULT NULL,
    UPDATE_TIME timestamp NULL DEFAULT NULL,
    REMARK varchar(255)  NULL DEFAULT NULL,
    STANDBY varchar(500)  NULL DEFAULT NULL
);
COMMENT ON TABLE ck_method_item IS 'CK_METHOD_ITEM';
COMMENT ON COLUMN ck_method_item.CONFIG_SID IS '数据项ID';
COMMENT ON COLUMN ck_method_item.INDEX_SID IS '指标ID';
COMMENT ON COLUMN ck_method_item.PARENT_SID IS '父级ID';
COMMENT ON COLUMN ck_method_item.RULE_SID IS '规则ID';
ALTER TABLE ck_method_item ADD CONSTRAINT ck_method_item_pkey PRIMARY KEY (SID);


-- ----------------------------
-- Table structure for ck_result_detail
-- ----------------------------
DROP TABLE IF EXISTS ck_result_detail;
CREATE TABLE ck_result_detail (
    SID bigint NOT NULL,
    RESULTID bigint NULL DEFAULT NULL,
    CHECK_COLUMN varchar(1000)  NULL DEFAULT NULL,
    COLUMN1 varchar(500)  NULL DEFAULT NULL,
    COLUMN2 varchar(500)  NULL DEFAULT NULL,
    COLUMN3 varchar(500)  NULL DEFAULT NULL,
    COLUMN4 varchar(500)  NULL DEFAULT NULL,
    COLUMN5 varchar(500)  NULL DEFAULT NULL,
    COLUMN6 varchar(500)  NULL DEFAULT NULL,
    COLUMN7 varchar(500)  NULL DEFAULT NULL,
    COLUMN8 varchar(500)  NULL DEFAULT NULL,
    COLUMN9 varchar(500)  NULL DEFAULT NULL,
    COLUMN10 varchar(500)  NULL DEFAULT NULL,
    COLUMN11 varchar(500)  NULL DEFAULT NULL,
    COLUMN12 varchar(500)  NULL DEFAULT NULL,
    COLUMN13 varchar(500)  NULL DEFAULT NULL,
    COLUMN14 varchar(500)  NULL DEFAULT NULL,
    COLUMN15 varchar(500)  NULL DEFAULT NULL,
    COLUMN16 varchar(500)  NULL DEFAULT NULL,
    COLUMN17 varchar(500)  NULL DEFAULT NULL,
    COLUMN18 varchar(500)  NULL DEFAULT NULL,
    COLUMN19 varchar(500)  NULL DEFAULT NULL,
    COLUMN20 varchar(500)  NULL DEFAULT NULL,
    COLUMN21 varchar(500)  NULL DEFAULT NULL,
    COLUMN22 varchar(500)  NULL DEFAULT NULL,
    COLUMN23 varchar(500)  NULL DEFAULT NULL,
    COLUMN24 varchar(500)  NULL DEFAULT NULL,
    COLUMN25 varchar(500)  NULL DEFAULT NULL,
    COLUMN26 varchar(500)  NULL DEFAULT NULL,
    COLUMN27 varchar(500)  NULL DEFAULT NULL,
    COLUMN28 varchar(500)  NULL DEFAULT NULL,
    COLUMN29 varchar(500)  NULL DEFAULT NULL,
    COLUMN30 varchar(500)  NULL DEFAULT NULL,
    COLUMN31 varchar(500)  NULL DEFAULT NULL,
    COLUMN32 varchar(500)  NULL DEFAULT NULL,
    COLUMN33 varchar(500)  NULL DEFAULT NULL,
    COLUMN34 varchar(500)  NULL DEFAULT NULL,
    CREATE_BY varchar(255)  NULL DEFAULT NULL,
    CREATE_TIME timestamp NULL DEFAULT NULL,
    UPDATE_BY varchar(255)  NULL DEFAULT NULL,
    UPDATE_TIME timestamp NULL DEFAULT NULL,
    TYPE char(1)  NULL DEFAULT NULL
);
COMMENT ON TABLE ck_result_detail IS '检核结果明细表 CK_RESULT_DETAIL';
COMMENT ON COLUMN ck_result_detail.COLUMN1 IS '预留字段1';
COMMENT ON COLUMN ck_result_detail.COLUMN2 IS '预留字段2';
COMMENT ON COLUMN ck_result_detail.COLUMN3 IS '预留字段3';
COMMENT ON COLUMN ck_result_detail.COLUMN4 IS '预留字段4';
COMMENT ON COLUMN ck_result_detail.COLUMN5 IS '预留字段5';
COMMENT ON COLUMN ck_result_detail.TYPE IS '1字段名，2字段对应的值';
ALTER TABLE ck_result_detail ADD CONSTRAINT ck_result_detail_pkey PRIMARY KEY (SID);


-- ----------------------------
-- Table structure for ck_result_options
-- ----------------------------
DROP TABLE IF EXISTS ck_result_options;
CREATE TABLE ck_result_options (
    SID bigint NOT NULL,
    CHECK_METHOD char(1)  NOT NULL,
    RESULT_SID bigint NOT NULL,
    OPTION_SID bigint NOT NULL,
    DELETED char(1)  NULL DEFAULT NULL,
    CREATE_BY varchar(255)  NULL DEFAULT NULL,
    CREATE_TIME timestamp NULL DEFAULT NULL,
    UPDATE_BY varchar(255)  NULL DEFAULT NULL,
    UPDATE_TIME timestamp NULL DEFAULT NULL,
    REMARK varchar(255)  NULL DEFAULT NULL,
    STANDBY varchar(500)  NULL DEFAULT NULL
);
COMMENT ON TABLE ck_result_options IS '检核结果与问题的对应关系表';
COMMENT ON COLUMN ck_result_options.CHECK_METHOD IS '1、SQL检核 2、NOSQL检核';
COMMENT ON COLUMN ck_result_options.OPTION_SID IS '关联damp库下的PO_OPTIONS表的SID';
ALTER TABLE ck_result_options ADD CONSTRAINT ck_result_options_pkey PRIMARY KEY (SID);


-- ----------------------------
-- Table structure for ck_rule_info
-- ----------------------------
DROP TABLE IF EXISTS ck_rule_info;
CREATE TABLE ck_rule_info (
    SID bigint NOT NULL,
    RULE_CODE varchar(30)  NOT NULL,
    RULE_NAME varchar(50)  NULL DEFAULT NULL,
    RULE_OPTION varchar(20)  NULL DEFAULT NULL,
    RULE_VALUE text  NULL,
    RULE_VALUE_TYPE char(1)  NULL DEFAULT NULL,
    EXPRESSION text  NULL,
    REMARK text  NULL,
    DELETED char(1)  NULL DEFAULT NULL,
    CREATE_BY varchar(255)  NULL DEFAULT NULL,
    CREATE_TIME timestamp NULL DEFAULT NULL,
    UPDATE_BY varchar(255)  NULL DEFAULT NULL,
    UPDATE_TIME timestamp NULL DEFAULT NULL
);
COMMENT ON TABLE ck_rule_info IS '数据检核规则';
COMMENT ON COLUMN ck_rule_info.RULE_CODE IS '规则编码';
COMMENT ON COLUMN ck_rule_info.RULE_NAME IS '规则名称';
COMMENT ON COLUMN ck_rule_info.RULE_OPTION IS '操作符，CK_RULE_OPTION 包含【=,!=,<,>,match,in等】';
COMMENT ON COLUMN ck_rule_info.RULE_VALUE IS '规则值，包含【具体值，正则表达式，表名.字段名 等】';
COMMENT ON COLUMN ck_rule_info.RULE_VALUE_TYPE IS '规则值类型，CK_RULE_VALUE_TYPE :包含【1为普通值；2为特殊值；3为码表值】';
COMMENT ON COLUMN ck_rule_info.EXPRESSION IS '根据操作符和规则值运算出来的最终表达式';
COMMENT ON COLUMN ck_rule_info.REMARK IS '备注';
COMMENT ON COLUMN ck_rule_info.DELETED IS '是否删除 0:否 1:是';
ALTER TABLE ck_rule_info ADD CONSTRAINT ck_rule_info_pkey PRIMARY KEY (SID);


-- ----------------------------
-- Table structure for ck_schedule_config
-- ----------------------------
DROP TABLE IF EXISTS ck_schedule_config;
CREATE TABLE ck_schedule_config (
    SID bigint NOT NULL,
    NAME varchar(128)  NULL DEFAULT NULL,
    JOB_ID int NULL DEFAULT NULL,
    JOB_GROUP int NULL DEFAULT NULL,
    TYPE char(1)  NULL DEFAULT NULL,
    INTERVALNUM int NULL DEFAULT NULL,
    STARTTIME varchar(20)  NULL DEFAULT NULL,
    JOB_HANDLER varchar(255)  NULL DEFAULT NULL,
    STATE char(1)  NOT NULL ,
    DELETED char(1)  NOT NULL,
    CREATE_BY varchar(255)  NOT NULL,
    CREATE_TIME timestamp NOT NULL,
    UPDATE_BY varchar(255)  NULL DEFAULT NULL,
    UPDATE_TIME timestamp NULL DEFAULT NULL,
    REMARK varchar(255)  NULL DEFAULT NULL,
    STANDBY varchar(500)  NULL DEFAULT NULL,
    CALENDAR varchar(255)  NULL DEFAULT NULL,
    FREQUENCY_NAME varchar(255)  NULL DEFAULT NULL,
    EXPRESSION varchar(255)  NULL DEFAULT NULL
);
COMMENT ON COLUMN ck_schedule_config.JOB_ID IS '关联xxljob任务的主键id';
COMMENT ON COLUMN ck_schedule_config.JOB_GROUP IS 'XXLJOB的执行器id';
COMMENT ON COLUMN ck_schedule_config.INTERVALNUM IS '如果是类型是周期性，间隔不允许为空，默认为1';
COMMENT ON COLUMN ck_schedule_config.JOB_HANDLER IS '任务类别';
COMMENT ON COLUMN ck_schedule_config.STATE IS '1、新建 2、启用 3、停用';
CREATE INDEX I_job_id1 ON ck_schedule_config USING btree (JOB_ID) ;
ALTER TABLE ck_schedule_config ADD CONSTRAINT ck_schedule_config_pkey PRIMARY KEY (SID);


-- ----------------------------
-- Table structure for cl_classif_info
-- ----------------------------
DROP TABLE IF EXISTS cl_classif_info;
CREATE TABLE cl_classif_info (
    SID bigint NOT NULL,
    CLASSIF_NAME varchar(128)  NULL DEFAULT NULL,
    UPPER_CLASSIF bigint NULL DEFAULT NULL,
    SEQ varchar(1024)  NULL DEFAULT NULL,
    IS_LEAF char(1)  NULL DEFAULT NULL,
    DISPLAY_ORDER bigint NULL DEFAULT NULL,
    DESCRIPTION text  NULL,
    LEVEL_NUM bigint NULL DEFAULT NULL,
    CLASSIF_FULL_NAME varchar(500)  NULL DEFAULT NULL,
    CLASSIF_TYPE varchar(5)  NULL DEFAULT NULL,
    RESOURCE_MAPPING varchar(128)  NULL DEFAULT NULL,
    IS_AUTH char(1)  NULL DEFAULT NULL ,
    CREATE_BY varchar(255)  NULL DEFAULT NULL,
    CREATE_TIME timestamp NULL DEFAULT NULL,
    UPDATE_BY varchar(255)  NULL DEFAULT NULL,
    UPDATE_TIME timestamp NULL DEFAULT NULL,
    CLASSIFTEMPLATE varchar(255)  NULL DEFAULT NULL,
    SHOW_SCHEMA varchar(10)  NULL DEFAULT NULL,
    ABBR_NAME varchar(128)  NULL DEFAULT NULL
);
COMMENT ON COLUMN cl_classif_info.UPPER_CLASSIF IS '父节点id，一级节点为空';
COMMENT ON COLUMN cl_classif_info.SEQ IS '.11.22.33.';
COMMENT ON COLUMN cl_classif_info.IS_LEAF IS 'Y/N';
COMMENT ON COLUMN cl_classif_info.DISPLAY_ORDER IS '1、2、3...99';
COMMENT ON COLUMN cl_classif_info.LEVEL_NUM IS '1、2、3';
COMMENT ON COLUMN cl_classif_info.CLASSIF_FULL_NAME IS '一级名称-二级名称-叶子名称';
COMMENT ON COLUMN cl_classif_info.RESOURCE_MAPPING IS '自动映射数据资源';
COMMENT ON COLUMN cl_classif_info.IS_AUTH IS '确定该分类是否需要做鉴权 0:不需要 1:需要';
COMMENT ON COLUMN cl_classif_info.SHOW_SCHEMA IS '是否展示SCHEMA节点 0:否,1:是';
COMMENT ON COLUMN cl_classif_info.ABBR_NAME IS '简称';
CREATE INDEX IDEX_CLS_UPPERCLASSIF ON cl_classif_info USING btree (UPPER_CLASSIF);
CREATE UNIQUE INDEX IDEX_CLS_SEQ ON cl_classif_info USING btree (SEQ) ;
ALTER TABLE cl_classif_info ADD CONSTRAINT cl_classif_info_pkey PRIMARY KEY (SID);


-- ----------------------------
-- Table structure for cl_data_classif
-- ----------------------------
DROP TABLE IF EXISTS cl_data_classif;
CREATE TABLE cl_data_classif (
    RESOURCE_ID bigint NOT NULL,
    CLASSIF_SID bigint NOT NULL,
    RESOURCE_TYPE char(1)  NULL DEFAULT NULL,
    CREATE_BY varchar(255)  NULL DEFAULT NULL,
    CREATE_TIME timestamp NULL DEFAULT NULL,
    UPDATE_BY varchar(255)  NULL DEFAULT NULL,
    UPDATE_TIME timestamp NULL DEFAULT NULL
);
COMMENT ON COLUMN cl_data_classif.RESOURCE_ID IS '资源注册后，关联数据资源';
COMMENT ON COLUMN cl_data_classif.RESOURCE_TYPE IS '目录级、数据级、数据项级';
CREATE INDEX IDX_CDC_RESOURCE_ID ON cl_data_classif USING btree (RESOURCE_ID) ;
CREATE INDEX IDX_CDC_CLASSIF_SID ON cl_data_classif USING btree (CLASSIF_SID) ;
ALTER TABLE cl_data_classif ADD CONSTRAINT cl_data_classif_pkey PRIMARY KEY (RESOURCE_ID, CLASSIF_SID);


-- ----------------------------
-- Table structure for cl_data_level
-- ----------------------------
DROP TABLE IF EXISTS cl_data_level;
CREATE TABLE cl_data_level (
    RESOURCE_SID bigint NOT NULL,
    LEVEL_SID bigint NOT NULL,
    RESOURCE_TYPE char(1)  NULL DEFAULT NULL,
    CREATE_BY varchar(255)  NULL DEFAULT NULL,
    CREATE_TIME timestamp NULL DEFAULT NULL,
    UPDATE_BY varchar(255)  NULL DEFAULT NULL,
    UPDATE_TIME timestamp NULL DEFAULT NULL
);
COMMENT ON COLUMN cl_data_level.RESOURCE_SID IS '资源注册后，关联数据资源';
COMMENT ON COLUMN cl_data_level.RESOURCE_TYPE IS '0目录级、1数据级、2数据项级';
ALTER TABLE cl_data_level ADD CONSTRAINT cl_data_level_pkey PRIMARY KEY (RESOURCE_SID, LEVEL_SID);


-- ----------------------------
-- Table structure for cl_level_info
-- ----------------------------
DROP TABLE IF EXISTS cl_level_info;
CREATE TABLE cl_level_info (
    SID bigint NOT NULL,
    LEVEL_CODE bigint NULL DEFAULT NULL,
    LEVEL_NAME varchar(64)  NULL DEFAULT NULL,
    LEVEL_DESC varchar(128)  NULL DEFAULT NULL,
    UPPER_LEVEL bigint NULL DEFAULT NULL,
    LEVEL_NUM bigint NULL DEFAULT NULL,
    CREATE_BY varchar(255)  NULL DEFAULT NULL,
    CREATE_TIME timestamp NULL DEFAULT NULL,
    UPDATE_BY varchar(255)  NULL DEFAULT NULL,
    UPDATE_TIME timestamp NULL DEFAULT NULL
);
COMMENT ON COLUMN cl_level_info.UPPER_LEVEL IS '第一级时为空';
COMMENT ON COLUMN cl_level_info.LEVEL_NUM IS '1/2';
ALTER TABLE cl_level_info ADD CONSTRAINT cl_level_info_pkey PRIMARY KEY (SID);


-- ----------------------------
-- Table structure for cl_resouce_count
-- ----------------------------
DROP TABLE IF EXISTS cl_resouce_count;
CREATE TABLE cl_resouce_count (
    sid bigint NOT NULL,
    TOTAL_NUM int NULL DEFAULT NULL,
    BATCH_NUMBER bigint NULL DEFAULT NULL
);
ALTER TABLE cl_resouce_count ADD CONSTRAINT cl_resouce_count_pkey PRIMARY KEY (sid);


-- ----------------------------
-- Table structure for cl_resouce_count_temp
-- ----------------------------
DROP TABLE IF EXISTS cl_resouce_count_temp;
CREATE TABLE cl_resouce_count_temp (
    sid bigint NOT NULL,
    TOTAL_NUM int NULL DEFAULT NULL,
    BATCH_NUMBER bigint NULL DEFAULT NULL
);
COMMENT ON COLUMN cl_resouce_count_temp.BATCH_NUMBER IS '批次号';
ALTER TABLE cl_resouce_count_temp ADD CONSTRAINT cl_resouce_count_temp_pkey PRIMARY KEY (sid);


-- ----------------------------
-- Table structure for cl_role_classif
-- ----------------------------
DROP TABLE IF EXISTS cl_role_classif;
CREATE TABLE cl_role_classif (
    ROLE_SID varchar(65)  NOT NULL,
    CLASSIF_SID bigint NOT NULL,
    CREATE_BY varchar(255)  NULL DEFAULT NULL,
    CREATE_TIME timestamp NULL DEFAULT NULL,
    UPDATE_BY varchar(255)  NULL DEFAULT NULL,
    UPDATE_TIME timestamp NULL DEFAULT NULL
);
ALTER TABLE cl_role_classif ADD CONSTRAINT cl_role_classif_pkey PRIMARY KEY (ROLE_SID, CLASSIF_SID);


-- ----------------------------
-- Table structure for cl_role_level
-- ----------------------------
DROP TABLE IF EXISTS cl_role_level;
CREATE TABLE cl_role_level (
    ROLE_SID varchar(65)  NOT NULL,
    LEVEL_SID bigint NOT NULL,
    CREATE_BY varchar(255)  NULL DEFAULT NULL,
    CREATE_TIME timestamp NULL DEFAULT NULL,
    UPDATE_BY varchar(255)  NULL DEFAULT NULL,
    UPDATE_TIME timestamp NULL DEFAULT NULL
);
ALTER TABLE cl_role_level ADD CONSTRAINT cl_role_level_pkey PRIMARY KEY (ROLE_SID, LEVEL_SID);


-- ----------------------------
-- Table structure for cof_dict_entry
-- ----------------------------
DROP TABLE IF EXISTS cof_dict_entry;
CREATE TABLE cof_dict_entry (
    ID varchar(64)  NOT NULL,
    CODE varchar(64)  NULL DEFAULT NULL,
    DICT_TYPE_ID varchar(64)  NULL DEFAULT NULL,
    NAME varchar(512)  NULL DEFAULT NULL ,
    DESCRIPTION varchar(256)  NULL DEFAULT NULL,
    CREATE_TIME timestamp NULL DEFAULT NULL,
    UPDATE_TIME timestamp NULL DEFAULT NULL,
    TENANT_ID varchar(64)  NULL DEFAULT NULL,
    PARENT_ID varchar(64)  NULL DEFAULT NULL,
    LOCALE varchar(64)  NULL DEFAULT NULL,
    STATUS varchar(64)  NULL DEFAULT NULL,
    SORT_NO int NULL DEFAULT NULL ,
    IS_LEAF smallint NULL DEFAULT NULL,
    TREE_LEVEL int NULL DEFAULT NULL,
    SEQ varchar(256)  NULL DEFAULT NULL,
    IS_FIXED smallint NULL DEFAULT NULL
);
COMMENT ON TABLE cof_dict_entry IS '字典项';
COMMENT ON COLUMN cof_dict_entry.ID IS '字典项ID';
COMMENT ON COLUMN cof_dict_entry.CODE IS '字典项编码';
COMMENT ON COLUMN cof_dict_entry.DICT_TYPE_ID IS '字典类型ID';
COMMENT ON COLUMN cof_dict_entry.NAME IS '字典项名称';
COMMENT ON COLUMN cof_dict_entry.DESCRIPTION IS '描述';
COMMENT ON COLUMN cof_dict_entry.CREATE_TIME IS '创建时间';
COMMENT ON COLUMN cof_dict_entry.UPDATE_TIME IS '更新时间';
COMMENT ON COLUMN cof_dict_entry.TENANT_ID IS '租户ID';
COMMENT ON COLUMN cof_dict_entry.PARENT_ID IS '父字典ID';
COMMENT ON COLUMN cof_dict_entry.LOCALE IS '默认语言';
COMMENT ON COLUMN cof_dict_entry.STATUS IS '状态';
COMMENT ON COLUMN cof_dict_entry.SORT_NO IS '排序字段';
COMMENT ON COLUMN cof_dict_entry.IS_LEAF IS '是否叶节点';
COMMENT ON COLUMN cof_dict_entry.TREE_LEVEL IS '层级';
COMMENT ON COLUMN cof_dict_entry.SEQ IS '序列码';
COMMENT ON COLUMN cof_dict_entry.IS_FIXED IS '是否固定，如果是，则数据不能修改，不能删除';
CREATE INDEX COF_DICT_ENTRY_INDEX_SEQ ON cof_dict_entry USING btree (SEQ) ;
CREATE INDEX COF_DICT_ENTRY_INDEX_NAME ON cof_dict_entry USING btree (NAME) ;
CREATE INDEX COF_DICT_ENTRY_INDEX_CODE ON cof_dict_entry USING btree (CODE) ;
ALTER TABLE cof_dict_entry ADD CONSTRAINT cof_dict_entry_pkey PRIMARY KEY (ID);


-- ----------------------------
-- Table structure for cof_dict_type
-- ----------------------------
DROP TABLE IF EXISTS cof_dict_type;
CREATE TABLE cof_dict_type (
    ID varchar(64)  NOT NULL,
    CODE varchar(64)  NULL DEFAULT NULL ,
    NAME varchar(128)  NULL DEFAULT NULL,
    DESCRIPTION varchar(256)  NULL DEFAULT NULL,
    CREATE_TIME timestamp NULL DEFAULT NULL,
    UPDATE_TIME timestamp NULL DEFAULT NULL,
    TENANT_ID varchar(64)  NULL DEFAULT NULL,
    PARENT_ID varchar(64)  NULL DEFAULT NULL,
    LOCALE varchar(64)  NULL DEFAULT NULL ,
    SORT_NO int NULL DEFAULT NULL,
    IS_LEAF smallint NULL DEFAULT NULL,
    TREE_LEVEL int NULL DEFAULT NULL,
    SEQ varchar(256)  NULL DEFAULT NULL,
    IS_FIXED smallint NULL DEFAULT NULL
);
COMMENT ON TABLE cof_dict_type IS '字典类型';
COMMENT ON COLUMN cof_dict_type.ID IS '字典类型ID';
COMMENT ON COLUMN cof_dict_type.CODE IS '字典类型编码';
COMMENT ON COLUMN cof_dict_type.NAME IS '字典类型名称';
COMMENT ON COLUMN cof_dict_type.DESCRIPTION IS '描述';
COMMENT ON COLUMN cof_dict_type.CREATE_TIME IS '创建时间';
COMMENT ON COLUMN cof_dict_type.UPDATE_TIME IS '更新时间';
COMMENT ON COLUMN cof_dict_type.TENANT_ID IS '租户ID';
COMMENT ON COLUMN cof_dict_type.PARENT_ID IS '父字典类型ID';
COMMENT ON COLUMN cof_dict_type.LOCALE IS '默认语言';
COMMENT ON COLUMN cof_dict_type.SORT_NO IS '排序字段';
COMMENT ON COLUMN cof_dict_type.IS_LEAF IS '是否叶节点';
COMMENT ON COLUMN cof_dict_type.TREE_LEVEL IS '层级';
COMMENT ON COLUMN cof_dict_type.SEQ IS '序列码';
COMMENT ON COLUMN cof_dict_type.IS_FIXED IS '是否固定，如果是，则数据不能修改，不能删除';
CREATE INDEX COF_DICT_TYPE_INDEX_SEQ ON cof_dict_type USING btree (SEQ) ;
CREATE INDEX COF_DICT_TYPE_INDEX_NAME ON cof_dict_type USING btree (NAME) ;
CREATE INDEX COF_DICT_TYPE_INDEX_CODE ON cof_dict_type USING btree (CODE) ;
ALTER TABLE cof_dict_type ADD CONSTRAINT cof_dict_type_pkey PRIMARY KEY (ID);


-- ----------------------------
-- Table structure for ds_data_config_mgr
-- ----------------------------
DROP TABLE IF EXISTS ds_data_config_mgr;
CREATE TABLE ds_data_config_mgr (
    SID bigint NOT NULL,
    CONFIGCODE varchar(50)  NOT NULL,
    CONFIGNAME varchar(50)  NOT NULL,
    CONFIGTYPE varchar(25)  NOT NULL,
    USERKEYTABFILE varchar(255)  NULL DEFAULT NULL,
    KRB5FILE varchar(255)  NULL DEFAULT NULL,
    HIVECLIENTPROPFILE varchar(255)  NULL DEFAULT NULL,
    HDFSSITEFILE varchar(255)  NULL DEFAULT NULL,
    CORESITEFILE varchar(255)  NULL DEFAULT NULL,
    HBASESITEFILE varchar(255)  NULL DEFAULT NULL,
    DESCRIPTION varchar(500)  NULL DEFAULT NULL,
    CREATE_BY varchar(255)  NULL DEFAULT NULL,
    CREATE_TIME timestamp NULL DEFAULT NULL,
    UPDATE_BY varchar(255)  NULL DEFAULT NULL,
    UPDATE_TIME timestamp NULL DEFAULT NULL,
    PATH_TYPE varchar(255)  NULL DEFAULT 'LOCAL',
    SFTP_PATH varchar(255)  NULL DEFAULT ''
);
COMMENT ON COLUMN ds_data_config_mgr.PATH_TYPE IS 'LOCAL/SFTP';
COMMENT ON COLUMN ds_data_config_mgr.SFTP_PATH IS 'SFTP_PATH';
ALTER TABLE ds_data_config_mgr ADD CONSTRAINT ds_data_config_mgr_pkey PRIMARY KEY (SID);


-- ----------------------------
-- Table structure for ds_data_source
-- ----------------------------
DROP TABLE IF EXISTS ds_data_source;
CREATE TABLE ds_data_source (
    SID bigint NOT NULL,
    DATA_SOURCE_NAME varchar(300)  NULL DEFAULT NULL,
    URL varchar(1000)  NULL DEFAULT NULL,
    DRIVER varchar(100)  NULL DEFAULT NULL,
    USER_NAME varchar(60)  NULL DEFAULT NULL,
    PWD varchar(255)  NULL DEFAULT NULL,
    SOURCE varchar(10)  NULL DEFAULT NULL,
    CREATE_BY varchar(255)  NULL DEFAULT NULL,
    CREATE_TIME timestamp NULL DEFAULT NULL,
    UPDATE_BY varchar(255)  NULL DEFAULT NULL,
    UPDATE_TIME timestamp NULL DEFAULT NULL,
    DATA_SOURCE_CODE varchar(255)  NULL DEFAULT NULL,
    METACUBE_DEFINE_NAME varchar(255)  NULL DEFAULT NULL,
    DATASOURCE_TYPE varchar(50)  NULL DEFAULT NULL,
    CONFIGMGR_SID varchar(65)  NULL DEFAULT NULL
);
COMMENT ON COLUMN ds_data_source.DATA_SOURCE_NAME IS '数据源名称';
COMMENT ON COLUMN ds_data_source.SOURCE IS '数据源来源：1：元数据:2：自建:3：同步';
ALTER TABLE ds_data_source ADD CONSTRAINT ds_data_source_pkey PRIMARY KEY (SID);


-- ----------------------------
-- Table structure for ds_hbase_mappping
-- ----------------------------
DROP TABLE IF EXISTS ds_hbase_mappping;
CREATE TABLE ds_hbase_mappping (
    sid bigint NOT NULL,
    hive_ds_id varchar(100)  NULL DEFAULT NULL,
    hive_ds_name varchar(100)  NULL DEFAULT NULL,
    hive_db_name varchar(100)  NULL DEFAULT NULL,
    hive_table varchar(100)  NULL DEFAULT NULL,
    hbase_ds_id varchar(100)  NULL DEFAULT NULL,
    hbase_ds_name varchar(100)  NULL DEFAULT NULL,
    hbase_namespace varchar(100)  NULL DEFAULT NULL,
    hbase_table varchar(100)  NOT NULL,
    storage_type varchar(20)  NULL DEFAULT 'string',
    column_mappings text  NULL,
    serde_properties text  NULL,
    tbl_properties varchar(1024)  NULL DEFAULT NULL,
    create_time timestamp NULL DEFAULT NULL,
    create_by varchar(255)  NULL DEFAULT NULL,
    update_time timestamp NULL DEFAULT NULL,
    update_by varchar(255)  NULL DEFAULT NULL
);
COMMENT ON TABLE ds_hbase_mappping IS 'HBase 映射表管理';
ALTER TABLE ds_hbase_mappping ADD CONSTRAINT ds_hbase_mappping_pkey PRIMARY KEY (sid);


-- ----------------------------
-- Table structure for ds_resource_info
-- ----------------------------
DROP TABLE IF EXISTS ds_resource_info;
CREATE TABLE ds_resource_info (
    TABLE_TAG varchar(255)  NULL DEFAULT NULL,
    SID bigint NOT NULL,
    RESOURCE_CODE varchar(64)  NULL DEFAULT NULL,
    RESOURCE_NAME varchar(2000)  NULL DEFAULT NULL,
    DIRECTORY_CODE varchar(64)  NULL DEFAULT NULL,
    DIRECTORY_NAME varchar(2000)  NULL DEFAULT NULL,
    AUTHORITY_UNIT varchar(128)  NULL DEFAULT NULL,
    SOURCE_TYPE bigint NULL DEFAULT NULL,
    OBTAIN_WAY bigint NULL DEFAULT NULL,
    APP_SYSTEM varchar(128)  NULL DEFAULT NULL,
    MANAGE_UNIT varchar(128)  NULL DEFAULT NULL,
    DATA_LOCATION varchar(32)  NULL DEFAULT NULL,
    STORAGE_CENTER varchar(32)  NULL DEFAULT NULL,
    STATUS char(1)  NULL DEFAULT NULL,
    DESCRIPTION varchar(2000)  NULL DEFAULT NULL,
    STORAGE_SCALE varchar(128)  NULL DEFAULT NULL,
    STORAGE_CYCLE varchar(128)  NULL DEFAULT NULL,
    UPDATE_CYCLE varchar(128)  NULL DEFAULT NULL,
    UPDATE_SCALE varchar(128)  NULL DEFAULT NULL,
    DATA_UPDATE_TIME timestamp NULL DEFAULT NULL,
    REGISTER_TIME timestamp NULL DEFAULT NULL,
    META_DIR_CODE varchar(128)  NULL DEFAULT NULL,
    SCHEMA_CODE varchar(128)  NULL DEFAULT NULL,
    TABLE_CODE varchar(128)  NULL DEFAULT NULL,
    CREATE_BY varchar(255)  NULL DEFAULT NULL,
    CREATE_TIME timestamp NULL DEFAULT NULL,
    UPDATE_BY varchar(255)  NULL DEFAULT NULL,
    UPDATE_TIME timestamp NULL DEFAULT NULL,
    DATA_SOURCE_NAME varchar(300)  NULL DEFAULT NULL,
    RESOURCE_TYPE varchar(20)  NULL DEFAULT NULL,
    INIT_SOLR char(1)  NULL DEFAULT NULL,
    DATA_ORGANIZATION bigint NULL DEFAULT NULL,
    LABEL_1 bigint NULL DEFAULT NULL,
    LABEL_2 bigint NULL DEFAULT NULL,
    LABEL_3 bigint NULL DEFAULT NULL,
    LABEL_4 bigint NULL DEFAULT NULL,
    LABEL_5 bigint NULL DEFAULT NULL,
    INSTANCE_ID varchar(128)  NULL DEFAULT NULL,
    ISPEAT varchar(64)  NULL DEFAULT NULL,
    TABLEDESC varchar(6000)  NULL DEFAULT NULL,
    DATAMODE varchar(255)  NULL DEFAULT NULL,
    WHYREPEAT varchar(500)  NULL DEFAULT NULL,
    DIFFERSERV varchar(255)  NULL DEFAULT NULL,
    TABLE_RECORD varchar(255)  NULL DEFAULT NULL,
    MAPPING_NUMBER varchar(200)  NULL DEFAULT NULL,
    MAPPING_FIELD varchar(200)  NULL DEFAULT NULL,
    DATA_TABLE_NUM varchar(255)  NULL DEFAULT NULL,
    DEPLOY_TYPE varchar(300)  NULL DEFAULT NULL,
    LAST_UPDATE_TIME varchar(100)  NULL DEFAULT NULL,
    FUNCTION_TEMPLATE varchar(255)  NULL DEFAULT NULL,
    SUB_FUNCTION_TEMPLATE varchar(255)  NULL DEFAULT NULL,
    IS_ACCESS varchar(255)  NULL DEFAULT NULL,
    mainDataId varchar(100)  NULL DEFAULT NULL,
    WHY_NEGATIVELIST varchar(255)  NULL DEFAULT NULL,
    IS_NEGATIVELIST varchar(255)  NULL DEFAULT NULL,
    ID varchar(100)  NULL DEFAULT NULL,
    mainTableId varchar(100)  NULL DEFAULT NULL,
    busi_type_num varchar(100)  NULL DEFAULT NULL,
    topic_num varchar(100)  NULL DEFAULT NULL,
    TABLE_NAMESPACE varchar(255)  NULL DEFAULT NULL,
    TABLE_NAME varchar(512)  NULL DEFAULT NULL,
    PRINCIPAL varchar(255)  NULL DEFAULT NULL
);
COMMENT ON TABLE ds_resource_info IS '存储数据资源基本信息，如数据名称等，与元数据的表对应';
COMMENT ON COLUMN ds_resource_info.STATUS IS '状态:  4已发布';
COMMENT ON COLUMN ds_resource_info.META_DIR_CODE IS '资源关联的表所在目录编码';
COMMENT ON COLUMN ds_resource_info.SCHEMA_CODE IS '资源关联的表所在库编码';
COMMENT ON COLUMN ds_resource_info.TABLE_CODE IS '资源关联的表编码';
COMMENT ON COLUMN ds_resource_info.DATA_SOURCE_NAME IS '数据源名称';
COMMENT ON COLUMN ds_resource_info.INIT_SOLR IS '是否已加入solr';
COMMENT ON COLUMN ds_resource_info.DATA_ORGANIZATION IS '数组组织ID';
COMMENT ON COLUMN ds_resource_info.LABEL_1 IS '数组组织-标签1ID';
COMMENT ON COLUMN ds_resource_info.LABEL_2 IS '数组组织-标签2ID';
COMMENT ON COLUMN ds_resource_info.LABEL_3 IS '数组组织-标签3ID';
COMMENT ON COLUMN ds_resource_info.LABEL_4 IS '数组组织-标签4ID';
COMMENT ON COLUMN ds_resource_info.LABEL_5 IS '数组组织-标签5ID';
COMMENT ON COLUMN ds_resource_info.ISPEAT IS '是否重复';
COMMENT ON COLUMN ds_resource_info.DATAMODE IS '数据生成方式';
COMMENT ON COLUMN ds_resource_info.WHYREPEAT IS '重复原因';
COMMENT ON COLUMN ds_resource_info.PRINCIPAL IS '责任人';
CREATE INDEX IDX_DRI_DATAORGANIZATION ON ds_resource_info USING btree (DATA_ORGANIZATION) ;
ALTER TABLE ds_resource_info ADD CONSTRAINT ds_resource_info_pkey PRIMARY KEY (SID);


-- ----------------------------
-- Table structure for ds_resource_item
-- ----------------------------
DROP TABLE IF EXISTS ds_resource_item;
CREATE TABLE ds_resource_item (
    SID bigint NOT NULL,
    RESOURCE_SID bigint NULL DEFAULT NULL,
    ITEM_CODE varchar(200)  NULL DEFAULT NULL,
    ITEM_NAME varchar(2000)  NULL DEFAULT NULL,
    IS_QUERY char(1)  NULL DEFAULT NULL,
    QUERY_MATCH_TYPE varchar(128)  NULL DEFAULT NULL,
    IS_SUBSCRIBE char(1)  NULL DEFAULT NULL,
    SUBSCRIBE_MATCH_TYPE varchar(128)  NULL DEFAULT NULL,
    CREATE_BY varchar(255)  NULL DEFAULT NULL,
    CREATE_TIME timestamp NULL DEFAULT NULL,
    UPDATE_BY varchar(255)  NULL DEFAULT NULL,
    UPDATE_TIME timestamp NULL DEFAULT NULL,
    INSTANCE_ID varchar(255)  NULL DEFAULT NULL,
    SYNCDATE timestamp NULL DEFAULT NULL,
    SEQ bigint NULL DEFAULT NULL,
    ITEM_TYPE varchar(500)  NULL DEFAULT NULL,
    INSTANCE_CODE varchar(255)  NULL DEFAULT NULL,
    INSTANCE_NAME varchar(2000)  NULL DEFAULT NULL,
    COMMENTS varchar(5000)  NULL DEFAULT NULL,
    IS_PK varchar(255)  NULL DEFAULT NULL,
    IS_UNIQUE varchar(255)  NULL DEFAULT NULL,
    IS_FK varchar(255)  NULL DEFAULT NULL,
    IS_NULLABLE varchar(255)  NULL DEFAULT NULL,
    COLLENGTHS varchar(255)  NULL DEFAULT NULL,
    SCALES varchar(255)  NULL DEFAULT NULL,
    INITIAL_VALUE varchar(255)  NULL DEFAULT NULL,
    IS_SHARE varchar(255)  NULL DEFAULT NULL,
    IS_MASKING varchar(255)  NULL DEFAULT NULL,
    DATA_TYPE varchar(500)  NULL DEFAULT NULL,
    WHY_SHARE varchar(2000)  NULL DEFAULT NULL,
    DESEN_RULE varchar(500)  NULL DEFAULT NULL,
    STD_CODE varchar(255)  NULL DEFAULT NULL ,
    STORAGE_FORMAT varchar(255)  NULL DEFAULT NULL,
    IS_BASE varchar(255)  NULL DEFAULT NULL ,
    SOURCE_SYSTEM varchar(255)  NULL DEFAULT NULL,
    OWN_USER varchar(255)  NULL DEFAULT NULL ,
    SOURCE_TB_EN varchar(255)  NULL DEFAULT NULL,
    SOURCE_TB_CN varchar(255)  NULL DEFAULT NULL,
    SOURCE_TB_DESC text  NULL,
    SOURCE_COL_EN varchar(255)  NULL DEFAULT NULL,
    SOURCE_COL_CN varchar(255)  NULL DEFAULT NULL,
    SOURCE_COL_DESC text  NULL,
    REB_DEPT varchar(255)  NULL DEFAULT NULL ,
    BUS_DEPT_IS_CFM varchar(255)  NULL DEFAULT NULL,
    DATA_IS_CFM varchar(255)  NULL DEFAULT NULL ,
    LATEST_VER_NO varchar(255)  NULL DEFAULT NULL,
    LATEST_REVISION_NO varchar(255)  NULL DEFAULT NULL,
    CONSTRAINTS_KEY varchar(255)  NULL DEFAULT NULL ,
    status varchar(10)  NULL DEFAULT NULL,
    ID varchar(100)  NULL DEFAULT NULL,
    mainTableId varchar(100)  NULL DEFAULT NULL,
    mainDataId varchar(100)  NULL DEFAULT NULL,
    SOURCE_COL_TYPE varchar(100)  NULL DEFAULT NULL,
    principal varchar(255)  NULL DEFAULT NULL
);
COMMENT ON TABLE ds_resource_item IS '存储数据资源项信息，与元数据的列对应，其与数据资源信息表对应关系为多对1';
COMMENT ON COLUMN ds_resource_item.INSTANCE_ID IS '元数据id';
COMMENT ON COLUMN ds_resource_item.SYNCDATE IS '元数据同步时间';
COMMENT ON COLUMN ds_resource_item.INSTANCE_CODE IS '字段英文名';
COMMENT ON COLUMN ds_resource_item.INSTANCE_NAME IS '中文名';
COMMENT ON COLUMN ds_resource_item.COMMENTS IS '描述，注释';
COMMENT ON COLUMN ds_resource_item.IS_PK IS '是否主键';
COMMENT ON COLUMN ds_resource_item.IS_UNIQUE IS '是否唯一键';
COMMENT ON COLUMN ds_resource_item.IS_FK IS '是否外键';
COMMENT ON COLUMN ds_resource_item.IS_NULLABLE IS '是否为空';
COMMENT ON COLUMN ds_resource_item.COLLENGTHS IS '长度';
COMMENT ON COLUMN ds_resource_item.SCALES IS '小数位';
COMMENT ON COLUMN ds_resource_item.INITIAL_VALUE IS '默认值';
COMMENT ON COLUMN ds_resource_item.IS_SHARE IS '是否有条件共享';
COMMENT ON COLUMN ds_resource_item.IS_MASKING IS '是否脱敏';
COMMENT ON COLUMN ds_resource_item.DATA_TYPE IS '数据类型';
COMMENT ON COLUMN ds_resource_item.WHY_SHARE IS '不能共享原因';
COMMENT ON COLUMN ds_resource_item.DESEN_RULE IS '脱敏规则';
COMMENT ON COLUMN ds_resource_item.STD_CODE IS '标准编码';
COMMENT ON COLUMN ds_resource_item.STORAGE_FORMAT IS '存储格式';
COMMENT ON COLUMN ds_resource_item.IS_BASE IS '是否基线版';
COMMENT ON COLUMN ds_resource_item.SOURCE_SYSTEM IS '来源系统';
COMMENT ON COLUMN ds_resource_item.OWN_USER IS '所属用户';
COMMENT ON COLUMN ds_resource_item.SOURCE_TB_EN IS '源表英文名';
COMMENT ON COLUMN ds_resource_item.SOURCE_TB_CN IS '源字段中文名';
COMMENT ON COLUMN ds_resource_item.SOURCE_COL_EN IS '源表字段英文';
COMMENT ON COLUMN ds_resource_item.REB_DEPT IS '责任部门';
COMMENT ON COLUMN ds_resource_item.BUS_DEPT_IS_CFM IS '业务部门是否确认';
COMMENT ON COLUMN ds_resource_item.DATA_IS_CFM IS '数据是否落地';
COMMENT ON COLUMN ds_resource_item.LATEST_VER_NO IS '最新版本号';
COMMENT ON COLUMN ds_resource_item.LATEST_REVISION_NO IS '最终修订版本号';
COMMENT ON COLUMN ds_resource_item.CONSTRAINTS_KEY IS '约束键';
CREATE INDEX IDX_DSRI_INSTANCEID ON ds_resource_item USING btree (INSTANCE_ID) ;
CREATE INDEX IDX_DSRI_RESOURCESID ON ds_resource_item USING btree (RESOURCE_SID) ;
ALTER TABLE ds_resource_item ADD CONSTRAINT ds_resource_item_pkey PRIMARY KEY (SID);


-- ----------------------------
-- Table structure for po_feedback
-- ----------------------------
DROP TABLE IF EXISTS po_feedback;
CREATE TABLE po_feedback (
    SID bigint NOT NULL,
    OPTIONID bigint NOT NULL,
    USERNAME varchar(32)  NOT NULL,
    FEEDBACK text  NOT NULL,
    CREATE_BY varchar(255)  NULL DEFAULT NULL,
    UPDATE_BY varchar(255)  NULL DEFAULT NULL,
    CREATE_TIME timestamp NULL DEFAULT NULL,
    UPDATE_TIME timestamp NULL DEFAULT NULL
);
COMMENT ON COLUMN po_feedback.CREATE_BY IS '创建时的userid';
COMMENT ON COLUMN po_feedback.UPDATE_BY IS '最后一次修改者的userid';
COMMENT ON COLUMN po_feedback.UPDATE_TIME IS '最后一次修改该记录的时间';
ALTER TABLE po_feedback ADD CONSTRAINT po_feedback_pkey PRIMARY KEY (SID);


-- ----------------------------
-- Table structure for po_files
-- ----------------------------
DROP TABLE IF EXISTS po_files;
CREATE TABLE po_files (
    SID serial NOT NULL PRIMARY KEY,
    RELID bigint NULL DEFAULT NULL,
    FILENAME varchar(64)  NOT NULL,
    ACTUALFILENAME varchar(64)  NOT NULL,
    FILEPATH varchar(255)  NULL DEFAULT NULL,
    CREATE_BY varchar(255)  NULL DEFAULT NULL,
    UPDATE_BY varchar(255)  NULL DEFAULT NULL,
    CREATE_TIME timestamp NULL DEFAULT NULL,
    UPDATE_TIME timestamp NULL DEFAULT NULL
);
COMMENT ON COLUMN po_files.RELID IS '附件所关联的对象ID';
COMMENT ON COLUMN po_files.FILEPATH IS '可以使用 http://ip:port/files/文件名称 访问上传路径下的文件';
COMMENT ON COLUMN po_files.CREATE_BY IS '创建时的userid';
COMMENT ON COLUMN po_files.UPDATE_BY IS '最后一次修改者的userid';
COMMENT ON COLUMN po_files.UPDATE_TIME IS '最后一次修改该记录的时间';

-- ----------------------------
-- Table structure for po_options
-- ----------------------------
DROP TABLE IF EXISTS po_options;
CREATE TABLE po_options (
    SID bigint NOT NULL,
    TITLE varchar(32)  NOT NULL,
    SOURCE varchar(32)  NOT NULL,
    DATARESOURCE varchar(32)  NULL DEFAULT NULL,
    FIELD varchar(32)  NULL DEFAULT NULL,
    DESCRIPTION text  NOT NULL,
    STATUS char(1)  NOT NULL,
    USERNAME varchar(32)  NOT NULL,
    CREATE_BY varchar(255)  NULL DEFAULT NULL,
    UPDATE_BY varchar(255)  NULL DEFAULT NULL,
    CREATE_TIME timestamp NULL DEFAULT NULL,
    UPDATE_TIME timestamp NULL DEFAULT NULL,
    CONTACTINFO varchar(255)  NULL DEFAULT NULL
);
COMMENT ON COLUMN po_options.SOURCE IS '来源于静态参数 存静态参数的ID 有   质量检核  隐患  用户反馈 其他途径';
COMMENT ON COLUMN po_options.STATUS IS '0  未反馈 1  已反馈 9  已关闭';
COMMENT ON COLUMN po_options.CREATE_BY IS '创建时的userid';
COMMENT ON COLUMN po_options.UPDATE_BY IS '最后一次修改者的userid';
COMMENT ON COLUMN po_options.UPDATE_TIME IS '最后一次修改该记录的时间';
ALTER TABLE po_options ADD CONSTRAINT po_options_pkey PRIMARY KEY (SID);


drop table if exists dqms_operation_log;
create table dqms_operation_log

(
    id                   varchar(64) not null ,
    operator_id          varchar(64) ,
    operator_name        varchar(64) ,
    operate_type        int ,
    operate_date         timestamp ,
    target_type          varchar(64) ,
    target_model_id      varchar(64) ,
    target_model_name    varchar(64) ,
    message              text ,
    tenant_id            varchar(64) ,
    primary key (id)
);

COMMENT ON TABLE dqms_operation_log IS '操作日志';
COMMENT ON COLUMN dqms_operation_log.id IS '操作日志ID';
COMMENT ON COLUMN dqms_operation_log.operator_id IS '操作者ID';
COMMENT ON COLUMN dqms_operation_log.operator_name IS '操作者名称';
COMMENT ON COLUMN dqms_operation_log.operate_type IS '操作类型';
COMMENT ON COLUMN dqms_operation_log.operate_date IS '时间';
COMMENT ON COLUMN dqms_operation_log.target_type IS '目标类型';
COMMENT ON COLUMN dqms_operation_log.target_model_id IS '目标ID';
COMMENT ON COLUMN dqms_operation_log.target_model_name IS '目标名称';
COMMENT ON COLUMN dqms_operation_log.message IS '信息';
COMMENT ON COLUMN dqms_operation_log.tenant_id IS '租户ID';

CREATE INDEX DQMS_OPERATION_LOG_INDEX_OPERATOR ON DQMS_OPERATION_LOG(OPERATOR_NAME);
CREATE INDEX LOG_INDEX_OPERATE_TYPE ON DQMS_OPERATION_LOG(operate_type);
CREATE INDEX DQMS_OPERATION_LOG_INDEX_TARGET ON DQMS_OPERATION_LOG(TARGET_TYPE, TARGET_MODEL_ID, TARGET_MODEL_NAME);

DROP TABLE IF EXISTS DQMS_OPERATION_LOG_DETAIL;
CREATE TABLE DQMS_OPERATION_LOG_DETAIL
(
    ID                   varchar(64) not null,
    OLD_DATA_JSON        varchar,
    NEW_DATA_JSON        varchar,
    primary key (ID)
);

COMMENT ON COLUMN DQMS_OPERATION_LOG_DETAIL.ID IS '日志详情ID';
COMMENT ON COLUMN DQMS_OPERATION_LOG_DETAIL.OLD_DATA_JSON IS '旧值';
COMMENT ON COLUMN DQMS_OPERATION_LOG_DETAIL.NEW_DATA_JSON IS '新值';

COMMENT ON TABLE DQMS_OPERATION_LOG_DETAIL IS '操作日志详情';

-----------------------------
-- 组织机构评分
-----------------------------
DROP TABLE IF EXISTS DQMS_RATING_RESULT;
CREATE TABLE DQMS_RATING_RESULT(
                                   ID  NUMERIC(20,0) PRIMARY KEY,
                                   ORG_ID VARCHAR(64),
                                   ORG_NAME VARCHAR(50),
                                   ORG_LEVEL VARCHAR(2),
                                   PARENT_ORG_ID VARCHAR(64),
                                   SCORE NUMERIC(20,0),
                                   START_DATE TIMESTAMP,
                                   END_DATE TIMESTAMP,
                                   RATING_CYCLE VARCHAR(50),
                                   RATING_POINT VARCHAR(50),
                                   CREATE_TIME TIMESTAMP,
                                   CREATE_USER VARCHAR(25),
                                   LAST_MODIFIER_TIME TIMESTAMP,
                                   LAST_MODIFIER_USER VARCHAR(25)
);

COMMENT ON COLUMN DQMS_RATING_RESULT.ORG_ID IS '组织ID';
COMMENT ON COLUMN DQMS_RATING_RESULT.ORG_NAME IS '组织名';
COMMENT ON COLUMN DQMS_RATING_RESULT.ORG_LEVEL IS '组织等级';
COMMENT ON COLUMN DQMS_RATING_RESULT.PARENT_ORG_ID IS '父组织ID';
COMMENT ON COLUMN DQMS_RATING_RESULT.SCORE IS '得分';
COMMENT ON COLUMN DQMS_RATING_RESULT.START_DATE IS '评估开始日期';
COMMENT ON COLUMN DQMS_RATING_RESULT.END_DATE IS '评估截至日期';
COMMENT ON COLUMN DQMS_RATING_RESULT.RATING_CYCLE IS '评分周期 年（year）、季度（quarter）、月（month）、周（week），默认月';
COMMENT ON COLUMN DQMS_RATING_RESULT.RATING_POINT IS '评分点 例如：2023-01';








DELETE FROM "cof_dict_type";
INSERT INTO "cof_dict_type" (ID, CODE, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('314575736782065664', 'CK_CHECK_TYPE', '检核类型', null, null, null, 'default', null, 'zh', null, 1, 1, '.82.', 0);
INSERT INTO "cof_dict_type" (ID, CODE, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('42497a16-8bb6-4c06-8142-880efb4ee397', 'CHECK_RESOURCE_TYPE', '检核规则类型', null, null, null, 'default', null, 'zh', 0, 1, 1, '.87.', 0);
INSERT INTO "cof_dict_type" (ID, CODE, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('429501651677614080', 'CK_GENERAL_CHECK_STATE', '通用检核配置状态', null, null, null, 'default', null, 'zh', null, 1, 1, '.46.', 0);
INSERT INTO "cof_dict_type" (ID, CODE, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('306247813742333952', 'CK_RULE_VALUE_TYPE', '规则值类型', null, null, null, 'default', null, 'zh', null, 1, 1, '.82.', 0);
INSERT INTO "cof_dict_type" (ID, CODE, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('306242162043523072', 'CK_RULE_OPTION', '规则操作符', null, null, null, 'default', null, 'zh', null, 1, 1, '.82.', 0);
INSERT INTO "cof_dict_type" (ID, CODE, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('423644463499317248', 'CK_COMMONCHECK_TYPE', '通用检核配置类型', null, null, null, 'default', null, 'zh', null, 1, 1, '.49.', 0);
INSERT INTO "cof_dict_type" (ID, CODE, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('25fcceeb-12bf-4b11-ad5f-6af625fb2028', 'CK_CHECK_GENERAL', '通用检核', null, null, null, 'default', null, 'zh', 0, 1, 1, '.90.', 0);
INSERT INTO "cof_dict_type" (ID, CODE, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('430613552059285504', 'CK_SCHEDULE_TYPE', '调度类型', null, null, null, 'default', null, 'zh', 45, 1, 1, '.45.', 0);
INSERT INTO "cof_dict_type" (ID, CODE, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('435019220119879680', 'CK_JOB_HANDLER', '任务类别', null, null, null, 'default', null, 'zh', 42, 1, 1, '.42.', 0);
INSERT INTO "cof_dict_type" (ID, CODE, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('464219649722449921', 'CK_SCHEDULER_MONITOR_STATUS', '调度任务监控状态', null, null, null, 'default', null, 'zh', 23, 1, 1, '.23.', 0);
INSERT INTO "cof_dict_type" (ID, CODE, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('437418455066902528', 'CK_ALARM_TYPE', '告警阈值类型', null, null, null, 'default', null, 'zh', 40, 1, 1, '.40.', 0);
INSERT INTO "cof_dict_type" (ID, CODE, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('437418825000321024', 'CK_ALARM_RELATION', '告警阈值关系', null, null, null, 'default', null, 'zh', 39, 1, 1, '.39.', 0);
INSERT INTO "cof_dict_type" (ID, CODE, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('437419085214941184', 'CK_ALARM_LEVEL', '告警级别', null, null, null, 'default', null, 'zh', 38, 1, 1, '.38.', 0);
INSERT INTO "cof_dict_type" (ID, CODE, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('438970573996953600', 'CK_ALARM_STATE', '告警配置状态', null, null, null, 'default', null, 'zh', 37, 1, 1, '.37.', 0);
INSERT INTO "cof_dict_type" (ID, CODE, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('449125026590896128', 'CK_ALARM_RECORD_STATE', '告警记录状态', NULL, '2020-07-31 18:29:20', NULL, 'default', NULL, 'zh', 31, 1, 1, '.31.', 0);
INSERT INTO "cof_dict_type" (ID, CODE, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('306738524021460992', 'PO_OPTIONS_SOURCE', '问题来源', null, null, null, 'default', null, 'zh', null, 1, 1, '.82.', 0);
INSERT INTO "cof_dict_type" (ID, CODE, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('478779397398495232', 'DATA_SOURCE_TYPE', '数据源类型', null, null, null, 'default', null, 'zh', 20, 1, 1, '.20.', 0);
INSERT INTO "cof_dict_type" (ID, CODE, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('341743150732808192', 'DS_SOURCE', '数据源来源', null, null, null, 'default', null, 'zh', null, 1, 1, '.66.', 0);
INSERT INTO "cof_dict_type" (ID, CODE, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('328430455870853120', 'ITEM_TYPE', '数据项值类型', null, null, null, 'default', null, 'zh', null, 1, 1, '.74.', 0);
INSERT INTO "cof_dict_type" (ID, CODE, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('341474990574145536', 'DS_DIRVER', '数据源驱动', null, null, null, 'default', null, 'zh', null, 1, 1, '.67.', 0);
INSERT INTO "cof_dict_type" (ID, CODE, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('486772360502214656', 'CK_EXECUTOR_CONFIG', '检核执行相关配置', null, null, null, 'default', null, 'zh', 19, 1, 1, '.19.', 0);
INSERT INTO "cof_dict_type" (ID, CODE, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('449121282373464064', 'CK_ALARM_STAT_START_TIME', '告警信息记录起始时间', NULL, '2020-07-31 18:14:28', NULL, 'default', NULL, 'zh', 32, 1, 1, '.32.', 0);
INSERT INTO "cof_dict_type" (ID, CODE, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('44e4253a-2105-4a4e-a091-45952c7c5dc8', 'CK_CHECK_MONITOR_STATUS', '检核规则监控状态', NULL, '2021-04-22 15:18:34', '2021-04-22 15:18:34', 'default', NULL, 'zh', 0, 1, 1, '.88.', 0);
INSERT INTO "cof_dict_type" (ID, CODE, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('308046373039247360', 'CK_INDEX_LEVEL', '指标级别', NULL, '2019-09-02 16:11:05', NULL, 'default', NULL, 'zh', NULL, 1, 1, '.82.', 0);
INSERT INTO "cof_dict_type" (ID, CODE, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('307009384934412288', 'PO_OPTIONS_STATUS', '问题状态', NULL, '2019-09-02 16:11:05', NULL, 'default', NULL, 'zh', NULL, 1, 1, '.82.', 0);


DELETE FROM "cof_dict_entry";
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('449121473755361280', 'starttime', '449121282373464064', '2021-06-02 17:10:55', NULL, NULL, NULL, 'default', NULL, 'zh', 'ENABLED', 1, 1, NULL, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('314575915853680640', '1', '314575736782065664', '完整性', null, null, null, 'default', null, 'zh', 'ENABLED', 1, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('314575941719953408', '2', '314575736782065664', '有效性', null, null, null, 'default', null, 'zh', 'ENABLED', 2, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('314575967619780608', '3', '314575736782065664', '正确性', null, null, null, 'default', null, 'zh', 'ENABLED', 3, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('314576003359444992', '4', '314575736782065664', '唯一性', null, null, null, 'default', null, 'zh', 'ENABLED', 4, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('314576033013174272', '5', '314575736782065664', '及时性', null, null, null, 'default', null, 'zh', 'ENABLED', 5, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('314576061412806656', '6', '314575736782065664', '合理性', null, null, null, 'default', null, 'zh', 'ENABLED', 6, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('354570112157437952', '7', '314575736782065664', '空值率', null, null, null, 'default', null, 'zh', 'ENABLED', 7, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('48abe20e-cf21-4038-8fb4-fe0fc3c8d1d3', 'HiveTable', '42497a16-8bb6-4c06-8142-880efb4ee397', 'Hive检核规则', null, null, null, 'default', null, 'zh', 'ENABLED', 1, 1, 1, '.100.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('8ba203f7-749d-4e98-95c9-c0d577db83c6', 'table', '42497a16-8bb6-4c06-8142-880efb4ee397', '表检核规则', null, null, null, 'default', null, 'zh', 'ENABLED', 0, 1, 1, '.99.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('9edfcb14-5c33-4b3b-9b52-a71551dbf22a', 'HBaseTable', '42497a16-8bb6-4c06-8142-880efb4ee397', 'HBase检核规则', null, null, null, 'default', null, 'zh', 'ENABLED', 2, 1, 1, '.101.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('429501736977174528', '1', '429501651677614080', '新建', null, null, null, 'default', null, 'zh', 'ENABLED', 1, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('429501802991325184', '2', '429501651677614080', '启用', null, null, null, 'default', null, 'zh', 'ENABLED', 2, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('429501838730989568', '3', '429501651677614080', '停用', null, null, null, 'default', null, 'zh', 'ENABLED', 3, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('306300301090623488', '1', '306247813742333952', '普通值', null, null, null, 'default', null, 'zh', 'ENABLED', 1, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('306300389359751168', '2', '306247813742333952', '特殊值', null, null, null, 'default', null, 'zh', 'ENABLED', 2, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('306300420691202048', '3', '306247813742333952', '码表值', null, null, null, 'default', null, 'zh', 'ENABLED', 3, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('306242501815701504', '==', '306242162043523072', '等于', null, null, null, 'default', null, 'zh', 'ENABLED', 1, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('306242567506890752', '!=', '306242162043523072', '不等于', null, null, null, 'default', null, 'zh', 'ENABLED', 2, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('306242604093804544', '<=', '306242162043523072', '小于等于', null, null, null, 'default', null, 'zh', 'ENABLED', 3, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('306242638248022016', '<', '306242162043523072', '小于', null, null, null, 'default', null, 'zh', 'ENABLED', 4, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('306242684507000832', '>=', '306242162043523072', '大于等于', null, null, null, 'default', null, 'zh', 'ENABLED', 5, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('306242718308896768', '>', '306242162043523072', '大于', null, null, null, 'default', null, 'zh', 'ENABLED', 6, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('306301168330084352', 'matches', '306242162043523072', '匹配正则', null, null, null, 'default', null, 'zh', 'ENABLED', 7, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('306301814399700992', 'contains', '306242162043523072', '包含码表', null, null, null, 'default', null, 'zh', 'ENABLED', 8, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('423664174639353856', '1', '423644463499317248', '数据抖动', null, null, null, 'default', null, 'zh', 'ENABLED', 1, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('423664223591075840', '2', '423644463499317248', '数据偏移', null, null, null, 'default', null, 'zh', 'ENABLED', 2, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('423664297431797760', '3', '423644463499317248', '数据堆积', null, null, null, 'default', null, 'zh', 'ENABLED', 3, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('423664380911030272', '4', '423644463499317248', '数据对照', null, null, null, 'default', null, 'zh', 'ENABLED', 4, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('3611f8bc-3d6e-4961-98f3-12ea35119f8c', 'YES_OR_NO', '25fcceeb-12bf-4b11-ad5f-6af625fb2028', 'NO', null, null, null, 'default', null, 'zh', 'ENABLED', 0, 1, 1, '.118.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('08860cc4-003d-4b73-877b-236b5aa60f2b', '7', '430613552059285504', '每月', '', null, null, 'default', null, 'zh', 'ENABLED', 6, 1, 1, '.97.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('3c915bf7-8965-439f-a902-982fbb7d2e19', '8', '430613552059285504', '每季', '', null, null, 'default', null, 'zh', 'ENABLED', 7, 1, 1, '.98.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('44f2b6ef-866d-4d8c-a8d7-d097804f99a7', '1', '430613552059285504', '一次', null, null, null, 'default', null, 'zh', 'ENABLED', 0, 1, 1, '.91.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('7af83165-d7ec-46c4-8eaa-2c4d9a88da3e', '6', '430613552059285504', '每旬', '', null, null, 'default', null, 'zh', 'ENABLED', 5, 1, 1, '.96.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('97d5ffb6-c19e-4192-ad38-3c1844c4ea77', '3', '430613552059285504', '每小时', '', null, null, 'default', null, 'zh', 'ENABLED', 2, 1, 1, '.93.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('a26a270d-fb01-448e-a42e-347ebf265236', '2', '430613552059285504', '每分', '', null, null, 'default', null, 'zh', 'ENABLED', 1, 1, 1, '.92.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('adf34d8a-6a3d-4758-8cc4-b833abbd9f5b', '5', '430613552059285504', '每周', '', null, null, 'default', null, 'zh', 'ENABLED', 4, 1, 1, '.95.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('f540e60f-7708-4460-8581-44c4abe41cb2', '4', '430613552059285504', '每天', '', null, null, 'default', null, 'zh', 'ENABLED', 3, 1, 1, '.94.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('435019761520640000', 'GeneralCheckHandler', '435019220119879680', '通用检核任务', null, null, null, 'default', null, 'zh', 'ENABLED', 1, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('435020625639538688', 'tableCheckJobHandler', '435019220119879680', '表检核任务', null, null, null, 'default', null, 'zh', 'ENABLED', 2, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('435020729301762048', 'CheckHbaseTableJobHandler', '435019220119879680', 'hbase检核任务', null, null, null, 'default', null, 'zh', 'ENABLED', 3, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('438567657444638720', 'CheckHiveTableJobHandler', '435019220119879680', 'Hive检核任务', null, null, null, 'default', null, 'zh', 'ENABLED', 4, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('04adfe0b-c224-4f20-ac40-6f7a729757b3', '200', '464219649722449921', '完成', '', null, null, 'default', null, 'zh', 'ENABLED', 2, 1, 1, '.112.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('13053f36-ab55-4c18-baeb-06843283f610', '-100', '464219649722449921', '运行', null, null, null, 'default', null, 'zh', 'ENABLED', 1, 1, 1, '.111.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('d3e2bbab-acc5-43bd-943e-b4b069119c3b', '500', '464219649722449921', '失败', '', null, null, 'default', null, 'zh', 'ENABLED', 3, 1, 1, '.113.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('437418566052380672', '1', '437418455066902528', '数值', null, null, null, 'default', null, 'zh', 'ENABLED', 1, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('437418643554729984', '2', '437418455066902528', '百分比', null, null, null, 'default', null, 'zh', 'ENABLED', 2, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('437418915186245632', 'lt', '437418825000321024', '<', null, null, null, 'default', null, 'zh', 'ENABLED', 1, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('437418950540034048', 'eq', '437418825000321024', '=', null, null, null, 'default', null, 'zh', 'ENABLED', 2, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('437418984052523008', 'gt', '437418825000321024', '>', null, null, null, 'default', null, 'zh', 'ENABLED', 3, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('437419157604433920', '1', '437419085214941184', '一般', null, null, null, 'default', null, 'zh', 'ENABLED', 1, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('437419190605217792', '2', '437419085214941184', '中等', null, null, null, 'default', null, 'zh', 'ENABLED', 2, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('437419238596444160', '3', '437419085214941184', '严重', null, null, null, 'default', null, 'zh', 'ENABLED', 3, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('438970836551995392', '1', '438970573996953600', '新增', null, null, null, 'default', null, 'zh', 'ENABLED', 1, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('438970880189534208', '2', '438970573996953600', '生效', null, null, null, 'default', null, 'zh', 'ENABLED', 2, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('438970914096287744', '3', '438970573996953600', '挂起', null, null, null, 'default', null, 'zh', 'ENABLED', 3, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('306738663343656960', '0', '306738524021460992', '质量检核 ', null, null, null, 'default', null, 'zh', 'ENABLED', 1, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('306738779987251200', '1', '306738524021460992', '隐患', null, null, null, 'default', null, 'zh', 'ENABLED', 2, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('306738841576411136', '3', '306738524021460992', '用户反馈', null, null, null, 'default', null, 'zh', 'ENABLED', 3, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('306738880365334528', '4', '306738524021460992', '其他途径', null, null, null, 'default', null, 'zh', 'ENABLED', 4, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('478779614147543040', 'table', '478779397398495232', '关系型', null, null, null, 'default', null, 'zh', 'ENABLED', 2, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('478779893454635008', 'MrsHiveTable', '478779397398495232', 'MRS Hive', null, null, null, 'default', null, 'zh', 'ENABLED', 8, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('478779946848124928', 'MrsHBaseTable', '478779397398495232', 'MRS HBase', null, null, null, 'default', null, 'zh', 'ENABLED', 9, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('478780012283461632', 'sftp', '478779397398495232', '文件系统', null, null, null, 'default', null, 'zh', 'ENABLED', 3, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('478781045504114688', 'other', '478779397398495232', '其他', null, null, null, 'default', null, 'zh', 'ENABLED', 1, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('516505563761606656', 'HIVE', '478779397398495232', 'Hive', null, null, null, 'default', null, 'zh', 'ENABLED', 4, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('516505627292729344', 'HBASE', '478779397398495232', 'HBase', null, null, null, 'default', null, 'zh', 'ENABLED', 5, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('516505740207587328', 'KERBEROS_HIVE', '478779397398495232', 'Kerberos Hive', null, null, null, 'default', null, 'zh', 'ENABLED', 6, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('516505838819868672', 'KERBEROS_HBASE', '478779397398495232', 'Kerberos HBase', null, null, null, 'default', null, 'zh', 'ENABLED', 7, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('341743210044461056', '1', '341743150732808192', '自建', null, null, null, 'default', null, 'zh', 'ENABLED', 5, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('341743210044461057', '3', '341743150732808192', '同步', null, null, null, 'default', null, 'zh', 'ENABLED', 5, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('341743258182488064', '2', '341743150732808192', '元数据导入', null, null, null, 'default', null, 'zh', 'ENABLED', 5, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('328433537769934848', '1', '328430455870853120', '字符串', null, null, null, 'default', null, 'zh', 'ENABLED', 5, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('328433835393552384', '2', '328430455870853120', '整数', null, null, null, 'default', null, 'zh', 'ENABLED', 5, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('341475184619425792', 'com.mysql.cj.jdbc.Driver', '341474990574145536', 'com.mysql.cj.jdbc.Driver', null, null, null, 'default', null, 'zh', 'ENABLED', 1, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('341475101521874944', 'oracle.jdbc.OracleDriver', '341474990574145536', 'oracle.jdbc.OracleDriver', null, null, null, 'default', null, 'zh', 'ENABLED', 2, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('341475184619425793', 'dm.jdbc.driver.DmDriver', '341474990574145536', 'dm.jdbc.driver.DmDriver', null, null, null, 'default', null, 'zh', 'ENABLED', 3, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('341475184619425794', 'org.opengauss.Driver', '341474990574145536', 'org.opengauss.Driver', null, null, null, 'default', null, 'zh', 'ENABLED', 4, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('341475184619425795', 'org.postgresql.Driver', '341474990574145536', 'org.postgresql.Driver', null, null, null, 'default', null, 'zh', 'ENABLED', 5, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('428093768050778112', 'org.apache.hive.jdbc.HiveDriver', '341474990574145536', 'org.apache.hive.jdbc.HiveDriver', null, null, null, 'default', null, 'zh', 'ENABLED', 6, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('341475184619425796', 'com.kingbase8.Driver', '341474990574145536', 'com.kingbase8.Driver', null, null, null, 'default', null, 'zh', 'ENABLED', 7, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('341475184619425797', 'com.highgo.jdbc.Driver', '341474990574145536', 'com.highgo.jdbc.Driver', null, null, null, 'default', null, 'zh', 'ENABLED', 8, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('341475184619425798', 'com.microsoft.sqlserver.jdbc.SQLServerDriver', '341474990574145536', 'com.microsoft.sqlserver.jdbc.SQLServerDriver', null, null, null, 'default', null, 'zh', 'ENABLED', 8, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('486777881183551488', 'FILE_STORE_JOBID', '486772360502214656', null, null, null, null, 'default', null, 'zh', 'ENABLED', 1, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('486780201149562880', 'FILE_PROCESS_JOBID', '486772360502214656', null, null, null, null, 'default', null, 'zh', 'ENABLED', 2, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('491099272561197056', 'APACHE_HTTP_URL', '486772360502214656', 'http://<ip>:<port>/', null, null, null, 'default', null, 'zh', 'ENABLED', 3, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('491099441839112192', 'CDH_HTTP_URL', '486772360502214656', 'http://<ip>:<port>/', null, null, null, 'default', null, 'zh', 'ENABLED', 4, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('491850335119638528', 'MRS_HTTP_URL', '486772360502214656', 'http://<ip>:<port>/', null, null, null, 'default', null, 'zh', 'ENABLED', 5, 1, null, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('307009508569911296', '0', '307009384934412288', '未反馈', NULL, NULL, NULL, 'default', NULL, 'zh', 'ENABLED', 1, 1, NULL, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('307009548298358784', '1', '307009384934412288', '已反馈', NULL, NULL, NULL, 'default', NULL, 'zh', 'ENABLED', 2, 1, NULL, '.60.', 0);
INSERT INTO "cof_dict_entry" (ID, CODE, DICT_TYPE_ID, NAME, DESCRIPTION, CREATE_TIME, UPDATE_TIME, TENANT_ID, PARENT_ID, LOCALE, STATUS, SORT_NO, IS_LEAF, TREE_LEVEL, SEQ, IS_FIXED) VALUES ('307009600056070144', '9', '307009384934412288', '已关闭', NULL, NULL, NULL, 'default', NULL, 'zh', 'ENABLED', 3, 1, NULL, '.60.', 0);


INSERT INTO "ck_frequency" (NAME, TYPE, INTERVALNUM, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, EXPRESSION, DESCRIPTION) VALUES ('ONCE', '1', null, 'admin', '2024-01-01 00:00:00', null, null, '', null);
INSERT INTO "ck_frequency" (NAME, TYPE, INTERVALNUM, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, EXPRESSION, DESCRIPTION) VALUES ('EVERY_MINUTE', '2', null, 'admin', '2024-01-01 00:00:00', null, null, '0 00/1 * * * ? ', null);
INSERT INTO "ck_frequency" (NAME, TYPE, INTERVALNUM, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, EXPRESSION, DESCRIPTION) VALUES ('EVERY_HOUR', '3', null, 'admin', '2024-01-01 00:00:00', null, null, '0 00 00/1 * * ? *', null);
INSERT INTO "ck_frequency" (NAME, TYPE, INTERVALNUM, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, EXPRESSION, DESCRIPTION) VALUES ('EVERY_DAY', '4', null, 'admin', '2024-01-01 00:00:00', null, null, '0 00 00 /1 * ? *', null);
INSERT INTO "ck_frequency" (NAME, TYPE, INTERVALNUM, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, EXPRESSION, DESCRIPTION) VALUES ('EVERY_WEEK', '5', null, 'admin', '2024-01-01 00:00:00', null, null, '0 00 00 ? * MON,TUE,WED,THU,FRI *', null);
INSERT INTO "ck_frequency" (NAME, TYPE, INTERVALNUM, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, EXPRESSION, DESCRIPTION) VALUES ('EVERY_TEN_DAYS', '6', null, 'admin', '2024-01-01 00:00:00', null, null, '0 00 00 1,11,21 * ? *', null);
INSERT INTO "ck_frequency" (NAME, TYPE, INTERVALNUM, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, EXPRESSION, DESCRIPTION) VALUES ('EVERY_MONTH', '7', null, 'admin', '2024-01-01 00:00:00', null, null, '0 00 00 1 1,2,3,4,5,6,7,8,9,10,11,12 ? *', null);
INSERT INTO "ck_frequency" (NAME, TYPE, INTERVALNUM, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, EXPRESSION, DESCRIPTION) VALUES ('EACH_QUARTER', '8', null, 'admin', '2024-01-01 00:00:00', null, null, '0 00 00 1 1,4,7,10 ? *', null);

