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
ade2f0e9
Commit
ade2f0e9
authored
Jul 22, 2025
by
lixuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 房源
parent
44ed4bdc
Pipeline
#145465
failed with stages
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
1 deletion
+15
-1
HouseResourceExport.java
...com/ruoyi/system/domain/house/vo/HouseResourceExport.java
+6
-0
HouseResourceServiceImpl.java
...i/system/service/house/impl/HouseResourceServiceImpl.java
+6
-0
HouseResourceMapper.xml
...m/src/main/resources/mapper/house/HouseResourceMapper.xml
+3
-1
No files found.
ruoyi-system/src/main/java/com/ruoyi/system/domain/house/vo/HouseResourceExport.java
View file @
ade2f0e9
...
...
@@ -83,4 +83,10 @@ public class HouseResourceExport {
@Excel
(
name
=
"2025营收"
)
private
BigDecimal
YearSell2025
;
@Excel
(
name
=
"经营(办公)场所图片"
)
private
String
houseResourceUrl
;
@Excel
(
name
=
"营业执照图片"
)
private
String
businessLicenseUrl
;
}
ruoyi-system/src/main/java/com/ruoyi/system/service/house/impl/HouseResourceServiceImpl.java
View file @
ade2f0e9
...
...
@@ -311,6 +311,12 @@ public class HouseResourceServiceImpl implements HouseResourceService {
x
.
setYearSell2024
(
businessEntitySell2024
.
getYearSell
());
}
}
BusinessEntitySell
businessEntitySell2025
=
businessEntitySellMapper
.
selectBusinessEntitySellByBusinessEntityInfoId
(
x
.
getBusinessEntityInfoId
(),
2025
);
if
(
Objects
.
nonNull
(
businessEntitySell2025
))
{
if
(
Objects
.
nonNull
(
businessEntitySell2025
.
getYearSell
()))
{
x
.
setYearSell2025
(
businessEntitySell2025
.
getYearSell
());
}
}
});
if
(
CollectionUtils
.
isEmpty
(
list
))
{
return
Collections
.
emptyList
();
...
...
ruoyi-system/src/main/resources/mapper/house/HouseResourceMapper.xml
View file @
ade2f0e9
...
...
@@ -443,7 +443,9 @@
t1.remark,
t3.name AS businessEntityInfoName,
t3.principal,
ROUND(IFNULL(t1.unit_price,0) * 10000 / 365 / t1.house_area, 1) AS dayPrice
ROUND(IFNULL(t1.unit_price,0) * 10000 / 365 / t1.house_area, 1) AS dayPrice,
t1.house_resource_url,
t1.business_license_url
FROM
house_resource t1
LEFT JOIN grid_region t2 ON t2.wg_code = t1.four
...
...
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