|  |  |  | 
|---|
|  |  |  | public ApiResponse findById(@PathVariable Integer id) { | 
|---|
|  |  |  | return ApiResponse.success(contractService.findById(id)); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiOperation("合同取消") | 
|---|
|  |  |  | @GetMapping("/cancel") | 
|---|
|  |  |  | @RequiresPermissions("business:contract:update") | 
|---|
|  |  |  | public ApiResponse cancel (@RequestParam Integer id) { | 
|---|
|  |  |  | contractService.cancel(id); | 
|---|
|  |  |  | return ApiResponse.success("操作成功"); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiOperation("发起签署") | 
|---|
|  |  |  | @GetMapping("/getSignLink") | 
|---|
|  |  |  | @RequiresPermissions("business:contract:update") | 
|---|
|  |  |  | public ApiResponse<String> getSignLink (@RequestParam Integer id) { | 
|---|
|  |  |  | return ApiResponse.success(contractService.getContractSignLink(id)); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|