|
|
|
@ -142,7 +142,7 @@ public class OrderCreateService { |
|
|
|
|
gasOrder.setDeductionCouponPrice(orderDeduction.getCouponDiscountActualPrice()); |
|
|
|
|
gasOrder.setDeductionOilPrice(priceModel.getTotalPreferences()); |
|
|
|
|
gasOrder.setTotalDeductionPrice(gasOrder.getDeductionOilPrice().add(gasOrder.getDeductionCouponPrice())); |
|
|
|
|
gasOrder.setPayablePrice(priceModel.getPayPrice().subtract(gasOrder.getTotalDeductionPrice())); |
|
|
|
|
gasOrder.setPayablePrice(priceModel.getOilingPrice().subtract(gasOrder.getTotalDeductionPrice())); |
|
|
|
|
gasOrder.setPayablePrice(gasOrder.getPayablePrice().compareTo(new BigDecimal("0"))>=0?gasOrder.getPayablePrice():new BigDecimal("0")); |
|
|
|
|
|
|
|
|
|
// 油价信息
|
|
|
|
|