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