-- 供水 / 燃气 / 排水设施查询菜单复用管网基础设施公共页面 -- 2091、2128、2182 通过 sys_menu.query 固定 networkType;2187 固定 stationType -- 其余目标页本身调用对应业务接口,无需额外 query -- KingbaseES / PostgreSQL 兼容,可重复执行 UPDATE app_user.sys_menu SET component = CASE menu_id WHEN 2091 THEN 'subSystem/pipeNetwork/facilities/pipeNetwork/index' WHEN 2128 THEN 'subSystem/pipeNetwork/facilities/pipeNetwork/index' WHEN 2182 THEN 'subSystem/pipeNetwork/facilities/pipeNetwork/index' WHEN 2187 THEN 'subSystem/pipeNetwork/facilities/pumpStation/index' WHEN 2188 THEN 'subSystem/pipeNetwork/facilities/waterPlant/index' WHEN 2189 THEN 'subSystem/pipeNetwork/facilities/waterSource/index' WHEN 2190 THEN 'subSystem/pipeNetwork/facilities/waterUser/index' END, "query" = CASE menu_id WHEN 2091 THEN '{"networkType":"0"}' WHEN 2128 THEN '{"networkType":"1"}' WHEN 2182 THEN '{"networkType":"2"}' WHEN 2187 THEN '{"stationType":"0"}' WHEN 2188 THEN '' WHEN 2189 THEN '' WHEN 2190 THEN '' END, update_by = 'admin', update_time = CURRENT_TIMESTAMP WHERE menu_id IN (2091, 2128, 2182, 2187, 2188, 2189, 2190);