|
|
@ -1236,13 +1236,13 @@ public class OrderCreateHandleServiceImpl implements OrderCreateHandleService { |
|
|
|
childOrder.setGoodsName("油卡充值"); |
|
|
|
childOrder.setGoodsName("油卡充值"); |
|
|
|
childOrder.setGoodsSpecName(card.getCardNo()); |
|
|
|
childOrder.setGoodsSpecName(card.getCardNo()); |
|
|
|
childOrder.setGoodsPrice(rechargeAmount.add(givePrice)); |
|
|
|
childOrder.setGoodsPrice(rechargeAmount.add(givePrice)); |
|
|
|
childOrder.setGoodsActualPrice(childOrder.getGoodsPrice()); |
|
|
|
childOrder.setGoodsActualPrice(createOrderChildModel.getGoodsPrice()); |
|
|
|
childOrder.setSaleCount(createOrderChildModel.getSaleCount()); |
|
|
|
childOrder.setSaleCount(createOrderChildModel.getSaleCount()); |
|
|
|
childOrder.setGiveawayType(false); |
|
|
|
childOrder.setGiveawayType(false); |
|
|
|
childOrder.setChildOrderStatus(OrderChildStatus.STATUS1.getNumber()); |
|
|
|
childOrder.setChildOrderStatus(OrderChildStatus.STATUS1.getNumber()); |
|
|
|
childOrder.setTotalPrice(childOrder.getGoodsPrice()); |
|
|
|
childOrder.setTotalPrice(childOrder.getGoodsPrice()); |
|
|
|
childOrder.setTotalActualPrice(childOrder.getGoodsPrice()); |
|
|
|
childOrder.setTotalActualPrice(createOrderChildModel.getGoodsPrice()); |
|
|
|
childOrder.setTotalDeductionPrice(childOrder.getTotalPrice().subtract(childOrder.getTotalActualPrice())); |
|
|
|
childOrder.setTotalDeductionPrice(createOrderChildModel.getGoodsPrice().subtract(childOrder.getTotalActualPrice())); |
|
|
|
childOrder.setPraiseStatus(0); |
|
|
|
childOrder.setPraiseStatus(0); |
|
|
|
childOrder.setCreateTime(new Date()); |
|
|
|
childOrder.setCreateTime(new Date()); |
|
|
|
childOrder.setExt1(givePrice.toString()); |
|
|
|
childOrder.setExt1(givePrice.toString()); |
|
|
|