feat(#106): 新增驾驶舱设备统计轻量接口 #107

Merged
Lijianping merged 1 commit from feat/106-bi-device-stats-lite into main 2026-11-09 18:50:15 +08:00
Collaborator

变更摘要

  • 新增 GET /txys/bi/device-stats,复用 buildDeviceStats(物联台账口径)
  • 供驾驶舱首屏快速展示设备四格

自测步骤

  • 登录后请求 /txys/bi/device-stats,四类计数与台账大致一致
  • 与 dashboard.devices 字段一致
  • CI 编译通过

文档影响

工作区 docs/API与错误码.md 已登记该路径(本地聚合文档)

Closes #106

## 变更摘要 - 新增 `GET /txys/bi/device-stats`,复用 `buildDeviceStats`(物联台账口径) - 供驾驶舱首屏快速展示设备四格 ## 自测步骤 - [ ] 登录后请求 `/txys/bi/device-stats`,四类计数与台账大致一致 - [ ] 与 `dashboard.devices` 字段一致 - [ ] CI 编译通过 ## 文档影响 工作区 `docs/API与错误码.md` 已登记该路径(本地聚合文档) Closes #106
feat(#106): 新增驾驶舱设备统计轻量接口
All checks were successful
CI / backend-compile (pull_request) Successful in 7m29s
f43682cb78
资产四格可单独拉取,不必等待全量 dashboard。

Co-authored-by: Cursor <cursoragent@cursor.com>
Lijianping deleted branch feat/106-bi-device-stats-lite 2026-11-09 18:50:15 +08:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jiaoce/xm_txys2_back!107
No description provided.