Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
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
5fcfd0fd
Commit
5fcfd0fd
authored
Apr 15, 2025
by
lixuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 房源
parent
bc55252b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
BusinessEntityStatisticsDetail.java
...ystem/domain/house/vo/BusinessEntityStatisticsDetail.java
+2
-0
HouseResourceServiceImpl.java
...i/system/service/house/impl/HouseResourceServiceImpl.java
+8
-0
No files found.
ruoyi-system/src/main/java/com/ruoyi/system/domain/house/vo/BusinessEntityStatisticsDetail.java
View file @
5fcfd0fd
...
@@ -54,4 +54,6 @@ public class BusinessEntityStatisticsDetail {
...
@@ -54,4 +54,6 @@ public class BusinessEntityStatisticsDetail {
private
BigDecimal
fwyCount
=
BigDecimal
.
ZERO
;
private
BigDecimal
fwyCount
=
BigDecimal
.
ZERO
;
private
BigDecimal
qtjjfzCount
=
BigDecimal
.
ZERO
;
private
BigDecimal
qtjjfzCount
=
BigDecimal
.
ZERO
;
private
BigDecimal
jjzl
=
BigDecimal
.
ZERO
;
}
}
ruoyi-system/src/main/java/com/ruoyi/system/service/house/impl/HouseResourceServiceImpl.java
View file @
5fcfd0fd
...
@@ -317,6 +317,14 @@ public class HouseResourceServiceImpl implements HouseResourceService {
...
@@ -317,6 +317,14 @@ public class HouseResourceServiceImpl implements HouseResourceService {
businessEntityStatisticsDetail
.
setQtjjfzCount
(
businessEntitySells
.
stream
().
map
(
BusinessEntitySell:
:
getYearSell
).
filter
(
Objects:
:
nonNull
).
reduce
(
BigDecimal
.
ZERO
,
BigDecimal:
:
add
));
businessEntityStatisticsDetail
.
setQtjjfzCount
(
businessEntitySells
.
stream
().
map
(
BusinessEntitySell:
:
getYearSell
).
filter
(
Objects:
:
nonNull
).
reduce
(
BigDecimal
.
ZERO
,
BigDecimal:
:
add
));
}
}
}
}
businessEntityStatisticsDetail
.
setJjzl
(
businessEntityStatisticsDetail
.
getGyCount
()
.
add
(
businessEntityStatisticsDetail
.
getJzyCount
())
.
add
(
businessEntityStatisticsDetail
.
getPfCount
())
.
add
(
businessEntityStatisticsDetail
.
getLsCount
())
.
add
(
businessEntityStatisticsDetail
.
getZsCount
())
.
add
(
businessEntityStatisticsDetail
.
getCyCount
())
.
add
(
businessEntityStatisticsDetail
.
getFwyCount
())
.
add
(
businessEntityStatisticsDetail
.
getQtjjfzCount
()));
return
businessEntityStatisticsDetail
;
return
businessEntityStatisticsDetail
;
}
}
...
...
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