修改场次bug

This commit is contained in:
2026-07-28 10:56:11 +08:00
parent 8a48af6a3b
commit 0e1ac400dc
5 changed files with 181 additions and 1 deletions

View File

@@ -1,5 +1,16 @@
# Progress Log
## 2026-07-28 手机号查询重复排队号码修复
- 查看用户截图,确认同一项目、同一号码由接口返回两次,且 revision 不同。
- 新增真实 PostgreSQL 回归 `TestInternalPhoneLookupUsesLatestActiveSessionPerProject`
- 红灯命令:`go test ./internal/httpapi -run '^TestInternalPhoneLookupUsesLatestActiveSessionPerProject$' -count=1`
- 修复前结果:稳定返回两条 `00001`revision 3、1测试按预期失败。
- 修改 `statusByPhone`:每个项目仅选择 `business_date` 最新的活动场次。
- 回归扩展为旧场次 `00001` 加当前场次 `00001/00002`,验证返回当前两张不同号码且不返回旧场次同号。
- 真实 PostgreSQL 聚焦回归通过;临时测试数据库残留为 0。
- `go test ./... -count=1``go vet ./...``go build ./...``git diff --check` 均通过。
## 2026-07-16 - Phase 42 运营统计模块标题区呼吸空间优化
- 已读取用户提供的看板截图,并按 Product Design Audit 规范完成证据定位:四个模块的标题、副标题与卡片边框距离过小,标题区与首个数据区缺少缓冲。