|
@@ -187,18 +187,18 @@ public class RealNameAuthorizeServiceImpl implements IRealNameAuthorizeService { |
|
@@ -187,18 +187,18 @@ public class RealNameAuthorizeServiceImpl implements IRealNameAuthorizeService { |
187
|
//根据uid,获取biz_no
|
187
|
//根据uid,获取biz_no
|
188
|
ZhiMaCert zhiMaCert=zhiMaCertDao.selectByPrimaryKey(reqVO.getZhiMaCertId());
|
188
|
ZhiMaCert zhiMaCert=zhiMaCertDao.selectByPrimaryKey(reqVO.getZhiMaCertId());
|
189
|
if(zhiMaCert==null){
|
189
|
if(zhiMaCert==null){
|
190
|
- logger.error("zhiMaCertResultQuery get cert by biz no is null ",reqVO.getBizNO());
|
190
|
+ logger.error("zhiMaCertResultQuery get cert by biz no is null ",reqVO.getZhiMaBizNo());
|
191
|
throw new ServiceException(400, "错误:未找到芝麻认证信息!");
|
191
|
throw new ServiceException(400, "错误:未找到芝麻认证信息!");
|
192
|
}
|
192
|
}
|
193
|
|
193
|
|
194
|
logger.info("zhiMaCertResultQuery get zhiMaCert by biz no from db is {} ",zhiMaCert);
|
194
|
logger.info("zhiMaCertResultQuery get zhiMaCert by biz no from db is {} ",zhiMaCert);
|
195
|
|
195
|
|
196
|
- if(zhiMaCert.getUid().equals(reqVO.getUid())){
|
196
|
+ if(!zhiMaCert.getUid().equals(reqVO.getUid())){
|
197
|
logger.error("zhiMaCertResultQuery get cert by biz no is not same req uid {} ,db uid {}",reqVO.getUid(),zhiMaCert.getUid());
|
197
|
logger.error("zhiMaCertResultQuery get cert by biz no is not same req uid {} ,db uid {}",reqVO.getUid(),zhiMaCert.getUid());
|
198
|
throw new ServiceException(400, "错误:未找到用户芝麻认证信息!");
|
198
|
throw new ServiceException(400, "错误:未找到用户芝麻认证信息!");
|
199
|
}
|
199
|
}
|
200
|
|
200
|
|
201
|
- ZhimaCustomerCertificationQueryResponse zhiMaResp=ZhiMaCallUtil.zhiMaResult(reqVO.getBizNO());
|
201
|
+ ZhimaCustomerCertificationQueryResponse zhiMaResp=ZhiMaCallUtil.zhiMaResult(reqVO.getZhiMaBizNo());
|
202
|
if(zhiMaResp==null){
|
202
|
if(zhiMaResp==null){
|
203
|
logger.error("zhiMaCertResultQuery result is null,reqVO {}",reqVO);
|
203
|
logger.error("zhiMaCertResultQuery result is null,reqVO {}",reqVO);
|
204
|
throw new ServiceException(400, "错误:获取用户芝麻认证信息错误!");
|
204
|
throw new ServiceException(400, "错误:获取用户芝麻认证信息错误!");
|