| | |
| | | |
| | | @GetMapping("/page") |
| | | @Operation(summary = "获取预警记录分页") |
| | | @PreAuthorize("@ss.hasPermission('bi:decision:alert:query')") |
| | | public CommonResult<PageResult<BiAlertRecordDO>> getAlertPage(@Valid DecisionAlertPageReqVO reqVO) { |
| | | return success(alertRecordService.getRecordPage(reqVO)); |
| | | } |
| | | |
| | | @GetMapping("/unprocessed-count") |
| | | @Operation(summary = "获取未处理预警数量") |
| | | @PreAuthorize("@ss.hasPermission('bi:decision:alert:query')") |
| | | public CommonResult<Long> getUnprocessedCount() { |
| | | return success(alertRecordService.getUnprocessedCount()); |
| | | } |