|
|
|
@@ -301,7 +301,7 @@ public class WxCouponOrderServiceImpl implements WxCouponOrderService { |
|
|
|
List<WxCouponMerchant> couponMerchantList = wxCouponMerchantMapper.findList(wxCouponMerchant); |
|
|
|
if (!couponMerchantList.stream().anyMatch(cm->cm.getMerchantId().equals(wxMerchantBUser.getMerchantId()))){ |
|
|
|
logger.error("券: coupon-" + wxCoupon.getId() + "核销: couponMerchantId-" + wxMerchantBUser.getMerchantId()); |
|
|
|
throw new MallinkException(ErrorCode.COUPON_ORDER_IS_NULL); |
|
|
|
throw new MallinkException(ErrorCode.VERIFY_COUPON_ORDER_MERANT_IS_NULL); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|