|
|
@ -218,14 +218,14 @@ public class OrderCreateService { |
|
|
|
|
|
|
|
|
|
|
|
bsOrderGoodsService.create(orderGoods); |
|
|
|
bsOrderGoodsService.create(orderGoods); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
goodsMsgService.addSaleNum(orderGoods.getGoodsId() , orderGoods.getGoodsCount()); |
|
|
|
|
|
|
|
|
|
|
|
jsonObject.put("orderGoodsId", orderGoods.getId()); |
|
|
|
jsonObject.put("orderGoodsId", orderGoods.getId()); |
|
|
|
|
|
|
|
|
|
|
|
if (object.getLong("shopCartId") != null) { |
|
|
|
if (object.getLong("shopCartId") != null) { |
|
|
|
shoppingCartService.delete(object.getLong("shopCartId")); |
|
|
|
shoppingCartService.delete(object.getLong("shopCartId")); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
orderChild.setBusiness(jsonObject); |
|
|
|
orderChild.setBusiness(jsonObject); |
|
|
|
|
|
|
|
|
|
|
|
return orderChild; |
|
|
|
return orderChild; |
|
|
|