mirror of https://gitee.com/stylefeng/roses
【7.6.0】【user】获取用户信息,返回orgId
parent
a36c7f0c5b
commit
3c90fcf0af
|
@ -930,7 +930,10 @@ public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser> impl
|
|||
sysUserOrgLambdaQueryWrapper.eq(SysUserOrg::getUserId, userId);
|
||||
SysUserOrg one = sysUserOrgService.getOne(sysUserOrgLambdaQueryWrapper, false);
|
||||
if (one != null) {
|
||||
|
||||
Long orgId = one.getOrgId();
|
||||
result.setOrgId(orgId);
|
||||
|
||||
HrOrganizationDTO orgDetail = this.organizationServiceApi.getOrgDetail(orgId);
|
||||
if (orgDetail != null) {
|
||||
String orgName = orgDetail.getOrgName();
|
||||
|
|
Loading…
Reference in New Issue