|
|
|
@@ -405,7 +405,8 @@ public class WxPayShareService extends PayShareBaseAdapterService{ |
|
|
|
psReceiverQ.setPlat(EnumAppPlat.WX.getCode()); |
|
|
|
List<WxProfitSharingReceiver> psReceiverList = wxProfitSharingReceiverMapper.findList(psReceiverQ); |
|
|
|
if (null == psReceiverList || psReceiverList.size() == 0) { |
|
|
|
throw new MallinkException(ErrorCode.PROFIT_SHARING_RECEIVER_INVALID.getCode(),"该商户未设置分账账号."); |
|
|
|
return null; |
|
|
|
// throw new MallinkException(ErrorCode.PROFIT_SHARING_RECEIVER_INVALID.getCode(),"该商户未设置分账账号."); |
|
|
|
}else { |
|
|
|
for (WxProfitSharingReceiver receiver:psReceiverList) { |
|
|
|
if (EnumProfitSharingReceiverType.PROFIT_SHARING_RECEIVER_PERSONAL_WECHATID.getCode().intValue() |
|
|
|
|