Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
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
92e4a0d5
Commit
92e4a0d5
authored
May 11, 2026
by
lixuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 需求
parent
91dcf54d
Pipeline
#147249
failed with stages
in 0 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
14 deletions
+10
-14
HouseResourceMapper.xml
...m/src/main/resources/mapper/house/HouseResourceMapper.xml
+10
-14
No files found.
ruoyi-system/src/main/resources/mapper/house/HouseResourceMapper.xml
View file @
92e4a0d5
...
@@ -134,11 +134,11 @@
...
@@ -134,11 +134,11 @@
t5.year
t5.year
FROM
FROM
house_resource t1
house_resource t1
LEFT JOIN grid_region t2 ON t2.wg_code = t1.four
AND t1.delete_flag = 0
LEFT JOIN grid_region t2 ON t2.wg_code = t1.four
LEFT JOIN house_resource_business_entity_info_mapping t3 ON t3.house_resource_id = t1.id AND t3.delete_flag = 0
LEFT JOIN house_resource_business_entity_info_mapping t3 ON t3.house_resource_id = t1.id AND t3.delete_flag = 0
LEFT JOIN business_entity_info t4 ON t3.business_entity_info_id = t4.id AND t4.delete_flag = 0
LEFT JOIN business_entity_info t4 ON t3.business_entity_info_id = t4.id AND t4.delete_flag = 0
LEFT JOIN business_entity_sell t5 ON t5.business_entity_info_id = t4.id AND t5.delete_flag = 0
LEFT JOIN business_entity_sell t5 ON t5.business_entity_info_id = t4.id AND t5.delete_flag = 0
<where>
where
t1.delete_flag = 0
t1.delete_flag = 0
<if
test=
"query.wgType != null"
>
<if
test=
"query.wgType != null"
>
and t1.type = #{query.wgType}
and t1.type = #{query.wgType}
...
@@ -298,7 +298,6 @@
...
@@ -298,7 +298,6 @@
</foreach>
</foreach>
)
)
</if>
</if>
</where>
GROUP BY t1.id, t4.id
GROUP BY t1.id, t4.id
<trim
prefix=
"having"
prefixOverrides=
"and"
>
<trim
prefix=
"having"
prefixOverrides=
"and"
>
<if
test=
"query.dayPriceMin != null"
>
<if
test=
"query.dayPriceMin != null"
>
...
@@ -327,11 +326,11 @@
...
@@ -327,11 +326,11 @@
t4.id AS businessEntityInfoId
t4.id AS businessEntityInfoId
FROM
FROM
house_resource t1
house_resource t1
LEFT JOIN grid_region t2 ON t2.wg_code = t1.four
AND t1.delete_flag = 0
LEFT JOIN grid_region t2 ON t2.wg_code = t1.four
LEFT JOIN house_resource_business_entity_info_mapping t3 ON t3.house_resource_id = t1.id AND t3.delete_flag = 0
LEFT JOIN house_resource_business_entity_info_mapping t3 ON t3.house_resource_id = t1.id AND t3.delete_flag = 0
LEFT JOIN business_entity_info t4 ON t3.business_entity_info_id = t4.id AND t4.delete_flag = 0
LEFT JOIN business_entity_info t4 ON t3.business_entity_info_id = t4.id AND t4.delete_flag = 0
LEFT JOIN business_entity_sell t5 ON t5.business_entity_info_id = t4.id AND t5.delete_flag = 0
LEFT JOIN business_entity_sell t5 ON t5.business_entity_info_id = t4.id AND t5.delete_flag = 0
<where>
where
t1.delete_flag = 0
t1.delete_flag = 0
<if
test=
"query.wgType != null"
>
<if
test=
"query.wgType != null"
>
and t1.type = #{query.wgType}
and t1.type = #{query.wgType}
...
@@ -491,7 +490,6 @@
...
@@ -491,7 +490,6 @@
</foreach>
</foreach>
)
)
</if>
</if>
</where>
GROUP BY t1.id, t4.id
GROUP BY t1.id, t4.id
<trim
prefix=
"having"
prefixOverrides=
"and"
>
<trim
prefix=
"having"
prefixOverrides=
"and"
>
<if
test=
"query.dayPriceMin != null"
>
<if
test=
"query.dayPriceMin != null"
>
...
@@ -514,11 +512,11 @@
...
@@ -514,11 +512,11 @@
t5.year
t5.year
FROM
FROM
house_resource t1
house_resource t1
LEFT JOIN grid_region t2 ON t2.wg_code = t1.four
AND t1.delete_flag = 0
LEFT JOIN grid_region t2 ON t2.wg_code = t1.four
LEFT JOIN house_resource_business_entity_info_mapping t3 ON t3.house_resource_id = t1.id AND t3.delete_flag = 0
LEFT JOIN house_resource_business_entity_info_mapping t3 ON t3.house_resource_id = t1.id AND t3.delete_flag = 0
LEFT JOIN business_entity_info t4 ON t3.business_entity_info_id = t4.id AND t4.delete_flag = 0
LEFT JOIN business_entity_info t4 ON t3.business_entity_info_id = t4.id AND t4.delete_flag = 0
LEFT JOIN business_entity_sell t5 ON t5.business_entity_info_id = t4.id AND t5.delete_flag = 0
LEFT JOIN business_entity_sell t5 ON t5.business_entity_info_id = t4.id AND t5.delete_flag = 0
<where>
where
t1.delete_flag = 0
t1.delete_flag = 0
<if
test=
"query.wgType != null"
>
<if
test=
"query.wgType != null"
>
and t1.type = #{query.wgType}
and t1.type = #{query.wgType}
...
@@ -681,7 +679,6 @@
...
@@ -681,7 +679,6 @@
</foreach>
</foreach>
)
)
</if>
</if>
</where>
GROUP BY t1.id, t4.id
GROUP BY t1.id, t4.id
<trim
prefix=
"having"
prefixOverrides=
"and"
>
<trim
prefix=
"having"
prefixOverrides=
"and"
>
<if
test=
"query.dayPriceMin != null"
>
<if
test=
"query.dayPriceMin != null"
>
...
@@ -730,11 +727,11 @@
...
@@ -730,11 +727,11 @@
t1.business_license_url
t1.business_license_url
FROM
FROM
house_resource t1
house_resource t1
LEFT JOIN grid_region t2 ON t2.wg_code = t1.four
AND t1.delete_flag = 0
LEFT JOIN grid_region t2 ON t2.wg_code = t1.four
LEFT JOIN house_resource_business_entity_info_mapping t3 ON t3.house_resource_id = t1.id AND t3.delete_flag = 0
LEFT JOIN house_resource_business_entity_info_mapping t3 ON t3.house_resource_id = t1.id AND t3.delete_flag = 0
LEFT JOIN business_entity_info t4 ON t3.business_entity_info_id = t4.id AND t4.delete_flag = 0
LEFT JOIN business_entity_info t4 ON t3.business_entity_info_id = t4.id AND t4.delete_flag = 0
LEFT JOIN business_entity_sell t5 ON t5.business_entity_info_id = t4.id AND t5.delete_flag = 0
LEFT JOIN business_entity_sell t5 ON t5.business_entity_info_id = t4.id AND t5.delete_flag = 0
<where>
where
t1.delete_flag = 0
t1.delete_flag = 0
<if
test=
"query.wgType != null"
>
<if
test=
"query.wgType != null"
>
and t1.type = #{query.wgType}
and t1.type = #{query.wgType}
...
@@ -865,7 +862,6 @@
...
@@ -865,7 +862,6 @@
<if
test=
"query.updateTimeEnd != null"
>
<if
test=
"query.updateTimeEnd != null"
>
AND t1.update_time
<![CDATA[ <= ]]>
#{query.updateTimeEnd}
AND t1.update_time
<![CDATA[ <= ]]>
#{query.updateTimeEnd}
</if>
</if>
</where>
GROUP BY t1.id, t4.id
GROUP BY t1.id, t4.id
<trim
prefix=
"having"
prefixOverrides=
"and"
>
<trim
prefix=
"having"
prefixOverrides=
"and"
>
<if
test=
"query.dayPriceMin != null"
>
<if
test=
"query.dayPriceMin != null"
>
...
@@ -887,7 +883,7 @@
...
@@ -887,7 +883,7 @@
SUM(t5.year_tax) AS taxCount
SUM(t5.year_tax) AS taxCount
FROM
FROM
house_resource t1
house_resource t1
LEFT JOIN grid_region t2 ON t2.wg_code = t1.four
AND t1.delete_flag = 0
LEFT JOIN grid_region t2 ON t2.wg_code = t1.four
LEFT JOIN house_resource_business_entity_info_mapping t3 ON t3.house_resource_id = t1.id AND t3.delete_flag = 0
LEFT JOIN house_resource_business_entity_info_mapping t3 ON t3.house_resource_id = t1.id AND t3.delete_flag = 0
LEFT JOIN business_entity_info t4 ON t3.business_entity_info_id = t4.id AND t4.delete_flag = 0
LEFT JOIN business_entity_info t4 ON t3.business_entity_info_id = t4.id AND t4.delete_flag = 0
LEFT JOIN business_entity_sell t5 ON t5.business_entity_info_id = t4.id AND t5.delete_flag = 0
LEFT JOIN business_entity_sell t5 ON t5.business_entity_info_id = t4.id AND t5.delete_flag = 0
...
@@ -927,7 +923,7 @@
...
@@ -927,7 +923,7 @@
t4.principal
t4.principal
FROM
FROM
house_resource t1
house_resource t1
LEFT JOIN grid_region t2 ON t2.wg_code = t1.four
AND t1.delete_flag = 0
LEFT JOIN grid_region t2 ON t2.wg_code = t1.four
LEFT JOIN house_resource_business_entity_info_mapping t3 ON t3.house_resource_id = t1.id AND t3.delete_flag = 0
LEFT JOIN house_resource_business_entity_info_mapping t3 ON t3.house_resource_id = t1.id AND t3.delete_flag = 0
LEFT JOIN business_entity_info t4 ON t3.business_entity_info_id = t4.id AND t4.delete_flag = 0
LEFT JOIN business_entity_info t4 ON t3.business_entity_info_id = t4.id AND t4.delete_flag = 0
LEFT JOIN business_entity_sell t5 ON t5.business_entity_info_id = t4.id AND t5.delete_flag = 0
LEFT JOIN business_entity_sell t5 ON t5.business_entity_info_id = t4.id AND t5.delete_flag = 0
...
...
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