From ab1ce4e7d9feb6e1da8db8abf0deb552afddc7d6 Mon Sep 17 00:00:00 2001
From: whyclxw <810412026@qq.com>
Date: 星期五, 20 六月 2025 15:33:26 +0800
Subject: [PATCH] 预警分析管理-切换时间间隔和副属性/查询所有的属性对应关系

---
 src/main/java/com/whyc/controller/AnalysisAlmController.java |   18 ++++++++++++++++--
 1 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/whyc/controller/AnalysisAlmController.java b/src/main/java/com/whyc/controller/AnalysisAlmController.java
index 0edd572..3b06e08 100644
--- a/src/main/java/com/whyc/controller/AnalysisAlmController.java
+++ b/src/main/java/com/whyc/controller/AnalysisAlmController.java
@@ -1,5 +1,6 @@
 package com.whyc.controller;
 
+import com.whyc.dto.AnalysisAlm.AnalysisChangeRes;
 import com.whyc.dto.Param.AlmAnalyseDto;
 import com.whyc.dto.Response;
 import com.whyc.service.AlmAnalysisParamService;
@@ -44,7 +45,20 @@
 
     @GetMapping("getHisRealInAlm")
     @ApiOperation("棰勮鍒嗘瀽绠$悊-鐢垫簮涓诲睘鎬у拰鍒嗘瀽灞炴��")
-    public Response getHisRealInAlm(@RequestParam Integer battgroupId,@RequestParam Integer powerId,@RequestParam String startTime,@RequestParam(required = false) Integer almId,@RequestParam(required = false) Integer intervalTime) throws ParseException, InterruptedException {
-        return almAnalysisParamService.getHisRealInAlm(battgroupId,powerId,startTime,almId,intervalTime);
+    public Response getHisRealInAlm(@RequestParam Integer battgroupId,@RequestParam Integer powerId,@RequestParam String startTime,@RequestParam(required = false) Integer almId) throws ParseException, InterruptedException {
+        return almAnalysisParamService.getHisRealInAlm(battgroupId,powerId,startTime,almId);
     }
+
+    @PostMapping("getHisRealWithChage")
+    @ApiOperation("棰勮鍒嗘瀽绠$悊-鍒囨崲鏃堕棿闂撮殧鍜屽壇灞炴��")
+    public Response getHisRealWithChage(@RequestBody AnalysisChangeRes res) throws ParseException, InterruptedException {
+        return almAnalysisParamService.getHisRealWithChage(res);
+    }
+
+    @PostMapping("getAlmSummaryParam")
+    @ApiOperation("棰勮鍒嗘瀽绠$悊-鏌ヨ鎵�鏈夌殑灞炴�у搴斿叧绯�")
+    public Response getAlmSummaryParam(){
+        return almAnalysisParamService.getAlmSummaryParam();
+    }
+
 }
\ No newline at end of file

--
Gitblit v1.9.1