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
44ed4bdc
Commit
44ed4bdc
authored
Jul 22, 2025
by
lixuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 房源
parent
080ea81e
Pipeline
#145455
failed with stages
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
HouseResourcePage.java
...a/com/ruoyi/system/domain/house/vo/HouseResourcePage.java
+2
-0
HouseResourcePageQuery.java
.../ruoyi/system/domain/house/vo/HouseResourcePageQuery.java
+2
-2
HouseResourceMapper.xml
...m/src/main/resources/mapper/house/HouseResourceMapper.xml
+4
-2
No files found.
ruoyi-system/src/main/java/com/ruoyi/system/domain/house/vo/HouseResourcePage.java
View file @
44ed4bdc
...
...
@@ -114,6 +114,8 @@ public class HouseResourcePage {
private
String
businessEntityInfoName
;
private
String
name
;
private
String
principal
;
private
String
principalTel
;
...
...
ruoyi-system/src/main/java/com/ruoyi/system/domain/house/vo/HouseResourcePageQuery.java
View file @
44ed4bdc
...
...
@@ -28,9 +28,9 @@ public class HouseResourcePageQuery extends PageDomain {
private
String
houseNumber
;
private
BigDecimal
houseAreaMin
=
BigDecimal
.
ZERO
;
private
BigDecimal
houseAreaMin
;
private
BigDecimal
houseAreaMax
=
new
BigDecimal
(
9999999
)
;
private
BigDecimal
houseAreaMax
;
private
Integer
houseResourceType
;
...
...
ruoyi-system/src/main/resources/mapper/house/HouseResourceMapper.xml
View file @
44ed4bdc
...
...
@@ -129,6 +129,7 @@
t3.nature,
t3.industry_classification,
ROUND(IFNULL(t1.unit_price,0) * 10000 / 365 / t1.house_area, 1) AS dayPrice,
t3.name,
t4.year
FROM
house_resource t1
...
...
@@ -235,7 +236,7 @@
)
</if>
</where>
GROUP BY t1.id
GROUP BY t1.id
, t3.id
<trim
prefix=
"having"
prefixOverrides=
"and"
>
<if
test=
"query.dayPriceMin != null and query.dayPriceMin != ''"
>
and dayPrice
<![CDATA[ >= ]]>
#{query.dayPriceMin}
...
...
@@ -398,7 +399,7 @@
)
</if>
</where>
GROUP BY t1.id
GROUP BY t1.id
, t3.id
<trim
prefix=
"having"
prefixOverrides=
"and"
>
<if
test=
"query.dayPriceMin != null and query.dayPriceMin != ''"
>
and dayPrice
<![CDATA[ >= ]]>
#{query.dayPriceMin}
...
...
@@ -519,6 +520,7 @@
</foreach>
</if>
</where>
GROUP BY t1.id, t3.id
<trim
prefix=
"having"
prefixOverrides=
"and"
>
<if
test=
"query.dayPriceMin != null and query.dayPriceMin != ''"
>
and dayPrice
<![CDATA[ >= ]]>
#{query.dayPriceMin}
...
...
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