-- V69: 修复活动更新审批模板为PRD要求的两级审批（运营经理→运营总监）
-- PRD要求: 活动更新需要两级审批
-- 修复原因: 之前模板只有一级审批

-- 1. 更新活动更新审批模板为两级审批（运营经理→运营总监）
UPDATE sys_approval_flow SET
    nodes = '[{"nodeIndex":1,"nodeName":"运营经理审核","approverType":"ROLE","approverCodes":["operation_manager"]},{"nodeIndex":2,"nodeName":"运营总监审核","approverType":"ROLE","approverCodes":["operation_director"]}]'
WHERE trigger_event = 'ACTIVITY_UPDATE' AND flow_code = 'ACTIVITY_UPDATE';

-- 2. 确认更新结果（用于验证）
-- SELECT flow_code, flow_name, trigger_event, nodes FROM sys_approval_flow WHERE trigger_event = 'ACTIVITY_UPDATE';
