docs(phase-03.1): evolve PROJECT.md after phase completion

This commit is contained in:
2026-03-28 13:42:29 +08:00
parent 9995dcd0a3
commit da8aedc96b

View File

@@ -14,6 +14,15 @@
*以下功能已在代码库中实现,视为已验证的基础能力:*
**Validated in Phase 03.1: 设备 sync-info 读取链路修复**
- ✓ 设备管理列表/详情返回 online_status/last_online_time/software_version/switch_mode/last_gateway_sync_at — DEVICE-02/03
- ✓ 设备绑卡列表ListBindings返回 is_current 字段 — DEVICE-03
- ✓ 资产 Resolve/Refresh BoundCardInfo 包含 is_currentisCurrentMap 模式) — DEVICE-03
- ✓ admin 资产解析接口AssetResolveResponse返回 5 个 DB 缓存字段 — DEVICE-02/03
- ✓ GetRealtimeStatus device 类型实时调用 Gateway sync-info返回 DeviceGatewayInfo — DEVICE-04
- ✓ C 端 GetAssetInfo device_realtime 从真实 Gateway 数据填充(删除 buildMockDeviceRealtime— DEVICE-04
- ✓ Gateway 失败降级IMEI 为空不发起调用,失败只记 Warndevice_realtime 返回 null — DEVICE-04
**Validated in Phase 2: PERM/FIN/REALNAME/POLL 修复**
- ✓ 企业账号 Resolve 接口移除错误拦截Refresh 接口新增拦截(只读)— PERM-01/02
- ✓ 提现审批人字段补全approved_by/approved_at— FIN-01
@@ -77,11 +86,12 @@
- [x] C-2提现拒绝 remark 必填校验Reject 缺少 Validate 调用)
- [x] C-3激活配置并发保护两步 UPDATE 无锁,可出现两条 active=true
**方案 D — 设备体系完善***Validated in Phase 3*
**方案 D — 设备体系完善***Validated in Phase 3 + Phase 03.1*
- [x] D-0设备模型字段扩展online_status / last_online_time / software_version 等)
- [x] D-1Gateway sync-info 同步接口对接CurrentIccid 预留结构待填充)
- [x] D-2device_sim_binding 新增 is_current 字段(当前使用卡标识)
- [x] D-3设备 Refresh + 详情接入 sync-info在线状态/固件版本/当前卡实时更新)
- [x] D-读取侧DTO 字段映射补全5个DB缓存字段 + 2处IsCurrent+ GetRealtimeStatus Gateway 实时调用 + C端 mock 替换
**方案 E — 流量体系改革(破坏性,低峰期)**
- [ ] E-1流量详单改为日粒度缓冲新建 tb_card_daily_usageRedis 增量缓存)
@@ -157,7 +167,7 @@
| 流量体系改革独立发布 | 破坏性变更DB 迁移 + Redis 架构),风险隔离 | — Pending |
---
*Last updated: 2026-03-28 after Phase 3 (device-system) completion — DEVICE-01/02/03/04 all validated*
*Last updated: 2026-03-28 after Phase 03.1 (sync-info-phase-3-dto) completion — device reading-side gap fully closed*
## Evolution