From e16302f9d475c7cc4dd18c5abf1a23cb5502e362 Mon Sep 17 00:00:00 2001
From: whyclxw <810412026@qq.com>
Date: 星期三, 28 五月 2025 14:57:56 +0800
Subject: [PATCH] 密码验证加-

---
 src/main/java/com/whyc/controller/PwrDevDataHistoryGWController.java |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/src/main/java/com/whyc/controller/PwrDevDataHistoryGWController.java b/src/main/java/com/whyc/controller/PwrDevDataHistoryGWController.java
index aefe0c0..93a2001 100644
--- a/src/main/java/com/whyc/controller/PwrDevDataHistoryGWController.java
+++ b/src/main/java/com/whyc/controller/PwrDevDataHistoryGWController.java
@@ -6,10 +6,7 @@
 import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiOperation;
 import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.web.bind.annotation.PostMapping;
-import org.springframework.web.bind.annotation.RequestBody;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.RestController;
+import org.springframework.web.bind.annotation.*;
 
 import javax.annotation.Resource;
 import java.text.ParseException;
@@ -28,4 +25,10 @@
         return service.getListByParam(param);
     }
 
+    @GetMapping("getAvgLoadCurr")
+    @ApiOperation("鑾峰彇褰撳墠澶╁钩鍧囪礋杞界數娴�")
+    public Response getAvgLoadCurr(@RequestParam Integer powerId) {
+        return service.getAvgLoadCurr(powerId);
+    }
+
 }

--
Gitblit v1.9.1