whyclxw
8 天以前 9f46f8471a3521c03461e04a6e82cff023e9bfdb
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);
    }
}