-- 订单与发票需要独立查看操作留痕，保持计费与订单菜单为两级结构。
INSERT INTO admin_menus (id, parent_id, title, path, icon, allowed_roles, sort_order, status)
VALUES (315, 300, '订单操作记录', '/order-operation-logs', 'Memo', 'SUPER_ADMIN,FINANCE,OPERATOR,READONLY', 315, 1)
ON DUPLICATE KEY UPDATE
    parent_id = VALUES(parent_id),
    title = VALUES(title),
    path = VALUES(path),
    icon = VALUES(icon),
    allowed_roles = VALUES(allowed_roles),
    sort_order = VALUES(sort_order),
    status = VALUES(status),
    updated_at = CURRENT_TIMESTAMP;
