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
a7b6810b
Commit
a7b6810b
authored
Mar 31, 2025
by
lixuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 房源
parent
3d80b0ed
Pipeline
#143772
failed with stages
in 33 minutes and 40 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
1 deletion
+14
-1
HouseResourceMapper.java
...va/com/ruoyi/system/mapper/house/HouseResourceMapper.java
+2
-0
HouseResourceServiceImpl.java
...i/system/service/house/impl/HouseResourceServiceImpl.java
+1
-1
HouseResourceMapper.xml
...m/src/main/resources/mapper/house/HouseResourceMapper.xml
+11
-0
No files found.
ruoyi-system/src/main/java/com/ruoyi/system/mapper/house/HouseResourceMapper.java
View file @
a7b6810b
...
...
@@ -27,4 +27,6 @@ public interface HouseResourceMapper {
List
<
HouseResourcePage
>
selectList
(
@Param
(
"query"
)
HouseResourcePageQuery
houseResourcePageQuery
);
List
<
HouseResource
>
selectAll
();
List
<
HouseResource
>
selectPageBusinessEntityStatistics
();
}
ruoyi-system/src/main/java/com/ruoyi/system/service/house/impl/HouseResourceServiceImpl.java
View file @
a7b6810b
...
...
@@ -294,7 +294,7 @@ public class HouseResourceServiceImpl implements HouseResourceService {
@Override
public
PageBusinessEntityStatisticsDetail
pageBusinessEntityStatistics
(
PageBusinessEntityStatisticsQuery
query
)
{
List
<
HouseResource
>
list
=
houseResourceMapper
.
select
All
();
List
<
HouseResource
>
list
=
houseResourceMapper
.
select
PageBusinessEntityStatistics
();
if
(
CollectionUtils
.
isEmpty
(
list
))
{
return
new
PageBusinessEntityStatisticsDetail
();
}
...
...
ruoyi-system/src/main/resources/mapper/house/HouseResourceMapper.xml
View file @
a7b6810b
...
...
@@ -229,4 +229,15 @@
<select
id=
"selectAll"
resultType=
"com.ruoyi.system.domain.house.HouseResource"
>
SELECT * FROM house_resource
</select>
<select
id=
"selectPageBusinessEntityStatistics"
resultType=
"com.ruoyi.system.domain.house.HouseResource"
>
SELECT
t2.wg_name AS wgName4,
t1.*,
t4.year_sell
FROM
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
</select>
</mapper>
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