|
|
|
@@ -700,10 +700,6 @@ public class TtCouponGoodsServiceImpl implements TtCouponGoodsService { |
|
|
|
if(wxCoupon.getSalePrice() == 0 || wxCoupon.checkIsCard()){ |
|
|
|
return new ResultData(ErrorCode.COUPON_ORDER_TYPE_NOT_SUPPORTED); |
|
|
|
} |
|
|
|
TtPoiTakeRate ttPoiTakeRate = ttPoiTakeRateMapper.selectByCoupon(tenantInfo.getTenantId(), couponId,EnumCpsPlanType.ALL.getCode(),null); |
|
|
|
if(ttPoiTakeRate == null){ |
|
|
|
return new ResultData(ErrorCode.SYS_PARAMETER_ERROR.getCode(),"请先设置总分佣率"); |
|
|
|
} |
|
|
|
Map<String,Object> map = new HashMap<>(); |
|
|
|
|
|
|
|
map.put("rateMax",getRateMax(wxCoupon)); |
|
|
|
|