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
19c7ae84
Commit
19c7ae84
authored
Mar 19, 2025
by
lixuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 房源
parent
6f0c6c4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
HouseResourceServiceImpl.java
...i/system/service/house/impl/HouseResourceServiceImpl.java
+8
-8
No files found.
ruoyi-system/src/main/java/com/ruoyi/system/service/house/impl/HouseResourceServiceImpl.java
View file @
19c7ae84
...
...
@@ -219,7 +219,7 @@ public class HouseResourceServiceImpl implements HouseResourceService {
if
(!
CollectionUtils
.
isEmpty
(
gyIds
))
{
List
<
BusinessEntitySell
>
businessEntitySells
=
businessEntitySellMapper
.
selectBusinessEntitySellByEntityIds
(
gyIds
);
if
(!
CollectionUtils
.
isEmpty
(
businessEntitySells
))
{
businessEntityStatisticsDetail
.
setGyCount
(
businessEntitySells
.
stream
().
map
(
BusinessEntitySell:
:
getYearSell
).
reduce
(
BigDecimal
.
ZERO
,
BigDecimal:
:
add
));
businessEntityStatisticsDetail
.
setGyCount
(
businessEntitySells
.
stream
().
map
(
BusinessEntitySell:
:
getYearSell
).
filter
(
Objects:
:
nonNull
).
reduce
(
BigDecimal
.
ZERO
,
BigDecimal:
:
add
));
}
}
...
...
@@ -227,7 +227,7 @@ public class HouseResourceServiceImpl implements HouseResourceService {
if
(!
CollectionUtils
.
isEmpty
(
jzyIds
))
{
List
<
BusinessEntitySell
>
businessEntitySells
=
businessEntitySellMapper
.
selectBusinessEntitySellByEntityIds
(
jzyIds
);
if
(!
CollectionUtils
.
isEmpty
(
businessEntitySells
))
{
businessEntityStatisticsDetail
.
setJzyCount
(
businessEntitySells
.
stream
().
map
(
BusinessEntitySell:
:
getYearSell
).
reduce
(
BigDecimal
.
ZERO
,
BigDecimal:
:
add
));
businessEntityStatisticsDetail
.
setJzyCount
(
businessEntitySells
.
stream
().
map
(
BusinessEntitySell:
:
getYearSell
).
filter
(
Objects:
:
nonNull
).
reduce
(
BigDecimal
.
ZERO
,
BigDecimal:
:
add
));
}
}
...
...
@@ -235,7 +235,7 @@ public class HouseResourceServiceImpl implements HouseResourceService {
if
(!
CollectionUtils
.
isEmpty
(
pfIds
))
{
List
<
BusinessEntitySell
>
businessEntitySells
=
businessEntitySellMapper
.
selectBusinessEntitySellByEntityIds
(
pfIds
);
if
(!
CollectionUtils
.
isEmpty
(
businessEntitySells
))
{
businessEntityStatisticsDetail
.
setPfCount
(
businessEntitySells
.
stream
().
map
(
BusinessEntitySell:
:
getYearSell
).
reduce
(
BigDecimal
.
ZERO
,
BigDecimal:
:
add
));
businessEntityStatisticsDetail
.
setPfCount
(
businessEntitySells
.
stream
().
map
(
BusinessEntitySell:
:
getYearSell
).
filter
(
Objects:
:
nonNull
).
reduce
(
BigDecimal
.
ZERO
,
BigDecimal:
:
add
));
}
}
...
...
@@ -243,7 +243,7 @@ public class HouseResourceServiceImpl implements HouseResourceService {
if
(!
CollectionUtils
.
isEmpty
(
lsIds
))
{
List
<
BusinessEntitySell
>
businessEntitySells
=
businessEntitySellMapper
.
selectBusinessEntitySellByEntityIds
(
lsIds
);
if
(!
CollectionUtils
.
isEmpty
(
businessEntitySells
))
{
businessEntityStatisticsDetail
.
setLsCount
(
businessEntitySells
.
stream
().
map
(
BusinessEntitySell:
:
getYearSell
).
reduce
(
BigDecimal
.
ZERO
,
BigDecimal:
:
add
));
businessEntityStatisticsDetail
.
setLsCount
(
businessEntitySells
.
stream
().
map
(
BusinessEntitySell:
:
getYearSell
).
filter
(
Objects:
:
nonNull
).
reduce
(
BigDecimal
.
ZERO
,
BigDecimal:
:
add
));
}
}
...
...
@@ -251,7 +251,7 @@ public class HouseResourceServiceImpl implements HouseResourceService {
if
(!
CollectionUtils
.
isEmpty
(
zsIds
))
{
List
<
BusinessEntitySell
>
businessEntitySells
=
businessEntitySellMapper
.
selectBusinessEntitySellByEntityIds
(
zsIds
);
if
(!
CollectionUtils
.
isEmpty
(
businessEntitySells
))
{
businessEntityStatisticsDetail
.
setZsCount
(
businessEntitySells
.
stream
().
map
(
BusinessEntitySell:
:
getYearSell
).
reduce
(
BigDecimal
.
ZERO
,
BigDecimal:
:
add
));
businessEntityStatisticsDetail
.
setZsCount
(
businessEntitySells
.
stream
().
map
(
BusinessEntitySell:
:
getYearSell
).
filter
(
Objects:
:
nonNull
).
reduce
(
BigDecimal
.
ZERO
,
BigDecimal:
:
add
));
}
}
...
...
@@ -259,7 +259,7 @@ public class HouseResourceServiceImpl implements HouseResourceService {
if
(!
CollectionUtils
.
isEmpty
(
cyIds
))
{
List
<
BusinessEntitySell
>
businessEntitySells
=
businessEntitySellMapper
.
selectBusinessEntitySellByEntityIds
(
cyIds
);
if
(!
CollectionUtils
.
isEmpty
(
businessEntitySells
))
{
businessEntityStatisticsDetail
.
setCyCount
(
businessEntitySells
.
stream
().
map
(
BusinessEntitySell:
:
getYearSell
).
reduce
(
BigDecimal
.
ZERO
,
BigDecimal:
:
add
));
businessEntityStatisticsDetail
.
setCyCount
(
businessEntitySells
.
stream
().
map
(
BusinessEntitySell:
:
getYearSell
).
filter
(
Objects:
:
nonNull
).
reduce
(
BigDecimal
.
ZERO
,
BigDecimal:
:
add
));
}
}
...
...
@@ -267,7 +267,7 @@ public class HouseResourceServiceImpl implements HouseResourceService {
if
(!
CollectionUtils
.
isEmpty
(
fwyIds
))
{
List
<
BusinessEntitySell
>
businessEntitySells
=
businessEntitySellMapper
.
selectBusinessEntitySellByEntityIds
(
fwyIds
);
if
(!
CollectionUtils
.
isEmpty
(
businessEntitySells
))
{
businessEntityStatisticsDetail
.
setFwyCount
(
businessEntitySells
.
stream
().
map
(
BusinessEntitySell:
:
getYearSell
).
reduce
(
BigDecimal
.
ZERO
,
BigDecimal:
:
add
));
businessEntityStatisticsDetail
.
setFwyCount
(
businessEntitySells
.
stream
().
map
(
BusinessEntitySell:
:
getYearSell
).
filter
(
Objects:
:
nonNull
).
reduce
(
BigDecimal
.
ZERO
,
BigDecimal:
:
add
));
}
}
...
...
@@ -275,7 +275,7 @@ public class HouseResourceServiceImpl implements HouseResourceService {
if
(!
CollectionUtils
.
isEmpty
(
qtIds
))
{
List
<
BusinessEntitySell
>
businessEntitySells
=
businessEntitySellMapper
.
selectBusinessEntitySellByEntityIds
(
qtIds
);
if
(!
CollectionUtils
.
isEmpty
(
businessEntitySells
))
{
businessEntityStatisticsDetail
.
setQtjjfzCount
(
businessEntitySells
.
stream
().
map
(
BusinessEntitySell:
:
getYearSell
).
reduce
(
BigDecimal
.
ZERO
,
BigDecimal:
:
add
));
businessEntityStatisticsDetail
.
setQtjjfzCount
(
businessEntitySells
.
stream
().
map
(
BusinessEntitySell:
:
getYearSell
).
filter
(
Objects:
:
nonNull
).
reduce
(
BigDecimal
.
ZERO
,
BigDecimal:
:
add
));
}
}
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