From bbd62792fcf95c2ef6c8c0696fd8601869eb1d49 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期五, 20 九月 2024 11:46:06 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- ycl-server/src/main/java/com/ycl/platform/controller/CheckScoreController.java | 6 +++--- 1 files changed, 3 insertions(+), 3 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..f73d7a5 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 @@ -37,8 +37,8 @@ * 鏌ヨ鑰冩牳绉垎鍗$墖鍒楄〃 */ @PreAuthorize("@ss.hasPermi('check:score:query')") - @GetMapping("/list") - public AjaxResult list(CheckScore checkScore) + @PostMapping("/list") + public AjaxResult list(@RequestBody CheckScore checkScore) { Map<Long, List<CheckScore>> deptMap = checkScoreService.selectCheckScoreList(checkScore); return success(deptMap); @@ -94,7 +94,7 @@ */ @Log(title = "璇︽儏椤靛鍑鸿�冩牳绉垎", businessType = BusinessType.EXPORT) @PostMapping("/detailExport") - //杩欓噷娌″仛鏉冮檺,鎵�浠ョ敤checkScore鎺ュ弬,new瀵硅薄鐨勬柟寮忛槻鎶ゃ�� + @PreAuthorize("@ss.hasPermi('check:result:detail:export')") public void detailExport(HttpServletResponse response, CheckScore checkScore) throws IOException { CheckResultExportDTO exportDTO = new CheckResultExportDTO(); exportDTO.setDate(checkScore.getDate()); -- Gitblit v1.8.0