package com.whyc.controller;
|
|
import com.whyc.dto.Response;
|
import com.whyc.service.BattParamLowService;
|
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.RestController;
|
|
@Api(tags = "在线监测-历史监控")
|
@RestController
|
@RequestMapping("Batt_param_lowAction")
|
public class BattParamLowController {
|
|
@Autowired
|
private BattParamLowService service;
|
|
@ApiOperation("查询所有的阈值")
|
@GetMapping("searchAll")
|
public Response searchAll(){
|
return service.searchAll();
|
}
|
}
|