whyclxw
2024-07-01 0ce771b4a4ff5897dc91bb1b84a4561781b00ca5
src/main/java/com/whyc/controller/CKPowerDevBreakAlarmHistoryController.java
@@ -7,16 +7,13 @@
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
@@ -28,7 +25,7 @@
        return service.getPage(alarmDto);
    }
    @PostMapping("getCountByLevel")
    @GetMapping("getCountByLevel")
    @ApiOperation("头部统计")
    public Response getCountByLevel() throws InterruptedException {
        return service.getCountByLevel();