|
|
|
@ -147,10 +147,10 @@ public class OrderServiceImpl implements OrderService { |
|
|
|
|
order.setCompanyId(createOrderModel.getCompanyId()); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*********** 组装处理子订单 商品业务************/ |
|
|
|
|
List<HighChildOrder> childOrderList = new ArrayList<>(); |
|
|
|
|
for (CreateOrderChildModel child : createOrderModel.getChildOrderList()) { |
|
|
|
|
child.setOrderNo(order.getOrderNo()); |
|
|
|
|
child.setMemId(order.getMemId()); |
|
|
|
|
child.setMemName(order.getMemName()); |
|
|
|
|
child.setMemPhone(order.getMemPhone()); |
|
|
|
@ -169,6 +169,7 @@ public class OrderServiceImpl implements OrderService { |
|
|
|
|
/*********** 话费 请求数据************/ |
|
|
|
|
object.put("rechargeContent" , child.getRechargeContent()); |
|
|
|
|
object.put("goodsId" , child.getGoodsId()); |
|
|
|
|
|
|
|
|
|
// 购买卡券
|
|
|
|
|
if (child.getGoodsType().equals(OrderChildGoodsType.TYPE1.getNumber())) { |
|
|
|
|
order.setProductType(OrderProductType.PRODUCT_TYPE5.getNumber()); |
|
|
|
@ -400,7 +401,6 @@ public class OrderServiceImpl implements OrderService { |
|
|
|
|
|
|
|
|
|
// 订单入库前处理
|
|
|
|
|
for (HighChildOrder childOrder : order.getHighChildOrderList()) { |
|
|
|
|
childOrder.setOrderNo(order.getOrderNo()); |
|
|
|
|
childOrder.setSurplusRefundNum(childOrder.getSaleCount()); |
|
|
|
|
|
|
|
|
|
// 计算 子订单 在交易订单金额中的占比
|
|
|
|
|