|
|
@ -2196,10 +2196,10 @@ public class OmsOrderServiceImpl extends ServiceImpl<OmsOrderMapper, OmsOrder> i |
|
|
|
//总金额+运费-促销优惠-优惠券优惠-积分抵扣
|
|
|
|
BigDecimal payAmount = order.getTotalAmount() |
|
|
|
.add(order.getFreightAmount()) |
|
|
|
.subtract(order.getPromotionAmount()) |
|
|
|
/*.subtract(order.getPromotionAmount())*/ |
|
|
|
.subtract(order.getCouponAmount()) |
|
|
|
.subtract(order.getIntegrationAmount()) |
|
|
|
.subtract(order.getVipAmount()); |
|
|
|
/*.subtract(order.getIntegrationAmount())*/; |
|
|
|
// .subtract(order.getVipAmount());
|
|
|
|
return payAmount; |
|
|
|
} |
|
|
|
|
|
|
|