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
d09df665
Commit
d09df665
authored
Jul 15, 2025
by
lixuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 房源
parent
e4985f01
Pipeline
#145380
failed with stages
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
46 additions
and
2 deletions
+46
-2
HouseResourceMapper.xml
...m/src/main/resources/mapper/house/HouseResourceMapper.xml
+46
-2
No files found.
ruoyi-system/src/main/resources/mapper/house/HouseResourceMapper.xml
View file @
d09df665
...
...
@@ -190,7 +190,29 @@
<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})
(
<if
test=
"ai.two != null and ai.two != ''"
>
t1.two = #{ai.two}
</if>
<if
test=
"ai.three != null and ai.three != ''"
>
<if
test=
"ai.two != null and ai.two != ''"
>
and
</if>
t1.three = #{ai.three}
</if>
<if
test=
"ai.four != null and ai.four != ''"
>
<if
test=
"(ai.two != null and ai.two != '') or (ai.three != null and ai.three != '')"
>
and
</if>
t1.four = #{ai.four}
</if>
<if
test=
"ai.wgType != null"
>
<if
test=
"(ai.two != null and ai.two != '') or (ai.three != null and ai.three != '') or (ai.four != null and ai.four != '')"
>
and
</if>
t1.type = #{ai.wgType}
</if>
)
</foreach>
)
</if>
...
...
@@ -273,7 +295,29 @@
<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})
(
<if
test=
"ai.two != null and ai.two != ''"
>
t1.two = #{ai.two}
</if>
<if
test=
"ai.three != null and ai.three != ''"
>
<if
test=
"ai.two != null and ai.two != ''"
>
and
</if>
t1.three = #{ai.three}
</if>
<if
test=
"ai.four != null and ai.four != ''"
>
<if
test=
"(ai.two != null and ai.two != '') or (ai.three != null and ai.three != '')"
>
and
</if>
t1.four = #{ai.four}
</if>
<if
test=
"ai.wgType != null"
>
<if
test=
"(ai.two != null and ai.two != '') or (ai.three != null and ai.three != '') or (ai.four != null and ai.four != '')"
>
and
</if>
t1.type = #{ai.wgType}
</if>
)
</foreach>
)
</if>
...
...
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