BAOLH
2025-03-14 4fa526092b61ba33a7fc7662048288691d7bb9b0
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);
    }
}