|
|
|
@@ -768,6 +768,9 @@ public class WxCouponServiceImpl implements WxCouponService { |
|
|
|
|
|
|
|
if (EnumPayMchType.DIRECT.equals(payMchType)) { |
|
|
|
WxMerchant makeMerchant = getDirectPayAccountMerchant(merchantList,record); |
|
|
|
if (null == makeMerchant) { |
|
|
|
throw new MallinkException(ErrorCode.SYS_PARAMETER_ERROR.getCode(), "没有收款商户"); |
|
|
|
} |
|
|
|
record.setMakeMerchantId(makeMerchant.getId()); |
|
|
|
WxProfitSharingReceiver receiver = payShareServie.getReceiver(payAccount, makeMerchant.getId(), null, payMchType.getCode()); |
|
|
|
|
|
|
|
|