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
6c82069f
Commit
6c82069f
authored
Jun 20, 2025
by
lixuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 房源
parent
7c6a70c9
Pipeline
#145045
failed with stages
in 2 minutes and 40 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
HouseResourceMapper.xml
...m/src/main/resources/mapper/house/HouseResourceMapper.xml
+8
-8
No files found.
ruoyi-system/src/main/resources/mapper/house/HouseResourceMapper.xml
View file @
6c82069f
...
...
@@ -262,16 +262,16 @@
<if
test=
"query.sortWay != null and query.sortWay != ''"
>
order by t1.house_area ${query.sortWay}
</if>
<trim
prefix=
"having"
prefixOverrides=
"and"
>
<if
test=
"query.houseAreaMin != null and query.houseAreaMin != '' and query.houseAreaMax != null and query.houseAreaMax != ''"
>
and t1.house_area
<![CDATA[ >= ]]>
#{query.houseAreaMin} and t1.house_area
<![CDATA[ <= ]]>
#{query.houseAreaMax}
</if>
<if
test=
"query.yearSellMin != null and query.yearSellMin != '' and query.yearSellMax != null and query.yearSellMax != ''"
>
and t4.year_sell
<![CDATA[ >= ]]>
#{query.yearSellMin} and t4.year_sell
<![CDATA[ <= ]]>
#{query.yearSellMax}
</if>
</trim>
</where>
GROUP BY t1.id
<trim
prefix=
"having"
prefixOverrides=
"and"
>
<if
test=
"query.houseAreaMin != null and query.houseAreaMin != '' and query.houseAreaMax != null and query.houseAreaMax != ''"
>
and t1.house_area
<![CDATA[ >= ]]>
#{query.houseAreaMin} and t1.house_area
<![CDATA[ <= ]]>
#{query.houseAreaMax}
</if>
<if
test=
"query.yearSellMin != null and query.yearSellMin != '' and query.yearSellMax != null and query.yearSellMax != ''"
>
and t4.year_sell
<![CDATA[ >= ]]>
#{query.yearSellMin} and t4.year_sell
<![CDATA[ <= ]]>
#{query.yearSellMax}
</if>
</trim>
</select>
<select
id=
"selectAll"
resultType=
"com.ruoyi.system.domain.house.HouseResource"
>
SELECT * FROM house_resource
...
...
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