From 5da02311d99ca78c0fc18647c3a8348f56fe9330 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期四, 05 九月 2024 21:55:13 +0800 Subject: [PATCH] 考核结果导出优化 --- ycl-server/src/main/java/com/ycl/platform/controller/CheckScoreController.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/ycl-server/src/main/java/com/ycl/platform/controller/CheckScoreController.java b/ycl-server/src/main/java/com/ycl/platform/controller/CheckScoreController.java index 2b1a03c..5a31930 100644 --- a/ycl-server/src/main/java/com/ycl/platform/controller/CheckScoreController.java +++ b/ycl-server/src/main/java/com/ycl/platform/controller/CheckScoreController.java @@ -94,7 +94,8 @@ */ @Log(title = "璇︽儏椤靛鍑鸿�冩牳绉垎", businessType = BusinessType.EXPORT) @PostMapping("/detailExport") - //杩欓噷娌″仛鏉冮檺,鎵�浠ョ敤checkScore鎺ュ弬,new瀵硅薄鐨勬柟寮忛槻鎶ゃ�� + @PreAuthorize("@ss.hasPermi('check:result:detail:export')") + //鍏辩敤鐨勪竴涓柟娉曠敤checkScore鎺ュ弬,new瀵硅薄鐨勬柟寮忛槻鎶ゃ�� public void detailExport(HttpServletResponse response, CheckScore checkScore) throws IOException { CheckResultExportDTO exportDTO = new CheckResultExportDTO(); exportDTO.setDate(checkScore.getDate()); -- Gitblit v1.8.0