Explorar el Código

//rate share

release_toaliyun_real
xhxu hace 3 años
padre
commit
8f241b99e2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 Ver fichero

@@ -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;


Cargando…
Cancelar
Guardar