| | |
| | | * @param id id |
| | | * @return R |
| | | */ |
| | | @SysLog("审批通过合同" ) |
| | | @Operation(summary = "审批通过合同" , description = "审批通过合同" ) |
| | | @GetMapping("/approved/{id}" ) |
| | | public R approved(@PathVariable("id" ) Long id) { |
| | |
| | | return R.ok(contractService.getApprovedContractList()); |
| | | } |
| | | |
| | | /** |
| | | * 合同申请作废 |
| | | * @param id id |
| | | * @return R |
| | | */ |
| | | @SysLog("合同申请作废" ) |
| | | @Operation(summary = "合同申请作废" , description = "合同申请作废" ) |
| | | @GetMapping("/approvelInvalid/{id}" ) |
| | | @PreAuthorize("@pms.hasPermission('platformx_contract_zfsq')") |
| | | public R approvelInvalid(@PathVariable("id" ) Long id) { |
| | | return contractService.approvelInvalid(id); |
| | | } |
| | | |
| | | /** |
| | | * 合同申请作废 |
| | | * @param id id |
| | | * @return R |
| | | */ |
| | | @SysLog("合同作废" ) |
| | | @Operation(summary = "合同作废" , description = "合同作废" ) |
| | | @GetMapping("/invalidById/{id}" ) |
| | | @PreAuthorize("@pms.hasPermission('platformx_contract_zf')") |
| | | public R invalidById(@PathVariable("id" ) Long id) { |
| | | return contractService.invalidById(id); |
| | | } |
| | | } |