修改3-18问题
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user