From f77a9d8f16bae6b4cf809891f037c038070e81ed Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期四, 19 六月 2025 17:12:50 +0800
Subject: [PATCH] 工单,数据中心用户查看数据的权限,合同考核每日,以及导出每日和按月

---
 ycl-server/src/main/java/com/ycl/platform/controller/CalculateReportController.java |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/ycl-server/src/main/java/com/ycl/platform/controller/CalculateReportController.java b/ycl-server/src/main/java/com/ycl/platform/controller/CalculateReportController.java
index 7fe05da..d8713e7 100644
--- a/ycl-server/src/main/java/com/ycl/platform/controller/CalculateReportController.java
+++ b/ycl-server/src/main/java/com/ycl/platform/controller/CalculateReportController.java
@@ -42,13 +42,14 @@
         return calculateReportService.backfill(form);
     }
 
-    @GetMapping("/{contractId}/{whichYear}")
+    @GetMapping("/{contractId}/{whichYear}/{whichMoth}")
     @ApiOperation(value = "璇︽儏", notes = "璇︽儏")
     @PreAuthorize("@ss.hasPermi('system:calculate:report:detail')")
-    public Result detail(@PathVariable("contractId") Integer contractId,@PathVariable("whichYear") Integer whichYear) {
+    public Result detail(@PathVariable("contractId") Integer contractId,@PathVariable("whichYear") Integer whichYear,@PathVariable("whichMoth") Integer whichMoth) {
         CalculateReportQuery query = new CalculateReportQuery();
         query.setContractId(contractId);
         query.setWhichYear(whichYear);
+        query.setWhichMonth(whichMoth);
         return calculateReportService.detail(query);
     }
 
@@ -69,8 +70,8 @@
     @PostMapping("/export")
     @ApiOperation(value = "瀵煎嚭", notes = "瀵煎嚭")
     @PreAuthorize("@ss.hasPermi('system:calculate:report:export')")
-    public void export(Integer whichYear,Integer whichMonth,Integer contractId, HttpServletResponse response) {
-        calculateReportService.export(whichYear,whichMonth,contractId, response);
+    public void export(Integer whichYear,Integer whichMonth,Integer whichDay,Integer contractId, HttpServletResponse response) {
+        calculateReportService.export(whichYear,whichMonth,whichDay,contractId, response);
     }
 
 }

--
Gitblit v1.8.0