yaozc2021
2025-04-25 c19eda1fb09764cfa1ae134bda39efd9507784aa
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);
    }
}