|
|
|
@ -443,8 +443,15 @@ public class HrUserAccountServiceImpl extends ServiceImpl<HrUserAccountMapper, H |
|
|
|
|
//查询账号详情List
|
|
|
|
|
List<HrUserAccount> userAccountList = hrUserAccountMapper.selectList(new QueryWrapper<HrUserAccount>() |
|
|
|
|
.eq("app_open_id", openId)); |
|
|
|
|
//查询个人端用户信息
|
|
|
|
|
Integer userId = null; |
|
|
|
|
for (HrUserAccount hrUserAccount : userAccountList) { |
|
|
|
|
if (hrUserAccount.getPlatformId().equals("7")){ |
|
|
|
|
userId = hrUserAccount.getUserId(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
//查询用户信息
|
|
|
|
|
HrUserInfo hrUserInfo = hrUserInfoMapper.selectByUserId(userAccountList.get(0).getUserId()); |
|
|
|
|
HrUserInfo hrUserInfo = hrUserInfoMapper.selectByUserId(userId); |
|
|
|
|
if (StringUtils.isNotBlank(url)){ |
|
|
|
|
hrUserInfo.setUserAvatars(url); |
|
|
|
|
} |
|
|
|
|