Skip to content

feat(menu): 菜单结构迁移SQL脚本#75

Merged
LeonDev1024 merged 1 commit into
masterfrom
refactor/map-boundary-infra-migration
Apr 15, 2026
Merged

feat(menu): 菜单结构迁移SQL脚本#75
LeonDev1024 merged 1 commit into
masterfrom
refactor/map-boundary-infra-migration

Conversation

@LeonDev1024

@LeonDev1024 LeonDev1024 commented Apr 15, 2026

Copy link
Copy Markdown
Owner

Summary

新增数据库菜单迁移脚本,配合前端菜单重构。

SQL 脚本

文件 说明
v3.0_nav_restructure.sql 初始菜单结构:部署管理、运维管理、运营分析
v3.2_ops_grouping.sql 运维管理子目录(已废弃,请用 v3.3)
v3.3_fix_ops_nesting.sql 修复运维管理双层嵌套 URL 问题
v3.4_system_restructure.sql 系统管理/系统监控子目录重组
v3.5_component_paths.sql 组件路径更新(配合前端 views 目录重构)

执行顺序

SOURCE opentcs_menu_v3.0_nav_restructure.sql;
SOURCE opentcs_menu_v3.3_fix_ops_nesting.sql;
SOURCE opentcs_menu_v3.4_system_restructure.sql;
SOURCE opentcs_menu_v3.5_component_paths.sql;

配合前端 PR

需要与前端 opentcs-plus-web PR#33 配合使用。

Test plan

  • 在测试环境执行 SQL 脚本
  • 验证菜单结构正确
  • 配合前端测试顶部导航分类切换

配合前端菜单重构,新增数据库迁移脚本:

- v3.0_nav_restructure.sql: 初始菜单结构(部署/运维/运营分析)
- v3.2_ops_grouping.sql: 运维管理子目录(已标记废弃)
- v3.3_fix_ops_nesting.sql: 修复运维管理双层嵌套
- v3.4_system_restructure.sql: 系统管理/系统监控子目录
- v3.5_component_paths.sql: 组件路径更新(配合前端目录重构)
@LeonDev1024 LeonDev1024 merged commit 31d379e into master Apr 15, 2026
2 checks passed
@LeonDev1024 LeonDev1024 deleted the refactor/map-boundary-infra-migration branch April 15, 2026 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant