修改园区管理bug

This commit is contained in:
2025-07-29 17:27:56 +08:00
parent d42e2c627f
commit 9602ef96f7
11 changed files with 133 additions and 47 deletions

View File

@@ -83,6 +83,14 @@ public class RemoteUserServiceImpl implements RemoteUserService {
});
}
@Override
public RemoteUserVo getUserInfoById(Long userId) throws UserException {
SysUserVo sysUser = userMapper.selectVoById(userId);
// 框架登录不限制从什么表查询 只要最终构建出 LoginUser 即可
// 此处可根据登录用户的数据不同 自行创建 loginUser 属性不够用继承扩展就行了
return BeanUtil.copyProperties(sysUser,RemoteUserVo.class);
}
/**
* 通过用户id查询用户信息
*