|
|
@ -134,10 +134,10 @@ public class DcBusiReportRecordController extends BaseController |
|
|
|
return toAjax(dcBusiReportRecordService.deleteDcBusiReportRecordByIds(ids)); |
|
|
|
} |
|
|
|
|
|
|
|
@ApiOperation("天气报表") |
|
|
|
@ApiOperation("下载报表") |
|
|
|
@PreAuthorize("@ss.hasPermi('report:reportRecord:download')") |
|
|
|
@PostMapping("/download/{id}") |
|
|
|
public void downloadFile(HttpServletResponse response, @PathVariable("id") Long id) throws IOException { |
|
|
|
public void downloadFile(HttpServletResponse response, @PathVariable("id") Long id) { |
|
|
|
dcBusiReportRecordService.downloadFile(response, id); |
|
|
|
} |
|
|
|
} |
|
|
|