| | |
| | | /** |
| | | * 部门ID |
| | | */ |
| | | private Long deptId; |
| | | private String deptId; |
| | | |
| | | /** |
| | | * 用户唯一标识 |
| | |
| | | this.permissions = permissions; |
| | | } |
| | | |
| | | public LoginUser(Long userId, Long deptId, SysUser user, Set<String> permissions) |
| | | public LoginUser(Long userId, String deptId, SysUser user, Set<String> permissions) |
| | | { |
| | | this.userId = userId; |
| | | this.deptId = deptId; |
| | |
| | | this.userId = userId; |
| | | } |
| | | |
| | | public Long getDeptId() |
| | | public String getDeptId() |
| | | { |
| | | return deptId; |
| | | } |
| | | |
| | | public void setDeptId(Long deptId) |
| | | public void setDeptId(String deptId) |
| | | { |
| | | this.deptId = deptId; |
| | | } |