feat(M08-B): 补保洁统计明细

This commit is contained in:
Codex
2026-06-30 10:24:39 +08:00
parent f59beb0e75
commit e48d1f0301
15 changed files with 616 additions and 46 deletions
@@ -162,3 +162,12 @@
- 权限:`cleaning.settlement.read``tenant.manage``PLATFORM_ADMIN`
- 说明:按租户和门店数据范围读取结算单详情,返回结算单主信息与固化结算明细。
- 返回:`settlement``items`;明细包含任务号、订单号、门店、房间、保洁员、成员分账金额和完成时间。
## 2026-06-30 统计明细增量
- `GET /admin-api/cleaning/statistics`
- 登录:必须。
- 权限:`cleaning.task.read``cleaning.settlement.read`,或 `tenant.manage` / `PLATFORM_ADMIN`
- Query`from?: string``to?: string``storeId?: string`
- 说明:按登录管理员租户与门店范围统计保洁运营状态,支持日期和门店筛选。
- 返回:`summary``byStatus``byStore``settlements``members`,覆盖任务状态、门店明细、结算口径和成员分账待结算金额。