From d9e7d3b630c9d905bc1340fe61740712bb610fde Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期三, 18 九月 2024 17:20:07 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
ycl-server/src/main/java/com/ycl/platform/controller/CheckScoreController.java | 7 ++++---
1 files changed, 4 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..00d8fda 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,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