feat(运营报表): AUG26-015 设备激活与套餐续费日报快照、查询趋势与受控导出
All checks were successful
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Successful in 15m33s

- 新增成对迁移 000231 与三张快照表:日级头行、设备粒度激活行、到期事件粒度续费行,以快照日期为唯一键
- 新增每日 03:30(Asia/Shanghai)日报快照生成任务与幂等整日替换,失败重试沿用同一目标日
- 新增六条受控入口:两张报表的汇总、日/月趋势与受控导出,配套查询层只读快照事实
- 新增 operations_activation 与 operations_renewal 两个导出场景,创建期冻结筛选与可见店铺范围、派发期冻结表头、执行期只按冻结值复核资格
- 采购数量口径按系统内未删除设备数实施并在 PRD 标注,附实测差额依据
- 同步证据链 requirement-evidence.json 与入口能力矩阵、ARCHITECTURE 与验证记录
- 归档 change add-operations-reports 并新建主 Spec openspec/specs/operations-report/spec.md
This commit is contained in:
2026-09-18 09:42:28 +08:00
parent 6333f4ad13
commit 5e78809b93
46 changed files with 5580 additions and 101 deletions

View File

@@ -4483,5 +4483,82 @@
"export-time-filter::三类异步导出的创建期冻结与不扩大范围"
],
"classification": "behavior"
},
{
"entry_type": "http",
"entry": "GET /api/admin/operations-reports/activation-summary",
"capability": "operations-report",
"requirements": [
"operations-report::激活情况指标口径",
"operations-report::报表维度分组与归属冻结",
"operations-report::报表查询与趋势",
"operations-report::报表权限、数据范围与导出冻结"
],
"classification": "behavior"
},
{
"entry_type": "http",
"entry": "GET /api/admin/operations-reports/activation-trend",
"capability": "operations-report",
"requirements": [
"operations-report::激活情况指标口径",
"operations-report::报表维度分组与归属冻结",
"operations-report::报表查询与趋势",
"operations-report::报表权限、数据范围与导出冻结"
],
"classification": "behavior"
},
{
"entry_type": "http",
"entry": "POST /api/admin/operations-reports/activation-summary/export",
"capability": "operations-report",
"requirements": [
"operations-report::激活情况指标口径",
"operations-report::报表权限、数据范围与导出冻结"
],
"classification": "behavior"
},
{
"entry_type": "http",
"entry": "GET /api/admin/operations-reports/package-renewal-summary",
"capability": "operations-report",
"requirements": [
"operations-report::套餐续费指标口径",
"operations-report::报表维度分组与归属冻结",
"operations-report::报表查询与趋势",
"operations-report::报表权限、数据范围与导出冻结"
],
"classification": "behavior"
},
{
"entry_type": "http",
"entry": "GET /api/admin/operations-reports/package-renewal-trend",
"capability": "operations-report",
"requirements": [
"operations-report::套餐续费指标口径",
"operations-report::报表维度分组与归属冻结",
"operations-report::报表查询与趋势",
"operations-report::报表权限、数据范围与导出冻结"
],
"classification": "behavior"
},
{
"entry_type": "http",
"entry": "POST /api/admin/operations-reports/package-renewal-summary/export",
"capability": "operations-report",
"requirements": [
"operations-report::套餐续费指标口径",
"operations-report::报表权限、数据范围与导出冻结"
],
"classification": "behavior"
},
{
"entry_type": "async",
"entry": "constants.TaskTypeOperationsReportSnapshot",
"capability": "operations-report",
"requirements": [
"operations-report::每日报表快照与不回填历史"
],
"classification": "behavior"
}
]