package com.whyc.controller; import com.whyc.dto.Response; import com.whyc.dto.paramter.AlarmPar; import com.whyc.service.BattAlarmDataVerifyService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; @RestController @RequestMapping("battAlarmDataVerify") @Api(tags = "电池告警确认") public class BattAlarmDataVerifyController extends BaseController{ @Autowired private BattAlarmDataVerifyService service; @PostMapping("page") @ApiOperation("查询分页") public Response getPage(@RequestBody AlarmPar param){ return service.getPage(param); } }