Просмотр исходного кода

//rate share

release_toaliyun_real
xhxu 3 лет назад
Родитель
Сommit
8f241b99e2
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      mallinkService/src/main/java/com/iformall/service/impl/TtCouponGoodsServiceImpl.java

+ 1
- 1
mallinkService/src/main/java/com/iformall/service/impl/TtCouponGoodsServiceImpl.java Просмотреть файл

@@ -771,7 +771,7 @@ public class TtCouponGoodsServiceImpl implements TtCouponGoodsService {
throw new MallinkException(ErrorCode.COUPON_ORDER_TYPE_NOT_SUPPORTED.getCode(),"卡券信息错误");
}
TtGoodsCategory ttGoodsCategory = ttGoodsCategoryMapper.selectById(wxCoupon.getCategoryId());
rate = rate+payAccount.getRealRate()-ttGoodsCategory.getServiceFee();
rate = rate-payAccount.getRealRate()+ttGoodsCategory.getServiceFee();
Integer maxTakeRate = ttPoiTakeRateMapper.getMaxTakeRate(wxCoupon.getTenantId(), wxCoupon.getId());
if(maxTakeRate != null){
rate += maxTakeRate;


Загрузка…
Отмена
Сохранить