feat(#92): 离线定时判定、字典天数与 GIS 15432 #93

Merged
Lijianping merged 1 commit from feat/92-online-status-gis-port into main 2026-11-05 18:12:28 +08:00
Collaborator

变更摘要

  • 新增 OnlineStatusJob/Service:按最新上报时间刷新站/设备 onlineFlag
  • 离线天数读字典 txys_iot_offline_days(默认 1)
  • TxysRuntimeStatus:测值不再超时判离线;statusLegend「报警」
  • application-txys.yml:PostGIS 改为 204:15432
  • 简报分类:电流/电压优先,避免误判流量

自测步骤

  1. 确认字典项存在且值为 1
  2. 启动后日志含 OnlineStatus refresh
  3. GIS geojson layers=pipe 有 features
  4. 在线设备 status 不为因测点超时造成的 offline

文档影响

  • 对齐 PRD MON.08.4;需在 204 执行字典 patch(已执行可幂等)

Closes #92

## 变更摘要 - 新增 OnlineStatusJob/Service:按最新上报时间刷新站/设备 onlineFlag - 离线天数读字典 `txys_iot_offline_days`(默认 1) - TxysRuntimeStatus:测值不再超时判离线;statusLegend「报警」 - application-txys.yml:PostGIS 改为 204:15432 - 简报分类:电流/电压优先,避免误判流量 ## 自测步骤 1. 确认字典项存在且值为 1 2. 启动后日志含 OnlineStatus refresh 3. GIS geojson layers=pipe 有 features 4. 在线设备 status 不为因测点超时造成的 offline ## 文档影响 - 对齐 PRD MON.08.4;需在 204 执行字典 patch(已执行可幂等) Closes #92
feat(#92): 离线定时判定、字典天数与 GIS 15432
All checks were successful
CI / backend-compile (pull_request) Successful in 10m37s
4929ebd477
站/设备离线由定时任务按最新上报时间刷新;天数读字典 txys_iot_offline_days;测值不再超时判离线;PostGIS 改 204:15432;statusLegend 文案改为报警;电流分类避免误判流量。

Co-authored-by: Cursor <cursoragent@cursor.com>
Lijianping deleted branch feat/92-online-status-gis-port 2026-11-05 18:12:28 +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!93
No description provided.