修改个人信息实体类 增加nickName字段
parent
4f008583fc
commit
d68ef270d4
|
@ -661,6 +661,9 @@ public class SysUserServiceImpl implements ISysUserService
|
|||
public Boolean updSelfInformation(SefInformationReq sefInformationReq) {
|
||||
Long userId = SecurityUtils.getUserId();
|
||||
sefInformationReq.setUserId(userId);
|
||||
if (StringUtils.isNotNull(sefInformationReq.getNickName())){
|
||||
return userMapper.updateUser(sefInformationReq)>0;
|
||||
}
|
||||
return userMapper.updSelfInformation(sefInformationReq)>0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue