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
79a6de8a
Commit
79a6de8a
authored
Jun 19, 2025
by
lixuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 房源
parent
43410708
Pipeline
#145027
failed with stages
in 5 minutes and 50 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
HouseResourcePageQuery.java
.../ruoyi/system/domain/house/vo/HouseResourcePageQuery.java
+2
-0
HouseResourceMapper.xml
...m/src/main/resources/mapper/house/HouseResourceMapper.xml
+5
-1
No files found.
ruoyi-system/src/main/java/com/ruoyi/system/domain/house/vo/HouseResourcePageQuery.java
View file @
79a6de8a
...
...
@@ -75,4 +75,6 @@ public class HouseResourcePageQuery extends PageDomain {
private
String
industryClassification
;
private
String
incomeSort
;
private
Integer
year
;
}
ruoyi-system/src/main/resources/mapper/house/HouseResourceMapper.xml
View file @
79a6de8a
...
...
@@ -130,7 +130,8 @@
SUM(t4.year_sell) AS income,
t3.nature,
t3.industry_classification,
ROUND(IFNULL(t1.unit_price,0) * 10000 / 365 / t1.house_area, 1) AS dayPrice
ROUND(IFNULL(t1.unit_price,0) * 10000 / 365 / t1.house_area, 1) AS dayPrice,
t4.year
FROM
house_resource t1
LEFT JOIN grid_region t2 ON t2.wg_code = t1.four
...
...
@@ -176,6 +177,9 @@
<if
test=
"query.industryClassification != null and query.industryClassification != ''"
>
and t3.industry_classification like concat('%', #{query.industryClassification}, '%')
</if>
<if
test=
"query.year != null"
>
and t4.`year` = #{query.year}
</if>
<if
test=
"query.wgCodes != null and query.wgCodes.size() > 0"
>
and t1.two in
<foreach
item=
"item"
index=
"index"
collection=
"query.wgCodes"
open=
"("
separator=
","
close=
")"
>
...
...
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