From 15ad2e8add262f3af8792bafb6ffd931db631a36 Mon Sep 17 00:00:00 2001
From: Zhu Zhonghua <zhonghua@qq.com>
Date: 星期四, 22 五月 2025 17:04:18 +0800
Subject: [PATCH] Merge branch 'dev' of http://192.168.50.149:8085/r/aps-backend into dev

---
 aps-modules/aps-core/src/main/java/com/aps/core/controller/ApsGasPipingRouteStatController.java |   32 ++++++++++++++++++++++++++++----
 1 files changed, 28 insertions(+), 4 deletions(-)

diff --git a/aps-modules/aps-core/src/main/java/com/aps/core/controller/ApsGasPipingRouteStatController.java b/aps-modules/aps-core/src/main/java/com/aps/core/controller/ApsGasPipingRouteStatController.java
index b75f897..96d4b38 100644
--- a/aps-modules/aps-core/src/main/java/com/aps/core/controller/ApsGasPipingRouteStatController.java
+++ b/aps-modules/aps-core/src/main/java/com/aps/core/controller/ApsGasPipingRouteStatController.java
@@ -16,6 +16,7 @@
 import org.springframework.web.bind.annotation.*;
 
 import java.util.List;
+import java.util.Map;
 
 /**
  * 姘斾綋绠¤矾浜ц兘璐熻浇缁熻Controller
@@ -62,7 +63,7 @@
     /**
      * 鑾峰彇姘斾綋绠¤矾浜ц兘璐熻浇缁熻璇︾粏淇℃伅
      */
-    @Operation(summary = "鑾峰彇姘斾綋绠¤矾浜ц兘璐熻浇缁熻璇︾粏淇℃伅", description = "鏍规嵁id鑾峰彇")
+    @Operation(summary = "鑾峰彇姘斾綋绠¤矾浜ц兘璐熻浇缁熻璇︾粏淇℃伅", description = "鏍规嵁ID鏌ヨ")
     @RequiresPermissions("aps:apsGasPipingRouteStat:query")
     @GetMapping(value = "/{id}")
     public AjaxResult getInfo(@PathVariable("id") String id)
@@ -73,7 +74,7 @@
     /**
      * 鏂板姘斾綋绠¤矾浜ц兘璐熻浇缁熻
      */
-    @Operation(summary = "鏂板姘斾綋绠¤矾浜ц兘璐熻浇缁熻", description = "鍗曚釜鏂板")
+    @Operation(summary = "鏂板姘斾綋绠¤矾浜ц兘璐熻浇缁熻", description = "鏂板")
     @RequiresPermissions("aps:apsGasPipingRouteStat:add")
     @Log(title = "姘斾綋绠¤矾浜ц兘璐熻浇缁熻", businessType = BusinessType.INSERT)
     @PostMapping
@@ -85,7 +86,7 @@
     /**
      * 淇敼姘斾綋绠¤矾浜ц兘璐熻浇缁熻
      */
-    @Operation(summary = "淇敼姘斾綋绠¤矾浜ц兘璐熻浇缁熻", description = "鍗曚釜淇敼")
+    @Operation(summary = "淇敼姘斾綋绠¤矾浜ц兘璐熻浇缁熻", description = "淇敼")
     @RequiresPermissions("aps:apsGasPipingRouteStat:edit")
     @Log(title = "姘斾綋绠¤矾浜ц兘璐熻浇缁熻", businessType = BusinessType.UPDATE)
     @PutMapping
@@ -97,7 +98,7 @@
     /**
      * 鍒犻櫎姘斾綋绠¤矾浜ц兘璐熻浇缁熻
      */
-    @Operation(summary = "鍒犻櫎姘斾綋绠¤矾浜ц兘璐熻浇缁熻", description = "鎵归噺鍒犻櫎")
+    @Operation(summary = "鍒犻櫎姘斾綋绠¤矾浜ц兘璐熻浇缁熻", description = "鍒犻櫎")
     @RequiresPermissions("aps:apsGasPipingRouteStat:remove")
     @Log(title = "姘斾綋绠¤矾浜ц兘璐熻浇缁熻", businessType = BusinessType.DELETE)
 	@DeleteMapping("/{ids}")
@@ -105,6 +106,29 @@
     {
         return toAjax(apsGasPipingRouteStatService.deleteApsGasPipingRouteStatByIds(ids));
     }
+    
+    /**
+     * 鐢熸垚姘斾綋绠¤矾浜ц兘璐熻浇缁熻鏁版嵁
+     */
+    @Operation(summary = "鐢熸垚姘斾綋绠¤矾浜ц兘璐熻浇缁熻鏁版嵁", description = "鏍规嵁棰勬祴鏁版嵁鍜屽伐鍗曟暟鎹敓鎴愮粺璁℃暟鎹�")
+    @RequiresPermissions("aps:apsGasPipingRouteStat:generate")
+    @Log(title = "姘斾綋绠¤矾浜ц兘璐熻浇缁熻", businessType = BusinessType.INSERT)
+    @PostMapping("/generate")
+    public AjaxResult generateGasPipingRouteStatData()
+    {
+        return toAjax(apsGasPipingRouteStatService.generateGasPipingRouteStatData());
+    }
+    
+    /**
+     * 鑱氬悎姘斾綋绠¤矾浜ц兘璐熻浇缁熻鏁版嵁
+     */
+    @Operation(summary = "鑱氬悎姘斾綋绠¤矾浜ц兘璐熻浇缁熻鏁版嵁", description = "鑱氬悎缁熻鏁版嵁锛屾敮鎸佸姩鎬侀�夋嫨琛岀淮搴�(rowGroupBy)杩涜鑱氬悎锛屽鎸夊伐搴忓悕绉般�佽溅闂淬�佸伐鍘傘�佷笓涓氱瓑")
+    @RequiresPermissions("aps:apsGasPipingRouteStat:aggregate")
+    @PostMapping("/aggregate")
+    public AjaxResult aggregateGasPipingRouteStat(@RequestBody Map<String, Object> params)
+    {
+        return success(apsGasPipingRouteStatService.aggregateGasPipingRouteStat(params));
+    }
 
     @Operation(summary = "璁$畻姘斾綋绠¤矾浜ц兘璐熻浇缁熻", description = "璁$畻")
     @PostMapping("/computeCapacity")

--
Gitblit v1.9.3