Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cloud-fb
Overview
Overview
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
王衍超
cloud-fb
Commits
2b601680
Commit
2b601680
authored
Jun 07, 2021
by
shiwenbo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改查询部门接口
parent
33ec78df
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
DinasCommonController.java
...in/java/com/xyst/dinas/biz/web/DinasCommonController.java
+5
-0
SensitiveInfoLook.jmx
...n/resources/com/xyst/dinas/biz/auth/SensitiveInfoLook.jmx
+0
-0
No files found.
backend/xyst.dinas.biz/src/main/java/com/xyst/dinas/biz/web/DinasCommonController.java
View file @
2b601680
...
...
@@ -58,11 +58,16 @@ public class DinasCommonController {
}
else
{
String
departmentId
=
param
.
getString
(
"id"
);
Boolean
enable
=
param
.
getBoolean
(
"enable"
);
String
type
=
param
.
optString
(
"type"
,
"REGIONAL_COMPANY"
);
if
(
type
.
equals
(
"REGIONAL_COMPANY"
))
{
KObject
rootLevel
=
departmentService
.
getByCode
(
"quangongsi"
);
KObject
regionalLevel
=
departmentService
.
getById
(
UUID
.
fromString
(
departmentId
));
list
.
addAll
(
departmentService
.
getChildren
(
UUID
.
fromString
(
departmentId
),
enable
));
list
.
add
(
rootLevel
);
list
.
add
(
regionalLevel
);
}
else
if
(
type
.
equals
(
"GROUP_COMPANY"
))
{
list
.
addAll
(
departmentService
.
getAllEnable
());
}
}
Map
<
UUID
,
String
>
deptTitlePath
=
departmentService
.
getTitlePath
(
list
);
List
<
Map
<
String
,
Object
>>
result
=
deptAddTitlePathProperty
(
list
,
deptTitlePath
);
...
...
backend/xyst.dinas.biz/src/main/resources/com/xyst/dinas/biz/auth/SensitiveInfoLook.jmx
View file @
2b601680
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