whyclxw
6 天以前 ea0e6aeaad04e8762bb33ddad64fec1eb1d0e3b7
src/main/java/com/whyc/controller/HistoryIdController.java
@@ -21,9 +21,21 @@
    private BattRealdataIdService battHisIdService;
    @ApiOperation("获取电池组最近一季度的数据")
    @GetMapping("getBattQuarter")
    public Response getBattQuarter(@RequestParam Integer battgroupId) {
        return battHisIdService.getBattQuarter(battgroupId);
    @ApiOperation("获取电池组最近一季度的电压数据")
    @GetMapping("getBattQuarterVol")
    public Response getBattQuarterVol(@RequestParam Integer battgroupId) {
        return battHisIdService.getBattQuarterVol(battgroupId);
    }
    @ApiOperation("获取电池组最近一季度的内阻数据")
    @GetMapping("getBattQuarterRes")
    public Response getBattQuarterRes(@RequestParam Integer battgroupId) {
        return battHisIdService.getBattQuarterRes(battgroupId);
    }
    @ApiOperation("获取电池组最近一季度的温度数据")
    @GetMapping("getBattQuarterTmp")
    public Response getBattQuarterTmp(@RequestParam Integer battgroupId) {
        return battHisIdService.getBattQuarterTmp(battgroupId);
    }
}