修改个人信息实体类 增加nickName字段

master
冯凯 2023-11-03 11:30:03 +08:00
parent 4f008583fc
commit d68ef270d4
1 changed files with 3 additions and 0 deletions

View File

@ -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;
}