|
|
@ -155,8 +155,6 @@ public class OrderServiceImpl implements OrderService { |
|
|
|
child.setMemName(order.getMemName()); |
|
|
|
child.setMemName(order.getMemName()); |
|
|
|
child.setMemPhone(order.getMemPhone()); |
|
|
|
child.setMemPhone(order.getMemPhone()); |
|
|
|
|
|
|
|
|
|
|
|
/*********** 组装肯德基,星巴克,第三方会员充值 话费 请求数据************/ |
|
|
|
|
|
|
|
JSONObject object = thirdProductConfig.assembleOrder(order , child); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 购买卡券
|
|
|
|
// 购买卡券
|
|
|
|
if (child.getGoodsType().equals(OrderChildGoodsType.TYPE1.getNumber())) { |
|
|
|
if (child.getGoodsType().equals(OrderChildGoodsType.TYPE1.getNumber())) { |
|
|
@ -189,6 +187,10 @@ public class OrderServiceImpl implements OrderService { |
|
|
|
|
|
|
|
|
|
|
|
// 肯德基
|
|
|
|
// 肯德基
|
|
|
|
} else if (child.getGoodsType().equals(OrderChildGoodsType.TYPE4.getNumber())) { |
|
|
|
} else if (child.getGoodsType().equals(OrderChildGoodsType.TYPE4.getNumber())) { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*********** 组装肯德基,星巴克,第三方会员充值 话费 请求数据************/ |
|
|
|
|
|
|
|
JSONObject object = thirdProductConfig.assembleOrder(order , child); |
|
|
|
|
|
|
|
|
|
|
|
order.setProductType(OrderProductType.PRODUCT_TYPE2.getNumber()); |
|
|
|
order.setProductType(OrderProductType.PRODUCT_TYPE2.getNumber()); |
|
|
|
// 创建肯德基订单业务
|
|
|
|
// 创建肯德基订单业务
|
|
|
|
List<HighChildOrder> couponOrderList = orderCreateHandleService.thirdPartyOrder(order , object); |
|
|
|
List<HighChildOrder> couponOrderList = orderCreateHandleService.thirdPartyOrder(order , object); |
|
|
@ -206,6 +208,9 @@ public class OrderServiceImpl implements OrderService { |
|
|
|
|
|
|
|
|
|
|
|
// 话费充值
|
|
|
|
// 话费充值
|
|
|
|
} else if (child.getGoodsType().equals(OrderChildGoodsType.TYPE6.getNumber())) { |
|
|
|
} else if (child.getGoodsType().equals(OrderChildGoodsType.TYPE6.getNumber())) { |
|
|
|
|
|
|
|
/*********** 组装肯德基,星巴克,第三方会员充值 话费 请求数据************/ |
|
|
|
|
|
|
|
JSONObject object = thirdProductConfig.assembleOrder(order , child); |
|
|
|
|
|
|
|
|
|
|
|
HighChildOrder childOrder = orderCreateHandleService.mobileRecharge(order , object); |
|
|
|
HighChildOrder childOrder = orderCreateHandleService.mobileRecharge(order , object); |
|
|
|
childOrderList.add(childOrder); |
|
|
|
childOrderList.add(childOrder); |
|
|
|
order.setTitle(childOrder.getGoodsName()); |
|
|
|
order.setTitle(childOrder.getGoodsName()); |
|
|
@ -227,6 +232,10 @@ public class OrderServiceImpl implements OrderService { |
|
|
|
|
|
|
|
|
|
|
|
// 星巴克
|
|
|
|
// 星巴克
|
|
|
|
} else if (child.getGoodsType().equals(OrderChildGoodsType.TYPE9.getNumber())) { |
|
|
|
} else if (child.getGoodsType().equals(OrderChildGoodsType.TYPE9.getNumber())) { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*********** 组装肯德基,星巴克,第三方会员充值 话费 请求数据************/ |
|
|
|
|
|
|
|
JSONObject object = thirdProductConfig.assembleOrder(order , child); |
|
|
|
|
|
|
|
|
|
|
|
order.setProductType(OrderProductType.PRODUCT_TYPE1.getNumber()); |
|
|
|
order.setProductType(OrderProductType.PRODUCT_TYPE1.getNumber()); |
|
|
|
// 创建星巴克订单业务
|
|
|
|
// 创建星巴克订单业务
|
|
|
|
List<HighChildOrder> couponOrderList = orderCreateHandleService.thirdPartyOrder(order, object); |
|
|
|
List<HighChildOrder> couponOrderList = orderCreateHandleService.thirdPartyOrder(order, object); |
|
|
@ -240,6 +249,10 @@ public class OrderServiceImpl implements OrderService { |
|
|
|
} |
|
|
|
} |
|
|
|
// 第三方充值
|
|
|
|
// 第三方充值
|
|
|
|
} else if (child.getGoodsType().equals(OrderChildGoodsType.TYPE10.getNumber())) { |
|
|
|
} else if (child.getGoodsType().equals(OrderChildGoodsType.TYPE10.getNumber())) { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*********** 组装肯德基,星巴克,第三方会员充值 话费 请求数据************/ |
|
|
|
|
|
|
|
JSONObject object = thirdProductConfig.assembleOrder(order , child); |
|
|
|
|
|
|
|
|
|
|
|
order.setProductType(OrderProductType.PRODUCT_TYPE3.getNumber()); |
|
|
|
order.setProductType(OrderProductType.PRODUCT_TYPE3.getNumber()); |
|
|
|
// 创建第三方充值订单业务
|
|
|
|
// 创建第三方充值订单业务
|
|
|
|
List<HighChildOrder> couponOrderList = orderCreateHandleService.thirdPartyOrder(order , object); |
|
|
|
List<HighChildOrder> couponOrderList = orderCreateHandleService.thirdPartyOrder(order , object); |
|
|
|