From 9cb8d7e0f4ffca386b14a15f8a0aca4d1db23252 Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期四, 30 十月 2025 15:58:45 +0800
Subject: [PATCH] 2025.10.30 新增单场景纵向统计接口

---
 src/main/kotlin/cn/flightfeather/supervision/lightshare/web/DataProductController.kt |   17 +++++++++++++++--
 1 files changed, 15 insertions(+), 2 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 a76f7f4..84a144c 100644
--- a/src/main/kotlin/cn/flightfeather/supervision/lightshare/web/DataProductController.kt
+++ b/src/main/kotlin/cn/flightfeather/supervision/lightshare/web/DataProductController.kt
@@ -3,6 +3,7 @@
 import cn.flightfeather.supervision.lightshare.service.DataProductService
 import cn.flightfeather.supervision.lightshare.vo.AreaVo
 import cn.flightfeather.supervision.lightshare.vo.ExcelConfigVo
+import cn.flightfeather.supervision.model.dataproduct.DataProdOption
 import io.swagger.annotations.Api
 import io.swagger.annotations.ApiOperation
 import io.swagger.annotations.ApiParam
@@ -15,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) {
@@ -28,5 +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,
+    ) = dataProductService.problemChangeList(option)
+
+    @ApiOperation(value = "鑾峰彇闂澶嶅彂鎯呭喌")
+    @PostMapping("/problemRecurrence")
+    fun problemRecurrence(
+        @ApiParam("鏌ヨ鏉′欢") @RequestBody option: DataProdOption,
+    ) = dataProductService.problemRecurrence(option)
 }
\ No newline at end of file

--
Gitblit v1.9.3