diff --git a/src/main/java/com/yn/bftl/thirdparty/modules/chinaums/service/impl/WalletServiceImpl.java b/src/main/java/com/yn/bftl/thirdparty/modules/chinaums/service/impl/WalletServiceImpl.java index 77a0959..e4f67fb 100644 --- a/src/main/java/com/yn/bftl/thirdparty/modules/chinaums/service/impl/WalletServiceImpl.java +++ b/src/main/java/com/yn/bftl/thirdparty/modules/chinaums/service/impl/WalletServiceImpl.java @@ -847,14 +847,14 @@ if(ObjectUtil.isNull(allinpayMutual)){ throw new YnceErrorException("未查询到提现记录!!!"); } -// Company company = allinpayMutual.getCompany(); -// if(ObjectUtil.isNull(company)){ -// throw new YnceErrorException(YnceError.YNCE_201009); -// } -// ChinaumsAuthInfo chinaumsAuthInfo = company.getChinaumsAuthInfo(); -// if( ObjectUtil.isNull(chinaumsAuthInfo)){ -// throw new YnceErrorException(YnceError.YNCE_218009); -// } + Company company = allinpayMutual.getCompany(); + if(ObjectUtil.isNull(company)){ + throw new YnceErrorException(YnceError.YNCE_201009); + } + ChinaumsAuthInfo chinaumsAuthInfo = company.getChinaumsAuthInfo(); + if( ObjectUtil.isNull(chinaumsAuthInfo)){ + throw new YnceErrorException(YnceError.YNCE_218009); + } ByxQueryTransResultDTO byxQueryTransResultDTO = new ByxQueryTransResultDTO(); byxQueryTransResultDTO.setWalletId(chinaumsAuthInfo.getBalanceAcctId());