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
e4985f01
Commit
e4985f01
authored
Jul 15, 2025
by
lixuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 房源
parent
0720c40d
Pipeline
#145374
canceled with stages
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
HouseResourceController.java
...m/ruoyi/web/controller/house/HouseResourceController.java
+2
-2
HouseResourceMapper.xml
...m/src/main/resources/mapper/house/HouseResourceMapper.xml
+7
-0
No files found.
ruoyi-admin/src/main/java/com/ruoyi/web/controller/house/HouseResourceController.java
View file @
e4985f01
...
...
@@ -73,8 +73,8 @@ public class HouseResourceController {
return
AjaxResult
.
success
(
houseResourceService
.
appProfileGraphHouseResources
(
query
));
}
@
Ge
tMapping
(
"/list"
)
public
AjaxResult
getListHouseResources
(
HouseResourcePageQuery
query
)
{
@
Pos
tMapping
(
"/list"
)
public
AjaxResult
getListHouseResources
(
@RequestBody
HouseResourcePageQuery
query
)
{
return
AjaxResult
.
success
(
houseResourceService
.
listHouseResources
(
query
));
}
...
...
ruoyi-system/src/main/resources/mapper/house/HouseResourceMapper.xml
View file @
e4985f01
...
...
@@ -270,6 +270,13 @@
<if
test=
"query.sortWay != null and query.sortWay != ''"
>
order by t1.house_area ${query.sortWay}
</if>
<if
test=
"query.aiQueries != null and query.aiQueries.size() > 0"
>
and (
<foreach
collection=
"query.aiQueries"
item=
"ai"
separator=
" or "
>
(t1.two = #{ai.two} and t1.three = #{ai.three} and t1.four = #{ai.four} and t1.type = #{ai.wgType})
</foreach>
)
</if>
</where>
GROUP BY t1.id
<trim
prefix=
"having"
prefixOverrides=
"and"
>
...
...
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