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
42ac1d33
Commit
42ac1d33
authored
Jun 03, 2025
by
lixuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 房源
parent
47f34144
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
8 deletions
+10
-8
HouseResourceController.java
...m/ruoyi/web/controller/house/HouseResourceController.java
+2
-2
HouseResourceService.java
.../com/ruoyi/system/service/house/HouseResourceService.java
+1
-1
HouseResourceServiceImpl.java
...i/system/service/house/impl/HouseResourceServiceImpl.java
+7
-5
No files found.
ruoyi-admin/src/main/java/com/ruoyi/web/controller/house/HouseResourceController.java
View file @
42ac1d33
...
...
@@ -81,8 +81,8 @@ public class HouseResourceController {
}
@PostMapping
(
"/saveYearTax"
)
public
AjaxResult
postSaveYearTax
(
@RequestBody
YearTaxSaveUpdateDto
dto
)
{
houseResourceService
.
saveYearTax
(
dto
);
public
AjaxResult
postSaveYearTax
(
@RequestBody
List
<
YearTaxSaveUpdateDto
>
dtos
)
{
houseResourceService
.
saveYearTax
(
dto
s
);
return
AjaxResult
.
success
();
}
}
ruoyi-system/src/main/java/com/ruoyi/system/service/house/HouseResourceService.java
View file @
42ac1d33
...
...
@@ -30,5 +30,5 @@ public interface HouseResourceService {
PageBusinessEntityStatisticsDetail
pageBusinessEntityStatistics
(
PageBusinessEntityStatisticsQuery
query
);
void
saveYearTax
(
YearTaxSaveUpdateDto
dto
);
void
saveYearTax
(
List
<
YearTaxSaveUpdateDto
>
dtos
);
}
ruoyi-system/src/main/java/com/ruoyi/system/service/house/impl/HouseResourceServiceImpl.java
View file @
42ac1d33
...
...
@@ -436,11 +436,13 @@ public class HouseResourceServiceImpl implements HouseResourceService {
}
@Override
public
void
saveYearTax
(
YearTaxSaveUpdateDto
dto
)
{
BusinessEntitySell
businessEntitySell
=
new
BusinessEntitySell
();
BeanUtils
.
copyProperties
(
dto
,
businessEntitySell
);
businessEntitySell
.
setId
(
UUID
.
randomUUID
().
toString
().
replaceAll
(
"-"
,
""
));
businessEntitySellMapper
.
insertBusinessEntitySell
(
businessEntitySell
);
public
void
saveYearTax
(
List
<
YearTaxSaveUpdateDto
>
dtos
)
{
for
(
YearTaxSaveUpdateDto
dto
:
dtos
)
{
BusinessEntitySell
businessEntitySell
=
new
BusinessEntitySell
();
BeanUtils
.
copyProperties
(
dto
,
businessEntitySell
);
businessEntitySell
.
setId
(
UUID
.
randomUUID
().
toString
().
replaceAll
(
"-"
,
""
));
businessEntitySellMapper
.
insertBusinessEntitySell
(
businessEntitySell
);
}
}
private
List
<
HouseResourcePage
>
handleHouseList
(
List
<
HouseResourcePage
>
list
)
{
...
...
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