|
|
@ -280,12 +280,20 @@ public class H5OrderService { |
|
|
|
//提前熟悉的费用 |
|
|
|
preFamiliarizePrice: this.price_config.preFamiliarize.price, |
|
|
|
* */ |
|
|
|
order.setCouponDiscount(new BigDecimal(form.getCouponDiscount())); |
|
|
|
order.setMemberDiscount(new BigDecimal(form.getMemberDiscount())); |
|
|
|
if(form.getCouponDiscount() != null){ |
|
|
|
order.setCouponDiscount(new BigDecimal(form.getCouponDiscount())); |
|
|
|
} |
|
|
|
if(form.getMemberDiscount() != null){ |
|
|
|
order.setMemberDiscount(new BigDecimal(form.getMemberDiscount())); |
|
|
|
} |
|
|
|
order.setOldPrice(new BigDecimal(form.getOldPrice())); |
|
|
|
order.setPreFamiliarizePrice(new BigDecimal(form.getPreFamiliarizePrice())); |
|
|
|
if(form.getPreFamiliarizePrice() != null){ |
|
|
|
order.setPreFamiliarizePrice(new BigDecimal(form.getPreFamiliarizePrice())); |
|
|
|
} |
|
|
|
|
|
|
|
order.setCompanionLevelPrice(new BigDecimal(form.getCompanionLevelPrice())); |
|
|
|
if(form.getCompanionLevelPrice() != null){ |
|
|
|
order.setCompanionLevelPrice(new BigDecimal(form.getCompanionLevelPrice())); |
|
|
|
} |
|
|
|
order.setCompanionLevelTitle(form.getCompanionLevelTitle()); |
|
|
|
|
|
|
|
|
|
|
|