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 d69a195..2a19a0c 100644 --- a/service/src/main/java/com/hfkj/service/order/OrderCreateService.java +++ b/service/src/main/java/com/hfkj/service/order/OrderCreateService.java @@ -224,6 +224,7 @@ public class OrderCreateService { bsOrderGoodsService.create(orderGoods); + goodsSpecsService.editStockNum(orderChild.getProductSpecId() , orderChild.getProductCount() , 2); jsonObject.put("orderGoodsId", orderGoods.getId());