|
|
@ -259,9 +259,9 @@ public class HighOrderController { |
|
|
|
childOrder.setGoodsActualPrice(new BigDecimal(childOrder.getGoodsPrice().toString()).divide(childOrder.getGasPriceGun(),10,BigDecimal.ROUND_DOWN).multiply(childOrder.getGasPriceVip()).setScale(2,BigDecimal.ROUND_HALF_UP)); |
|
|
|
childOrder.setGoodsActualPrice(new BigDecimal(childOrder.getGoodsPrice().toString()).divide(childOrder.getGasPriceGun(),10,BigDecimal.ROUND_DOWN).multiply(childOrder.getGasPriceVip()).setScale(2,BigDecimal.ROUND_HALF_UP)); |
|
|
|
|
|
|
|
|
|
|
|
// 团油的价格
|
|
|
|
// 团油的价格
|
|
|
|
childOrder.setGasPriceGun(priceDetail.getBigDecimal("priceGun")); |
|
|
|
// childOrder.setGasPriceGun(priceDetail.getBigDecimal("priceGun"));
|
|
|
|
childOrder.setGasPriceVip(priceDetail.getBigDecimal("priceVip")); |
|
|
|
// childOrder.setGasPriceVip(priceDetail.getBigDecimal("priceVip"));
|
|
|
|
childOrder.setGoodsPrice(new BigDecimal(childOrder.getGoodsPrice().toString()).divide(childOrder.getGasPriceGun(),10,BigDecimal.ROUND_DOWN).multiply(childOrder.getGasPriceVip()).setScale(2,BigDecimal.ROUND_HALF_UP)); |
|
|
|
// childOrder.setGoodsPrice(new BigDecimal(childOrder.getGoodsPrice().toString()).divide(childOrder.getGasPriceGun(),10,BigDecimal.ROUND_DOWN).multiply(childOrder.getGasPriceVip()).setScale(2,BigDecimal.ROUND_HALF_UP));
|
|
|
|
|
|
|
|
|
|
|
|
childOrder.setGoodsSpecName("默认"); |
|
|
|
childOrder.setGoodsSpecName("默认"); |
|
|
|
childOrder.setTotalPrice(childOrder.getGoodsPrice().multiply(new BigDecimal(childOrder.getSaleCount().toString()))); |
|
|
|
childOrder.setTotalPrice(childOrder.getGoodsPrice().multiply(new BigDecimal(childOrder.getSaleCount().toString()))); |
|
|
|