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
5eb66ec8
Commit
5eb66ec8
authored
Aug 01, 2025
by
lixuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 房源
parent
8fd1b67e
Pipeline
#145589
canceled with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
HouseResourceServiceImpl.java
...i/system/service/house/impl/HouseResourceServiceImpl.java
+3
-1
No files found.
ruoyi-system/src/main/java/com/ruoyi/system/service/house/impl/HouseResourceServiceImpl.java
View file @
5eb66ec8
...
...
@@ -286,7 +286,9 @@ public class HouseResourceServiceImpl implements HouseResourceService {
houseResourceProfileGraph
.
setPosition
(
gridRegion
.
getPosition
());
}
}
houseResourceProfileGraph
.
setJyArea
(
v
.
stream
().
map
(
HouseResourcePage:
:
getHouseArea
).
filter
(
Objects:
:
nonNull
).
reduce
(
BigDecimal
.
ZERO
,
BigDecimal:
:
add
));
if
(
Objects
.
nonNull
(
houseResourceProfileGraph
.
getJzArea
())
&&
Objects
.
nonNull
(
houseResourceProfileGraph
.
getKzArea
()))
{
houseResourceProfileGraph
.
setJyArea
(
houseResourceProfileGraph
.
getJzArea
().
subtract
(
houseResourceProfileGraph
.
getKzArea
()));
}
houseResourceProfileGraph
.
setKzCount
(
v
.
stream
().
filter
(
x
->
x
.
getHouseResourceType
()
==
HouseEnums
.
HouseResourceTypeEnum
.
KZ
.
getCode
()).
count
());
houseResourceProfileGraph
.
setKzArea
(
v
.
stream
().
filter
(
x
->
x
.
getHouseResourceType
()
==
HouseEnums
.
HouseResourceTypeEnum
.
KZ
.
getCode
()).
map
(
HouseResourcePage:
:
getHouseArea
).
reduce
(
BigDecimal
.
ZERO
,
BigDecimal:
:
add
));
houseResourceProfileGraph
.
setAreaTotal
(
v
.
stream
().
map
(
HouseResourcePage:
:
getHouseArea
).
reduce
(
BigDecimal
.
ZERO
,
BigDecimal:
:
add
));
...
...
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