-- 更新菜单名称：将"班级用户管理"改为"学生管理"
-- 注意：执行前请先备份数据！

-- 1. 查看当前菜单配置
SELECT menu_id, menu_name, menu_type, parent_id, order_num, path, component, perms
FROM sys_menu 
WHERE menu_name LIKE '%班级用户管理%' OR menu_name LIKE '%学生管理%'
ORDER BY menu_id;

-- 2. 更新菜单名称
UPDATE sys_menu 
SET menu_name = '学生管理'
WHERE menu_name = '班级用户管理';

-- 3. 验证更新结果
SELECT menu_id, menu_name, menu_type, parent_id, order_num, path, component, perms
FROM sys_menu 
WHERE menu_name = '学生管理'
ORDER BY menu_id;

