Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
c2a30b77
Commit
c2a30b77
authored
Jun 29, 2021
by
gaodongdong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复bug
parent
cf55039f
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
10 deletions
+7
-10
IOrgUsrService.java
...join/amos/boot/module/jcs/api/service/IOrgUsrService.java
+2
-3
OrgMenuVo.java
...va/com/yeejoin/amos/boot/module/jcs/api/vo/OrgMenuVo.java
+4
-6
OrgUsrController.java
...amos/boot/module/jcs/biz/controller/OrgUsrController.java
+1
-1
OrgUsrServiceImpl.java
...s/boot/module/jcs/biz/service/impl/OrgUsrServiceImpl.java
+0
-0
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-jcs-api/src/main/java/com/yeejoin/amos/boot/module/jcs/api/service/IOrgUsrService.java
View file @
c2a30b77
...
@@ -35,12 +35,11 @@ public interface IOrgUsrService {
...
@@ -35,12 +35,11 @@ public interface IOrgUsrService {
* @param NAMEMethodName
* @param NAMEMethodName
* @param PARENTIDMethodName
* @param PARENTIDMethodName
* @param OrgTypeMethodName
* @param OrgTypeMethodName
* @param KeyMethodName
* @return
* @return
* @throws Exception
* @throws Exception
*/
*/
List
<
OrgMenuVo
>
getTree
(
Long
topId
,
Collection
entityList
,
String
packageURL
,
String
IDMethodName
,
int
IDHierarchy
,
List
<
OrgMenuVo
>
getTree
(
Long
topId
,
Collection
entityList
,
String
packageURL
,
String
IDMethodName
,
int
IDHierarchy
,
String
NAMEMethodName
,
String
PARENTIDMethodName
,
String
OrgTypeMethodName
,
String
KeyMethodName
)
throws
Exception
;
String
NAMEMethodName
,
String
PARENTIDMethodName
,
String
OrgTypeMethodName
)
throws
Exception
;
/**
/**
* 获取子数据集合
* 获取子数据集合
...
@@ -56,7 +55,7 @@ public interface IOrgUsrService {
...
@@ -56,7 +55,7 @@ public interface IOrgUsrService {
* @throws Exception
* @throws Exception
*/
*/
List
<
OrgMenuVo
>
getSub
(
Long
topId
,
Collection
entityList
,
String
packageURL
,
String
IDMethodName
,
int
IDHierarchy
,
List
<
OrgMenuVo
>
getSub
(
Long
topId
,
Collection
entityList
,
String
packageURL
,
String
IDMethodName
,
int
IDHierarchy
,
String
NAMEMethodName
,
String
PARENTIDMethodName
,
String
OrgTypeMethodName
,
String
KeyMethodName
)
throws
Exception
;
String
NAMEMethodName
,
String
PARENTIDMethodName
,
String
OrgTypeMethodName
)
throws
Exception
;
/**
/**
* 组装融合调度单位人员信息
* 组装融合调度单位人员信息
...
...
amos-boot-module/amos-boot-module-api/amos-boot-module-jcs-api/src/main/java/com/yeejoin/amos/boot/module/jcs/api/vo/OrgMenuVo.java
View file @
c2a30b77
...
@@ -14,28 +14,26 @@ import java.util.List;
...
@@ -14,28 +14,26 @@ import java.util.List;
@Accessors
(
chain
=
true
)
@Accessors
(
chain
=
true
)
@ApiModel
(
value
=
"OrgMenuVo"
,
description
=
"树菜单"
)
@ApiModel
(
value
=
"OrgMenuVo"
,
description
=
"树菜单"
)
public
class
OrgMenuVo
{
public
class
OrgMenuVo
{
public
Stri
ng
key
;
public
Lo
ng
key
;
public
String
title
;
public
String
title
;
public
Long
id
;
public
Long
parentId
;
public
Long
parentId
;
public
boolean
leaf
=
true
;
public
boolean
leaf
=
true
;
public
List
<
OrgMenuVo
>
children
;
public
List
<
OrgMenuVo
>
children
;
public
String
bizOrgType
;
public
String
bizOrgType
;
public
OrgMenuVo
(
String
key
,
String
title
,
Long
parentId
,
String
bizOrgType
,
boolean
leaf
,
Long
id
)
{
public
OrgMenuVo
(
Long
key
,
String
title
,
Long
parentId
,
String
bizOrgType
,
boolean
leaf
)
{
super
();
super
();
this
.
key
=
key
;
this
.
key
=
key
;
this
.
title
=
title
;
this
.
title
=
title
;
this
.
parentId
=
parentId
;
this
.
parentId
=
parentId
;
this
.
bizOrgType
=
bizOrgType
;
this
.
bizOrgType
=
bizOrgType
;
this
.
leaf
=
leaf
;
this
.
leaf
=
leaf
;
this
.
id
=
id
;
}
}
public
OrgMenuVo
(
String
key
,
String
title
,
Long
parentId
,
String
bizOrgType
,
Long
id
)
{
public
OrgMenuVo
(
Long
key
,
String
title
,
Long
parentId
,
String
bizOrgType
)
{
this
.
key
=
key
;
this
.
key
=
key
;
this
.
id
=
id
;
this
.
title
=
title
;
this
.
title
=
title
;
this
.
parentId
=
parentId
;
this
.
parentId
=
parentId
;
this
.
children
=
children
;
this
.
bizOrgType
=
bizOrgType
;
this
.
bizOrgType
=
bizOrgType
;
}
}
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/controller/OrgUsrController.java
View file @
c2a30b77
...
@@ -140,7 +140,7 @@ public class OrgUsrController extends BaseController {
...
@@ -140,7 +140,7 @@ public class OrgUsrController extends BaseController {
@RequestMapping
(
value
=
"/companyTree"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/companyTree"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"获取单位部门树"
,
notes
=
"获取单位部门树"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"获取单位部门树"
,
notes
=
"获取单位部门树"
)
public
ResponseModel
<
List
<
OrgMenuVo
>>
selectCompanyTree
()
throws
Exception
{
public
ResponseModel
<
List
<
OrgMenuVo
>>
selectCompanyTree
()
throws
Exception
{
List
<
OrgMenuVo
>
menus
=
iOrgUsrService
.
getTree
(
null
,
iOrgUsrService
.
selectCompanyDepartmentMsg
(),
OrgUsr
.
class
.
getName
(),
"getSequenceNbr"
,
2
,
"getBizOrgName"
,
"getParentId"
,
"getBizOrgType"
,
"getBizOrgCode"
);
List
<
OrgMenuVo
>
menus
=
iOrgUsrService
.
getTree
(
null
,
iOrgUsrService
.
selectCompanyDepartmentMsg
(),
OrgUsr
.
class
.
getName
(),
"getSequenceNbr"
,
2
,
"getBizOrgName"
,
"getParentId"
,
"getBizOrgType"
);
return
ResponseHelper
.
buildResponse
(
menus
);
return
ResponseHelper
.
buildResponse
(
menus
);
}
}
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/service/impl/OrgUsrServiceImpl.java
View file @
c2a30b77
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment