|
|
@ -4,7 +4,6 @@ SET FOREIGN_KEY_CHECKS = 0;
|
|
|
|
-- ----------------------------
|
|
|
|
-- ----------------------------
|
|
|
|
-- Table structure for sys_expand
|
|
|
|
-- Table structure for sys_expand
|
|
|
|
-- ----------------------------
|
|
|
|
-- ----------------------------
|
|
|
|
DROP TABLE IF EXISTS `sys_expand`;
|
|
|
|
|
|
|
|
CREATE TABLE `sys_expand` (
|
|
|
|
CREATE TABLE `sys_expand` (
|
|
|
|
`expand_id` bigint(20) NOT NULL COMMENT '主键id',
|
|
|
|
`expand_id` bigint(20) NOT NULL COMMENT '主键id',
|
|
|
|
`expand_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '拓展业务名称',
|
|
|
|
`expand_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '拓展业务名称',
|
|
|
@ -23,13 +22,12 @@ CREATE TABLE `sys_expand` (
|
|
|
|
-- ----------------------------
|
|
|
|
-- ----------------------------
|
|
|
|
-- Records of sys_expand
|
|
|
|
-- Records of sys_expand
|
|
|
|
-- ----------------------------
|
|
|
|
-- ----------------------------
|
|
|
|
INSERT INTO `sys_expand` VALUES (100, '系统用户', 'user_expand', 1, 'sys_user', 'user_id', 'userId', NULL, NULL, '2022-03-30 10:52:41', 1339550467939639299);
|
|
|
|
|
|
|
|
INSERT INTO `sys_expand` VALUES (1509151239135424513, '组织机构', 'org_expand', 1, 'hr_organization', 'org_id', 'orgId', '2022-03-30 20:51:09', 1339550467939639299, NULL, NULL);
|
|
|
|
INSERT INTO `sys_expand` VALUES (1509151239135424513, '组织机构', 'org_expand', 1, 'hr_organization', 'org_id', 'orgId', '2022-03-30 20:51:09', 1339550467939639299, NULL, NULL);
|
|
|
|
|
|
|
|
INSERT INTO `sys_expand` VALUES (1509775027464073218, '系统用户', 'user_expand', 1, 'sys_user', 'user_id', 'userId', '2022-04-01 14:09:51', 1339550467939639299, NULL, NULL);
|
|
|
|
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
-- ----------------------------
|
|
|
|
-- Table structure for sys_expand_data
|
|
|
|
-- Table structure for sys_expand_data
|
|
|
|
-- ----------------------------
|
|
|
|
-- ----------------------------
|
|
|
|
DROP TABLE IF EXISTS `sys_expand_data`;
|
|
|
|
|
|
|
|
CREATE TABLE `sys_expand_data` (
|
|
|
|
CREATE TABLE `sys_expand_data` (
|
|
|
|
`expand_data_id` bigint(20) NOT NULL COMMENT '主键id',
|
|
|
|
`expand_data_id` bigint(20) NOT NULL COMMENT '主键id',
|
|
|
|
`expand_id` bigint(20) NULL DEFAULT NULL COMMENT '拓展业务id',
|
|
|
|
`expand_id` bigint(20) NULL DEFAULT NULL COMMENT '拓展业务id',
|
|
|
@ -45,12 +43,10 @@ CREATE TABLE `sys_expand_data` (
|
|
|
|
-- ----------------------------
|
|
|
|
-- ----------------------------
|
|
|
|
-- Records of sys_expand_data
|
|
|
|
-- Records of sys_expand_data
|
|
|
|
-- ----------------------------
|
|
|
|
-- ----------------------------
|
|
|
|
INSERT INTO `sys_expand_data` VALUES (10002, 100, 1339550467939639299, '{\"idCard\":\"1477272515573542913\"}', NULL, NULL, NULL, NULL);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
-- ----------------------------
|
|
|
|
-- Table structure for sys_expand_field
|
|
|
|
-- Table structure for sys_expand_field
|
|
|
|
-- ----------------------------
|
|
|
|
-- ----------------------------
|
|
|
|
DROP TABLE IF EXISTS `sys_expand_field`;
|
|
|
|
|
|
|
|
CREATE TABLE `sys_expand_field` (
|
|
|
|
CREATE TABLE `sys_expand_field` (
|
|
|
|
`field_id` bigint(20) NOT NULL COMMENT '主键id',
|
|
|
|
`field_id` bigint(20) NOT NULL COMMENT '主键id',
|
|
|
|
`expand_id` bigint(20) NOT NULL COMMENT '对应拓展业务的主键id',
|
|
|
|
`expand_id` bigint(20) NOT NULL COMMENT '对应拓展业务的主键id',
|
|
|
@ -71,15 +67,16 @@ CREATE TABLE `sys_expand_field` (
|
|
|
|
-- ----------------------------
|
|
|
|
-- ----------------------------
|
|
|
|
-- Records of sys_expand_field
|
|
|
|
-- Records of sys_expand_field
|
|
|
|
-- ----------------------------
|
|
|
|
-- ----------------------------
|
|
|
|
INSERT INTO `sys_expand_field` VALUES (10001, 100, '身份证', 'idCard', 1, 'Y', 20, NULL, 'Y', NULL, NULL, NULL, NULL);
|
|
|
|
INSERT INTO `sys_expand_field` VALUES (1509776920974225409, 1509151239135424513, '是否是公司', 'companyFlag', 3, 'N', NULL, 'yn', 'N', '2022-04-01 14:17:23', 1339550467939639299, '2022-04-01 14:30:53', 1339550467939639299);
|
|
|
|
|
|
|
|
INSERT INTO `sys_expand_field` VALUES (1509776979216330753, 1509775027464073218, '身份证号', 'idCard', 1, 'N', NULL, NULL, 'Y', '2022-04-01 14:17:37', 1339550467939639299, NULL, NULL);
|
|
|
|
|
|
|
|
|
|
|
|
-- 添加数据拓展应用
|
|
|
|
-- 添加数据拓展应用
|
|
|
|
INSERT INTO `sys_app`(`app_id`, `app_name`, `app_code`, `app_icon`, `active_flag`, `status_flag`, `app_sort`, `del_flag`, `create_time`, `create_user`, `update_time`, `update_user`) VALUES (1508982167982678018, '字段拓展', 'fieldExpand', 'PlusSquareOutlined', 'N', 1, 999, 'N', '2022-03-30 09:39:19', 1339550467939639299, NULL, NULL);
|
|
|
|
INSERT INTO `sys_app`(`app_id`, `app_name`, `app_code`, `app_icon`, `active_flag`, `status_flag`, `app_sort`, `del_flag`, `create_time`, `create_user`, `update_time`, `update_user`) VALUES (1508982167982678018, '字段拓展', 'fieldExpand', 'PlusSquareOutlined', 'N', 1, 999, 'N', '2022-03-30 09:39:19', 1339550467939639299, NULL, NULL);
|
|
|
|
|
|
|
|
|
|
|
|
-- 添加菜单
|
|
|
|
-- 添加菜单
|
|
|
|
INSERT INTO `sys_menu`(`menu_id`, `menu_parent_id`, `menu_pids`, `menu_name`, `menu_code`, `app_code`, `menu_sort`, `status_flag`, `remark`, `layui_path`, `layui_icon`, `layui_visible`, `antdv_router`, `antdv_icon`, `antdv_component`, `antdv_link_open_type`, `antdv_link_url`, `antdv_active_url`, `antdv_visible`, `del_flag`, `create_time`, `create_user`, `update_time`, `update_user`) VALUES (1508982886328541185, -1, '[-1],', '数据设计', 'data_design', 'fieldExpand', 10.00, 1, NULL, NULL, NULL, 'Y', '/expand/data/design', 'RadarChartOutlined', '', 0, NULL, NULL, 'Y', 'N', '2022-03-30 09:42:10', 1339550467939639299, '2022-03-30 09:48:17', 1339550467939639299);
|
|
|
|
INSERT INTO `sys_menu`(`menu_id`, `menu_parent_id`, `menu_pids`, `menu_name`, `menu_code`, `app_code`, `menu_sort`, `status_flag`, `remark`, `layui_path`, `layui_icon`, `layui_visible`, `antdv_router`, `antdv_icon`, `antdv_component`, `antdv_link_open_type`, `antdv_link_url`, `antdv_active_url`, `antdv_visible`, `del_flag`, `create_time`, `create_user`, `update_time`, `update_user`) VALUES (1508982886328541185, -1, '[-1],', '数据设计', 'data_design', 'fieldExpand', 10.00, 1, NULL, NULL, NULL, 'N', '/expand/data/design', 'RadarChartOutlined', '', 0, NULL, NULL, 'Y', 'N', '2022-03-30 09:42:10', 1339550467939639299, '2022-03-30 09:48:17', 1339550467939639299);
|
|
|
|
INSERT INTO `sys_menu`(`menu_id`, `menu_parent_id`, `menu_pids`, `menu_name`, `menu_code`, `app_code`, `menu_sort`, `status_flag`, `remark`, `layui_path`, `layui_icon`, `layui_visible`, `antdv_router`, `antdv_icon`, `antdv_component`, `antdv_link_open_type`, `antdv_link_url`, `antdv_active_url`, `antdv_visible`, `del_flag`, `create_time`, `create_user`, `update_time`, `update_user`) VALUES (1508983390106394626, 1508982886328541185, '[-1],[1508982886328541185],', '业务管理', 'business_list', 'fieldExpand', 11.00, 1, NULL, NULL, NULL, 'Y', '/expand/business', 'AppstoreAddOutlined', '/expand/business/sys_expand', 0, NULL, NULL, 'Y', 'N', '2022-03-30 09:44:10', 1339550467939639299, '2022-03-30 09:46:11', 1339550467939639299);
|
|
|
|
INSERT INTO `sys_menu`(`menu_id`, `menu_parent_id`, `menu_pids`, `menu_name`, `menu_code`, `app_code`, `menu_sort`, `status_flag`, `remark`, `layui_path`, `layui_icon`, `layui_visible`, `antdv_router`, `antdv_icon`, `antdv_component`, `antdv_link_open_type`, `antdv_link_url`, `antdv_active_url`, `antdv_visible`, `del_flag`, `create_time`, `create_user`, `update_time`, `update_user`) VALUES (1508983390106394626, 1508982886328541185, '[-1],[1508982886328541185],', '业务管理', 'business_list', 'fieldExpand', 11.00, 1, NULL, NULL, NULL, 'N', '/expand/business', 'AppstoreAddOutlined', '/expand/business/sys_expand', 0, NULL, NULL, 'Y', 'N', '2022-03-30 09:44:10', 1339550467939639299, '2022-03-30 09:46:11', 1339550467939639299);
|
|
|
|
INSERT INTO `sys_menu`(`menu_id`, `menu_parent_id`, `menu_pids`, `menu_name`, `menu_code`, `app_code`, `menu_sort`, `status_flag`, `remark`, `layui_path`, `layui_icon`, `layui_visible`, `antdv_router`, `antdv_icon`, `antdv_component`, `antdv_link_open_type`, `antdv_link_url`, `antdv_active_url`, `antdv_visible`, `del_flag`, `create_time`, `create_user`, `update_time`, `update_user`) VALUES (1508983647087206402, 1508982886328541185, '[-1],[1508982886328541185],', '字段管理', 'field_manage', 'fieldExpand', 12.00, 1, NULL, NULL, NULL, 'Y', '/expand/field/manage', 'BarsOutlined', '/expand/field/sys_expand_field', 0, NULL, NULL, 'Y', 'N', '2022-03-30 09:45:12', 1339550467939639299, '2022-03-30 09:47:51', 1339550467939639299);
|
|
|
|
INSERT INTO `sys_menu`(`menu_id`, `menu_parent_id`, `menu_pids`, `menu_name`, `menu_code`, `app_code`, `menu_sort`, `status_flag`, `remark`, `layui_path`, `layui_icon`, `layui_visible`, `antdv_router`, `antdv_icon`, `antdv_component`, `antdv_link_open_type`, `antdv_link_url`, `antdv_active_url`, `antdv_visible`, `del_flag`, `create_time`, `create_user`, `update_time`, `update_user`) VALUES (1508983647087206402, 1508982886328541185, '[-1],[1508982886328541185],', '字段管理', 'field_manage', 'fieldExpand', 12.00, 1, NULL, NULL, NULL, 'N', '/expand/field/manage', 'BarsOutlined', '/expand/field/sys_expand_field', 0, NULL, NULL, 'Y', 'N', '2022-03-30 09:45:12', 1339550467939639299, '2022-03-30 09:47:51', 1339550467939639299);
|
|
|
|
INSERT INTO `sys_menu`(`menu_id`, `menu_parent_id`, `menu_pids`, `menu_name`, `menu_code`, `app_code`, `menu_sort`, `status_flag`, `remark`, `layui_path`, `layui_icon`, `layui_visible`, `antdv_router`, `antdv_icon`, `antdv_component`, `antdv_link_open_type`, `antdv_link_url`, `antdv_active_url`, `antdv_visible`, `del_flag`, `create_time`, `create_user`, `update_time`, `update_user`) VALUES (1508984172092432385, -1, '[-1],', '数据查看', 'field_data_view', 'fieldExpand', 20.00, 1, NULL, NULL, NULL, 'Y', '/expand/datalist', 'BarChartOutlined', '/expand/data/sys_expand_data', 0, NULL, NULL, 'Y', 'N', '2022-03-30 09:47:17', 1339550467939639299, '2022-03-30 10:16:00', 1339550467939639299);
|
|
|
|
INSERT INTO `sys_menu`(`menu_id`, `menu_parent_id`, `menu_pids`, `menu_name`, `menu_code`, `app_code`, `menu_sort`, `status_flag`, `remark`, `layui_path`, `layui_icon`, `layui_visible`, `antdv_router`, `antdv_icon`, `antdv_component`, `antdv_link_open_type`, `antdv_link_url`, `antdv_active_url`, `antdv_visible`, `del_flag`, `create_time`, `create_user`, `update_time`, `update_user`) VALUES (1508984172092432385, -1, '[-1],', '数据查看', 'field_data_view', 'fieldExpand', 20.00, 1, NULL, NULL, NULL, 'N', '/expand/datalist', 'BarChartOutlined', '/expand/data/sys_expand_data', 0, NULL, NULL, 'Y', 'N', '2022-03-30 09:47:17', 1339550467939639299, '2022-03-30 10:16:00', 1339550467939639299);
|
|
|
|
|
|
|
|
|
|
|
|
SET FOREIGN_KEY_CHECKS = 1;
|
|
|
|
SET FOREIGN_KEY_CHECKS = 1;
|
|
|
|