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
49a694d3
Commit
49a694d3
authored
May 17, 2022
by
lisong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改单位树视频数量统计
parent
610c6c9b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
BuildingServiceImpl.java
...yeejoin/equipmanage/service/impl/BuildingServiceImpl.java
+5
-1
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/service/impl/BuildingServiceImpl.java
View file @
49a694d3
...
@@ -1245,7 +1245,11 @@ public class BuildingServiceImpl extends ServiceImpl<BuildingMapper, Building> i
...
@@ -1245,7 +1245,11 @@ public class BuildingServiceImpl extends ServiceImpl<BuildingMapper, Building> i
vo
.
setTotal
(
countMap
.
get
(
orgUsrDto
.
getBizOrgCode
())
==
null
?
0L
:
countMap
.
get
(
orgUsrDto
.
getBizOrgCode
()));
vo
.
setTotal
(
countMap
.
get
(
orgUsrDto
.
getBizOrgCode
())
==
null
?
0L
:
countMap
.
get
(
orgUsrDto
.
getBizOrgCode
()));
return
vo
;
return
vo
;
}).
collect
(
Collectors
.
toList
());
}).
collect
(
Collectors
.
toList
());
return
companyList
.
stream
().
filter
(
a
->
companyList
.
stream
().
noneMatch
(
c
->
c
.
getId
().
toString
().
equals
(
a
.
getParentId
()))).
peek
(
b
->
b
.
setChildren
(
getCompanyBuildingChildrenTree
(
b
.
getId
().
toString
(),
companyList
))).
collect
(
Collectors
.
toList
());
return
companyList
.
stream
().
filter
(
a
->
companyList
.
stream
().
noneMatch
(
c
->
c
.
getId
().
toString
().
equals
(
a
.
getParentId
())))
.
peek
(
b
->
{
b
.
setChildren
(
getCompanyBuildingChildrenTree
(
b
.
getId
().
toString
(),
companyList
));
b
.
setTotal
(
b
.
getChildren
().
stream
().
filter
(
c
->
c
.
getTotal
()
!=
null
).
mapToLong
(
BuildingTreeVo:
:
getTotal
).
sum
());
}).
collect
(
Collectors
.
toList
());
}
}
...
...
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