| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 监管报表 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @ApiOperation("监管报表") |
| | | @PostMapping("/regulationReport") |
| | | public R<DepartmentReportVO> regulationReport(@Valid @RequestBody DisposalReportQuery query) { |
| | | return R.ok(staticsService.regulationReport(query)); |
| | | } |
| | | |
| | | /** |
| | | * 监管报表导出 |
| | | * |
| | | * @param query |
| | | */ |
| | | @ApiOperation("监管报表导出") |
| | | @PostMapping("/regulationReportExport") |
| | | public void regulationReportExport(@Valid @RequestBody DisposalReportQuery query) { |
| | | try { |
| | | staticsService.regulationReportExport(query); |
| | | } catch (IOException e) { |
| | | throw new RuntimeException(e); |
| | | } |
| | | } |
| | | } |