Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
usedCarAuction
/
aus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 31559001
authored
Apr 20, 2026
by
章家宝
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat:新增车辆档案导出(含发拍信息)
1 parent
72648680
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
3 deletions
aus-admin/src/main/java/com/glsx/usedcar/export/VehicleBeanWithVr.java
aus-admin/src/main/java/com/glsx/usedcar/web/rest/vehicle/VehicleController.java
aus-admin/src/main/java/com/glsx/usedcar/export/VehicleBeanWithVr.java
0 → 100644
View file @
3155900
This diff is collapsed.
Click to expand it.
aus-admin/src/main/java/com/glsx/usedcar/web/rest/vehicle/VehicleController.java
View file @
3155900
package
com
.
glsx
.
usedcar
.
web
.
rest
.
vehicle
;
import
com.glsx.usedcar.export.ExcelExporter
;
import
com.glsx.usedcar.export.VehicleBean
;
import
com.glsx.usedcar.export.*
;
import
com.glsx.usedcar.module.analysis.domain.NameCount
;
import
com.glsx.usedcar.module.auction.entity.AppraisePrice
;
import
com.glsx.usedcar.module.auction.entity.AppraisePrice_
;
...
...
@@ -295,7 +294,20 @@ public class VehicleController {
List
<
VehicleBean
>
vehicleBeans
=
vehicles
.
stream
().
map
(
VehicleBean:
:
new
).
toList
();
ExcelExporter
.
exportExcel
(
response
,
"评估定价车辆列表"
,
"车辆列表"
,
VehicleBean
.
class
,
vehicleBeans
);
}
/**
* 车辆列表导出(含发拍信息)
*
* @param pagination
* @param response
* @throws IOException
*/
@PostMapping
(
"exportVehicleWithVr"
)
public
void
exportVehicleWithVr
(
@RequestBody
Pagination
<
Vehicle
>
pagination
,
HttpServletResponse
response
)
throws
IOException
{
pagination
.
setLimit
(
9999
);
List
<
Vehicle
>
vehicles
=
pageVehicle
(
pagination
).
getContent
();
List
<
VehicleBeanWithVr
>
vehicleBeans
=
vehicles
.
stream
().
map
(
VehicleBeanWithVr:
:
new
).
toList
();
ExcelExporter
.
exportExcel
(
response
,
"车辆列表(含发拍信息)"
,
"车辆列表"
,
VehicleBean
.
class
,
vehicleBeans
);
}
/**
* 系统自动加价
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment