From baf2cc2ce3dfd1235c012a3750132769fcd9ad2f Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期四, 18 九月 2025 17:02:05 +0800 Subject: [PATCH] 2025.9.18 1. 联合前端调试数据产品接口(待完成) --- 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