Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart_gov_platform
Commits
51003bbd
Commit
51003bbd
authored
Feb 14, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改根据业务查询部门逻辑
parent
a1b7f87c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
base-manager/src/main/java/com/mortals/xhx/module/dept/service/impl/DeptServiceImpl.java
...mortals/xhx/module/dept/service/impl/DeptServiceImpl.java
+2
-2
No files found.
base-manager/src/main/java/com/mortals/xhx/module/dept/service/impl/DeptServiceImpl.java
View file @
51003bbd
...
@@ -181,9 +181,9 @@ public class DeptServiceImpl extends AbstractCRUDCacheServiceImpl<DeptDao, DeptE
...
@@ -181,9 +181,9 @@ public class DeptServiceImpl extends AbstractCRUDCacheServiceImpl<DeptDao, DeptE
* @return
* @return
*/
*/
@Override
@Override
public
Rest
<
Map
<
Lo
ng
,
List
<
DeptVo
>>>
getDeptListByBusiness
(
DeptQuery
deptQuery
,
Context
context
)
{
public
Rest
<
Map
<
Stri
ng
,
List
<
DeptVo
>>>
getDeptListByBusiness
(
DeptQuery
deptQuery
,
Context
context
)
{
List
<
DeptVo
>
deptListByBusiness
=
this
.
dao
.
getDeptListByBusiness
(
deptQuery
);
List
<
DeptVo
>
deptListByBusiness
=
this
.
dao
.
getDeptListByBusiness
(
deptQuery
);
Map
<
Long
,
List
<
DeptVo
>>
collect
=
deptListByBusiness
.
parallelStream
().
collect
(
Collectors
.
groupingBy
(
x
->
x
.
getSiteBusinessId
()));
Map
<
String
,
List
<
DeptVo
>>
collect
=
deptListByBusiness
.
parallelStream
().
collect
(
Collectors
.
groupingBy
(
x
->
x
.
getSiteBusinessId
().
toString
()));
return
Rest
.
ok
(
collect
);
return
Rest
.
ok
(
collect
);
}
}
...
...
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