From 650ebac32c733f2927ac2b88367bb0dcbc9be505 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=8E=E4=BD=97?= Date: Sun, 7 Jun 2026 14:44:57 +0800 Subject: [PATCH] =?UTF-8?q?fix(V11):=20=E5=90=AF=E7=94=A84=E4=B8=AA?= =?UTF-8?q?=E6=A0=87=E5=87=86=E7=B3=BB=E7=BB=9F=E7=AE=A1=E7=90=86=E8=8F=9C?= =?UTF-8?q?=E5=8D=95+=E6=B8=85=E7=90=86=E9=87=8D=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 启用: 103部门管理、104岗位管理、106参数设置、115表单构建 - 删除: 2162门户(重复)、20227住院门户(重复)、20266仪表盘(路由冲突)、300医嘱管理(重复) - 最终状态: 356个路由, 48个顶级目录, 登录正常 --- .../db/migration/V11__menu_cleanup_placeholder_paths.sql | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/healthlink-his-server/healthlink-his-application/src/main/resources/db/migration/V11__menu_cleanup_placeholder_paths.sql b/healthlink-his-server/healthlink-his-application/src/main/resources/db/migration/V11__menu_cleanup_placeholder_paths.sql index 31d105ec3..2abb0bba6 100644 --- a/healthlink-his-server/healthlink-his-application/src/main/resources/db/migration/V11__menu_cleanup_placeholder_paths.sql +++ b/healthlink-his-server/healthlink-his-application/src/main/resources/db/migration/V11__menu_cleanup_placeholder_paths.sql @@ -206,3 +206,10 @@ DELETE FROM healthlink_his.sys_menu WHERE menu_id IN (216, 229, 305, 308, 341, 3 -- 9. 修正V10新增菜单的is_frame值(原始菜单是'1',新增菜单错误设为'0'导致路由路径缺少/前缀) -- getRouterPath()方法只在is_frame='1'时才为顶级目录添加/前缀 UPDATE healthlink_his.sys_menu SET is_frame = '1' WHERE menu_id >= 20001 AND is_frame = '0'; + +-- 10. 启用标准系统管理菜单 +UPDATE healthlink_his.sys_menu SET status = '0', visible = '0' WHERE menu_id IN (103, 104, 106, 115); + +-- 11. 删除重复/无用菜单 +DELETE FROM healthlink_his.sys_role_menu WHERE menu_id IN (2162, 20227, 20266, 300); +DELETE FROM healthlink_his.sys_menu WHERE menu_id IN (2162, 20227, 20266, 300);