mirror of https://gitee.com/stylefeng/roses
【8.3.3】【org】用户机构的关系中增加组织机构的id
parent
4965e0f15f
commit
b433948449
|
@ -42,6 +42,12 @@ public class UserOrgDTO {
|
|||
@ChineseDescription("用户id")
|
||||
private Long userId;
|
||||
|
||||
/**
|
||||
* 用户组织机构id
|
||||
*/
|
||||
@ChineseDescription("用户组织机构id")
|
||||
private Long orgId;
|
||||
|
||||
/**
|
||||
* 用户所属公司id
|
||||
*/
|
||||
|
|
|
@ -31,6 +31,7 @@ public class UserOrgFactory {
|
|||
|
||||
// 获取用户的组织机构id
|
||||
Long orgId = sysUserOrg.getOrgId();
|
||||
result.setOrgId(orgId);
|
||||
|
||||
// 获取用户的职位id
|
||||
Long positionId = sysUserOrg.getPositionId();
|
||||
|
|
Loading…
Reference in New Issue