Files
hzhub/hzhub-ai/docs/script/sql/remove_my_task_menu.sql
大壮 4e82f8e1e2 refactor: 从后台管理系统中移除'我的任务'模块
移除原因:
- '我的任务'是业务用户功能,应在业务前台系统而非后台管理系统
- 后台管理系统应专注于系统管理、流程配置和监控功能

修改内容:
1. 移除前端菜单语言配置
   - 删除 zh-CN/menu.json 中的 task 模块
   - 删除 en-US/menu.json 中的 task 模块

2. 创建数据库菜单删除脚本
   - 添加 remove_my_task_menu.sql
   - 删除菜单ID: 11618, 11619, 11629, 11632, 11633
   - 删除相关的角色菜单关联

保留内容:
- 视图文件保留(workflow/task/)以备业务前台系统使用
- 工作流管理功能保留(流程定义、流程监控等)

影响:
- 后台管理系统菜单中不再显示'我的任务'模块
- 需执行SQL脚本删除数据库中的菜单数据

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-03 01:16:03 +00:00

16 lines
649 B
SQL
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
-- ========================================
-- 删除"我的任务"模块菜单(应在业务前台而非后台管理)
-- 执行时间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);