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
1c4196f0
Commit
1c4196f0
authored
Jul 18, 2025
by
lixuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 房源
parent
b7f83f11
Pipeline
#145430
canceled with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
1 deletion
+20
-1
BusinessEntityInfoMapper.xml
.../main/resources/mapper/house/BusinessEntityInfoMapper.xml
+1
-1
HouseResourceMapper.xml
...m/src/main/resources/mapper/house/HouseResourceMapper.xml
+19
-0
No files found.
ruoyi-system/src/main/resources/mapper/house/BusinessEntityInfoMapper.xml
View file @
1c4196f0
...
...
@@ -80,6 +80,6 @@
t1.house_resource_id = #{houseResourceId}
</select>
<select
id=
"selectByName"
resultType=
"com.ruoyi.system.domain.house.BusinessEntityInfo"
>
SELECT
* FROM business_entity_info WHERE
name = #{name}
SELECT
t2.* FROM house_resource t1 LEFT JOIN business_entity_info t2 ON t1.id = t2.house_resource_id WHERE t2.
name = #{name}
</select>
</mapper>
ruoyi-system/src/main/resources/mapper/house/HouseResourceMapper.xml
View file @
1c4196f0
...
...
@@ -175,6 +175,12 @@
<if
test=
"query.yearSellMax != null and query.yearSellMax != ''"
>
and t4.year_sell
<![CDATA[ <= ]]>
#{query.yearSellMax}
</if>
<if
test=
"query.yearTaxMin != null and query.yearTaxMin != ''"
>
and t4.year_tax
<![CDATA[ >= ]]>
#{query.yearTaxMin}
</if>
<if
test=
"query.yearTaxMax != null and query.yearTaxMax != ''"
>
and t4.year_tax
<![CDATA[ <= ]]>
#{query.yearTaxMax}
</if>
<if
test=
"query.gsFlag != null and query.gsFlag != ''"
>
and t3.gs = ${query.gsFlag}
</if>
...
...
@@ -323,6 +329,12 @@
<if
test=
"query.yearSellMax != null and query.yearSellMax != ''"
>
and t4.year_sell
<![CDATA[ <= ]]>
#{query.yearSellMax}
</if>
<if
test=
"query.yearTaxMin != null and query.yearTaxMin != ''"
>
and t4.year_tax
<![CDATA[ >= ]]>
#{query.yearTaxMin}
</if>
<if
test=
"query.yearTaxMax != null and query.yearTaxMax != ''"
>
and t4.year_tax
<![CDATA[ <= ]]>
#{query.yearTaxMax}
</if>
<if
test=
"query.gsFlag != null and query.gsFlag != ''"
>
and t3.gs = ${query.gsFlag}
</if>
...
...
@@ -419,6 +431,7 @@
house_resource t1
LEFT JOIN grid_region t2 ON t2.wg_code = t1.four
LEFT JOIN business_entity_info t3 ON t1.id = t3.house_resource_id
LEFT JOIN business_entity_sell t4 ON t4.business_entity_info_id = t3.id
<where>
<if
test=
"query.wgType != null"
>
and t1.type = #{query.wgType}
...
...
@@ -459,6 +472,12 @@
<if
test=
"query.yearSellMax != null and query.yearSellMax != ''"
>
and t4.year_sell
<![CDATA[ <= ]]>
#{query.yearSellMax}
</if>
<if
test=
"query.yearTaxMin != null and query.yearTaxMin != ''"
>
and t4.year_tax
<![CDATA[ >= ]]>
#{query.yearTaxMin}
</if>
<if
test=
"query.yearTaxMax != null and query.yearTaxMax != ''"
>
and t4.year_tax
<![CDATA[ <= ]]>
#{query.yearTaxMax}
</if>
<if
test=
"query.gsFlag != null and query.gsFlag != ''"
>
and t3.gs = ${query.gsFlag}
</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