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
f14dbfda
Commit
f14dbfda
authored
Jul 23, 2025
by
lixuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 房源
parent
1c88526e
Pipeline
#145476
failed with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
99 additions
and
0 deletions
+99
-0
HouseResourcePageQuery.java
.../ruoyi/system/domain/house/vo/HouseResourcePageQuery.java
+18
-0
HouseResourceMapper.xml
...m/src/main/resources/mapper/house/HouseResourceMapper.xml
+81
-0
No files found.
ruoyi-system/src/main/java/com/ruoyi/system/domain/house/vo/HouseResourcePageQuery.java
View file @
f14dbfda
...
@@ -80,6 +80,24 @@ public class HouseResourcePageQuery extends PageDomain {
...
@@ -80,6 +80,24 @@ public class HouseResourcePageQuery extends PageDomain {
private
Integer
registrationPlaceFlag
;
private
Integer
registrationPlaceFlag
;
private
String
address
;
private
String
ownership
;
private
String
houseResourceEquityTel
;
private
String
principal
;
private
String
principalTel
;
private
String
business
;
private
Integer
workerNumber
;
private
String
registeredAddress
;
private
String
nature
;
private
List
<
AiQuery
>
aiQueries
;
private
List
<
AiQuery
>
aiQueries
;
@Data
@Data
...
...
ruoyi-system/src/main/resources/mapper/house/HouseResourceMapper.xml
View file @
f14dbfda
...
@@ -200,6 +200,33 @@
...
@@ -200,6 +200,33 @@
<if
test=
"query.registrationPlaceFlag != null"
>
<if
test=
"query.registrationPlaceFlag != null"
>
and t3.registration_place_flag = #{query.registrationPlaceFlag}
and t3.registration_place_flag = #{query.registrationPlaceFlag}
</if>
</if>
<if
test=
"query.address != null and query.address != ''"
>
and t1.address like concat('%', #{query.address}, '%')
</if>
<if
test=
"query.ownership != null and query.ownership != ''"
>
and t1.ownership like concat('%', #{query.ownership}, '%')
</if>
<if
test=
"query.houseResourceEquityTel != null and query.houseResourceEquityTel != ''"
>
and t1.house_resource_equity_tel like concat('%', #{query.houseResourceEquityTel}, '%')
</if>
<if
test=
"query.principal != null and query.principal != ''"
>
and t3.principal like concat('%', #{query.principal}, '%')
</if>
<if
test=
"query.principalTel != null and query.principalTel != ''"
>
and t3.principalTel like concat('%', #{query.principalTel}, '%')
</if>
<if
test=
"query.business != null and query.business != ''"
>
and t3.business like concat('%', #{query.business}, '%')
</if>
<if
test=
"query.workerNumber != null"
>
and t3.worker_number = #{query.workerNumber}
</if>
<if
test=
"query.registeredAddress != null and query.registeredAddress != ''"
>
and t3.registered_address like concat('%', #{query.registeredAddress}, '%')
</if>
<if
test=
"query.nature != null and query.nature != ''"
>
and t3.nature = #{query.nature}
</if>
<if
test=
"query.wgCodes != null and query.wgCodes.size() > 0"
>
<if
test=
"query.wgCodes != null and query.wgCodes.size() > 0"
>
and t1.two in
and t1.two in
<foreach
item=
"item"
index=
"index"
collection=
"query.wgCodes"
open=
"("
separator=
","
close=
")"
>
<foreach
item=
"item"
index=
"index"
collection=
"query.wgCodes"
open=
"("
separator=
","
close=
")"
>
...
@@ -363,6 +390,33 @@
...
@@ -363,6 +390,33 @@
<if
test=
"query.registrationPlaceFlag != null"
>
<if
test=
"query.registrationPlaceFlag != null"
>
and t3.registration_place_flag = #{query.registrationPlaceFlag}
and t3.registration_place_flag = #{query.registrationPlaceFlag}
</if>
</if>
<if
test=
"query.address != null and query.address != ''"
>
and t1.address like concat('%', #{query.address}, '%')
</if>
<if
test=
"query.ownership != null and query.ownership != ''"
>
and t1.ownership like concat('%', #{query.ownership}, '%')
</if>
<if
test=
"query.houseResourceEquityTel != null and query.houseResourceEquityTel != ''"
>
and t1.house_resource_equity_tel like concat('%', #{query.houseResourceEquityTel}, '%')
</if>
<if
test=
"query.principal != null and query.principal != ''"
>
and t3.principal like concat('%', #{query.principal}, '%')
</if>
<if
test=
"query.principalTel != null and query.principalTel != ''"
>
and t3.principalTel like concat('%', #{query.principalTel}, '%')
</if>
<if
test=
"query.business != null and query.business != ''"
>
and t3.business like concat('%', #{query.business}, '%')
</if>
<if
test=
"query.workerNumber != null"
>
and t3.worker_number = #{query.workerNumber}
</if>
<if
test=
"query.registeredAddress != null and query.registeredAddress != ''"
>
and t3.registered_address like concat('%', #{query.registeredAddress}, '%')
</if>
<if
test=
"query.nature != null and query.nature != ''"
>
and t3.nature = #{query.nature}
</if>
<if
test=
"query.wgCodes != null and query.wgCodes.size() > 0"
>
<if
test=
"query.wgCodes != null and query.wgCodes.size() > 0"
>
and t1.two in
and t1.two in
<foreach
item=
"item"
index=
"index"
collection=
"query.wgCodes"
open=
"("
separator=
","
close=
")"
>
<foreach
item=
"item"
index=
"index"
collection=
"query.wgCodes"
open=
"("
separator=
","
close=
")"
>
...
@@ -515,6 +569,33 @@
...
@@ -515,6 +569,33 @@
<if
test=
"query.registrationPlaceFlag != null"
>
<if
test=
"query.registrationPlaceFlag != null"
>
and t3.registration_place_flag = #{query.registrationPlaceFlag}
and t3.registration_place_flag = #{query.registrationPlaceFlag}
</if>
</if>
<if
test=
"query.address != null and query.address != ''"
>
and t1.address like concat('%', #{query.address}, '%')
</if>
<if
test=
"query.ownership != null and query.ownership != ''"
>
and t1.ownership like concat('%', #{query.ownership}, '%')
</if>
<if
test=
"query.houseResourceEquityTel != null and query.houseResourceEquityTel != ''"
>
and t1.house_resource_equity_tel like concat('%', #{query.houseResourceEquityTel}, '%')
</if>
<if
test=
"query.principal != null and query.principal != ''"
>
and t3.principal like concat('%', #{query.principal}, '%')
</if>
<if
test=
"query.principalTel != null and query.principalTel != ''"
>
and t3.principalTel like concat('%', #{query.principalTel}, '%')
</if>
<if
test=
"query.business != null and query.business != ''"
>
and t3.business like concat('%', #{query.business}, '%')
</if>
<if
test=
"query.workerNumber != null"
>
and t3.worker_number = #{query.workerNumber}
</if>
<if
test=
"query.registeredAddress != null and query.registeredAddress != ''"
>
and t3.registered_address like concat('%', #{query.registeredAddress}, '%')
</if>
<if
test=
"query.nature != null and query.nature != ''"
>
and t3.nature = #{query.nature}
</if>
<if
test=
"query.wgCodes != null and query.wgCodes.size() > 0"
>
<if
test=
"query.wgCodes != null and query.wgCodes.size() > 0"
>
and t1.two in
and t1.two in
<foreach
item=
"item"
index=
"index"
collection=
"query.wgCodes"
open=
"("
separator=
","
close=
")"
>
<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