From 70178b8a3c4440c569878ad4e32365e151e86b38 Mon Sep 17 00:00:00 2001 From: zch Date: Mon, 30 Sep 2024 15:27:55 +0800 Subject: [PATCH] =?UTF-8?q?add=20-=20=E6=9B=B2=E7=BA=BF=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- .../EmsRecordSteamInstantController.java | 15 ++++++++++++++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4482768..65bb0a1 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -信明橡塑能源&人员工资结算系统后台
+亨通能源&人员工资结算系统后台
分离版-SQLServer数据源
始于3.8.2分离版进行的SQLServer改造,测试无误用于生产环境,保持同步更新
1.(已完成)集成分布式锁、动态多数据源
diff --git a/os-ems/src/main/java/com/os/ems/record/controller/EmsRecordSteamInstantController.java b/os-ems/src/main/java/com/os/ems/record/controller/EmsRecordSteamInstantController.java index 61dcdfa..c67e12e 100644 --- a/os-ems/src/main/java/com/os/ems/record/controller/EmsRecordSteamInstantController.java +++ b/os-ems/src/main/java/com/os/ems/record/controller/EmsRecordSteamInstantController.java @@ -41,7 +41,8 @@ public class EmsRecordSteamInstantController extends BaseController { @GetMapping("/list") public TableDataInfo list(EmsRecordSteamInstant emsRecordSteamInstant) { startPage(); - List list = emsRecordSteamInstantService.selectEmsRecordSteamInstantList(emsRecordSteamInstant); + List list = emsRecordSteamInstantService + .selectEmsRecordSteamInstantList(emsRecordSteamInstant); return getDataTable(list); } @@ -97,4 +98,16 @@ public class EmsRecordSteamInstantController extends BaseController { public AjaxResult remove(@PathVariable Long[] objIds) { return toAjax(emsRecordSteamInstantService.deleteEmsRecordSteamInstantByObjIds(objIds)); } + + /** + * 查询蒸汽实时数据 + * @param emsRecordSteamInstant + * @return + */ + @GetMapping("/steamInstantList") + public AjaxResult steamInstantList(EmsRecordSteamInstant emsRecordSteamInstant) { + List list = emsRecordSteamInstantService + .selectEmsRecordSteamInstantList(emsRecordSteamInstant); + return success(list); + } }