|
@@ -0,0 +1,116 @@
|
|
|
|
+INSERT INTO foster.tb_tenant (id, tenant_name, parent_id, status, version, is_deleted, created_by, created_time,
|
|
|
|
+ updated_by, updated_time)
|
|
|
|
+VALUES (1, '飞鸟', 0, 1, 1, 0, 'kelei', '2024-05-08 14:47:04', 'kelei', '2024-05-08 14:47:13');
|
|
|
|
+
|
|
|
|
+INSERT INTO foster.tb_user (id, username, password, status, tenant_id, version, is_deleted, created_by, created_time,
|
|
|
|
+ updated_by, updated_time)
|
|
|
|
+VALUES (1, 'kelei', 'e10adc3949ba59abbe56e057f20f883e', 1, 1, 1, 0, 'kelei', '2024-05-08 14:46:51', 'kelei',
|
|
|
|
+ '2024-05-08 14:46:35');
|
|
|
|
+
|
|
|
|
+INSERT INTO foster.tb_user_role (id, user_id, role_id, status, tenant_id, version, is_deleted, created_by, created_time,
|
|
|
|
+ updated_by, updated_time)
|
|
|
|
+VALUES (1, 1, 1, 1, 1, 1, 0, 'kelei', '2024-05-08 14:49:08', 'kelei', '2024-05-08 14:49:17');
|
|
|
|
+
|
|
|
|
+INSERT INTO foster.tb_role (id, role_name, role_code, is_admin, status, tenant_id, version, is_deleted, created_by,
|
|
|
|
+ created_time, updated_by, updated_time)
|
|
|
|
+VALUES (1, '系统管理员', 'sys_admin', 1, 1, 1, 1, 0, 'kelei', '2024-05-08 14:48:22', 'kelei', '2024-05-08 14:48:31');
|
|
|
|
+
|
|
|
|
+INSERT INTO foster.tb_role_menu (id, role_id, menu_id, status, version, is_deleted, created_by, created_time,
|
|
|
|
+ updated_by, updated_time)
|
|
|
|
+VALUES (1, 1, 1, 1, 1, 0, 'kelei', '2024-05-08 14:51:38', 'kelei', '2024-05-08 14:51:38');
|
|
|
|
+INSERT INTO foster.tb_role_menu (id, role_id, menu_id, status, version, is_deleted, created_by, created_time,
|
|
|
|
+ updated_by, updated_time)
|
|
|
|
+VALUES (2, 1, 2, 1, 1, 0, 'kelei', '2024-05-08 14:51:38', 'kelei', '2024-05-08 14:51:38');
|
|
|
|
+INSERT INTO foster.tb_role_menu (id, role_id, menu_id, status, version, is_deleted, created_by, created_time,
|
|
|
|
+ updated_by, updated_time)
|
|
|
|
+VALUES (3, 1, 3, 1, 1, 0, 'kelei', '2024-05-08 14:51:38', 'kelei', '2024-05-08 14:51:38');
|
|
|
|
+INSERT INTO foster.tb_role_menu (id, role_id, menu_id, status, version, is_deleted, created_by, created_time,
|
|
|
|
+ updated_by, updated_time)
|
|
|
|
+VALUES (4, 1, 4, 1, 1, 0, 'kelei', '2024-05-08 14:51:38', 'kelei', '2024-05-08 14:51:38');
|
|
|
|
+INSERT INTO foster.tb_role_menu (id, role_id, menu_id, status, version, is_deleted, created_by, created_time,
|
|
|
|
+ updated_by, updated_time)
|
|
|
|
+VALUES (5, 1, 5, 1, 1, 0, 'kelei', '2024-05-08 14:51:38', 'kelei', '2024-05-08 14:51:38');
|
|
|
|
+INSERT INTO foster.tb_role_menu (id, role_id, menu_id, status, version, is_deleted, created_by, created_time,
|
|
|
|
+ updated_by, updated_time)
|
|
|
|
+VALUES (6, 1, 6, 1, 1, 0, 'kelei', '2024-05-08 14:51:38', 'kelei', '2024-05-08 14:51:38');
|
|
|
|
+INSERT INTO foster.tb_role_menu (id, role_id, menu_id, status, version, is_deleted, created_by, created_time,
|
|
|
|
+ updated_by, updated_time)
|
|
|
|
+VALUES (7, 1, 7, 1, 1, 0, 'kelei', '2024-05-08 14:51:38', 'kelei', '2024-05-08 14:51:38');
|
|
|
|
+INSERT INTO foster.tb_role_menu (id, role_id, menu_id, status, version, is_deleted, created_by, created_time,
|
|
|
|
+ updated_by, updated_time)
|
|
|
|
+VALUES (8, 1, 8, 1, 1, 0, 'kelei', '2024-05-08 14:51:38', 'kelei', '2024-05-08 14:51:38');
|
|
|
|
+INSERT INTO foster.tb_role_menu (id, role_id, menu_id, status, version, is_deleted, created_by, created_time,
|
|
|
|
+ updated_by, updated_time)
|
|
|
|
+VALUES (9, 1, 9, 1, 1, 0, 'kelei', '2024-05-08 14:51:38', 'kelei', '2024-05-08 14:51:38');
|
|
|
|
+INSERT INTO foster.tb_role_menu (id, role_id, menu_id, status, version, is_deleted, created_by, created_time,
|
|
|
|
+ updated_by, updated_time)
|
|
|
|
+VALUES (10, 1, 10, 1, 1, 0, 'kelei', '2024-05-08 14:51:38', 'kelei', '2024-05-08 14:51:38');
|
|
|
|
+INSERT INTO foster.tb_role_menu (id, role_id, menu_id, status, version, is_deleted, created_by, created_time,
|
|
|
|
+ updated_by, updated_time)
|
|
|
|
+VALUES (11, 1, 11, 1, 1, 0, 'kelei', '2024-05-08 14:51:38', 'kelei', '2024-05-08 14:51:38');
|
|
|
|
+INSERT INTO foster.tb_role_menu (id, role_id, menu_id, status, version, is_deleted, created_by, created_time,
|
|
|
|
+ updated_by, updated_time)
|
|
|
|
+VALUES (12, 1, 12, 1, 1, 0, 'kelei', '2024-05-08 14:51:38', 'kelei', '2024-05-08 14:51:38');
|
|
|
|
+INSERT INTO foster.tb_role_menu (id, role_id, menu_id, status, version, is_deleted, created_by, created_time,
|
|
|
|
+ updated_by, updated_time)
|
|
|
|
+VALUES (13, 1, 13, 1, 1, 0, 'kelei', '2024-05-08 14:51:38', 'kelei', '2024-05-08 14:51:38');
|
|
|
|
+INSERT INTO foster.tb_role_menu (id, role_id, menu_id, status, version, is_deleted, created_by, created_time,
|
|
|
|
+ updated_by, updated_time)
|
|
|
|
+VALUES (14, 1, 14, 1, 1, 0, 'kelei', '2024-05-08 14:51:38', 'kelei', '2024-05-08 14:51:38');
|
|
|
|
+
|
|
|
|
+INSERT INTO foster.tb_menu (id, menu_name, menu_code, parent_id, is_admin, menu_sort, type, permission, url, status,
|
|
|
|
+ version, is_deleted, created_by, created_time, updated_by, updated_time)
|
|
|
|
+VALUES (1, '设置', 'MENU_SETTING', 0, 0, 1, 0, null, '/test/api', 1, 1, 0, 'kelei', '2024-05-08 17:03:54', 'kelei',
|
|
|
|
+ '2024-05-08 17:03:54');
|
|
|
|
+INSERT INTO foster.tb_menu (id, menu_name, menu_code, parent_id, is_admin, menu_sort, type, permission, url, status,
|
|
|
|
+ version, is_deleted, created_by, created_time, updated_by, updated_time)
|
|
|
|
+VALUES (2, '账号设置', 'MENU_ACCOUNT_SETTING', 1, 0, 0, 1, null, 'system/Users', 1, 1, 0, 'kelei', '2024-05-08 17:03:54',
|
|
|
|
+ 'kelei', '2024-05-08 17:03:54');
|
|
|
|
+INSERT INTO foster.tb_menu (id, menu_name, menu_code, parent_id, is_admin, menu_sort, type, permission, url, status,
|
|
|
|
+ version, is_deleted, created_by, created_time, updated_by, updated_time)
|
|
|
|
+VALUES (3, '新增账号', 'MENU_ACCOUNT_ADD', 2, 0, 2, 2, 'ACCOUNT:ADD', '', 1, 1, 0, 'kelei', '2024-05-08 17:03:54', 'kelei',
|
|
|
|
+ '2024-05-08 17:03:54');
|
|
|
|
+INSERT INTO foster.tb_menu (id, menu_name, menu_code, parent_id, is_admin, menu_sort, type, permission, url, status,
|
|
|
|
+ version, is_deleted, created_by, created_time, updated_by, updated_time)
|
|
|
|
+VALUES (4, '角色设置', 'MENU_ROLE_SETTING', 1, 0, 1, 1, null, 'system/Roles', 1, 1, 0, 'kelei', '2024-05-08 17:03:54',
|
|
|
|
+ 'kelei', '2024-05-08 17:03:54');
|
|
|
|
+INSERT INTO foster.tb_menu (id, menu_name, menu_code, parent_id, is_admin, menu_sort, type, permission, url, status,
|
|
|
|
+ version, is_deleted, created_by, created_time, updated_by, updated_time)
|
|
|
|
+VALUES (5, '角色权限设置', 'MENU_ROLE_PERMISSION_SETTING', 4, 0, 6, 2, null, '/test/api', 1, 1, 0, 'kelei',
|
|
|
|
+ '2024-05-08 17:03:54', 'kelei', '2024-05-08 17:03:54');
|
|
|
|
+INSERT INTO foster.tb_menu (id, menu_name, menu_code, parent_id, is_admin, menu_sort, type, permission, url, status,
|
|
|
|
+ version, is_deleted, created_by, created_time, updated_by, updated_time)
|
|
|
|
+VALUES (6, '新增角色', 'MENU_ROLE_ADD', 4, 0, 2, 2, 'ROLE:ADD', '', 1, 1, 0, 'kelei', '2024-05-08 17:03:54', 'kelei',
|
|
|
|
+ '2024-05-08 17:03:54');
|
|
|
|
+INSERT INTO foster.tb_menu (id, menu_name, menu_code, parent_id, is_admin, menu_sort, type, permission, url, status,
|
|
|
|
+ version, is_deleted, created_by, created_time, updated_by, updated_time)
|
|
|
|
+VALUES (7, '新增组织机构', 'MENU_TENANT_ADD', 8, 1, 6, 2, 'MENU_TENANT_ADD', '/test/api', 1, 1, 0, 'kelei',
|
|
|
|
+ '2024-05-08 17:03:54', 'kelei', '2024-05-08 17:03:54');
|
|
|
|
+INSERT INTO foster.tb_menu (id, menu_name, menu_code, parent_id, is_admin, menu_sort, type, permission, url, status,
|
|
|
|
+ version, is_deleted, created_by, created_time, updated_by, updated_time)
|
|
|
|
+VALUES (8, '组织机构设置', 'MENU_TENANT', 1, 1, 2, 1, null, 'system/Tenant', 1, 1, 1, 'kelei', '2024-05-08 17:03:54', 'kelei',
|
|
|
|
+ '2024-05-08 17:03:54');
|
|
|
|
+INSERT INTO foster.tb_menu (id, menu_name, menu_code, parent_id, is_admin, menu_sort, type, permission, url, status,
|
|
|
|
+ version, is_deleted, created_by, created_time, updated_by, updated_time)
|
|
|
|
+VALUES (9, '果园', 'MENU_GARDEN_MANAGE', 0, 0, 2, 0, null, '/test/api', 1, 1, 0, 'kelei', '2024-05-08 17:03:54', 'kelei',
|
|
|
|
+ '2024-05-08 17:03:54');
|
|
|
|
+INSERT INTO foster.tb_menu (id, menu_name, menu_code, parent_id, is_admin, menu_sort, type, permission, url, status,
|
|
|
|
+ version, is_deleted, created_by, created_time, updated_by, updated_time)
|
|
|
|
+VALUES (10, '区域管理', 'MENU_AREA_MANAGE', 9, 0, 1, 1, null, 'garden/Areas', 1, 1, 0, 'kelei', '2024-05-08 17:03:54',
|
|
|
|
+ 'kelei', '2024-05-08 17:03:54');
|
|
|
|
+INSERT INTO foster.tb_menu (id, menu_name, menu_code, parent_id, is_admin, menu_sort, type, permission, url, status,
|
|
|
|
+ version, is_deleted, created_by, created_time, updated_by, updated_time)
|
|
|
|
+VALUES (11, '果树管理', 'MENU_TREE_MANAGE', 9, 0, 2, 1, null, 'garden/tree', 1, 1, 0, 'kelei', '2024-05-08 17:03:54',
|
|
|
|
+ 'kelei', '2024-05-08 17:03:54');
|
|
|
|
+INSERT INTO foster.tb_menu (id, menu_name, menu_code, parent_id, is_admin, menu_sort, type, permission, url, status,
|
|
|
|
+ version, is_deleted, created_by, created_time, updated_by, updated_time)
|
|
|
|
+VALUES (12, '海报库', 'MENU_POSTER', 1, 0, 3, 1, null, 'system/poster', 1, 1, 0, 'kelei', '2024-05-08 17:03:54', 'kelei',
|
|
|
|
+ '2024-05-08 17:03:54');
|
|
|
|
+INSERT INTO foster.tb_menu (id, menu_name, menu_code, parent_id, is_admin, menu_sort, type, permission, url, status,
|
|
|
|
+ version, is_deleted, created_by, created_time, updated_by, updated_time)
|
|
|
|
+VALUES (13, '悄悄话库', 'MENU_WHISPER', 1, 0, 4, 1, null, 'system/whisper', 1, 1, 0, 'kelei', '2024-05-08 17:03:54',
|
|
|
|
+ 'kelei', '2024-05-08 17:03:54');
|
|
|
|
+INSERT INTO foster.tb_menu (id, menu_name, menu_code, parent_id, is_admin, menu_sort, type, permission, url, status,
|
|
|
|
+ version, is_deleted, created_by, created_time, updated_by, updated_time)
|
|
|
|
+VALUES (14, '果园管理', 'MENU_GARDEN', 9, 0, 3, 1, null, 'garden/Gardens', 1, 1, 0, 'kelei', '2024-05-08 17:03:54', 'kelei',
|
|
|
|
+ '2024-05-08 17:03:54');
|