whycxzp
2025-03-24 7d139f20b602fa6d5722d6ba3d8520f1f6d91d29
src/main/java/com/whyc/controller/BattAlarmController.java
@@ -15,7 +15,7 @@
@RestController
@Api(tags = "电池实时告警")
@Api(tags = "电池告警")
@RequestMapping("battAlarm")
public class BattAlarmController {
    @Autowired
@@ -31,7 +31,7 @@
        return res;
    }*/
    @ApiOperation("查询告警-分页")
    @ApiOperation("查询-分页")
    @GetMapping("getPage")
    public Response getPage(@RequestParam(required = false) Integer almLevel,@RequestParam String startTime,@RequestParam String endTime
                                ,@RequestParam int pageNum,@RequestParam int pageSize){
@@ -49,7 +49,7 @@
        return service.cancelAlarm(num);
    }
    @ApiOperation("查询电池告警历史-分页")
    @ApiOperation("查询历史-分页")
    @GetMapping("getHistoryPage")
    public Response getHistoryPage(@RequestParam(required = false) Integer almLevel,@RequestParam String startTime,@RequestParam String endTime
            , @RequestParam int pageNum, @RequestParam int pageSize) throws ParseException, InterruptedException {