| | |
| | | List<GlobalAlarmData> result = globalAlarmService.selectAlarmLogs(condition); |
| | | return AjaxResult.success(result); |
| | | } |
| | | @GetMapping("/AllList") |
| | | @ApiOperation(value = "实时报警聚合接口(all)",notes = "按报警刷新时间聚合查询") |
| | | @ApiOperationSupport(includeParameters = {"command"},order = 1) |
| | | public AjaxResult selectAlarmLogAll() { |
| | | List<GlobalAlarmData> result = globalAlarmService.selectAlarmLogsAll(); |
| | | return AjaxResult.success(result); |
| | | } |
| | | @PostMapping("/view") |
| | | @ApiOperation(value = "查看报警接口",notes = "指定查看某个报警数据") |
| | | @ApiOperationSupport(includeParameters = {"command","id"},order = 3) |