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 57356d19
authored
Jan 21, 2026
by
林冲
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v5.5.3_20260115' into 'master'
上线合并 See merge request
!6
2 parents
048f2684
dcd76956
Hide whitespace changes
Inline
Side-by-side
Showing
46 changed files
with
1507 additions
and
6 deletions
pom.xml
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/entitydto/car/auction/PushCarDTO.java
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/entitydto/contract/type/ConfirmCarDeliveryTransferDTO.java
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/entitydto/contract/type/SaleContractDTO.java
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/entitydto/contract/type/SupplementaryClauseTransferDTO.java
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/entitydto/evalorder/EvalElectronicContractDTO.java
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/esign/ESignBuildComponentDTO.java
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/esign/InitiateESignContractDTO.java
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/esign/OrgInfoDTO.java
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/esign/OrgSignerInfoDTO.java
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/esign/PsnInfoDTO.java
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/esign/SignerDTO.java
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/esign/TransactorInfoDTO.java
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/reqdto/evalorder/EvalElectronicContractPageReq.java
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/resdto/checkreport/AccidentRecordDTO.java
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/resdto/checkreport/CarConditionHintsDTO.java
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/resdto/checkreport/CarReportDTO.java
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/CheckReportDetailResDTO.java
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/resdto/checkreport/CheckReportExportDTO.java
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/resdto/checkreport/CheckReportNumCountDTO.java
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/resdto/checkreport/CheckReportPageResDTO.java
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/resdto/checkreport/ImportantCheckDTO.java
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/resdto/checkreport/RepairItemDTO.java
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/resdto/evalorder/EvalElectronicContractExportResDTO.java
src/main/java/com/gsc4cloud/gsc/vpc/api/entity/car/ChaboshiData.java
src/main/java/com/gsc4cloud/gsc/vpc/api/entity/checkreport/CheckReport.java
src/main/java/com/gsc4cloud/gsc/vpc/api/entity/checkreport/CheckReportLog.java
src/main/java/com/gsc4cloud/gsc/vpc/api/entity/common/ExportLog.java
src/main/java/com/gsc4cloud/gsc/vpc/api/entity/evalorder/EvalElectronicContract.java
src/main/java/com/gsc4cloud/gsc/vpc/api/enums/CheckReportStatusEnum.java
src/main/java/com/gsc4cloud/gsc/vpc/api/enums/CheckReportTypeEnum.java
src/main/java/com/gsc4cloud/gsc/vpc/api/enums/ElectronicContractSignerTypeEnum.java
src/main/java/com/gsc4cloud/gsc/vpc/api/feign/checkreport/CheckReportRemote.java
src/main/java/com/gsc4cloud/gsc/vpc/api/feign/pad/evalorder/ChaboshiDataRemote.java
src/main/java/com/gsc4cloud/gsc/vpc/api/feign/pad/permission/PermissionAccessRemote.java
src/main/java/com/gsc4cloud/gsc/vpc/api/req/pad/ButtonVisitRequest.java
src/main/java/com/gsc4cloud/gsc/vpc/api/req/pad/contract/SignSaleContractRequest.java
src/main/java/com/gsc4cloud/gsc/vpc/api/req/pad/esign/GenerateCarESignContractRequest.java
src/main/java/com/gsc4cloud/gsc/vpc/api/req/pad/evalorder/ChaboshiQueryRequest.java
src/main/java/com/gsc4cloud/gsc/vpc/api/req/web/checkreport/CheckReportCreateRequest.java
src/main/java/com/gsc4cloud/gsc/vpc/api/req/web/checkreport/CheckReportDetailRequest.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/req/web/checkreport/CheckReportRetryRequest.java
src/main/java/com/gsc4cloud/gsc/vpc/api/util/OssUtils.java
pom.xml
View file @
57356d1
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
<version>
1.0.0-SNAPSHOT
</version>
<version>
1.0.0-SNAPSHOT
</version>
</parent>
</parent>
<artifactId>
gsc-vcp-api
</artifactId>
<artifactId>
gsc-vcp-api
</artifactId>
<version>
1.0.
3
-SNAPSHOT
</version>
<version>
1.0.
4
-SNAPSHOT
</version>
<packaging>
jar
</packaging>
<packaging>
jar
</packaging>
<description>
gsc 二车手业务api模块
</description>
<description>
gsc 二车手业务api模块
</description>
...
...
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/entitydto/car/auction/PushCarDTO.java
View file @
57356d1
...
@@ -119,6 +119,14 @@ public class PushCarDTO implements Serializable {
...
@@ -119,6 +119,14 @@ public class PushCarDTO implements Serializable {
@NotNull
(
message
=
"新车指导价不能为空"
)
@NotNull
(
message
=
"新车指导价不能为空"
)
// 来源表: vcp_eval_car_base, 字段: guide_price
// 来源表: vcp_eval_car_base, 字段: guide_price
private
BigDecimal
guidePrice
;
private
BigDecimal
guidePrice
;
// 来源表: vcp_eval_car_base, 字段: engine_number
@Schema
(
description
=
"发动机号"
)
private
String
engineNumber
;
// 来源:收车端创建评估单或签约转让协议勾选或交车确认单勾选,交车确认单上必勾
@Schema
(
description
=
"行驶证勾选项: 0-未勾选 1-勾选"
)
private
String
motorRegistrationCertificate
;
}
}
@Schema
(
description
=
"核心参数"
)
@Schema
(
description
=
"核心参数"
)
...
...
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/entitydto/contract/type/ConfirmCarDeliveryTransferDTO.java
View file @
57356d1
...
@@ -200,4 +200,7 @@ public class ConfirmCarDeliveryTransferDTO extends ContractBaseDTO {
...
@@ -200,4 +200,7 @@ public class ConfirmCarDeliveryTransferDTO extends ContractBaseDTO {
*/
*/
private
ConfirmCarDeliveryRequest
confirmCarDeliveryRequest
;
private
ConfirmCarDeliveryRequest
confirmCarDeliveryRequest
;
@Schema
(
description
=
"签署人类型:0:个人 1:企业委托 2:企业"
)
private
Integer
signerType
;
}
}
\ No newline at end of file
\ No newline at end of file
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/entitydto/contract/type/SaleContractDTO.java
View file @
57356d1
...
@@ -129,4 +129,15 @@ public class SaleContractDTO extends ContractBaseDTO implements Serializable {
...
@@ -129,4 +129,15 @@ public class SaleContractDTO extends ContractBaseDTO implements Serializable {
@Schema
(
description
=
"三方/委托交易凭证"
)
@Schema
(
description
=
"三方/委托交易凭证"
)
private
String
thirdPartyTransactionVoucher
;
private
String
thirdPartyTransactionVoucher
;
@Schema
(
description
=
"签署人类型:0:个人 1:企业委托 2:企业"
)
private
Integer
signerType
;
@Schema
(
description
=
"经办人"
)
private
String
handler
;
@Schema
(
description
=
"企业营业执照号"
)
private
String
orgLicenseNumber
;
@Schema
(
description
=
"企业营业执照图片链接"
)
private
String
orgLicenseUrl
;
}
}
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/entitydto/contract/type/SupplementaryClauseTransferDTO.java
View file @
57356d1
...
@@ -41,5 +41,8 @@ public class SupplementaryClauseTransferDTO extends ContractBaseDTO {
...
@@ -41,5 +41,8 @@ public class SupplementaryClauseTransferDTO extends ContractBaseDTO {
@Schema
(
description
=
"二手车合同签署时间"
)
@Schema
(
description
=
"二手车合同签署时间"
)
private
String
signedDate
;
private
String
signedDate
;
@Schema
(
description
=
"签署人类型:0:个人 1:企业委托 2:企业"
)
private
Integer
signerType
;
}
}
\ No newline at end of file
\ No newline at end of file
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/entitydto/evalorder/EvalElectronicContractDTO.java
View file @
57356d1
...
@@ -240,4 +240,7 @@ public class EvalElectronicContractDTO extends EvalElectronicContract {
...
@@ -240,4 +240,7 @@ public class EvalElectronicContractDTO extends EvalElectronicContract {
*/
*/
@Schema
(
description
=
"操作日志"
)
@Schema
(
description
=
"操作日志"
)
private
List
<
EvalElectronicContractLogDTO
>
logs
;
private
List
<
EvalElectronicContractLogDTO
>
logs
;
@Schema
(
description
=
"经办人"
)
private
String
handler
;
}
}
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/esign/ESignBuildComponentDTO.java
View file @
57356d1
...
@@ -16,6 +16,9 @@ public class ESignBuildComponentDTO implements Serializable {
...
@@ -16,6 +16,9 @@ public class ESignBuildComponentDTO implements Serializable {
//合同签约人账号(手机号/电子邮箱)
//合同签约人账号(手机号/电子邮箱)
private
String
psnAccount
;
private
String
psnAccount
;
//合同企业名称
private
String
orgName
;
//控件列表
//控件列表
List
<
Object
>
components
=
new
ArrayList
<>();
List
<
Object
>
components
=
new
ArrayList
<>();
}
}
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/esign/InitiateESignContractDTO.java
View file @
57356d1
...
@@ -18,4 +18,7 @@ public class InitiateESignContractDTO implements Serializable {
...
@@ -18,4 +18,7 @@ public class InitiateESignContractDTO implements Serializable {
// 合同编号
// 合同编号
private
String
contractNo
;
private
String
contractNo
;
// 签署人类型:0:个人 1:企业委托 2:企业
private
Integer
signerType
;
}
}
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/esign/OrgInfoDTO.java
0 → 100644
View file @
57356d1
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
dto
.
esign
;
import
lombok.Data
;
import
java.io.Serializable
;
/**
* 企业/机构签署方信息
*/
@Data
public
class
OrgInfoDTO
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
/**
* 法定代表人姓名
*/
private
String
legalRepName
;
/**
* 法定代表人证件号
*/
private
String
legalRepIDCardNum
;
/**
* 法定代表人证件类型
* 可选值:
* CRED_PSN_CH_IDCARD - 中国大陆居民身份证(默认值)
* CRED_PSN_CH_HONGKONG - 香港来往大陆通行证(回乡证)
* CRED_PSN_CH_MACAO - 澳门来往大陆通行证(回乡证)
* CRED_PSN_CH_TWCARD - 台湾来往大陆通行证(台胞证)
* CRED_PSN_PASSPORT - 护照
*/
private
String
legalRepIDCardType
;
/**
* 企业/机构证件号
*/
private
String
orgIDCardNum
;
/**
* 企业/机构证件类型
* 可选值:
* CRED_ORG_USCC - 统一社会信用代码
* CRED_ORG_REGCODE - 工商注册号
*/
private
String
orgIDCardType
;
}
\ No newline at end of file
\ No newline at end of file
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/esign/OrgSignerInfoDTO.java
0 → 100644
View file @
57356d1
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
dto
.
esign
;
import
lombok.Data
;
import
java.io.Serializable
;
/**
* 企业/机构签署方信息
* 当签署主体为企业/机构用户、autoSign参数为false手动签章时,请必须传入此对象
* 当企业/机构用户选择静默签署,autoSign参数为true自动落章时,建议不传此对象
*/
@Data
public
class
OrgSignerInfoDTO
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
/**
* 企业/机构账号ID
* 【注】用户在e签宝注册实名后才有账号ID
*/
private
String
orgId
;
/**
* 企业/机构名称(账号标识)
*/
private
String
orgName
;
/**
* 企业/机构签署方信息(将展示在机构认证页面)
*/
private
OrgInfoDTO
orgInfo
;
/**
* 企业/机构经办人信息
* 企业/机构手动签署(autoSign为false),经办人信息必传;
* 企业/机构自动落章(autoSign为true),请不要传该参数。
*/
private
TransactorInfoDTO
transactorInfo
;
}
\ No newline at end of file
\ No newline at end of file
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/esign/PsnInfoDTO.java
View file @
57356d1
...
@@ -23,4 +23,22 @@ public class PsnInfoDTO implements Serializable {
...
@@ -23,4 +23,22 @@ public class PsnInfoDTO implements Serializable {
* 【注】传psnAccount(个人账号标识)时,该参数为必传项
* 【注】传psnAccount(个人账号标识)时,该参数为必传项
*/
*/
private
String
psnName
;
private
String
psnName
;
/**
* 经办人证件号
*/
private
String
psnIDCardNum
;
/**
* 经办人证件类型
* 可选值:
* CRED_PSN_CH_IDCARD - 中国大陆居民身份证(默认值)
* CRED_PSN_CH_HONGKONG - 香港来往大陆通行证(回乡证)
* CRED_PSN_CH_MACAO - 澳门来往大陆通行证(回乡证)
* CRED_PSN_CH_TWCARD - 台湾来往大陆通行证(台胞证)
* CRED_PSN_PASSPORT - 护照
* CRED_PSN_CH_GREEN_CARD - 外国人永久居住证(15位或18位)
* 【注】CRED_PSN_CH_IDCARD 类型同时兼容港澳台居住证(81、82、83开头18位证件号)
*/
private
String
psnIDCardType
;
}
}
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/esign/SignerDTO.java
View file @
57356d1
...
@@ -22,6 +22,14 @@ public class SignerDTO implements Serializable {
...
@@ -22,6 +22,14 @@ public class SignerDTO implements Serializable {
private
Integer
signerType
;
private
Integer
signerType
;
/**
/**
* 企业/机构签署方信息
*
* 当签署主体为企业/机构用户、autoSign参数为false手动签章时,请必须传入此对象(orgName与orgId二选一传值即可)
* 当企业/机构用户选择静默签署,autoSign参数为true自动落章时,建议不传此对象,e签宝后台会取默认值
*/
private
OrgSignerInfoDTO
orgSignerInfo
;
/**
* 个人签署方信息
* 个人签署方信息
*
*
* 当签署主体为个人时请传此对象
* 当签署主体为个人时请传此对象
...
...
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/esign/TransactorInfoDTO.java
0 → 100644
View file @
57356d1
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
dto
.
esign
;
import
lombok.Data
;
import
java.io.Serializable
;
/**
* 企业/机构经办人信息
*/
@Data
public
class
TransactorInfoDTO
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
/**
* 经办人账号标识,手机号或邮箱
* 【注】指定orgName时,该参数为必传项
*/
private
String
psnAccount
;
/**
* 经办人账号ID
* 【注】指定orgId时,该参数为必传项
*/
private
String
psnId
;
/**
* 经办人身份信息
*/
private
PsnInfoDTO
psnInfo
;
}
\ No newline at end of file
\ No newline at end of file
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/reqdto/evalorder/EvalElectronicContractPageReq.java
View file @
57356d1
...
@@ -106,4 +106,7 @@ public class EvalElectronicContractPageReq {
...
@@ -106,4 +106,7 @@ public class EvalElectronicContractPageReq {
private
String
idsStr
;
private
String
idsStr
;
private
List
<
Integer
>
ids
;
private
List
<
Integer
>
ids
;
@Schema
(
description
=
"签署人类型:0:个人 1:企业委托 2:企业"
)
private
Integer
signerType
;
}
}
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/resdto/checkreport/AccidentRecordDTO.java
0 → 100644
View file @
57356d1
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
dto
.
web
.
resdto
.
checkreport
;
import
lombok.Data
;
import
java.util.List
;
/**
* 事故记录DTO
*/
@Data
public
class
AccidentRecordDTO
{
/** 事故时间(如:2024年二季度) */
private
String
accidentTime
;
/** 损失金额(如:70000元) */
private
String
lossAmount
;
/** 是否有警告图标 */
private
boolean
hasWarning
;
/** 事故类型(如:商业险) */
private
String
accidentType
;
/** 损失部位 */
private
String
damageParts
;
/** 涉三者事故(未结案事故特有) */
private
String
involveThirdParty
;
/** 案件状态(未结案事故特有) */
private
String
caseStatus
;
/** 维修项目总数(如:44条记录) */
private
String
repairItemCount
;
/** 维修项目列表 */
private
List
<
RepairItemDTO
>
repairItems
;
}
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/resdto/checkreport/CarConditionHintsDTO.java
0 → 100644
View file @
57356d1
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
dto
.
web
.
resdto
.
checkreport
;
import
lombok.Data
;
/**
* 重要车况提示DTO(9项记录)
*/
@Data
public
class
CarConditionHintsDTO
{
/** 骨架记录 */
private
String
skeletonRecord
;
/** 骨架记录-异常标签 */
private
Boolean
skeletonRecordHasTag
;
/** 发动机 */
private
String
engine
;
/** 发动机-异常标签 */
private
Boolean
engineHasTag
;
/** 变速箱 */
private
String
transmission
;
/** 变速箱-异常标签 */
private
Boolean
transmissionHasTag
;
/** 安全带 */
private
String
seatBelt
;
/** 安全带-异常标签 */
private
Boolean
seatBeltHasTag
;
/** 安全气囊 */
private
String
airbag
;
/** 安全气囊-异常标签 */
private
Boolean
airbagHasTag
;
/** 营运记录 */
private
String
businessRecord
;
/** 营运记录-异常标签 */
private
Boolean
businessRecordHasTag
;
/** 未结案件 */
private
String
pendingCase
;
/** 未结案件-异常标签 */
private
Boolean
pendingCaseHasTag
;
/** 大额车损 */
private
String
majorDamage
;
/** 大额车损-异常标签 */
private
Boolean
majorDamageHasTag
;
/** 打包录入记录 */
private
String
batchInputRecord
;
/** 打包录入记录-异常标签 */
private
Boolean
batchInputRecordHasTag
;
}
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/resdto/checkreport/CarReportDTO.java
0 → 100644
View file @
57356d1
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
dto
.
web
.
resdto
.
checkreport
;
import
lombok.Data
;
import
java.util.List
;
/**
* 车辆检测报告DTO
*/
@Data
public
class
CarReportDTO
{
/** 车辆重点检查(4项记录) */
private
ImportantCheckDTO
importantCheck
;
/** 重要车况提示(9项记录) */
private
CarConditionHintsDTO
carConditionHints
;
/** 本车已结案事故列表 */
private
List
<
AccidentRecordDTO
>
closedAccidents
;
/** 本车未结案事故列表(含涉三者车事故) */
private
List
<
AccidentRecordDTO
>
unclosedAccidents
;
}
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/resdto/checkreport/CheckReportCreateResDTO.java
0 → 100644
View file @
57356d1
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/CheckReportDetailResDTO.java
0 → 100644
View file @
57356d1
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
dto
.
web
.
resdto
.
checkreport
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
java.util.Date
;
/**
* 车辆检测报告详情响应DTO
*
* @author auto-generated
*/
@Data
@Schema
(
description
=
"车辆检测报告详情响应DTO"
)
public
class
CheckReportDetailResDTO
{
/**
* 主键ID
*/
@Schema
(
description
=
"主键ID"
)
private
Long
id
;
/**
* 报告类型:0-事故报告,1-维保报告
*/
@Schema
(
description
=
"报告类型"
)
private
Integer
reportType
;
/**
* 报告类型名称
*/
@Schema
(
description
=
"报告类型名称"
)
private
String
reportTypeName
;
/**
* 车架号
*/
@Schema
(
description
=
"车架号"
)
private
String
vin
;
/**
* 报告状态:0-生成中,1-生成成功,2-生成失败
*/
@Schema
(
description
=
"报告状态"
)
private
Integer
status
;
/**
* 报告状态名称
*/
@Schema
(
description
=
"报告状态名称"
)
private
String
statusName
;
/**
* 报告解析状态 0-未解析,1-已解析
*/
@Schema
(
description
=
"报告解析状态 0-未解析,1-已解析"
)
private
Integer
parseStatus
;
/**
* 行驶证凭证URL
*/
@Schema
(
description
=
"行驶证凭证URL"
)
private
String
licenseUrl
;
/**
* 查询人
*/
@Schema
(
description
=
"查询人"
)
private
String
queryUser
;
/**
* 查询时间
*/
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
@Schema
(
description
=
"查询时间"
)
private
Date
queryTime
;
/**
* 获取报告时间
*/
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
@Schema
(
description
=
"获取报告时间"
)
private
Date
acquireTime
;
/**
* 查询的唯一流水号
*/
@Schema
(
description
=
"查询的唯一流水号"
)
private
String
checkno
;
/**
* 报告url
*/
@Schema
(
description
=
"报告url"
)
private
String
reportUrl
;
/**
* 报告解析json
*/
@Schema
(
description
=
"报告解析json"
)
private
String
jsonResult
;
}
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/resdto/checkreport/CheckReportExportDTO.java
0 → 100644
View file @
57356d1
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/dto/web/resdto/checkreport/CheckReportNumCountDTO.java
0 → 100644
View file @
57356d1
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
CheckReportNumCountDTO
{
@Schema
(
description
=
"全部数量,99+前端做处理"
)
private
Integer
allCount
;
@Schema
(
description
=
"事故报告数量,99+前端做处理"
)
private
Integer
accidentCount
;
@Schema
(
description
=
"维保报告数量,99+前端做处理"
)
private
Integer
maintainCount
;
}
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/resdto/checkreport/CheckReportPageResDTO.java
0 → 100644
View file @
57356d1
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
dto
.
web
.
resdto
.
checkreport
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
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
CheckReportPageResDTO
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
/**
* 序号
*/
@Schema
(
description
=
"序号"
)
private
Long
id
;
/**
* 查询流水号
*/
@Schema
(
description
=
"查询流水号"
)
private
String
checkno
;
/**
* 报告类型:0-事故报告,1-维保报告
*/
@Schema
(
description
=
"报告类型"
)
private
Integer
reportType
;
/**
* 报告类型:0-事故报告,1-维保报告
*/
@Schema
(
description
=
"报告类型名称"
)
private
String
reportTypeName
;
/**
* 车架号
*/
@Schema
(
description
=
"车架号"
)
private
String
vin
;
/**
* 报告状态:0-生成中,1-生成成功,2-生成失败
*/
@Schema
(
description
=
"报告状态"
)
private
Integer
status
;
/**
* 报告状态:0-生成中,1-生成成功,2-生成失败
*/
@Schema
(
description
=
"报告状态名称"
)
private
String
statusName
;
/**
* 行驶证凭证URL
*/
@Schema
(
description
=
"行驶证凭证"
)
private
String
licenseUrl
;
/**
* 查询人
*/
@Schema
(
description
=
"查询人"
)
private
String
queryUser
;
/**
* 查询时间
*/
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
@Schema
(
description
=
"查询时间"
)
private
Date
queryTime
;
/**
* 获取报告时间
*/
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
@Schema
(
description
=
"获取报告时间"
)
private
Date
acquireTime
;
/**
* 报告url
*/
@Schema
(
description
=
"报告url"
)
private
String
reportUrl
;
}
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/resdto/checkreport/ImportantCheckDTO.java
0 → 100644
View file @
57356d1
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
dto
.
web
.
resdto
.
checkreport
;
import
lombok.Data
;
/**
* 车辆重点检查DTO(4项记录)
*/
@Data
public
class
ImportantCheckDTO
{
/** 全损记录 */
private
String
totalLossRecord
;
/** 涉水记录 */
private
String
waterDamageRecord
;
/** 过火记录 */
private
String
fireRecord
;
/** 盗抢记录 */
private
String
theftRecord
;
}
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/resdto/checkreport/RepairItemDTO.java
0 → 100644
View file @
57356d1
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
dto
.
web
.
resdto
.
checkreport
;
import
lombok.Data
;
/**
* 维修项目DTO
*/
@Data
public
class
RepairItemDTO
{
/** 维修方式(如:更换、维修) */
private
String
repairMethod
;
/** 维修项目(如:后保险杠中饰条) */
private
String
repairProject
;
/** 件数 */
private
String
quantity
;
}
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/resdto/evalorder/EvalElectronicContractExportResDTO.java
View file @
57356d1
...
@@ -107,4 +107,8 @@ public class EvalElectronicContractExportResDTO implements Serializable {
...
@@ -107,4 +107,8 @@ public class EvalElectronicContractExportResDTO implements Serializable {
@ExcelValueReplace
(
replace
={
"银行转账_1"
,
"冲账_2"
},
repeatValue
=
true
)
@ExcelValueReplace
(
replace
={
"银行转账_1"
,
"冲账_2"
},
repeatValue
=
true
)
@ExcelProperty
(
value
=
"付款方式"
,
converter
=
ReplaceIntegerToStringConvert
.
class
)
@ExcelProperty
(
value
=
"付款方式"
,
converter
=
ReplaceIntegerToStringConvert
.
class
)
private
Integer
paymentMethod
;
private
Integer
paymentMethod
;
@ExcelValueReplace
(
replace
={
"个人_0"
,
"企业委托_1"
,
"企业_2"
},
repeatValue
=
true
)
@ExcelProperty
(
value
=
"签署人类型"
,
converter
=
ReplaceIntegerToStringConvert
.
class
)
private
Integer
signerType
;
}
}
src/main/java/com/gsc4cloud/gsc/vpc/api/entity/car/ChaboshiData.java
0 → 100644
View file @
57356d1
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
entity
.
car
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.experimental.Accessors
;
import
java.io.Serializable
;
import
java.time.LocalDateTime
;
/**
* <p>
* 查博士数据表
* </p>
*
* @author
* @since
*/
@Data
@EqualsAndHashCode
(
callSuper
=
false
)
@Accessors
(
chain
=
true
)
@TableName
(
"vcp_chaboshi_data"
)
@Schema
(
description
=
"查博士数据实体"
)
public
class
ChaboshiData
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
/**
* 主键ID
*/
@TableId
(
value
=
"id"
,
type
=
IdType
.
AUTO
)
@Schema
(
description
=
"主键ID"
)
private
Long
id
;
/**
* 车架号
*/
@TableField
(
"vin"
)
@Schema
(
description
=
"车架号"
)
private
String
vin
;
/**
* 查博士返回的完整JSON数据
*/
@TableField
(
"data_json"
)
@Schema
(
description
=
"查博士返回的完整JSON数据"
)
private
String
dataJson
;
/**
* 最后查询时间
*/
@TableField
(
"last_query_time"
)
@Schema
(
description
=
"最后查询时间"
)
private
LocalDateTime
lastQueryTime
;
/**
* 创建人
*/
@TableField
(
"created_by"
)
@Schema
(
description
=
"创建人"
)
private
String
createdBy
;
/**
* 创建时间
*/
@TableField
(
"created_date"
)
@Schema
(
description
=
"创建时间"
)
private
LocalDateTime
createdDate
;
/**
* 修改人
*/
@TableField
(
"updated_by"
)
@Schema
(
description
=
"修改人"
)
private
String
updatedBy
;
/**
* 修改时间
*/
@TableField
(
"updated_date"
)
@Schema
(
description
=
"修改时间"
)
private
LocalDateTime
updatedDate
;
/**
* 删除标识:N未删除,D已删除
*/
@TableField
(
"deleted_flag"
)
@Schema
(
description
=
"删除标识:N未删除,D已删除"
)
private
String
deletedFlag
;
}
\ No newline at end of file
\ No newline at end of file
src/main/java/com/gsc4cloud/gsc/vpc/api/entity/checkreport/CheckReport.java
0 → 100644
View file @
57356d1
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
entity
.
checkreport
;
import
com.baomidou.mybatisplus.annotation.*
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.AllArgsConstructor
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
* 车辆检测报告表
*
* @author auto-generated
*/
@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName
(
"vcp_check_report"
)
public
class
CheckReport
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
/**
* 主键ID
*/
@TableId
(
value
=
"id"
,
type
=
IdType
.
AUTO
)
@Schema
(
description
=
"主键ID"
)
private
Long
id
;
/**
* 报告类型:0-事故报告,1-维保报告
*/
@TableField
(
value
=
"report_type"
)
@Schema
(
description
=
"报告类型:0-事故报告,1-维保报告"
)
private
Integer
reportType
;
/**
* 车架号
*/
@TableField
(
value
=
"vin"
)
@Schema
(
description
=
"车架号"
)
private
String
vin
;
/**
* 报告状态:0-生成中,1-生成成功,2-生成失败
*/
@TableField
(
value
=
"status"
)
@Schema
(
description
=
"报告状态:0-生成中,1-生成成功,2-生成失败"
)
private
Integer
status
;
/**
* 报告解析状态 0-未解析,1-已解析
*/
@TableField
(
value
=
"parse_status"
)
@Schema
(
description
=
"报告解析状态 0-未解析,1-已解析"
)
private
Integer
parseStatus
;
/**
* 行驶证凭证URL
*/
@TableField
(
value
=
"license_url"
)
@Schema
(
description
=
"行驶证凭证URL"
)
private
String
licenseUrl
;
/**
* 查询人(姓名或账号,支持模糊搜索)
*/
@TableField
(
value
=
"query_user"
)
@Schema
(
description
=
"查询人(姓名或账号,支持模糊搜索)"
)
private
String
queryUser
;
/**
* 查询时间
*/
@TableField
(
value
=
"query_time"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
@Schema
(
description
=
"查询时间"
)
private
Date
queryTime
;
/**
* 获取报告时间
*/
@TableField
(
value
=
"acquire_time"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
@Schema
(
description
=
"获取报告时间"
)
private
Date
acquireTime
;
/**
* 查询的唯一流水号
*/
@TableField
(
value
=
"checkno"
)
@Schema
(
description
=
"查询的唯一流水号"
)
private
String
checkno
;
/**
* 柠檬查返回的token
*/
@TableField
(
value
=
"token"
)
@Schema
(
description
=
"柠檬查返回的token"
)
private
String
token
;
/**
* 报告url
*/
@TableField
(
value
=
"report_url"
)
@Schema
(
description
=
"报告url"
)
private
String
reportUrl
;
/**
* 报告解析json
*/
@TableField
(
value
=
"json_result"
)
@Schema
(
description
=
"报告解析json"
)
private
String
jsonResult
;
/**
* 创建人
*/
@TableField
(
value
=
"created_by"
)
@Schema
(
description
=
"创建人"
)
private
String
createdBy
;
/**
* 创建时间
*/
@TableField
(
value
=
"created_date"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
@Schema
(
description
=
"创建时间"
)
private
Date
createdDate
;
/**
* 修改人
*/
@TableField
(
value
=
"updated_by"
)
@Schema
(
description
=
"修改人"
)
private
String
updatedBy
;
/**
* 修改时间
*/
@TableField
(
value
=
"updated_date"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
@Schema
(
description
=
"修改时间"
)
private
Date
updatedDate
;
/**
* 删除标识:N未删除,D已删除
*/
@TableField
(
value
=
"deleted_flag"
)
@Schema
(
description
=
"删除标识:N未删除,D已删除"
)
@TableLogic
(
value
=
"N"
,
delval
=
"D"
)
private
String
deletedFlag
;
}
src/main/java/com/gsc4cloud/gsc/vpc/api/entity/checkreport/CheckReportLog.java
0 → 100644
View file @
57356d1
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
entity
.
checkreport
;
import
com.baomidou.mybatisplus.annotation.*
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.AllArgsConstructor
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
* 柠檬查报告调用日志表
*
* @author auto-generated
*/
@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName
(
"vcp_check_report_log"
)
public
class
CheckReportLog
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
/**
* 主键ID
*/
@TableId
(
value
=
"id"
,
type
=
IdType
.
AUTO
)
@Schema
(
description
=
"主键ID"
)
private
Long
id
;
/**
* 车辆检测报告表id
*/
@TableField
(
value
=
"check_report_id"
)
@Schema
(
description
=
"车辆检测报告表id"
)
private
Long
checkReportId
;
/**
* 报告状态:0-生成中,1-生成成功,2-生成失败
*/
@TableField
(
value
=
"status"
)
@Schema
(
description
=
"报告状态:0-生成中,1-生成成功,2-生成失败"
)
private
Integer
status
;
/**
* 请求柠檬查的原始报文
*/
@TableField
(
value
=
"request_payload"
)
@Schema
(
description
=
"请求柠檬查的原始报文"
)
private
String
requestPayload
;
/**
* 柠檬查返回的原始报文
*/
@TableField
(
value
=
"response_payload"
)
@Schema
(
description
=
"柠檬查返回的原始报文"
)
private
String
responsePayload
;
/**
* 错误码
*/
@TableField
(
value
=
"error_code"
)
@Schema
(
description
=
"错误码"
)
private
String
errorCode
;
/**
* 错误信息
*/
@TableField
(
value
=
"error_message"
)
@Schema
(
description
=
"错误信息"
)
private
String
errorMessage
;
/**
* 第三方回调时间
*/
@TableField
(
value
=
"notify_time"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
@Schema
(
description
=
"第三方回调时间"
)
private
Date
notifyTime
;
/**
* 创建时间
*/
@TableField
(
value
=
"created_date"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
@Schema
(
description
=
"创建时间"
)
private
Date
createdDate
;
/**
* 修改时间
*/
@TableField
(
value
=
"updated_date"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
@Schema
(
description
=
"修改时间"
)
private
Date
updatedDate
;
/**
* 删除标识:N未删除,D已删除
*/
@TableField
(
value
=
"deleted_flag"
)
@Schema
(
description
=
"删除标识:N未删除,D已删除"
)
@TableLogic
(
value
=
"N"
,
delval
=
"D"
)
private
String
deletedFlag
;
}
src/main/java/com/gsc4cloud/gsc/vpc/api/entity/common/ExportLog.java
View file @
57356d1
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
entity
.
common
;
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
entity
.
common
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.*
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.AllArgsConstructor
;
import
lombok.AllArgsConstructor
;
import
lombok.Data
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
lombok.NoArgsConstructor
;
...
@@ -109,6 +106,7 @@ public class ExportLog implements Serializable {
...
@@ -109,6 +106,7 @@ public class ExportLog implements Serializable {
* 删除标识(D:已删除;N:未删除)
* 删除标识(D:已删除;N:未删除)
*/
*/
@TableField
(
value
=
"deleted_flag"
)
@TableField
(
value
=
"deleted_flag"
)
@TableLogic
(
value
=
"N"
,
delval
=
"D"
)
private
String
deletedFlag
;
private
String
deletedFlag
;
}
}
\ No newline at end of file
\ No newline at end of file
src/main/java/com/gsc4cloud/gsc/vpc/api/entity/evalorder/EvalElectronicContract.java
View file @
57356d1
...
@@ -173,4 +173,10 @@ public class EvalElectronicContract implements Serializable {
...
@@ -173,4 +173,10 @@ public class EvalElectronicContract implements Serializable {
@TableLogic
(
value
=
"N"
,
delval
=
"D"
)
@TableLogic
(
value
=
"N"
,
delval
=
"D"
)
private
String
deletedFlag
;
private
String
deletedFlag
;
/**
* 签署人类型:0:个人 1:企业委托 2:企业
*/
@TableField
(
value
=
"signer_type"
)
private
Integer
signerType
;
}
}
src/main/java/com/gsc4cloud/gsc/vpc/api/enums/CheckReportStatusEnum.java
0 → 100644
View file @
57356d1
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
enums
;
import
lombok.Getter
;
/**
* 报告状态枚举
*
* @author auto-generated
*/
@Getter
public
enum
CheckReportStatusEnum
{
/**
* 生成中
*/
GENERATING
(
0
,
"生成中"
),
/**
* 生成成功
*/
SUCCESS
(
1
,
"生成成功"
),
/**
* 生成失败
*/
FAILED
(
2
,
"生成失败"
);
private
final
Integer
code
;
private
final
String
desc
;
CheckReportStatusEnum
(
Integer
code
,
String
desc
)
{
this
.
code
=
code
;
this
.
desc
=
desc
;
}
public
static
CheckReportStatusEnum
getByCode
(
Integer
code
)
{
if
(
code
==
null
)
{
return
null
;
}
for
(
CheckReportStatusEnum
statusEnum
:
values
())
{
if
(
statusEnum
.
getCode
().
equals
(
code
))
{
return
statusEnum
;
}
}
return
null
;
}
}
src/main/java/com/gsc4cloud/gsc/vpc/api/enums/CheckReportTypeEnum.java
0 → 100644
View file @
57356d1
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
enums
;
import
lombok.Getter
;
/**
* 报告类型枚举
*
* @author auto-generated
*/
@Getter
public
enum
CheckReportTypeEnum
{
/**
* 事故报告
*/
ACCIDENT
(
0
,
"事故报告"
),
/**
* 维保报告
*/
MAINTENANCE
(
1
,
"维保报告"
);
private
final
Integer
code
;
private
final
String
desc
;
CheckReportTypeEnum
(
Integer
code
,
String
desc
)
{
this
.
code
=
code
;
this
.
desc
=
desc
;
}
public
static
CheckReportTypeEnum
getByCode
(
Integer
code
)
{
if
(
code
==
null
)
{
return
null
;
}
for
(
CheckReportTypeEnum
typeEnum
:
values
())
{
if
(
typeEnum
.
getCode
().
equals
(
code
))
{
return
typeEnum
;
}
}
return
null
;
}
}
src/main/java/com/gsc4cloud/gsc/vpc/api/enums/ElectronicContractSignerTypeEnum.java
0 → 100644
View file @
57356d1
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
enums
;
/**
* 电子合同签署人类型枚举
*/
public
enum
ElectronicContractSignerTypeEnum
implements
BaseEnum
<
Integer
,
String
>
{
ORG_PERSONAL
(
0
,
"个人"
),
ORG_COMMISSIONED
(
1
,
"企业委托"
),
ORG_ORG
(
2
,
"企业"
)
;
private
final
Integer
code
;
private
final
String
desc
;
ElectronicContractSignerTypeEnum
(
Integer
code
,
String
desc
)
{
this
.
code
=
code
;
this
.
desc
=
desc
;
}
@Override
public
Integer
getCode
()
{
return
code
;
}
@Override
public
String
getDesc
()
{
return
desc
;
}
}
\ No newline at end of file
\ No newline at end of file
src/main/java/com/gsc4cloud/gsc/vpc/api/feign/checkreport/CheckReportRemote.java
0 → 100644
View file @
57356d1
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.CheckReportDetailResDTO
;
import
com.gsc4cloud.gsc.vpc.api.dto.web.resdto.checkreport.CheckReportNumCountDTO
;
import
com.gsc4cloud.gsc.vpc.api.dto.web.resdto.checkreport.CheckReportPageResDTO
;
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.CheckReportPageRequest
;
import
org.springframework.cloud.openfeign.FeignClient
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.RequestBody
;
/**
* 车辆检测报告远程调用接口
*
* @author auto-generated
*/
@FeignClient
(
value
=
"gsc-vcp-biz"
,
contextId
=
"checkReportRemote"
)
public
interface
CheckReportRemote
{
/**
* 分页查询车辆检测报告列表
*/
@PostMapping
(
"/checkReport/pageList"
)
R
<
Page
<
CheckReportPageResDTO
>>
pageList
(
@RequestBody
PageRequest
<
CheckReportPageRequest
>
request
);
/**
* 查询报告详情
*/
@PostMapping
(
"/checkReport/detail"
)
R
<
CheckReportDetailResDTO
>
detail
(
@RequestBody
CheckReportDetailRequest
request
);
/**
* 新增查询任务
*/
@PostMapping
(
"/checkReport/create"
)
R
create
(
@RequestBody
CheckReportCreateRequest
request
);
/**
* 导出报告(根据ID列表)
*/
@PostMapping
(
"/checkReport/exportList"
)
R
<
String
>
exportList
(
@RequestBody
PageRequest
<
CheckReportPageRequest
>
request
);
/**
* 数量统计
*/
@PostMapping
(
"/checkReport/numCount"
)
R
<
CheckReportNumCountDTO
>
numCount
(
@RequestBody
PageRequest
<
CheckReportPageRequest
>
request
);
}
src/main/java/com/gsc4cloud/gsc/vpc/api/feign/pad/evalorder/ChaboshiDataRemote.java
0 → 100644
View file @
57356d1
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
feign
.
pad
.
evalorder
;
import
com.gsc4cloud.gsc.common.core.util.R
;
import
com.gsc4cloud.gsc.vpc.api.dto.entitydto.car.VinAnalysisDTO
;
import
com.gsc4cloud.gsc.vpc.api.req.pad.evalorder.ChaboshiQueryRequest
;
import
jakarta.validation.Valid
;
import
org.springframework.cloud.openfeign.FeignClient
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.RequestBody
;
@FeignClient
(
contextId
=
"com.gsc4cloud.gsc.vpc.api.feign.pad.evalorder.ChaboshiDataRemote"
,
value
=
"gsc-vcp-biz"
)
public
interface
ChaboshiDataRemote
{
@PostMapping
(
"/chaboshi/queryByVin"
)
R
<
VinAnalysisDTO
>
queryByVin
(
@RequestBody
@Valid
ChaboshiQueryRequest
request
);
}
src/main/java/com/gsc4cloud/gsc/vpc/api/feign/pad/permission/PermissionAccessRemote.java
0 → 100644
View file @
57356d1
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
feign
.
pad
.
permission
;
import
com.gsc4cloud.gsc.common.core.util.R
;
import
com.gsc4cloud.gsc.vpc.api.req.pad.ButtonVisitRequest
;
import
jakarta.validation.Valid
;
import
org.springframework.cloud.openfeign.FeignClient
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.RequestBody
;
@FeignClient
(
contextId
=
"com.gsc4cloud.gsc.vpc.api.feign.pad.permission.PermissionAccessRemote"
,
value
=
"gsc-vcp-biz"
)
public
interface
PermissionAccessRemote
{
@PostMapping
(
"/permissionAccess/checkVisitButton"
)
R
<
Boolean
>
checkVisitButton
(
@RequestBody
@Valid
ButtonVisitRequest
request
);
}
src/main/java/com/gsc4cloud/gsc/vpc/api/req/pad/ButtonVisitRequest.java
0 → 100644
View file @
57356d1
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
req
.
pad
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
jakarta.validation.constraints.NotBlank
;
import
lombok.AllArgsConstructor
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema
(
description
=
"按钮访问权限请求"
)
public
class
ButtonVisitRequest
{
@Schema
(
description
=
"按钮编码"
)
@NotBlank
(
message
=
"按钮编码不能为空"
)
private
String
buttonCode
;
@Schema
(
description
=
"手机号,后端自己获取"
)
private
String
phone
;
}
src/main/java/com/gsc4cloud/gsc/vpc/api/req/pad/contract/SignSaleContractRequest.java
View file @
57356d1
...
@@ -47,7 +47,7 @@ public class SignSaleContractRequest {
...
@@ -47,7 +47,7 @@ public class SignSaleContractRequest {
private
String
partAName
;
private
String
partAName
;
@Schema
(
description
=
"身份证号(甲方)"
)
@Schema
(
description
=
"身份证号(甲方)"
)
@NotEmpty
(
message
=
"身份证号不能为空"
)
//
@NotEmpty(message = "身份证号不能为空")
@Pattern
(
regexp
=
ID_CARD_REGEX
,
message
=
"签约保管人身份证号格式不正确"
)
@Pattern
(
regexp
=
ID_CARD_REGEX
,
message
=
"签约保管人身份证号格式不正确"
)
private
String
idCard
;
private
String
idCard
;
...
@@ -143,5 +143,18 @@ public class SignSaleContractRequest {
...
@@ -143,5 +143,18 @@ public class SignSaleContractRequest {
@Schema
(
description
=
"三方/委托交易凭证"
)
@Schema
(
description
=
"三方/委托交易凭证"
)
private
String
thirdPartyTransactionVoucher
;
private
String
thirdPartyTransactionVoucher
;
@Schema
(
description
=
"签署人类型:0:个人 1:企业委托 2:企业"
)
@NotNull
(
message
=
"签署人类型不能为空"
)
private
Integer
signerType
;
@Schema
(
description
=
"经办人"
)
private
String
handler
;
@Schema
(
description
=
"企业营业执照号"
)
private
String
orgLicenseNumber
;
@Schema
(
description
=
"企业营业执照图片链接"
)
private
String
orgLicenseUrl
;
}
}
src/main/java/com/gsc4cloud/gsc/vpc/api/req/pad/esign/GenerateCarESignContractRequest.java
View file @
57356d1
...
@@ -24,4 +24,7 @@ public class GenerateCarESignContractRequest implements Serializable {
...
@@ -24,4 +24,7 @@ public class GenerateCarESignContractRequest implements Serializable {
@Schema
(
description
=
"合同编号"
)
@Schema
(
description
=
"合同编号"
)
private
String
contractNo
;
private
String
contractNo
;
@Schema
(
description
=
"签署人类型:0:个人 1:企业委托 2:企业"
)
private
Integer
signerType
;
}
}
src/main/java/com/gsc4cloud/gsc/vpc/api/req/pad/evalorder/ChaboshiQueryRequest.java
0 → 100644
View file @
57356d1
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
req
.
pad
.
evalorder
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
jakarta.validation.constraints.NotBlank
;
import
jakarta.validation.constraints.Size
;
import
lombok.Data
;
@Data
public
class
ChaboshiQueryRequest
{
@Schema
(
description
=
"vin"
)
@NotBlank
(
message
=
"VIN不能为空"
)
@Size
(
min
=
17
,
max
=
17
,
message
=
"VIN长度必须为17位"
)
private
String
vin
;
}
src/main/java/com/gsc4cloud/gsc/vpc/api/req/web/checkreport/CheckReportCreateRequest.java
0 → 100644
View file @
57356d1
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
req
.
web
.
checkreport
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
jakarta.validation.constraints.NotBlank
;
import
jakarta.validation.constraints.NotNull
;
import
lombok.Data
;
/**
* 新增查询任务请求
*
* @author auto-generated
*/
@Data
@Schema
(
description
=
"新增查询任务请求"
)
public
class
CheckReportCreateRequest
{
/**
* 报告类型:0-事故报告,1-维保报告
*/
@NotNull
(
message
=
"报告类型不能为空"
)
@Schema
(
description
=
"报告类型:0-事故报告,1-维保报告"
)
private
Integer
reportType
;
/**
* 车架号
*/
@NotBlank
(
message
=
"车架号不能为空"
)
@Schema
(
description
=
"车架号"
)
private
String
vin
;
/**
* 行驶证凭证URL
*/
@NotBlank
(
message
=
"行驶证凭证不能为空"
)
@Schema
(
description
=
"行驶证凭证URL"
)
private
String
licenseUrl
;
/**
* 查询人
*/
@Schema
(
description
=
"查询人-不用前端传值"
)
private
String
queryUser
;
/**
* 创建人
*/
@Schema
(
description
=
"创建人-不用前端传值"
)
private
String
createBy
;
}
src/main/java/com/gsc4cloud/gsc/vpc/api/req/web/checkreport/CheckReportDetailRequest.java
0 → 100644
View file @
57356d1
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
req
.
web
.
checkreport
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
jakarta.validation.constraints.NotNull
;
import
lombok.Data
;
/**
* 车辆检测报告详情请求
*
* @author auto-generated
*/
@Data
@Schema
(
description
=
"车辆检测报告详情请求"
)
public
class
CheckReportDetailRequest
{
/**
* 报告ID
*/
@NotNull
(
message
=
"报告ID不能为空"
)
@Schema
(
description
=
"报告ID"
)
private
Long
id
;
}
src/main/java/com/gsc4cloud/gsc/vpc/api/req/web/checkreport/CheckReportExportRequest.java
0 → 100644
View file @
57356d1
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
req
.
web
.
checkreport
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
/**
* 导出报告请求
*
* @author auto-generated
*/
@Data
@Schema
(
description
=
"导出报告请求"
)
public
class
CheckReportExportRequest
{
/**
* 创建人
*/
@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
0 → 100644
View file @
57356d1
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
req
.
web
.
checkreport
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
java.util.List
;
/**
* 车辆检测报告分页查询请求
*
* @author auto-generated
*/
@Data
@Schema
(
description
=
"车辆检测报告分页查询请求"
)
public
class
CheckReportPageRequest
{
/**
* 查询人
*/
@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
;
/**
* 报告ID列表
*/
@Schema
(
description
=
"勾选导出的id,根据逗号分隔"
)
private
String
idsStr
;
/**
* 报告ID列表
*/
@Schema
(
description
=
"勾选导出的id,根据逗号分隔"
)
private
List
<
Integer
>
ids
;
/**
* 创建人
*/
@Schema
(
description
=
"创建人"
)
private
String
createdBy
;
}
src/main/java/com/gsc4cloud/gsc/vpc/api/req/web/checkreport/CheckReportRetryRequest.java
0 → 100644
View file @
57356d1
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
req
.
web
.
checkreport
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
jakarta.validation.constraints.NotNull
;
import
lombok.Data
;
/**
* 重新发起查询请求
*
* @author auto-generated
*/
@Data
@Schema
(
description
=
"重新发起查询请求"
)
public
class
CheckReportRetryRequest
{
/**
* 报告ID
*/
@NotNull
(
message
=
"报告ID不能为空"
)
@Schema
(
description
=
"报告ID"
)
private
Long
id
;
}
src/main/java/com/gsc4cloud/gsc/vpc/api/util/OssUtils.java
0 → 100644
View file @
57356d1
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
util
;
public
class
OssUtils
{
public
static
String
convertDownloadUrlToPreviewUrl
(
String
downloadUrl
,
String
previewUrl
)
{
int
i
=
downloadUrl
.
indexOf
(
"://"
);
if
(
i
<
0
)
return
downloadUrl
;
i
+=
3
;
int
j
=
downloadUrl
.
indexOf
(
'/'
,
i
);
return
j
<
0
?
previewUrl
:
previewUrl
+
downloadUrl
.
substring
(
j
);
}
public
static
void
main
(
String
[]
args
)
{
System
.
out
.
println
(
convertDownloadUrlToPreviewUrl
(
"https://jinrong-huidan-test.oss-cn-shenzhen.aliyuncs.com/webmirror/report_1767578351203.html"
,
"https://jinrong-huidan-test.glsx.com.cn"
));
}
}
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