yaozc2021
2025-01-24 9892e4d56dfda27f9be238df0fa12cfa71468205
eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/contract/rest/ContractController.java
@@ -194,4 +194,12 @@
    public void downloadContractAttachments(HttpServletResponse response, Long id) {
        contractService.downloadContractAttachments(id, response);
    }
    @Log("统计合同信息")
    @ApiOperation("统计合同信息")
    @GetMapping(value = "/statistics/{type}")
    @PreAuthorize("@el.check('contract:list')")
    public ResponseEntity<Object> contractStatistics(ContractQueryCriteria criteria, @PathVariable Integer type){
        return new ResponseEntity<>(contractService.contractStatistics(criteria, type), HttpStatus.OK);
    }
}