liu
2026-10-27 6a48d04a36bc459ed761d787ee3d537652185d36
yudao-module-bi/src/main/java/cn/iocoder/yudao/module/bi/controller/admin/decision/DecisionAlertController.java
@@ -27,14 +27,12 @@
    @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());
    }
@@ -56,4 +54,4 @@
        return success(true);
    }
}
}