fix: 驾驶舱资产统计设备数按物联台账汇总 #104

Closed
opened 2026-11-09 17:50:33 +08:00 by Lijianping · 0 comments
Collaborator

目标

驾驶舱资产统计设备四格按物联台账 txys_device.device_type 汇总,不再误用监测测点/阀门表导致全 0。目标仓:backend

范围

  • jeecg-boot/jeecg-boot-module/txys-module-biz/.../bi/service/BiDashboardService.java(buildDeviceStats)

不做

  • 不改 frontend / app / txys-*
  • 不改 dashboard 其它 KPI/数字分析口径
  • 不改接口字段名(仍返回 flowMeter / pressureTransmitter / controlValve / electricValve)

验收

  • GET /txys/bi/dashboard 的 result.devices 四类计数来自 txys_device
  • 「电动调流阀」优先于「电动阀」匹配,不被误计入电动阀
  • 有台账数据时驾驶舱四格非全 0
  • 本地 mvn -DskipTests compile 通过(或 CI 绿)

相关文档

  • 工作区 docs/AI单人开发工作流.md
  • 无 API 字段契约变更(仅统计数据源)
## 目标 驾驶舱资产统计设备四格按物联台账 `txys_device.device_type` 汇总,不再误用监测测点/阀门表导致全 0。目标仓:backend ## 范围 - `jeecg-boot/jeecg-boot-module/txys-module-biz/.../bi/service/BiDashboardService.java`(`buildDeviceStats`) ## 不做 - 不改 frontend / app / `txys-*` - 不改 dashboard 其它 KPI/数字分析口径 - 不改接口字段名(仍返回 flowMeter / pressureTransmitter / controlValve / electricValve) ## 验收 - [ ] `GET /txys/bi/dashboard` 的 `result.devices` 四类计数来自 `txys_device` - [ ] 「电动调流阀」优先于「电动阀」匹配,不被误计入电动阀 - [ ] 有台账数据时驾驶舱四格非全 0 - [ ] 本地 `mvn -DskipTests compile` 通过(或 CI 绿) ## 相关文档 - 工作区 `docs/AI单人开发工作流.md` - 无 API 字段契约变更(仅统计数据源)
Sign in to join this conversation.
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#104
No description provided.