|
@@ -1497,7 +1497,8 @@ public class SubmitServiceImpl implements SubmitService {
|
|
|
* 当前版本付供应商应-促销活动,优惠券金额,因为当前版本所有优惠为商家优惠
|
|
|
*/
|
|
|
if (null != s.getPromotionFullReduction() && s.getPromotionFullReduction() > 0) {
|
|
|
- s.setShopProductAmount(s.getShopProductAmount() - s.getPromotionFullReduction());
|
|
|
+ // 不直接作用付供应商商品费 作用于付供应商
|
|
|
+ // s.setShopProductAmount(s.getShopProductAmount() - s.getPromotionFullReduction());
|
|
|
s.setShouldPayShopAmount(s.getShouldPayShopAmount() - s.getPromotionFullReduction());
|
|
|
submitMapper.updateShopOrderCoupon(s);
|
|
|
}
|
|
@@ -1511,7 +1512,8 @@ public class SubmitServiceImpl implements SubmitService {
|
|
|
s.setNeedPayAmount(s.getNeedPayAmount() - finalCoupon.getCouponAmount());
|
|
|
s.setTotalAmount(s.getTotalAmount() - finalCoupon.getCouponAmount());
|
|
|
s.setRealPay(realPay - finalCoupon.getCouponAmount());
|
|
|
- s.setShopProductAmount(s.getShopProductAmount() - finalCoupon.getCouponAmount());
|
|
|
+ // 不直接作用付供应商商品费 作用于付供应商
|
|
|
+ // s.setShopProductAmount(s.getShopProductAmount() - finalCoupon.getCouponAmount());
|
|
|
s.setShouldPayShopAmount(s.getShouldPayShopAmount() - finalCoupon.getCouponAmount());
|
|
|
submitMapper.updateShopOrderCoupon(s);
|
|
|
}
|