| | |
| | | public ResponseEntity<Object> contractStatistics(ContractQueryCriteria criteria, @PathVariable Integer type){ |
| | | return new ResponseEntity<>(contractService.contractStatistics(criteria, type), HttpStatus.OK); |
| | | } |
| | | |
| | | @Log("导出数据(表格内容)") |
| | | @ApiOperation("导出数据(表格内容)") |
| | | @GetMapping(value = "/downloadTable") |
| | | @PreAuthorize("@el.check('contract:download')") |
| | | public void exportContractTable(HttpServletResponse response, ContractQueryCriteria criteria) throws IOException { |
| | | contractService.downloadTable(contractService.queryAll(criteria), response); |
| | | } |
| | | } |