Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Y
yichengstreet-be
Project
Project
Details
Activity
Releases
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
yichengstreet
yichengstreet-be
Commits
be7a4a9f
You need to sign in or sign up before continuing.
Commit
be7a4a9f
authored
Apr 10, 2025
by
lixuan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev'
parents
8b2a37ca
e352625f
Pipeline
#143991
failed with stages
in 55 minutes and 23 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
0 deletions
+16
-0
BusinessEntityStatisticsDetail.java
...ystem/domain/house/vo/BusinessEntityStatisticsDetail.java
+10
-0
HouseResourceServiceImpl.java
...i/system/service/house/impl/HouseResourceServiceImpl.java
+6
-0
No files found.
ruoyi-system/src/main/java/com/ruoyi/system/domain/house/vo/BusinessEntityStatisticsDetail.java
View file @
be7a4a9f
...
...
@@ -17,6 +17,16 @@ public class BusinessEntityStatisticsDetail {
private
long
zhtCount
;
private
long
sjLyCount
;
private
long
sjJqCount
;
private
long
sjJdCount
;
private
long
sjScCount
;
private
long
sjZhtCount
;
private
long
zlCount
;
private
long
zyCount
;
...
...
ruoyi-system/src/main/java/com/ruoyi/system/service/house/impl/HouseResourceServiceImpl.java
View file @
be7a4a9f
...
...
@@ -229,6 +229,12 @@ public class HouseResourceServiceImpl implements HouseResourceService {
businessEntityStatisticsDetail
.
setZhtCount
(
list
.
stream
().
filter
(
x
->
x
.
getType
()
==
6
).
count
());
businessEntityStatisticsDetail
.
setScCount
(
list
.
stream
().
filter
(
x
->
x
.
getType
()
==
7
).
count
());
businessEntityStatisticsDetail
.
setSjLyCount
(
list
.
stream
().
filter
(
x
->
x
.
getType
()
==
1
).
collect
(
Collectors
.
groupingBy
(
HouseResource:
:
getThree
)).
size
());
businessEntityStatisticsDetail
.
setSjJqCount
(
list
.
stream
().
filter
(
x
->
x
.
getType
()
==
4
).
collect
(
Collectors
.
groupingBy
(
HouseResource:
:
getThree
)).
size
());
businessEntityStatisticsDetail
.
setSjJqCount
(
list
.
stream
().
filter
(
x
->
x
.
getType
()
==
5
).
collect
(
Collectors
.
groupingBy
(
HouseResource:
:
getThree
)).
size
());
businessEntityStatisticsDetail
.
setSjZhtCount
(
list
.
stream
().
filter
(
x
->
x
.
getType
()
==
6
).
collect
(
Collectors
.
groupingBy
(
HouseResource:
:
getThree
)).
size
());
businessEntityStatisticsDetail
.
setSjScCount
(
list
.
stream
().
filter
(
x
->
x
.
getType
()
==
7
).
collect
(
Collectors
.
groupingBy
(
HouseResource:
:
getThree
)).
size
());
businessEntityStatisticsDetail
.
setZlCount
(
list
.
stream
().
filter
(
x
->
x
.
getHouseResourceAttribute
()
==
0
).
count
());
businessEntityStatisticsDetail
.
setZyCount
(
list
.
stream
().
filter
(
x
->
x
.
getHouseResourceAttribute
()
==
1
).
count
());
businessEntityStatisticsDetail
.
setQtCount
(
list
.
stream
().
filter
(
x
->
x
.
getHouseResourceAttribute
()
==
2
).
count
());
...
...
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