From 01e95ba5fb0b6579bbd7b335afa5a90cd2906bd4 Mon Sep 17 00:00:00 2001 From: yuanye <418471657@qq.com> Date: Fri, 24 May 2024 16:46:04 +0800 Subject: [PATCH] Changes --- .../src/main/java/com/hfkj/service/order/OrderCreateService.java | 1 + 1 file changed, 1 insertion(+) 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());