| | |
| | | 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; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.text.ParseException; |
| | | |
| | | @RestController |
| | | @Api(tags = "断路器历史告警") |
| | | @RequestMapping("ckPowerDevAlarmHistory") |
| | | @RequestMapping("ckPowerDevBreakAlarmHistory") |
| | | public class CKPowerDevBreakAlarmHistoryController { |
| | | |
| | | @Autowired |
| | |
| | | return service.getPage(alarmDto); |
| | | } |
| | | |
| | | @PostMapping("getCountByLevel") |
| | | @GetMapping("getCountByLevel") |
| | | @ApiOperation("头部统计") |
| | | public Response getCountByLevel() throws InterruptedException { |
| | | return service.getCountByLevel(); |