| | |
| | | return Result.success(insReportService.downAll(ids)); |
| | | } |
| | | |
| | | @ApiOperation(value = "报告下载") |
| | | @GetMapping("/download") |
| | | @PreAuthorize("@ss.hasPermi('business:reportPreparation')") |
| | | @PersonalScope(permsName = "business:reportPreparation", objectName = ReportPageDto.class, paramName = "createOrderUser") |
| | | public void download(Integer id, ReportPageDto reportPageDto, HttpServletResponse response) { |
| | | insReportService.download(id, reportPageDto.getCreateOrderUser(), response); |
| | | } |
| | | |
| | | @ApiOperation(value = "报告批量上传") |
| | | @PostMapping("/upAll") |
| | | public Result upAll(MultipartFile file) throws IOException { |