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
34687ec4
Commit
34687ec4
authored
Jul 28, 2025
by
lixuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 房源
parent
d774cc24
Pipeline
#145522
canceled with stages
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
5 deletions
+8
-5
HouseResourcePageQuery.java
.../ruoyi/system/domain/house/vo/HouseResourcePageQuery.java
+1
-1
HouseResourceServiceImpl.java
...i/system/service/house/impl/HouseResourceServiceImpl.java
+3
-0
HouseResourceMapper.xml
...m/src/main/resources/mapper/house/HouseResourceMapper.xml
+4
-4
No files found.
ruoyi-system/src/main/java/com/ruoyi/system/domain/house/vo/HouseResourcePageQuery.java
View file @
34687ec4
...
...
@@ -72,7 +72,7 @@ public class HouseResourcePageQuery extends PageDomain {
private
BigDecimal
unitPriceMax
;
private
Boolean
gsFlag
;
private
Integer
gsFlag
;
private
String
industryClassification
;
...
...
ruoyi-system/src/main/java/com/ruoyi/system/service/house/impl/HouseResourceServiceImpl.java
View file @
34687ec4
...
...
@@ -404,6 +404,9 @@ public class HouseResourceServiceImpl implements HouseResourceService {
List
<
String
>
houseResourceIds
=
list
.
stream
().
map
(
HouseResourcePage:
:
getId
).
collect
(
Collectors
.
toList
());
List
<
HouseResourceBusinessEntityInfoMapping
>
houseResourceMappings
=
houseResourceBusinessEntityInfoMappingMapper
.
selectByHouseResourceIds
(
houseResourceIds
);
if
(
CollectionUtils
.
isEmpty
(
houseResourceMappings
))
{
return
businessEntityStatisticsDetail
;
}
List
<
BusinessEntityInfo
>
businessEntityInfos
=
businessEntityInfoMapper
.
selectByIdList
(
houseResourceMappings
.
stream
().
map
(
HouseResourceBusinessEntityInfoMapping:
:
getBusinessEntityInfoId
).
collect
(
Collectors
.
toList
()));
if
(
CollectionUtils
.
isEmpty
(
businessEntityInfos
))
{
return
businessEntityStatisticsDetail
;
...
...
ruoyi-system/src/main/resources/mapper/house/HouseResourceMapper.xml
View file @
34687ec4
...
...
@@ -195,7 +195,7 @@
<if
test=
"query.unitPriceMax != null and query.unitPriceMax != ''"
>
and t1.unit_price
<![CDATA[ <= ]]>
#{query.unitPriceMax}
</if>
<if
test=
"query.gsFlag != null
and query.gsFlag != ''
"
>
<if
test=
"query.gsFlag != null"
>
and t4.gs = ${query.gsFlag}
</if>
<if
test=
"query.industryClassification != null and query.industryClassification != ''"
>
...
...
@@ -366,7 +366,7 @@
<if
test=
"query.unitPriceMax != null and query.unitPriceMax != ''"
>
and t1.unit_price
<![CDATA[ <= ]]>
#{query.unitPriceMax}
</if>
<if
test=
"query.gsFlag != null
and query.gsFlag != ''
"
>
<if
test=
"query.gsFlag != null"
>
and t4.gs = ${query.gsFlag}
</if>
<if
test=
"query.industryClassification != null and query.industryClassification != ''"
>
...
...
@@ -534,7 +534,7 @@
<if
test=
"query.unitPriceMax != null and query.unitPriceMax != ''"
>
and t1.unit_price
<![CDATA[ <= ]]>
#{query.unitPriceMax}
</if>
<if
test=
"query.gsFlag != null
and query.gsFlag != ''
"
>
<if
test=
"query.gsFlag != null"
>
and t4.gs = ${query.gsFlag}
</if>
<if
test=
"query.industryClassification != null and query.industryClassification != ''"
>
...
...
@@ -724,7 +724,7 @@
<if
test=
"query.unitPriceMax != null and query.unitPriceMax != ''"
>
and t1.unit_price
<![CDATA[ <= ]]>
#{query.unitPriceMax}
</if>
<if
test=
"query.gsFlag != null
and query.gsFlag != ''
"
>
<if
test=
"query.gsFlag != null"
>
and t4.gs = ${query.gsFlag}
</if>
<if
test=
"query.industryClassification != null and query.industryClassification != ''"
>
...
...
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