Merge branch 'develop' of gitee.com:youlaiorg/youlai-boot into develop

This commit is contained in:
ray
2024-08-17 00:02:35 +08:00
5 changed files with 44 additions and 2 deletions

View File

@@ -248,7 +248,7 @@ public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser> impl
*/
@Override
public UserProfileVO getUserProfile(Long userId) {
SysUser entity = this.getById(userId);
UserBO entity = this.baseMapper.getUserProfile(userId);
return userConverter.toProfileVO(entity);
}