From ef5320dc5d6eb65c6c39e880eda856c4ed3fdebd Mon Sep 17 00:00:00 2001
From: huangjiayang <5265313@qq.com>
Date: 星期日, 27 四月 2025 16:03:57 +0800
Subject: [PATCH] 【UPDATE-通用】增加接口权限

---
 aps-modules/aps-core/src/main/java/com/aps/core/controller/ApsGasPipingRouteStatController.java |   15 +++++++++------
 1 files changed, 9 insertions(+), 6 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 fb6537d..115661a 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
@@ -36,7 +36,7 @@
      * 鏌ヨ姘斾綋绠¤矾浜ц兘璐熻浇缁熻鍒楄〃
      */
     @Operation(summary = "鏌ヨ姘斾綋绠¤矾浜ц兘璐熻浇缁熻鍒楄〃", description = "鍒嗛〉鏌ヨ")
-    @RequiresPermissions("apsGasPipingRouteStat:apsGasPipingRouteStat:list")
+    @RequiresPermissions("aps:apsGasPipingRouteStat:list")
     @GetMapping("/list")
     public TableDataInfo list(@RequestBody ApsGasPipingRouteStat apsGasPipingRouteStat)
     {
@@ -49,7 +49,7 @@
      * 瀵煎嚭姘斾綋绠¤矾浜ц兘璐熻浇缁熻鍒楄〃
      */
     @Operation(summary = "瀵煎嚭姘斾綋绠¤矾浜ц兘璐熻浇缁熻鍒楄〃", description = "瀵煎嚭")
-    @RequiresPermissions("apsGasPipingRouteStat:apsGasPipingRouteStat:export")
+    @RequiresPermissions("aps:apsGasPipingRouteStat:export")
     @Log(title = "姘斾綋绠¤矾浜ц兘璐熻浇缁熻", businessType = BusinessType.EXPORT)
     @PostMapping("/export")
     public void export(HttpServletResponse response, ApsGasPipingRouteStat apsGasPipingRouteStat)
@@ -63,7 +63,7 @@
      * 鑾峰彇姘斾綋绠¤矾浜ц兘璐熻浇缁熻璇︾粏淇℃伅
      */
     @Operation(summary = "鑾峰彇姘斾綋绠¤矾浜ц兘璐熻浇缁熻璇︾粏淇℃伅", description = "鏍规嵁id鑾峰彇")
-    @RequiresPermissions("apsGasPipingRouteStat:apsGasPipingRouteStat:query")
+    @RequiresPermissions("aps:apsGasPipingRouteStat:query")
     @GetMapping(value = "/{id}")
     public AjaxResult getInfo(@PathVariable("id") String id)
     {
@@ -74,7 +74,7 @@
      * 鏂板姘斾綋绠¤矾浜ц兘璐熻浇缁熻
      */
     @Operation(summary = "鏂板姘斾綋绠¤矾浜ц兘璐熻浇缁熻", description = "鍗曚釜鏂板")
-    @RequiresPermissions("apsGasPipingRouteStat:apsGasPipingRouteStat:add")
+    @RequiresPermissions("aps:apsGasPipingRouteStat:add")
     @Log(title = "姘斾綋绠¤矾浜ц兘璐熻浇缁熻", businessType = BusinessType.INSERT)
     @PostMapping
     public AjaxResult add(@RequestBody ApsGasPipingRouteStat apsGasPipingRouteStat)
@@ -86,7 +86,7 @@
      * 淇敼姘斾綋绠¤矾浜ц兘璐熻浇缁熻
      */
     @Operation(summary = "淇敼姘斾綋绠¤矾浜ц兘璐熻浇缁熻", description = "鍗曚釜淇敼")
-    @RequiresPermissions("apsGasPipingRouteStat:apsGasPipingRouteStat:edit")
+    @RequiresPermissions("aps:apsGasPipingRouteStat:edit")
     @Log(title = "姘斾綋绠¤矾浜ц兘璐熻浇缁熻", businessType = BusinessType.UPDATE)
     @PutMapping
     public AjaxResult edit(@RequestBody ApsGasPipingRouteStat apsGasPipingRouteStat)
@@ -98,7 +98,7 @@
      * 鍒犻櫎姘斾綋绠¤矾浜ц兘璐熻浇缁熻
      */
     @Operation(summary = "鍒犻櫎姘斾綋绠¤矾浜ц兘璐熻浇缁熻", description = "鎵归噺鍒犻櫎")
-    @RequiresPermissions("apsGasPipingRouteStat:apsGasPipingRouteStat:remove")
+    @RequiresPermissions("aps:apsGasPipingRouteStat:remove")
     @Log(title = "姘斾綋绠¤矾浜ц兘璐熻浇缁熻", businessType = BusinessType.DELETE)
 	@DeleteMapping("/{ids}")
     public AjaxResult remove(@PathVariable String[] ids)
@@ -107,6 +107,7 @@
     }
 
     @Operation(summary = "璁$畻姘斾綋绠¤矾浜ц兘璐熻浇缁熻", description = "璁$畻")
+    @RequiresPermissions("aps:apsGasPipingRouteStat:computeCapacity")
     @PostMapping("/computeCapacity")
     public void computeCapacity()
     {
@@ -114,6 +115,7 @@
     }
 
     @Operation(summary = "鑾峰彇姘斾綋绠¤矾浜ц兘璐熻浇缁熻", description = "璁$畻")
+    @RequiresPermissions("aps:apsGasPipingRouteStat:getCapacityPlanData")
     @PostMapping("/getCapacityPlanData")
     public AjaxResult getCapacityPlanData(@RequestBody ApsGasPipingRouteStat apsGasPipingRouteStat)
     {
@@ -121,6 +123,7 @@
     }
 
     @Operation(summary = "瀵煎嚭姘斾綋绠¤矾浜ц兘璐熻浇缁熻Excel琛�", description = "瀵煎嚭")
+    @RequiresPermissions("aps:apsGasPipingRouteStat:exportExcel")
     @PostMapping("/exportExcel")
     public void exportExcel(ApsGasPipingRouteStat apsGasPipingRouteStat, HttpServletResponse response)
     {

--
Gitblit v1.9.3