提交 c7706341 作者: 恶龙咆哮

bug

上级 2186bec0
......@@ -154,7 +154,7 @@ public interface PilotCertificationDao {
* @param userId
* @return {@link Integer}
*/
List<Integer> selectBackUserIdByUserId(Integer userId);
Integer selectBackUserIdByUserId(Integer userId);
/**
* 获取审核通过飞手的电话号码
* @param pilotId 飞手表id
......
......@@ -149,10 +149,10 @@ public class UserAccountServiceImpl implements UserAccountService {
CompanyInfoVO companyInfoVO = companyInfoDO.buildCompanyInfoVO();
userAccountVO.setCompanyInfoVO(companyInfoVO);
}
List<Integer> backUserId = certificationDao.selectBackUserIdByUserId(userAccountId);
Integer backUserId = certificationDao.selectBackUserIdByUserId(userAccountId);
log.info("userAccountId {} 用户对应的backUserId=============》{}",userAccountId,backUserId);
if(backUserId!=null || backUserId.size()>0) {
userAccountVO.setBackUserId(backUserId.get(0));
if(backUserId!=null) {
userAccountVO.setBackUserId(backUserId);
}
return userAccountVO;
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论