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)
}