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 21dc77e3e..31d105ec3 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 @@ -202,3 +202,7 @@ UPDATE healthlink_his.sys_menu SET status = '1', visible = '1' WHERE menu_id = 2 -- 394 医保结算 → 与20248医保结算重复 DELETE FROM healthlink_his.sys_role_menu WHERE menu_id IN (216, 229, 305, 308, 341, 358, 359, 394); DELETE FROM healthlink_his.sys_menu WHERE menu_id IN (216, 229, 305, 308, 341, 358, 359, 394); + +-- 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';