From 02ccfc21d5d4f767bbd92ecda89cdfcc3283728c Mon Sep 17 00:00:00 2001 From: whycxzp <glperry@163.com> Date: 星期三, 11 六月 2025 08:38:26 +0800 Subject: [PATCH] Merge branch 'master' of http://118.89.139.230:10101/r/powerIntelligenceSystem into master --- src/main/java/com/whyc/controller/HistoryIdController.java | 41 +++++++++++++++++++++++++++++++++++++++++ 1 files changed, 41 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/whyc/controller/HistoryIdController.java b/src/main/java/com/whyc/controller/HistoryIdController.java new file mode 100644 index 0000000..22e9fd8 --- /dev/null +++ b/src/main/java/com/whyc/controller/HistoryIdController.java @@ -0,0 +1,41 @@ +package com.whyc.controller; + +import com.whyc.dto.Response; +import com.whyc.pojo.db_user.User; +import com.whyc.service.BattRealdataIdService; +import com.whyc.service.StationInfService; +import com.whyc.util.ActionUtil; +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +@RestController +@Api(tags = "鍘嗗彶瀹炴椂绠$悊") +@RequestMapping("hisId") +public class HistoryIdController { + @Autowired + private BattRealdataIdService battHisIdService; + + + @ApiOperation("鑾峰彇鐢垫睜缁勬渶杩戜竴瀛e害鐨勭數鍘嬫暟鎹�") + @GetMapping("getBattQuarterVol") + public Response getBattQuarterVol(@RequestParam Integer battgroupId) { + return battHisIdService.getBattQuarterVol(battgroupId); + } + + @ApiOperation("鑾峰彇鐢垫睜缁勬渶杩戜竴瀛e害鐨勫唴闃绘暟鎹�") + @GetMapping("getBattQuarterRes") + public Response getBattQuarterRes(@RequestParam Integer battgroupId) { + return battHisIdService.getBattQuarterRes(battgroupId); + } + + @ApiOperation("鑾峰彇鐢垫睜缁勬渶杩戜竴瀛e害鐨勬俯搴︽暟鎹�") + @GetMapping("getBattQuarterTmp") + public Response getBattQuarterTmp(@RequestParam Integer battgroupId) { + return battHisIdService.getBattQuarterTmp(battgroupId); + } +} \ No newline at end of file -- Gitblit v1.9.1