Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
gsc
/
gsc-vcp-api
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 e8870e40
authored
Jan 06, 2026
by
林冲
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
modify: 导出报告管理
1 parent
66650f3f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
119 additions
and
12 deletions
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/resdto/checkreport/CheckReportExportDTO.java
src/main/java/com/gsc4cloud/gsc/vpc/api/feign/checkreport/CheckReportRemote.java
src/main/java/com/gsc4cloud/gsc/vpc/api/req/web/checkreport/CheckReportExportRequest.java
src/main/java/com/gsc4cloud/gsc/vpc/api/req/web/checkreport/CheckReportPageRequest.java
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/resdto/checkreport/CheckReportExportDTO.java
0 → 100644
View file @
e8870e4
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
dto
.
web
.
resdto
.
checkreport
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
* 车辆检测报告分页响应DTO
*
* @author auto-generated
*/
@Data
@Schema
(
description
=
"车辆检测报告分页响应DTO"
)
public
class
CheckReportExportDTO
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
/**
* 查询流水号
*/
@ExcelProperty
(
value
=
"查询流水号"
)
private
String
checkno
;
/**
* 报告类型:0-事故报告,1-维保报告
*/
@ExcelProperty
(
value
=
"报告类型"
)
private
String
reportTypeName
;
/**
* 车架号
*/
@ExcelProperty
(
value
=
"车架号"
)
private
String
vin
;
/**
* 报告状态:0-生成中,1-生成成功,2-生成失败
*/
@ExcelProperty
(
value
=
"报告状态"
)
private
String
statusName
;
/**
* 查询人
*/
@ExcelProperty
(
value
=
"查询人"
)
private
String
queryUser
;
/**
* 查询时间
*/
@ExcelProperty
(
value
=
"查询时间"
)
private
Date
queryTime
;
}
src/main/java/com/gsc4cloud/gsc/vpc/api/feign/checkreport/CheckReportRemote.java
View file @
e8870e4
...
...
@@ -9,7 +9,6 @@ import com.gsc4cloud.gsc.vpc.api.dto.web.resdto.checkreport.CheckReportPageResDT
import
com.gsc4cloud.gsc.vpc.api.req.PageRequest
;
import
com.gsc4cloud.gsc.vpc.api.req.web.checkreport.CheckReportCreateRequest
;
import
com.gsc4cloud.gsc.vpc.api.req.web.checkreport.CheckReportDetailRequest
;
import
com.gsc4cloud.gsc.vpc.api.req.web.checkreport.CheckReportExportRequest
;
import
com.gsc4cloud.gsc.vpc.api.req.web.checkreport.CheckReportPageRequest
;
import
org.springframework.cloud.openfeign.FeignClient
;
import
org.springframework.web.bind.annotation.PostMapping
;
...
...
@@ -44,8 +43,8 @@ public interface CheckReportRemote {
/**
* 导出报告(根据ID列表)
*/
@PostMapping
(
"/checkReport/export
ByIds
"
)
R
<
String
>
export
ByIds
(
@RequestBody
CheckReportExportRequest
request
);
@PostMapping
(
"/checkReport/export
List
"
)
R
<
String
>
export
List
(
@RequestBody
PageRequest
<
CheckReportPageRequest
>
request
);
/**
* 数量统计
...
...
src/main/java/com/gsc4cloud/gsc/vpc/api/req/web/checkreport/CheckReportExportRequest.java
View file @
e8870e4
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
req
.
web
.
checkreport
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
jakarta.validation.constraints.NotEmpty
;
import
lombok.Data
;
import
java.util.List
;
/**
* 导出报告请求
*
...
...
@@ -15,16 +12,47 @@ import java.util.List;
@Schema
(
description
=
"导出报告请求"
)
public
class
CheckReportExportRequest
{
/**
* 报告ID列表
*/
@NotEmpty
(
message
=
"报告ID列表不能为空"
)
@Schema
(
description
=
"报告ID列表"
)
private
List
<
Long
>
ids
;
/**
* 创建人
*/
@Schema
(
description
=
"创建人"
)
private
String
createdBy
;
/**
* 查询人
*/
@Schema
(
description
=
"查询人"
)
private
String
queryUser
;
/**
* 车架号
*/
@Schema
(
description
=
"车架号"
)
private
String
vin
;
/**
* 报告类型:0-事故报告,1-维保报告
*/
@Schema
(
description
=
"报告类型:0-事故报告,1-维保报告"
)
private
Integer
reportType
;
/**
* 报告状态:0-生成中,1-生成成功,2-生成失败
*/
@Schema
(
description
=
"报告状态:0-生成中,1-生成成功,2-生成失败"
)
private
Integer
status
;
/**
* 查询时间开始
*/
@Schema
(
description
=
"查询时间开始 yyyy-MM-dd HH:mm:ss"
)
private
String
queryTimeStart
;
/**
* 查询时间结束
*/
@Schema
(
description
=
"查询时间结束 yyyy-MM-dd HH:mm:ss"
)
private
String
queryTimeEnd
;
}
src/main/java/com/gsc4cloud/gsc/vpc/api/req/web/checkreport/CheckReportPageRequest.java
View file @
e8870e4
...
...
@@ -3,6 +3,8 @@ package com.gsc4cloud.gsc.vpc.api.req.web.checkreport;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
java.util.List
;
/**
* 车辆检测报告分页查询请求
*
...
...
@@ -47,4 +49,23 @@ public class CheckReportPageRequest {
*/
@Schema
(
description
=
"查询时间结束 yyyy-MM-dd HH:mm:ss"
)
private
String
queryTimeEnd
;
/**
* 报告ID列表
*/
@Schema
(
description
=
"勾选导出的id,根据逗号分隔"
)
private
String
idsStr
;
/**
* 报告ID列表
*/
@Schema
(
description
=
"勾选导出的id,根据逗号分隔"
)
private
List
<
Integer
>
ids
;
/**
* 创建人
*/
@Schema
(
description
=
"创建人"
)
private
String
createdBy
;
}
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