-- ========================================
-- 删除"我的任务"模块菜单（应在业务前台而非后台管理）
-- 执行时间：2026-04-03
-- ========================================

-- 1. 删除角色菜单关联
DELETE FROM sys_role_menu WHERE menu_id IN (11618, 11619, 11629, 11632, 11633);

-- 2. 删除菜单（按子菜单到父菜单的顺序）
DELETE FROM sys_menu WHERE menu_id IN (11619, 11629, 11632, 11633); -- 先删除子菜单
DELETE FROM sys_menu WHERE menu_id = 11618; -- 再删除父菜单

-- 验证删除结果
SELECT menu_id, menu_name, parent_id
FROM sys_menu
WHERE menu_id IN (11618, 11619, 11629, 11632, 11633);