|
|
@ -440,10 +440,10 @@ public class HrUserAccountServiceImpl extends ServiceImpl<HrUserAccountMapper, H |
|
|
|
.eq("app_open_id", openId)); |
|
|
|
.eq("app_open_id", openId)); |
|
|
|
//查询用户信息
|
|
|
|
//查询用户信息
|
|
|
|
HrUserInfo hrUserInfo = hrUserInfoMapper.selectByUserId(userAccountList.get(0).getUserId()); |
|
|
|
HrUserInfo hrUserInfo = hrUserInfoMapper.selectByUserId(userAccountList.get(0).getUserId()); |
|
|
|
if (hrUserInfo.getUserAvatars()!=null){ |
|
|
|
if (StringUtils.isNotBlank(url)){ |
|
|
|
hrUserInfo.setUserAvatars(url); |
|
|
|
hrUserInfo.setUserAvatars(url); |
|
|
|
} |
|
|
|
} |
|
|
|
if (userName!=null){ |
|
|
|
if (StringUtils.isNotBlank(userName)){ |
|
|
|
hrUserInfo.setUserName(userName); |
|
|
|
hrUserInfo.setUserName(userName); |
|
|
|
} |
|
|
|
} |
|
|
|
int update = hrUserInfoMapper.updateById(hrUserInfo); |
|
|
|
int update = hrUserInfoMapper.updateById(hrUserInfo); |
|
|
|