|
|
|
@ -350,7 +350,7 @@ public class DistributionStockArticleController extends BladeController {
|
|
|
|
|
public R updateClient(@Valid @RequestBody DistributionStockArticleEntity distributionStockArticle) { |
|
|
|
|
Long id = distributionStockArticle.getId(); |
|
|
|
|
DistributionStockArticleEntity oldStockArticle = distributionStockArticleService.getById(id); |
|
|
|
|
if (!OrderPackageReservationStatusConstant.daiyuyue.getValue().equals(oldStockArticle)) { |
|
|
|
|
if (!OrderPackageReservationStatusConstant.daiyuyue.getValue().equals(oldStockArticle.getReservationStatus())) { |
|
|
|
|
return R.fail(oldStockArticle.getOrderCode() + "存在预约信息"); |
|
|
|
|
} |
|
|
|
|
DistributionStockArticleEntity newStockArticle = new DistributionStockArticleEntity(); |
|
|
|
|