-- 站内提醒箱扩展三类消息(2026-11-20,过程性文档《站内信类型与角色矩阵》)。 -- -- 本功能**不新增表、不新增列**:新 kind 落在既有 `bos_inbox_message`, -- 幂等仍靠 `uq_bos_inbox_message_recipient (kind, ref_id, user_id)`。 -- 本文件只做 COMMENT 校正(可重复执行)。 -- -- 新增: -- customer_region_transfer 客户跨区域改挂七要素通知(action=open_customer) -- ticket_awaiting_confirm 故障/售后待提交方确认(action=confirm_close) -- completion_rejected 竣工驳回待重推(action=open_ticket;状态码仍是 rejected) COMMENT ON COLUMN bos_inbox_message.kind IS '消息类型:contract_renewal=合同续签提醒;ticket_urge=工单站内催办;customer_region_transfer=客户改挂区域通知;ticket_awaiting_confirm=故障/售后待确认;completion_rejected=竣工驳回待重推'; COMMENT ON COLUMN bos_inbox_message.ref_type IS '关联对象类型:contract=续签;ticket=催办/待确认/竣工驳回;customer=改挂通知'; COMMENT ON COLUMN bos_inbox_message.ref_id IS '关联对象 ID:续签=合同 ID;催办={ticket_id}:{业务日};待确认=ticket_id;竣工驳回={ticket_id}:{reject_seq};改挂={customer_id}:{transfer_id}'; COMMENT ON COLUMN bos_inbox_message.action IS '读信人可执行动作:create_renewal_ticket=生成续签单;open_ticket=打开工单;open_customer=打开客户档案;confirm_close=确认关闭工单';