Merge remote-tracking branch 'origin/lyf' into lyf
This commit is contained in:
@@ -376,11 +376,11 @@ public class PayService {
|
||||
throw new MsgException("生成订单错误");
|
||||
}
|
||||
|
||||
if (ObjectUtil.isNull(tbMerchantAccount.getMerchantId()) || ObjectUtil.isEmpty(tbMerchantAccount.getMerchantId())) {
|
||||
if (ObjectUtil.isNull(tbMerchantAccount)) {
|
||||
return Result.fail("没有对应的商户");
|
||||
}
|
||||
|
||||
TbMerchantThirdApply thirdApply = tbMerchantThirdApplyMapper.selectByPrimaryKey(Integer.valueOf(tbMerchantAccount.getMerchantId()));
|
||||
TbMerchantThirdApply thirdApply = tbMerchantThirdApplyMapper.selectByPrimaryKey(Integer.valueOf(tbMerchantAccount.getId()));
|
||||
|
||||
if (ObjectUtil.isEmpty(thirdApply) || ObjectUtil.isNull(thirdApply)) {
|
||||
return Result.fail("支付通道不存在");
|
||||
|
||||
Reference in New Issue
Block a user