From 88d0598e43a959375187485891a6cf13712ac768 Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期二, 27 十月 2026 01:12:49 +0800
Subject: [PATCH] 修改了统计

---
 ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/SpStatCaseController.java |   24 ++++++++++++++++++------
 1 files changed, 18 insertions(+), 6 deletions(-)

diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/SpStatCaseController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/SpStatCaseController.java
index ed39a62..acebb14 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/SpStatCaseController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/SpStatCaseController.java
@@ -48,13 +48,13 @@
 import static com.ruoyi.web.controller.project.ServiceReimbursementController.convert;
 
 /**
- * 璐圭敤鐢宠涓籆ontroller
+ * 妗堜緥缁熻
  *
  * @author ruoyi
  * @date 2022-01-24
  */
 @Slf4j
-@Api("璐圭敤鐢宠涓�")
+@Api("妗堜緥缁熻")
 @RestController
 @RequestMapping("/project/spstatcase")
 public class SpStatCaseController extends BaseController {
@@ -63,14 +63,26 @@
     SpstatCaseService spstatCaseService;
 
     /**
-     * 鏌ヨ璐圭敤鐢宠涓诲垪琛�
+     * 鏌ヨ妗堜緥缁熻
      */
-    @ApiOperation("鏌ヨ璐圭敤鐢宠涓诲垪琛�")
-    @PostMapping("/list")
-    public TableDataInfo list(@RequestBody SpStatCaseReq spStatCaseReq) {
+    @ApiOperation("鏌ヨ妗堜緥缁熻")
+    @PostMapping("/spStatCaselist")
+    public TableDataInfo spStatCaselist(@RequestBody SpStatCaseReq spStatCaseReq) {
         startPage();
         return getDataTable(spstatCaseService.getListBypower(spStatCaseReq));
     }
 
+    /**
+     * 瀵煎嚭妗堜緥缁熻
+     */
+    @ApiOperation("瀵煎嚭妗堜緥缁熻")
+    @Log(title = "妗堜緥缁熻", businessType = BusinessType.EXPORT)
+    @GetMapping("/export")
+    public AjaxResult export(SpStatCaseReq spStatCaseReq) {
+        List<SpStatCase> list = spstatCaseService.getListBypower(spStatCaseReq);
+        ExcelUtil<SpStatCase> util = new ExcelUtil<SpStatCase>(SpStatCase.class);
+        return util.exportExcel(list, "妗堜緥缁熻鏁版嵁");
+    }
+
 
 }

--
Gitblit v1.9.3