fix(#45): 补齐 /txys/iot/stations 站点列表与保存接口 #46

Merged
Lijianping merged 1 commit from fix/45-iot-stations-api into main 2026-10-26 18:25:37 +08:00
Collaborator

变更摘要

  • IotController 增加 GET/POST /txys/iot/stations
  • 新增 IotStationService / TxysStation / TxysStationMapper
  • TxysDevice 补充站点归属与类型等字段
  • 新增 txys_station_sqlserver.sql 建表与 RTU 种子

自测步骤

  1. 确认库已执行 jeecg-boot/db/txys-patch/txys_station_sqlserver.sql(若尚未建表)
  2. 重启后端后登录
  3. 打开物联设备页:站点列表可加载,不再报 No static resource txys/iot/stations
  4. 新建/编辑站点可保存

文档影响

  • 工作区 docs/API与错误码.md 已登记 GET/POST /txys/iot/stations(本地聚合 docs,不在本仓)
## 变更摘要 - `IotController` 增加 `GET/POST /txys/iot/stations` - 新增 `IotStationService` / `TxysStation` / `TxysStationMapper` - `TxysDevice` 补充站点归属与类型等字段 - 新增 `txys_station_sqlserver.sql` 建表与 RTU 种子 ## 自测步骤 1. 确认库已执行 `jeecg-boot/db/txys-patch/txys_station_sqlserver.sql`(若尚未建表) 2. 重启后端后登录 3. 打开物联设备页:站点列表可加载,不再报 `No static resource txys/iot/stations` 4. 新建/编辑站点可保存 ## 文档影响 - 工作区 `docs/API与错误码.md` 已登记 `GET/POST /txys/iot/stations`(本地聚合 docs,不在本仓)
fix(#45): 补齐 /txys/iot/stations 站点列表与保存接口
All checks were successful
CI / backend-compile (pull_request) Successful in 7m28s
aa6a333769
Co-authored-by: Cursor <cursoragent@cursor.com>
Lijianping deleted branch fix/45-iot-stations-api 2026-10-26 18:25:37 +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!46
No description provided.