Showing
1 changed file
with
3 additions
and
1 deletions
| @@ -435,7 +435,7 @@ public class ContractDistributorStandardController extends DefaultBaseController | @@ -435,7 +435,7 @@ public class ContractDistributorStandardController extends DefaultBaseController | ||
| 435 | 435 | ||
| 436 | @ApiModelProperty("锁价") | 436 | @ApiModelProperty("锁价") |
| 437 | @PostMapping("/priceLock") | 437 | @PostMapping("/priceLock") |
| 438 | - public void priceLock(@RequestBody UpdateContractDistributorStandardVo vo) { | 438 | + public InvokeResult<Void> priceLock(@RequestBody UpdateContractDistributorStandardVo vo) { |
| 439 | if (vo == null || StringUtils.isBlank(vo.getId())) { | 439 | if (vo == null || StringUtils.isBlank(vo.getId())) { |
| 440 | throw new DefaultClientException("参数错误!"); | 440 | throw new DefaultClientException("参数错误!"); |
| 441 | } | 441 | } |
| @@ -443,6 +443,8 @@ public class ContractDistributorStandardController extends DefaultBaseController | @@ -443,6 +443,8 @@ public class ContractDistributorStandardController extends DefaultBaseController | ||
| 443 | contractDistributorStandardService.stockContractPriceLock(vo); | 443 | contractDistributorStandardService.stockContractPriceLock(vo); |
| 444 | 444 | ||
| 445 | contractDistributorStandardService.cleanCacheByKey(vo.getId()); | 445 | contractDistributorStandardService.cleanCacheByKey(vo.getId()); |
| 446 | + | ||
| 447 | + return InvokeResultBuilder.success(); | ||
| 446 | } | 448 | } |
| 447 | 449 | ||
| 448 | /** | 450 | /** |