|
|
|
@@ -98,12 +98,12 @@ public class WxPayShareV3Service extends PayShareBaseAdapterService{ |
|
|
|
record.setPayAmount(sharingOrderDto.getPayAmount()); |
|
|
|
record.setMerchantId(sharingOrderDto.getMerchantId()); |
|
|
|
//直连模式, |
|
|
|
if (mchType != EnumPayMchType.DIRECT.getCode()) { |
|
|
|
if (mchType == EnumPayMchType.DIRECT.getCode()) { |
|
|
|
if (null == sharingOrderDto.getPayMerchantId()) { |
|
|
|
throw new MallinkException(ErrorCode.SYS_PARAMETER_NOT_NULL.getCode(),"当前订单的收款商户查询为空"); |
|
|
|
throw new MallinkException(ErrorCode.SYS_PARAMETER_NOT_NULL.getCode(),"直连模式当前订单的收款商户查询为空"); |
|
|
|
} |
|
|
|
if (StringUtils.isBlank(sharingOrderDto.getPayMerchantMchId())) { |
|
|
|
throw new MallinkException(ErrorCode.SYS_PARAMETER_NOT_NULL.getCode(),"当前订单的收款商户特约商户号进件信息查询为空"); |
|
|
|
throw new MallinkException(ErrorCode.SYS_PARAMETER_NOT_NULL.getCode(),"直连模式当前订单的收款商户特约商户号进件信息查询为空"); |
|
|
|
} |
|
|
|
record.setPayMerchantId(sharingOrderDto.getPayMerchantId()); |
|
|
|
record.setPayMerchantMchId(sharingOrderDto.getPayMerchantMchId()); |
|
|
|
|