|
|
|
@ -131,10 +131,6 @@ public class BsOrderServiceImpl implements BsOrderService { |
|
|
|
|
// 提交订单虚拟商品处理
|
|
|
|
|
child = orderCreateService.product(order, child); |
|
|
|
|
} |
|
|
|
|
// 提交订单前产品处理
|
|
|
|
|
if (child.getProductType().equals(OrderChildProductTypeEnum.type2.getCode())) { |
|
|
|
|
child = orderCreateService.product(order, child); |
|
|
|
|
} |
|
|
|
|
child.setProductTotalPrice(child.getProductPrice().multiply(new BigDecimal(child.getProductCount().toString()))); |
|
|
|
|
child.setStatus(OrderChildStatusEnum.status1.getCode()); |
|
|
|
|
|
|
|
|
|