From 1a677d2b4a4bc615602f8c2a22bc07ec1356e5be Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期四, 16 十月 2025 17:39:06 +0800
Subject: [PATCH] 2025.10.16 1. 根据全局响应增强器GlobalResponseAdvice,将原先的BaseResPack接口包装函数统一去除; 2. 新增三种类型的数据产品数据库实体 3. 新增典型问题场景清单中间数据产品接口

---
 src/main/kotlin/cn/flightfeather/supervision/lightshare/web/DataProductController.kt |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/main/kotlin/cn/flightfeather/supervision/lightshare/web/DataProductController.kt b/src/main/kotlin/cn/flightfeather/supervision/lightshare/web/DataProductController.kt
index d36ec3e..84a144c 100644
--- a/src/main/kotlin/cn/flightfeather/supervision/lightshare/web/DataProductController.kt
+++ b/src/main/kotlin/cn/flightfeather/supervision/lightshare/web/DataProductController.kt
@@ -16,7 +16,7 @@
  * @date 2024/10/18
  * @author feiyu02
  */
-@Api(tags = ["DataProductController"], description = "鏁版嵁浜у搧鐩稿叧API鎺ュ彛")
+@Api(tags = ["鏁版嵁浜у搧鐩稿叧API鎺ュ彛"], description = "鏁版嵁浜у搧鐩稿叧API鎺ュ彛")
 @RestController
 @RequestMapping("/dataProduct")
 class DataProductController(private val dataProductService: DataProductService) {
@@ -29,17 +29,17 @@
         @RequestParam type: Int,
         @ApiParam("鏄惁寮哄埗鐢熸垚鏂扮殑鎶ュ憡") @RequestParam forceUpdate: Boolean,
         @ApiIgnore response: HttpServletResponse,
-    ) = resPack { dataProductService.downloadProduct(areaVo, type, forceUpdate, response) }
+    ) = dataProductService.downloadProduct(areaVo, type, forceUpdate, response)
 
     @ApiOperation(value = "鑾峰彇闂鏁存敼娓呭崟")
     @PostMapping("/problemChange")
     fun problemChangeList(
         @ApiParam("鏌ヨ鏉′欢") @RequestBody option: DataProdOption,
-    ) = resPack { dataProductService.problemChangeList(option) }
+    ) = dataProductService.problemChangeList(option)
 
     @ApiOperation(value = "鑾峰彇闂澶嶅彂鎯呭喌")
     @PostMapping("/problemRecurrence")
     fun problemRecurrence(
         @ApiParam("鏌ヨ鏉′欢") @RequestBody option: DataProdOption,
-    ) = resPack { dataProductService.problemRecurrence(option) }
+    ) = dataProductService.problemRecurrence(option)
 }
\ No newline at end of file

--
Gitblit v1.9.3