Authored by tanling

优惠券|促销+渠道

... ... @@ -110,7 +110,7 @@ public class CouponService {
// 渠道匹配
toMatchUserCouponBos = toMatchUserCouponBos.stream()
.filter(userCouponsBo -> StringUtils.isBlank(userCouponsBo.getBusinessClient())
|| (StringUtils.isBlank(chargeContext.getChargeParam().getBusinessClient()) &&
|| (StringUtils.isNotBlank(chargeContext.getChargeParam().getBusinessClient()) &&
Arrays.asList(userCouponsBo.getBusinessClient().split(",")).contains(chargeContext.getChargeParam().getBusinessClient())))
.collect(Collectors.toList());
... ...