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 4e65a243
authored
Jan 06, 2026
by
林冲
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
modify: 新增柠檬查报告查询
1 parent
9bc1749b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
53 additions
and
1 deletions
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/resdto/checkreport/CheckReportCreateResDTO.java
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/resdto/checkreport/CheckReportPageResDTO.java
src/main/java/com/gsc4cloud/gsc/vpc/api/feign/checkreport/CheckReportRemote.java
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/resdto/checkreport/CheckReportCreateResDTO.java
0 → 100644
View file @
4e65a24
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
dto
.
web
.
resdto
.
checkreport
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
/**
* 新增查询任务响应DTO
*
* @author auto-generated
*/
@Data
@Schema
(
description
=
"新增查询任务响应DTO"
)
public
class
CheckReportCreateResDTO
{
/**
* 报告ID
*/
@Schema
(
description
=
"报告ID"
)
private
Long
id
;
/**
* 任务状态
*/
@Schema
(
description
=
"任务状态"
)
private
Integer
status
;
/**
* 报告url
*/
@Schema
(
description
=
"报告url"
)
private
String
reportUrl
;
}
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/resdto/checkreport/CheckReportPageResDTO.java
View file @
4e65a24
...
...
@@ -31,6 +31,12 @@ public class CheckReportPageResDTO {
* 报告类型:0-事故报告,1-维保报告
*/
@Schema
(
description
=
"报告类型"
)
private
Integer
reportType
;
/**
* 报告类型:0-事故报告,1-维保报告
*/
@Schema
(
description
=
"报告类型名称"
)
private
String
reportTypeName
;
/**
...
...
@@ -43,6 +49,12 @@ public class CheckReportPageResDTO {
* 报告状态:0-生成中,1-生成成功,2-生成失败
*/
@Schema
(
description
=
"报告状态"
)
private
Integer
status
;
/**
* 报告状态:0-生成中,1-生成成功,2-生成失败
*/
@Schema
(
description
=
"报告状态名称"
)
private
String
statusName
;
/**
...
...
@@ -65,6 +77,13 @@ public class CheckReportPageResDTO {
private
Date
queryTime
;
/**
* 获取报告时间
*/
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
@Schema
(
description
=
"获取报告时间"
)
private
Date
acquireTime
;
/**
* 报告url
*/
@Schema
(
description
=
"报告url"
)
...
...
src/main/java/com/gsc4cloud/gsc/vpc/api/feign/checkreport/CheckReportRemote.java
View file @
4e65a24
...
...
@@ -2,6 +2,7 @@ package com.gsc4cloud.gsc.vpc.api.feign.checkreport;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.gsc4cloud.gsc.common.core.util.R
;
import
com.gsc4cloud.gsc.vpc.api.dto.web.resdto.checkreport.CheckReportCreateResDTO
;
import
com.gsc4cloud.gsc.vpc.api.dto.web.resdto.checkreport.CheckReportDetailResDTO
;
import
com.gsc4cloud.gsc.vpc.api.dto.web.resdto.checkreport.CheckReportPageResDTO
;
import
com.gsc4cloud.gsc.vpc.api.req.PageRequest
;
...
...
@@ -37,7 +38,7 @@ public interface CheckReportRemote {
* 新增查询任务
*/
@PostMapping
(
"/checkReport/create"
)
R
<
Long
>
create
(
@RequestBody
CheckReportCreateRequest
request
);
R
<
CheckReportCreateResDTO
>
create
(
@RequestBody
CheckReportCreateRequest
request
);
/**
* 导出报告(根据ID列表)
...
...
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