|  |  |  | 
|---|
|  |  |  | 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) | 
|---|
|  |  |  | 
|---|
|  |  |  | Map<String, PriorityBlockingQueue<GuideTask>> cameraQueueMap = GuidePriorityQueue.cameraQueueMap; | 
|---|
|  |  |  | return AjaxResult.success(cameraQueueMap); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @PostMapping("/ThermalMapList") | 
|---|
|  |  |  | @ApiOperation(value = "热力图接口",notes = "按报警刷新时间按报警类别聚合查询") | 
|---|
|  |  |  | @ApiOperationSupport(includeParameters = {"command","refreshTime"},order = 1) | 
|---|
|  |  |  | public AjaxResult selectThermalMap(@RequestBody GlobalAlarmCondition condition) { | 
|---|
|  |  |  | List<GlobalAlarmData> result = globalAlarmService.selectThermalMap(condition); | 
|---|
|  |  |  | return AjaxResult.success(result); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|