From 02d965a2ff0cb5d415cedceacd2ae90c7ec1ac39 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期六, 10 五月 2025 09:03:50 +0800 Subject: [PATCH] 解决开关阀记录数据因重绑定或改RTU地址而引起的地址变更问题 --- pipIrr-platform/pipIrr-web/pipIrr-web-temp/src/main/java/com/dy/pipIrrTemp/changeSome/ChSomeCtrl.java | 17 ++++++++++++++--- 1 files changed, 14 insertions(+), 3 deletions(-) diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-temp/src/main/java/com/dy/pipIrrTemp/changeSome/ChSomeCtrl.java b/pipIrr-platform/pipIrr-web/pipIrr-web-temp/src/main/java/com/dy/pipIrrTemp/changeSome/ChSomeCtrl.java index 2ebaaf0..fea76f5 100644 --- a/pipIrr-platform/pipIrr-web/pipIrr-web-temp/src/main/java/com/dy/pipIrrTemp/changeSome/ChSomeCtrl.java +++ b/pipIrr-platform/pipIrr-web/pipIrr-web-temp/src/main/java/com/dy/pipIrrTemp/changeSome/ChSomeCtrl.java @@ -35,9 +35,6 @@ } - - - /////////////////////////////////////////// // // 鍙栨按鍙g浉鍏冲彇姘撮噺 @@ -54,6 +51,20 @@ return BaseResponseUtils.buildSuccess(true); } + /** + * 閲嶆柊缁熻鍙栨按鍙f湀鍙栨按閲� + * @return + */ + @GetMapping(path = "reStatisticsAllIntakeDayAmount") + @SsoAop() + public BaseResponse<Boolean> reStatisticsAllIntakeDayAmount() throws Exception{ + // 涓嶈兘鍒犻櫎锛屼互淇濈暀鍘熷id + // this.intakeAmountSv.deleteAllIntakeAmountDay(); + this.intakeAmountSv.statisticsIntakeAmountDay(); + this.intakeAmountSv.deleteSomeIntakeAmountDay(); + return BaseResponseUtils.buildSuccess(true); + } + /** * 閲嶆柊缁熻鍙栨按鍙f湀鍙栨按閲� -- Gitblit v1.8.0