| | |
| | | |
| | | @GetMapping("getDetailByAlmId") |
| | | @ApiOperation(value = "根据almId查询告警详情") |
| | | public Response getDetailByAlmId(@RequestParam String almId) { |
| | | return service.getDetailByAlmId(almId); |
| | | public Response getDetailByAlmId(@RequestParam String almId, @RequestParam int highorlow) { |
| | | return service.getDetailByAlmId(almId, highorlow); |
| | | } |
| | | |
| | | @PostMapping("addDetailByAlmId") |
| | |
| | | public Response deleteDetailById(@RequestBody List<Integer> list) { |
| | | return service.deleteDetailById(list); |
| | | } |
| | | |
| | | @GetMapping("searchDetailByType") |
| | | @ApiOperation(value = "根据告警来源查询告警详情") |
| | | public Response searchDetailByType(@RequestParam int almType) { |
| | | return service.searchDetailByType(almType); |
| | | } |
| | | } |