From 5bff489eb92a807c25d3746d8088518bd259a50b Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期一, 13 十月 2025 16:15:10 +0800
Subject: [PATCH] Rename .java to .kt
---
src/main/kotlin/cn/flightfeather/supervision/lightshare/web/DataProductController.kt | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 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..d36ec3e 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
@@ -29,4 +30,16 @@
@ApiParam("鏄惁寮哄埗鐢熸垚鏂扮殑鎶ュ憡") @RequestParam forceUpdate: Boolean,
@ApiIgnore response: HttpServletResponse,
) = resPack { dataProductService.downloadProduct(areaVo, type, forceUpdate, response) }
+
+ @ApiOperation(value = "鑾峰彇闂鏁存敼娓呭崟")
+ @PostMapping("/problemChange")
+ fun problemChangeList(
+ @ApiParam("鏌ヨ鏉′欢") @RequestBody option: DataProdOption,
+ ) = resPack { dataProductService.problemChangeList(option) }
+
+ @ApiOperation(value = "鑾峰彇闂澶嶅彂鎯呭喌")
+ @PostMapping("/problemRecurrence")
+ fun problemRecurrence(
+ @ApiParam("鏌ヨ鏉′欢") @RequestBody option: DataProdOption,
+ ) = resPack { dataProductService.problemRecurrence(option) }
}
\ No newline at end of file
--
Gitblit v1.9.3