用户登录信息封装

yun-zuoyi
wei.peng 6 years ago
parent 00715312f0
commit bb9444fc91

@ -40,18 +40,6 @@ public class SessionUser implements Serializable {
@ApiParam("用户对象信息") @ApiParam("用户对象信息")
private SysUserInfo userInfo; private SysUserInfo userInfo;
@ApiParam("主要组织信息")
private SysOrganize organize;
@ApiParam("主要组织集合")
private List<SysOrganize> organizeList;
@ApiParam("主要部门信息")
private SysDepartment department;
@ApiParam("主要部门集合")
private List<SysDepartment> departmentList;
public SessionUser() { public SessionUser() {
} }

@ -119,6 +119,14 @@ public class SysUser extends BaseBean {
/********************************** 非数据库信息 ********************************/ /********************************** 非数据库信息 ********************************/
@Transient @Transient
@ApiParam(value ="用户部门信息")
private SysDepartment department;
@Transient
@ApiParam(value ="用户组织信息")
private SysOrganize organize;
@Transient
@ApiParam(value ="账号所有操作组织信息") @ApiParam(value ="账号所有操作组织信息")
private List<SysOrganize> organizeList; private List<SysOrganize> organizeList;

@ -201,7 +201,7 @@ public class SysUserInfo extends BaseBean {
private List<SysOrganize> organizeList; private List<SysOrganize> organizeList;
@Transient @Transient
@ApiParam(value ="用户岗位信息") @ApiParam(value ="用户部门信息")
private SysDepartment department; private SysDepartment department;
@Transient @Transient

Loading…
Cancel
Save