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