Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-usercenter-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit d82bb168
authored
Aug 24, 2021
by
刘宇峰
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
用户组织feign开放接口
1 parent
924aada7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
11 deletions
src/main/java/cn/com/glsx/usercenter/api/dto/request/FindOrgRequest.java
src/main/java/cn/com/glsx/usercenter/api/dto/tree/OrgModel.java
src/main/java/cn/com/glsx/usercenter/api/dto/tree/OrgTreeModel.java
src/main/java/cn/com/glsx/usercenter/api/dto/request/FindOrgRequest.java
View file @
d82bb16
...
...
@@ -31,11 +31,6 @@ public class FindOrgRequest {
private
Collection
<
Long
>
userIds
;
/**
* 返回树形结构
*/
private
Boolean
returnTrees
=
true
;
/**
* 用户子树
*/
private
Boolean
hasUserLeaf
=
false
;
...
...
src/main/java/cn/com/glsx/usercenter/api/dto/tree/OrgModel.java
View file @
d82bb16
...
...
@@ -14,10 +14,11 @@ public class OrgModel {
* 是否根组织:0否,1是
*/
private
Integer
isRoot
;
/**
* 组织类型:
0部门,1
用户
* 组织类型:
o组织,u
用户
*/
private
Integer
type
;
private
String
type
=
""
;
@JsonIgnore
private
Integer
depth
;
...
...
src/main/java/cn/com/glsx/usercenter/api/dto/tree/OrgTreeModel.java
View file @
d82bb16
...
...
@@ -20,13 +20,13 @@ public class OrgTreeModel implements TreeModel<OrgModel> {
}
@Override
public
Lo
ng
getId
()
{
return
org
.
getOrgId
();
public
Stri
ng
getId
()
{
return
org
.
get
Type
()
+
org
.
get
OrgId
();
}
@Override
public
Lo
ng
getParentId
()
{
return
org
.
getParentId
(
);
public
Stri
ng
getParentId
()
{
return
String
.
valueOf
(
org
.
getParentId
()
);
}
@Override
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment