Dv1
This commit is contained in:
25
sql/flood_menu_update.sql
Normal file
25
sql/flood_menu_update.sql
Normal file
@@ -0,0 +1,25 @@
|
||||
-- ----------------------------
|
||||
-- 洪水知识库系统菜单路径修正SQL
|
||||
-- 修正知识库管理和应急预案管理的路由路径
|
||||
-- ----------------------------
|
||||
|
||||
-- 1. 修正知识库管理的路由路径
|
||||
-- 从: flood/knowledgeBase/index
|
||||
-- 改为: flood/knowledge/index
|
||||
update sys_menu
|
||||
set component = 'flood/knowledge/index',
|
||||
update_time = sysdate()
|
||||
where menu_id = '2001' and component = 'flood/knowledgeBase/index';
|
||||
|
||||
-- 2. 修正应急预案管理的路由路径
|
||||
-- 从: flood/emergencyPlan/index
|
||||
-- 改为: flood/emergency/index
|
||||
update sys_menu
|
||||
set component = 'flood/emergency/index',
|
||||
update_time = sysdate()
|
||||
where menu_id = '2002' and component = 'flood/emergencyPlan/index';
|
||||
|
||||
-- ----------------------------
|
||||
-- 验证修改结果(可选,用于检查)
|
||||
-- ----------------------------
|
||||
-- select menu_id, menu_name, component from sys_menu where menu_id in ('2001', '2002', '2003', '2004');
|
||||
Reference in New Issue
Block a user