From c73d84587429f1726e1083414d9be0b92fa6b147 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=85=E5=BF=B5?= Date: Fri, 7 Aug 2026 17:40:56 +0800 Subject: [PATCH] =?UTF-8?q?docs(spec):=205=20=E6=95=B0=E5=AD=97=20modal=20?= =?UTF-8?q?spec=E2=80=94=E2=80=94=C2=A78=20=E7=B4=A2=E5=BC=95=E8=A1=A8?= =?UTF-8?q?=E8=BF=B0=E4=B8=8E=E6=97=A0=20Alembic=20=E5=AF=B9=E9=BD=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude --- .../specs/2026-08-07-yunke-staff-chat-stats-design.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/superpowers/specs/2026-08-07-yunke-staff-chat-stats-design.md b/docs/superpowers/specs/2026-08-07-yunke-staff-chat-stats-design.md index 6a3c5ed..0eea57b 100644 --- a/docs/superpowers/specs/2026-08-07-yunke-staff-chat-stats-design.md +++ b/docs/superpowers/specs/2026-08-07-yunke-staff-chat-stats-design.md @@ -104,7 +104,7 @@ - **数据完整性**:smoke.db 微信消息稀疏(4 员工×6 客户×399 条),数字小但机制成立;真实部署数据全后数字才有意义。 - **跟进口径近似**:与云客可能不一致(已声明)。 -- **性能**:每行一次聚合;大消息量下需索引 `(owner_account_id, timestamp)`(plan 确认/加)。 +- **性能**:每行一次聚合;现有复合索引 `ix_message_channel_owner_talker_time(channel, owner_account_id, talker_id, timestamp)` 已覆盖本查询(plan 用 EXPLAIN 验证即可,**不加新索引/无 Alembic**)。 - **StaffList 行 ↔ owner_account_id 映射**:确认 StaffList 行有员工微信号字段(plan 核实 Plan 1 的 row shape)。 ## 9. 文件清单(预期)