| | |
| | | |
| | | |
| | | @RestController |
| | | @Api(tags = "电池实时告警") |
| | | @Api(tags = "电池告警") |
| | | @RequestMapping("battAlarm") |
| | | public class BattAlarmController { |
| | | @Autowired |
| | |
| | | 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){ |
| | |
| | | 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 { |