diff --git a/service/src/main/java/com/hfkj/service/order/OrderCreateService.java b/service/src/main/java/com/hfkj/service/order/OrderCreateService.java index 8d39a51..b9a6c99 100644 --- a/service/src/main/java/com/hfkj/service/order/OrderCreateService.java +++ b/service/src/main/java/com/hfkj/service/order/OrderCreateService.java @@ -218,6 +218,7 @@ public class OrderCreateService { bsOrderGoodsService.create(orderGoods); + goodsSpecsService.editStockNum(orderChild.getProductSpecId() , orderChild.getProductCount() , 2); jsonObject.put("orderGoodsId", orderGoods.getId());