BAOLH
2025-05-09 f8dec6bfaef15f807d760ba0fde963498fbc78f3
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);
    }
}