Skip to content

Update menu sort in init test sql #661

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 29 additions & 29 deletions backend/sql/mysql/init_test_data.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2,35 +2,35 @@ insert into sys_dept (id, name, sort, leader, phone, email, status, del_flag, pa
values (1, '测试', 0, null, null, null, 1, 0, null, '2025-05-26 17:13:45', null);

insert into fba.sys_menu (id, title, name, path, sort, icon, type, component, perms, status, display, cache, link, remark, parent_id, created_time, updated_time)
values (1, '概览', 'Dashboard', 'dashboard', 0, 'ant-design:dashboard-outlined', 0, null, null, 1, 0, 1, '', null, null, '2025-06-09 17:26:18', null),
(2, '系统管理', 'System', 'system', 0, 'eos-icons:admin', 0, null, null, 1, 0, 1, '', null, null, '2025-06-09 17:30:01', null),
(3, '系统自动化', 'Automation', 'automation', 0, 'material-symbols:automation', 0, null, null, 1, 0, 1, '', null, null, '2025-06-09 17:31:41', null),
(4, '日志管理', 'Log', 'log', 0, 'carbon:cloud-logging', 0, null, null, 1, 0, 1, '', null, null, '2025-06-09 17:32:34', null),
(5, '系统监控', 'Monitor', 'monitor', 0, 'mdi:monitor-eye', 0, null, null, 1, 0, 1, '', null, null, '2025-06-09 17:33:29', null),
(6, '项目', 'Project', 'fba', 0, 'https://wu-clan.github.io/picx-images-hosting/logo/fba.png', 0, null, null, 1, 0, 1, '', null, null, '2025-06-09 17:35:41', null),
(7, '分析页', 'Analytics', 'analytics', 0, 'lucide:area-chart', 1, '/dashboard/analytics/index', null, 1, 0, 1, '', null, 1, '2025-06-09 17:54:29', null),
(8, '工作台', 'Workspace', 'workspace', 1, 'carbon:workspace', 1, '/dashboard/workspace/index', null, 1, 0, 1, '', null, 1, '2025-06-09 17:57:09', null),
(9, '文档', 'Document', null, 0, 'lucide:book-open-text', 4, null, null, 1, 0, 1, 'https://fastapi-practices.github.io/fastapi_best_architecture_docs', null, 6, '2025-06-09 17:59:44', null),
(10, 'Github', 'Github', null, 0, 'ant-design:github-filled', 4, null, null, 1, 0, 1, 'https://github.com/fastapi-practices/fastapi_best_architecture', null, 6, '2025-06-09 18:00:50', null),
(11, 'Apifox', 'Apifox', 'apifox', 0, 'simple-icons:apifox', 3, null, null, 1, 0, 1, 'https://apifox.com/apidoc/shared-28a93f02-730b-4f33-bb5e-4dad92058cc0', null, 6, '2025-06-09 18:01:39', null),
(12, '部门管理', 'SysDept', 'sys-dept', 0, 'mingcute:department-line', 1, '/system/dept/index', null, 1, 0, 1, '', null, 2, '2025-06-09 18:03:17', null),
(13, '用户管理', 'SysUser', 'sys-user', 0, 'ant-design:user-outlined', 1, '/system/user/index', null, 1, 0, 1, '', null, 2, '2025-06-09 18:03:54', null),
(14, '角色管理', 'SysRole', 'sys-role', 0, 'carbon:user-role', 1, '/system/role/index', null, 1, 0, 1, '', null, 2, '2025-06-09 18:04:47', null),
(15, '菜单管理', 'SysMenu', 'sys-menu', 0, 'ant-design:menu-outlined', 1, '/system/menu/index', null, 1, 0, 1, '', null, 2, '2025-06-09 18:05:31', null),
(16, '数据权限', 'SysDataPermission', 'sys-data-permission', 0, 'icon-park-outline:permissions', 0, null, null, 1, 0, 1, '', null, 2, '2025-06-09 18:07:04', null),
(17, '数据范围', 'SysDataScope', 'sys-data-scope', 0, 'cuida:scope-outline', 1, '/system/data-permission/scope/index', null, 1, 0, 1, '', null, 16, '2025-06-09 18:07:46', null),
(18, '数据规则', 'SysDataRule', 'sys-data-rule', 0, 'material-symbols:rule', 1, '/system/data-permission/rule/index', null, 1, 0, 1, '', null, 16, '2025-06-09 18:08:22', null),
(19, '插件管理', 'SysPlugin', 'sys-plugin', 0, 'clarity:plugin-line', 1, '/system/plugin/index', null, 1, 0, 1, '', null, 2, '2025-06-09 18:09:12', null),
(20, '参数管理', 'SysConfig', 'sys-config', 0, 'codicon:symbol-parameter', 1, '/system/config/index', null, 1, 0, 1, '', null, 2, '2025-06-09 18:10:20', null),
(21, '字典管理', 'SysDict', 'sys-dict', 0, 'fluent-mdl2:dictionary', 1, '/system/dict/index', null, 1, 0, 1, '', null, 2, '2025-06-09 18:11:10', null),
(22, '通知公告', 'SysNotice', 'sys-notice', 0, 'fe:notice-push', 1, '/system/notice/index', null, 1, 0, 1, '', null, 2, '2025-06-09 18:11:38', null),
(23, '代码生成', 'CodeGenerator', 'code-generator', 0, 'tabler:code', 1, '/automation/code-generator/index', null, 1, 0, 1, '', null, 3, '2025-06-09 18:12:38', null),
(24, '任务调度', 'Scheduler', 'scheduler', 0, 'ix:scheduler', 1, '/automation/scheduler/index', null, 1, 0, 1, '', null, 3, '2025-06-09 18:13:19', null),
(25, '登录日志', 'LoginLog', 'login', 0, 'mdi:login', 1, '/log/login/index', null, 1, 0, 1, '', null, 4, '2025-06-09 18:14:35', null),
(26, '操作日志', 'OperaLog', 'opera', 0, 'carbon:operations-record', 1, '/log/opera/index', null, 1, 0, 1, '', null, 4, '2025-06-09 18:15:26', null),
(27, '在线用户', 'Online', 'online', 0, 'wpf:online', 1, '/monitor/online/index', null, 1, 0, 1, '', null, 5, '2025-06-09 18:17:12', null),
(28, 'Redis', 'Redis', 'redis', 0, 'devicon:redis', 1, '/monitor/redis/index', null, 1, 0, 1, '', null, 5, '2025-06-09 18:17:42', null),
(29, 'Server', 'Server', 'server', 0, 'mdi:server-outline', 1, '/monitor/server/index', null, 1, 0, 1, '', null, 5, '2025-06-09 18:18:12', null),
values (1, '概览', 'Dashboard', 'dashboard', 0, 'ant-design:dashboard-outlined', 0, null, null, 1, 1, 1, '', null, null, '2025-06-09 17:26:18', null),
(2, '系统管理', 'System', 'system', 1, 'eos-icons:admin', 0, null, null, 1, 1, 1, '', null, null, '2025-06-09 17:30:01', null),
(3, '系统自动化', 'Automation', 'automation', 2, 'material-symbols:automation', 0, null, null, 1, 1, 1, '', null, null, '2025-06-09 17:31:41', null),
(4, '日志管理', 'Log', 'log', 3, 'carbon:cloud-logging', 0, null, null, 1, 1, 1, '', null, null, '2025-06-09 17:32:34', null),
(5, '系统监控', 'Monitor', 'monitor', 4, 'mdi:monitor-eye', 0, null, null, 1, 1, 1, '', null, null, '2025-06-09 17:33:29', null),
(6, '项目', 'Project', 'fba', 5, 'https://wu-clan.github.io/picx-images-hosting/logo/fba.png', 0, null, null, 1, 1, 1, '', null, null, '2025-06-09 17:35:41', null),
(7, '分析页', 'Analytics', 'analytics', 0, 'lucide:area-chart', 1, '/dashboard/analytics/index', null, 1, 1, 1, '', null, 1, '2025-06-09 17:54:29', null),
(8, '工作台', 'Workspace', 'workspace', 1, 'carbon:workspace', 1, '/dashboard/workspace/index', null, 1, 1, 1, '', null, 1, '2025-06-09 17:57:09', null),
(9, '文档', 'Document', null, 1, 'lucide:book-open-text', 4, null, null, 1, 1, 1, 'https://fastapi-practices.github.io/fastapi_best_architecture_docs', null, 6, '2025-06-09 17:59:44', null),
(10, 'Github', 'Github', null, 2, 'ant-design:github-filled', 4, null, null, 1, 1, 1, 'https://github.com/fastapi-practices/fastapi_best_architecture', null, 6, '2025-06-09 18:00:50', null),
(11, 'Apifox', 'Apifox', 'apifox', 3, 'simple-icons:apifox', 3, null, null, 1, 1, 1, 'https://apifox.com/apidoc/shared-28a93f02-730b-4f33-bb5e-4dad92058cc0', null, 6, '2025-06-09 18:01:39', null),
(12, '部门管理', 'SysDept', 'sys-dept', 1, 'mingcute:department-line', 1, '/system/dept/index', null, 1, 1, 1, '', null, 2, '2025-06-09 18:03:17', null),
(13, '用户管理', 'SysUser', 'sys-user', 2, 'ant-design:user-outlined', 1, '/system/user/index', null, 1, 1, 1, '', null, 2, '2025-06-09 18:03:54', null),
(14, '角色管理', 'SysRole', 'sys-role', 3, 'carbon:user-role', 1, '/system/role/index', null, 1, 1, 1, '', null, 2, '2025-06-09 18:04:47', null),
(15, '菜单管理', 'SysMenu', 'sys-menu', 4, 'ant-design:menu-outlined', 1, '/system/menu/index', null, 1, 1, 1, '', null, 2, '2025-06-09 18:05:31', null),
(16, '数据权限', 'SysDataPermission', 'sys-data-permission', 5, 'icon-park-outline:permissions', 0, null, null, 1, 1, 1, '', null, 2, '2025-06-09 18:07:04', null),
(17, '数据范围', 'SysDataScope', 'sys-data-scope', 6, 'cuida:scope-outline', 1, '/system/data-permission/scope/index', null, 1, 1, 1, '', null, 16, '2025-06-09 18:07:46', null),
(18, '数据规则', 'SysDataRule', 'sys-data-rule', 7, 'material-symbols:rule', 1, '/system/data-permission/rule/index', null, 1, 1, 1, '', null, 16, '2025-06-09 18:08:22', null),
(19, '插件管理', 'SysPlugin', 'sys-plugin', 8, 'clarity:plugin-line', 1, '/system/plugin/index', null, 1, 1, 1, '', null, 2, '2025-06-09 18:09:12', null),
(20, '参数管理', 'SysConfig', 'sys-config', 9, 'codicon:symbol-parameter', 1, '/system/config/index', null, 1, 1, 1, '', null, 2, '2025-06-09 18:10:20', null),
(21, '字典管理', 'SysDict', 'sys-dict', 10, 'fluent-mdl2:dictionary', 1, '/system/dict/index', null, 1, 1, 1, '', null, 2, '2025-06-09 18:11:10', null),
(22, '通知公告', 'SysNotice', 'sys-notice', 11, 'fe:notice-push', 1, '/system/notice/index', null, 1, 1, 1, '', null, 2, '2025-06-09 18:11:38', null),
(23, '代码生成', 'CodeGenerator', 'code-generator', 1, 'tabler:code', 1, '/automation/code-generator/index', null, 1, 1, 1, '', null, 3, '2025-06-09 18:12:38', null),
(24, '任务调度', 'Scheduler', 'scheduler', 2, 'ix:scheduler', 1, '/automation/scheduler/index', null, 1, 1, 1, '', null, 3, '2025-06-09 18:13:19', null),
(25, '登录日志', 'LoginLog', 'login', 1, 'mdi:login', 1, '/log/login/index', null, 1, 1, 1, '', null, 4, '2025-06-09 18:14:35', null),
(26, '操作日志', 'OperaLog', 'opera', 2, 'carbon:operations-record', 1, '/log/opera/index', null, 1, 1, 1, '', null, 4, '2025-06-09 18:15:26', null),
(27, '在线用户', 'Online', 'online', 1, 'wpf:online', 1, '/monitor/online/index', null, 1, 1, 1, '', null, 5, '2025-06-09 18:17:12', null),
(28, 'Redis', 'Redis', 'redis', 2, 'devicon:redis', 1, '/monitor/redis/index', null, 1, 1, 1, '', null, 5, '2025-06-09 18:17:42', null),
(29, 'Server', 'Server', 'server', 3, 'mdi:server-outline', 1, '/monitor/server/index', null, 1, 1, 1, '', null, 5, '2025-06-09 18:18:12', null),
(30, '新增', 'AddSysDept', null, 0, null, 2, null, 'sys:dept:add', 1, 0, 1, '', null, 12, '2025-06-09 18:21:17', null),
(31, '修改', 'EditSysDept', null, 0, null, 2, null, 'sys:dept:edit', 1, 0, 1, '', null, 12, '2025-06-09 18:22:01', null),
(32, '删除', 'DeleteSysDept', null, 0, null, 2, null, 'sys:dept:del', 1, 0, 1, '', null, 12, '2025-06-09 18:22:39', null),
Expand Down
Loading