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 27e0b40f
authored
Apr 01, 2026
by
崔彦峰
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge remote-tracking branch 'origin/v5.7.1' into v5.7.1
2 parents
9aab2163
18deee4a
Hide whitespace changes
Inline
Side-by-side
Showing
29 changed files
with
566 additions
and
17 deletions
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/car/CarManageInfoExcelDTO.java
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/entitydto/evalorder/EvalOrderEmailDTO.java
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/entitydto/livecode/WechatBusinessGroupDTO.java
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/pad/reqdto/evalorder/EvalCarBaseReqDTO.java
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/pad/resdto/evalorder/CarLicenseOcrResDTO.java
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/pad/resdto/evalorder/EvalOrderPageResDTO.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/CheckReportPageResDTO.java
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/resdto/evalorder/EvalOrderDetailResDTO.java
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/resdto/financialledger/FinancialLedgerDTO.java
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/resdto/financialledger/FinancialLedgerExcelDTO.java
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/wechat/reqdto/SendWeAppSubscribeMessageDTO.java
src/main/java/com/gsc4cloud/gsc/vpc/api/entity/car/CarManageInfo.java
src/main/java/com/gsc4cloud/gsc/vpc/api/entity/checkreport/CheckReport.java
src/main/java/com/gsc4cloud/gsc/vpc/api/entity/evalorder/EvalCarBase.java
src/main/java/com/gsc4cloud/gsc/vpc/api/entity/evalorder/EvalPriceHistory.java
src/main/java/com/gsc4cloud/gsc/vpc/api/enums/AuctionStatusEnum.java
src/main/java/com/gsc4cloud/gsc/vpc/api/enums/CarStatusEnum.java
src/main/java/com/gsc4cloud/gsc/vpc/api/enums/DefaultErrorEnum.java
src/main/java/com/gsc4cloud/gsc/vpc/api/enums/EvalOrderLogOperateTypeEnum.java
src/main/java/com/gsc4cloud/gsc/vpc/api/enums/EvalPriceHistroyOptTypeEnum.java
src/main/java/com/gsc4cloud/gsc/vpc/api/enums/ProxyRequestSourceEnum.java
src/main/java/com/gsc4cloud/gsc/vpc/api/feign/carcondition/CarConditionRemote.java
src/main/java/com/gsc4cloud/gsc/vpc/api/feign/web/evalorder/EvalOrderManageRemote.java
src/main/java/com/gsc4cloud/gsc/vpc/api/feign/web/financialledger/FinancialLedgerRemote.java
src/main/java/com/gsc4cloud/gsc/vpc/api/req/web/carcondition/CarConditionPushAiReportRequest.java
src/main/java/com/gsc4cloud/gsc/vpc/api/req/web/evalorder/EvalOrderCheckPriceRequest.java
src/main/java/com/gsc4cloud/gsc/vpc/api/req/web/financialledger/FinancialLedgerPageRequest.java
src/main/java/com/gsc4cloud/gsc/vpc/api/req/web/livecode/StoreConfigRequest.java
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/car/CarManageInfoExcelDTO.java
View file @
27e0b40
...
@@ -100,10 +100,10 @@ public class CarManageInfoExcelDTO implements Serializable {
...
@@ -100,10 +100,10 @@ public class CarManageInfoExcelDTO implements Serializable {
private
String
carCreator
;
private
String
carCreator
;
/**
/**
* 车辆状态:0-库存中 1-已出售 2-待售 3-已预定 4-已交付 5-待排卖 6-拍卖中 7-已退库 默认:0-库存中
* 车辆状态:0-库存中 1-已出售 2-待售 3-已预定 4-已交付 5-待排卖 6-拍卖中 7-已退库
8-预展中
默认:0-库存中
*/
*/
@ExcelProperty
(
value
=
"车辆状态"
,
converter
=
ReplaceIntegerToStringConvert
.
class
)
@ExcelProperty
(
value
=
"车辆状态"
,
converter
=
ReplaceIntegerToStringConvert
.
class
)
@ExcelValueReplace
(
replace
=
{
"库存中_0"
,
"已出售_1"
,
"代售_2"
,
"已预定_3"
,
"已交付_4"
,
"待拍卖_5"
,
"拍卖中_6"
,
"已退库_7"
},
repeatValue
=
true
)
@ExcelValueReplace
(
replace
=
{
"库存中_0"
,
"已出售_1"
,
"代售_2"
,
"已预定_3"
,
"已交付_4"
,
"待拍卖_5"
,
"拍卖中_6"
,
"已退库_7"
,
"预展中_8"
},
repeatValue
=
true
)
private
Integer
carStatus
;
private
Integer
carStatus
;
/**
/**
...
...
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/entitydto/evalorder/EvalOrderEmailDTO.java
View file @
27e0b40
...
@@ -120,4 +120,14 @@ public class EvalOrderEmailDTO {
...
@@ -120,4 +120,14 @@ public class EvalOrderEmailDTO {
* 评估单状态描述
* 评估单状态描述
*/
*/
private
String
statusDesc
;
private
String
statusDesc
;
/**
* 内饰颜色
*/
private
String
interiorColor
;
/**
* 外观颜色
*/
private
String
exteriorColor
;
}
}
\ No newline at end of file
\ No newline at end of file
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/entitydto/livecode/WechatBusinessGroupDTO.java
0 → 100644
View file @
27e0b40
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
dto
.
entitydto
.
livecode
;
import
lombok.Data
;
import
lombok.ToString
;
@Data
@ToString
public
class
WechatBusinessGroupDTO
{
private
String
chatId
;
private
String
chatName
;
private
String
owner
;
private
Integer
memberCount
;
private
Long
createTime
;
private
String
notice
;
}
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/pad/reqdto/evalorder/EvalCarBaseReqDTO.java
View file @
27e0b40
...
@@ -247,4 +247,10 @@ public class EvalCarBaseReqDTO {
...
@@ -247,4 +247,10 @@ public class EvalCarBaseReqDTO {
@Schema
(
description
=
"车况描述"
)
@Schema
(
description
=
"车况描述"
)
@Size
(
max
=
1000
,
message
=
"车况描述长度不能超过1000个字符"
)
@Size
(
max
=
1000
,
message
=
"车况描述长度不能超过1000个字符"
)
private
String
conditionDescription
;
private
String
conditionDescription
;
/**
* OCR识别-行驶证住址
*/
@Schema
(
description
=
"OCR识别-行驶证住址"
)
private
String
licenseAddress
;
}
}
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/pad/resdto/evalorder/CarLicenseOcrResDTO.java
View file @
27e0b40
...
@@ -84,4 +84,10 @@ public class CarLicenseOcrResDTO implements Serializable {
...
@@ -84,4 +84,10 @@ public class CarLicenseOcrResDTO implements Serializable {
*/
*/
@Schema
(
description
=
"品牌型号"
)
@Schema
(
description
=
"品牌型号"
)
private
String
completeBrandModel
;
private
String
completeBrandModel
;
/**
* OCR识别-行驶证住址
*/
@Schema
(
description
=
"OCR识别-行驶证住址"
)
private
String
licenseAddress
;
}
}
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/pad/resdto/evalorder/EvalOrderPageResDTO.java
View file @
27e0b40
...
@@ -221,4 +221,18 @@ public class EvalOrderPageResDTO implements Serializable {
...
@@ -221,4 +221,18 @@ public class EvalOrderPageResDTO implements Serializable {
@Schema
(
description
=
"合同企业主体: hzglsk-惠州广联数科科技有限公司、szyjzh-深圳市优加智汇科技有限公司"
)
@Schema
(
description
=
"合同企业主体: hzglsk-惠州广联数科科技有限公司、szyjzh-深圳市优加智汇科技有限公司"
)
private
String
contractOrg
;
private
String
contractOrg
;
/**
* 是否展示"车辆评估"按钮
* 评估单状态为评估中(10)时展示,其他状态不展示
*/
@Schema
(
description
=
"是否展示「车辆评估」按钮"
)
private
Boolean
showEvalBtn
;
/**
* 是否展示"评估核价"按钮
* 评估单状态为评估中(10)且当前最大报价轮次存在评估师报价(opType=10)时展示
*/
@Schema
(
description
=
"是否展示「评估核价」按钮"
)
private
Boolean
showCheckPriceBtn
;
}
}
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/resdto/checkreport/CheckReportDetailResDTO.java
View file @
27e0b40
...
@@ -96,6 +96,12 @@ public class CheckReportDetailResDTO {
...
@@ -96,6 +96,12 @@ public class CheckReportDetailResDTO {
private
String
reportUrl
;
private
String
reportUrl
;
/**
/**
* 报告图片url
*/
@Schema
(
description
=
"报告图片url"
)
private
String
reportImageUrl
;
/**
* 报告解析json
* 报告解析json
*/
*/
@Schema
(
description
=
"报告解析json"
)
@Schema
(
description
=
"报告解析json"
)
...
...
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/resdto/checkreport/CheckReportPageResDTO.java
View file @
27e0b40
...
@@ -90,4 +90,10 @@ public class CheckReportPageResDTO implements Serializable {
...
@@ -90,4 +90,10 @@ public class CheckReportPageResDTO implements Serializable {
*/
*/
@Schema
(
description
=
"报告url"
)
@Schema
(
description
=
"报告url"
)
private
String
reportUrl
;
private
String
reportUrl
;
/**
* 报告url
*/
@Schema
(
description
=
"报告图片url"
)
private
String
reportImageUrl
;
}
}
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/resdto/evalorder/EvalOrderDetailResDTO.java
View file @
27e0b40
...
@@ -2,6 +2,7 @@ package com.gsc4cloud.gsc.vpc.api.dto.web.resdto.evalorder;
...
@@ -2,6 +2,7 @@ package com.gsc4cloud.gsc.vpc.api.dto.web.resdto.evalorder;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.gsc4cloud.gsc.vpc.api.dto.entitydto.evalorder.EvalPriceHistoryDTO
;
import
com.gsc4cloud.gsc.vpc.api.enums.EvalSourceEnum
;
import
com.gsc4cloud.gsc.vpc.api.enums.EvalSourceEnum
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
jakarta.validation.constraints.Size
;
import
jakarta.validation.constraints.Size
;
...
@@ -237,6 +238,22 @@ public class EvalOrderDetailResDTO {
...
@@ -237,6 +238,22 @@ public class EvalOrderDetailResDTO {
@Schema
(
description
=
"车辆品牌名称"
)
@Schema
(
description
=
"车辆品牌名称"
)
private
String
carBrand
;
private
String
carBrand
;
/**
* 报价历史列表(按报价时间倒序排序)
*/
@Schema
(
description
=
"报价历史列表"
)
private
List
<
EvalPriceHistoryDTO
>
priceHistoryListDTO
;
/**
* 除客户报价(opType=20)以外的最大报价轮次
*/
@Schema
(
description
=
"除客户报价以外的最大报价轮次"
)
private
Integer
maxRoundNo
;
@Schema
(
description
=
"外观颜色"
)
private
String
exteriorColor
;
@Schema
(
description
=
"内饰颜色"
)
private
String
interiorColor
;
}
}
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/resdto/financialledger/FinancialLedgerDTO.java
0 → 100644
View file @
27e0b40
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
dto
.
web
.
resdto
.
financialledger
;
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.math.BigDecimal
;
import
java.util.Date
;
/**
* 财务台账查询结果 DTO(biz 层返回,供 Service 解析 JSON 字段后填充)
*/
@AllArgsConstructor
@NoArgsConstructor
@Data
public
class
FinancialLedgerDTO
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
// ===== 评估单 =====
@Schema
(
description
=
"评估单编号"
)
private
String
evalOrderNo
;
@Schema
(
description
=
"收车价"
)
private
BigDecimal
evalPrice
;
// ===== 车辆基本信息 =====
@Schema
(
description
=
"车牌号"
)
private
String
licensePlate
;
@Schema
(
description
=
"车架号"
)
private
String
vin
;
@Schema
(
description
=
"卖方单位地址/个人地址(OCR识别-行驶证住址)"
)
private
String
licenseAddress
;
@Schema
(
description
=
"登记证号"
)
private
String
registrationNo
;
@Schema
(
description
=
"厂牌(品牌)型号"
)
private
String
brandModel
;
@Schema
(
description
=
"车辆类型"
)
private
String
vehicleType
;
// ===== 查车宝数据 =====
@Schema
(
description
=
"查车宝 data_json 原文(内部字段,不对外暴露)"
)
private
String
chaboshiDataJson
;
@Schema
(
description
=
"排量"
)
private
String
displacement
;
// ===== 入库时间 =====
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
@Schema
(
description
=
"入库时间"
)
private
Date
storageTime
;
// ===== 电子合同(二手车转让协议甲方信息,electronic_contract_type=1),JSON 原文供 Service 解析 =====
@Schema
(
description
=
"二手车转让协议合同字段JSON(内部字段,不对外暴露)"
)
private
String
saleContractField
;
// ===== 电子合同解析后的甲方字段(Service 填充) =====
@Schema
(
description
=
"卖方单位/个人(甲方名称)"
)
private
String
partAName
;
@Schema
(
description
=
"卖方单位代码/车主身份证号码"
)
private
String
partAIdentityCode
;
@Schema
(
description
=
"电话"
)
private
String
partAContactMobile
;
// ===== 确认交车合同(electronic_contract_type=4)JSON 原文供 Service 解析 =====
@Schema
(
description
=
"确认交车合同字段JSON(内部字段,不对外暴露)"
)
private
String
confirmContractField
;
// ===== 解析后的证件链接(Service 填充) =====
@Schema
(
description
=
"行驶证图片链接"
)
private
String
motorRegistrationCertificateUrl
;
@Schema
(
description
=
"登记证图片链接"
)
private
String
motorBookUrl
;
}
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/resdto/financialledger/FinancialLedgerExcelDTO.java
0 → 100644
View file @
27e0b40
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
dto
.
web
.
resdto
.
financialledger
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.alibaba.excel.annotation.format.DateTimeFormat
;
import
lombok.AllArgsConstructor
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
java.io.Serial
;
import
java.io.Serializable
;
import
java.math.BigDecimal
;
import
java.util.Date
;
/**
* 财务台账 Excel 导出 DTO
*/
@AllArgsConstructor
@NoArgsConstructor
@Data
public
class
FinancialLedgerExcelDTO
implements
Serializable
{
@Serial
private
static
final
long
serialVersionUID
=
1L
;
@ExcelProperty
(
value
=
"卖方单位/个人"
)
private
String
partAName
;
@ExcelProperty
(
value
=
"卖方单位代码/车主身份证号码"
)
private
String
partAIdentityCode
;
@ExcelProperty
(
value
=
"电话"
)
private
String
partAContactMobile
;
@ExcelProperty
(
value
=
"卖方单位地址/个人地址"
)
private
String
licenseAddress
;
@ExcelProperty
(
value
=
"登记证号"
)
private
String
registrationNo
;
@ExcelProperty
(
value
=
"厂牌(品牌)型号"
)
private
String
brandModel
;
@ExcelProperty
(
value
=
"车辆类型"
)
private
String
vehicleType
;
@ExcelProperty
(
value
=
"车牌"
)
private
String
licensePlate
;
@ExcelProperty
(
value
=
"车架号"
)
private
String
vin
;
@ExcelProperty
(
value
=
"排量"
)
private
String
displacement
;
@ExcelProperty
(
value
=
"收车价"
)
private
BigDecimal
evalPrice
;
@DateTimeFormat
(
value
=
"yyyy-MM-dd HH:mm:ss"
)
@ExcelProperty
(
value
=
"入库时间"
)
private
Date
storageTime
;
}
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/wechat/reqdto/SendWeAppSubscribeMessageDTO.java
0 → 100644
View file @
27e0b40
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
dto
.
wechat
.
reqdto
;
import
lombok.AllArgsConstructor
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
lombok.ToString
;
import
java.io.Serializable
;
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public
class
SendWeAppSubscribeMessageDTO
implements
Serializable
{
private
static
final
long
serialVersionUID
=
2242945540978790303L
;
/**
* 接收者(用户)的 openid
*/
private
String
touser
;
/**
* 所需下发的订阅模板id
*/
private
String
templateId
;
/**
* 跳转路径
*/
private
String
page
;
/**
* 模板内容
*/
private
String
data
;
/**
* 跳转小程序类型:developer为开发版;trial为体验版;formal为正式版;默认为正式版
*/
private
String
miniprogramState
=
"formal"
;
/**
* 进入小程序查看”的语言类型,支持zh_CN(简体中文)、en_US(英文)、zh_HK(繁体中文)、zh_TW(繁体中文),默认为zh_CN
*/
private
String
lang
=
"zh_CN"
;
/**
* 小程序应用ID
*/
private
String
appId
;
}
src/main/java/com/gsc4cloud/gsc/vpc/api/entity/car/CarManageInfo.java
View file @
27e0b40
...
@@ -54,10 +54,10 @@ public class CarManageInfo implements Serializable {
...
@@ -54,10 +54,10 @@ public class CarManageInfo implements Serializable {
private
Byte
pushStatus
;
private
Byte
pushStatus
;
/**
/**
* 车辆状态:0-库存中 1-已出售 2-待售 3-已预定 4-已交付 5-待排卖 6-拍卖中 7-已退库 默认:0-库存中
* 车辆状态:0-库存中 1-已出售 2-待售 3-已预定 4-已交付 5-待排卖 6-拍卖中 7-已退库
8-预展中
默认:0-库存中
*/
*/
@TableField
(
value
=
"car_status"
)
@TableField
(
value
=
"car_status"
)
@Schema
(
description
=
"车辆状态:0-库存中 1-已出售 2-待售 3-已预定 4-已交付 5-待排卖 6-拍卖中 7-已退库 默认:0-库存中"
)
@Schema
(
description
=
"车辆状态:0-库存中 1-已出售 2-待售 3-已预定 4-已交付 5-待排卖 6-拍卖中 7-已退库
8-预展中
默认:0-库存中"
)
private
Integer
carStatus
;
private
Integer
carStatus
;
/**
/**
...
...
src/main/java/com/gsc4cloud/gsc/vpc/api/entity/checkreport/CheckReport.java
View file @
27e0b40
...
@@ -110,6 +110,13 @@ public class CheckReport implements Serializable {
...
@@ -110,6 +110,13 @@ public class CheckReport implements Serializable {
private
String
reportUrl
;
private
String
reportUrl
;
/**
/**
* 报告图片url
*/
@TableField
(
value
=
"report_image_url"
)
@Schema
(
description
=
"报告图片url"
)
private
String
reportImageUrl
;
/**
* 报告解析json
* 报告解析json
*/
*/
@TableField
(
value
=
"json_result"
)
@TableField
(
value
=
"json_result"
)
...
...
src/main/java/com/gsc4cloud/gsc/vpc/api/entity/evalorder/EvalCarBase.java
View file @
27e0b40
...
@@ -382,6 +382,14 @@ public class EvalCarBase implements Serializable {
...
@@ -382,6 +382,14 @@ public class EvalCarBase implements Serializable {
private
String
brandModel
;
private
String
brandModel
;
/**
/**
* OCR识别-行驶证住址
*/
@TableField
(
value
=
"license_address"
)
@Schema
(
description
=
"OCR识别-行驶证住址"
)
private
String
licenseAddress
;
/**
* 通常是1,3,4级拼接组成车型
* 通常是1,3,4级拼接组成车型
* @return 车型名称
* @return 车型名称
*/
*/
...
...
src/main/java/com/gsc4cloud/gsc/vpc/api/entity/evalorder/EvalPriceHistory.java
View file @
27e0b40
...
@@ -44,20 +44,19 @@ public class EvalPriceHistory implements Serializable {
...
@@ -44,20 +44,19 @@ public class EvalPriceHistory implements Serializable {
private
Integer
roundNo
;
private
Integer
roundNo
;
/**
/**
* 操作类型:10评估师报价,20客户报价,30评估师驳回
* 操作类型:10评估师报价,20客户报价,30评估师驳回
,40核价师核价,50核价师驳回
*/
*/
@TableField
(
value
=
"op_type"
)
@TableField
(
value
=
"op_type"
)
private
Integer
opType
;
private
Integer
opType
;
/**
/**
* 评估价格(元)
* 评估价格(元)
,仅评估师报价或核价师核价使用
*/
*/
@TableField
(
value
=
"eval_price"
)
@TableField
(
value
=
"eval_price"
)
private
BigDecimal
evalPrice
;
private
BigDecimal
evalPrice
;
/**
/**
* 评估意见
* 评估意见
,仅评估师报价或核价师核价使用
*/
*/
@TableField
(
value
=
"eval_opinion"
)
@TableField
(
value
=
"eval_opinion"
)
private
String
evalOpinion
;
private
String
evalOpinion
;
...
...
src/main/java/com/gsc4cloud/gsc/vpc/api/enums/AuctionStatusEnum.java
View file @
27e0b40
...
@@ -23,6 +23,7 @@ import java.util.Optional;
...
@@ -23,6 +23,7 @@ import java.util.Optional;
public
enum
AuctionStatusEnum
implements
BaseEnum
<
String
,
String
>
{
public
enum
AuctionStatusEnum
implements
BaseEnum
<
String
,
String
>
{
WAIT_AUCTION
(
"WAIT_AUCTION"
,
"待拍卖"
),
WAIT_AUCTION
(
"WAIT_AUCTION"
,
"待拍卖"
),
PREVIEW
(
"PREVIEW"
,
"预展中"
),
AUCTIONING
(
"AUCTIONING"
,
"拍卖中"
),
AUCTIONING
(
"AUCTIONING"
,
"拍卖中"
),
WAIT_PICKUP
(
"WAIT_PICKUP"
,
"待提车"
),
WAIT_PICKUP
(
"WAIT_PICKUP"
,
"待提车"
),
TRANSFERRING
(
"TRANSFERRING"
,
"车辆过户中"
),
TRANSFERRING
(
"TRANSFERRING"
,
"车辆过户中"
),
...
@@ -50,6 +51,7 @@ public enum AuctionStatusEnum implements BaseEnum<String, String> {
...
@@ -50,6 +51,7 @@ public enum AuctionStatusEnum implements BaseEnum<String, String> {
private
static
final
Map
<
AuctionStatusEnum
,
CarStatusEnum
>
TO_CAR_STATUS
=
new
EnumMap
<>(
AuctionStatusEnum
.
class
);
private
static
final
Map
<
AuctionStatusEnum
,
CarStatusEnum
>
TO_CAR_STATUS
=
new
EnumMap
<>(
AuctionStatusEnum
.
class
);
static
{
static
{
TO_CAR_STATUS
.
put
(
WAIT_AUCTION
,
CarStatusEnum
.
WAITING_AUCTION
);
// 待拍卖
TO_CAR_STATUS
.
put
(
WAIT_AUCTION
,
CarStatusEnum
.
WAITING_AUCTION
);
// 待拍卖
TO_CAR_STATUS
.
put
(
PREVIEW
,
CarStatusEnum
.
PREVIEW
);
// 预展中
TO_CAR_STATUS
.
put
(
AUCTIONING
,
CarStatusEnum
.
AUCTIONING
);
// 拍卖中
TO_CAR_STATUS
.
put
(
AUCTIONING
,
CarStatusEnum
.
AUCTIONING
);
// 拍卖中
TO_CAR_STATUS
.
put
(
WAIT_PICKUP
,
CarStatusEnum
.
RESERVED
);
// 待提车 -> 已预定
TO_CAR_STATUS
.
put
(
WAIT_PICKUP
,
CarStatusEnum
.
RESERVED
);
// 待提车 -> 已预定
TO_CAR_STATUS
.
put
(
TRANSFERRING
,
CarStatusEnum
.
DELIVERED
);
// 过户中 -> 已交付
TO_CAR_STATUS
.
put
(
TRANSFERRING
,
CarStatusEnum
.
DELIVERED
);
// 过户中 -> 已交付
...
...
src/main/java/com/gsc4cloud/gsc/vpc/api/enums/CarStatusEnum.java
View file @
27e0b40
...
@@ -17,7 +17,8 @@ public enum CarStatusEnum implements BaseEnum<Integer, String> {
...
@@ -17,7 +17,8 @@ public enum CarStatusEnum implements BaseEnum<Integer, String> {
DELIVERED
(
4
,
"已交付"
),
DELIVERED
(
4
,
"已交付"
),
WAITING_AUCTION
(
5
,
"待拍卖"
),
WAITING_AUCTION
(
5
,
"待拍卖"
),
AUCTIONING
(
6
,
"拍卖中"
),
AUCTIONING
(
6
,
"拍卖中"
),
RETURNED
(
7
,
"已退库"
);
RETURNED
(
7
,
"已退库"
),
PREVIEW
(
8
,
"预展中"
);
private
final
Integer
code
;
private
final
Integer
code
;
private
final
String
desc
;
private
final
String
desc
;
...
@@ -49,6 +50,7 @@ public enum CarStatusEnum implements BaseEnum<Integer, String> {
...
@@ -49,6 +50,7 @@ public enum CarStatusEnum implements BaseEnum<Integer, String> {
STATUS_ORDER
.
put
(
WAITING_AUCTION
,
5
);
STATUS_ORDER
.
put
(
WAITING_AUCTION
,
5
);
STATUS_ORDER
.
put
(
AUCTIONING
,
6
);
STATUS_ORDER
.
put
(
AUCTIONING
,
6
);
STATUS_ORDER
.
put
(
RETURNED
,
7
);
STATUS_ORDER
.
put
(
RETURNED
,
7
);
STATUS_ORDER
.
put
(
PREVIEW
,
8
);
}
}
// 状态流转规则:key为当前状态,value为可流转到的状态集合
// 状态流转规则:key为当前状态,value为可流转到的状态集合
...
...
src/main/java/com/gsc4cloud/gsc/vpc/api/enums/DefaultErrorEnum.java
0 → 100644
View file @
27e0b40
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
enums
;
public
enum
DefaultErrorEnum
implements
BaseEnum
<
String
,
String
>
{
UNKNOW_ERROR
(
"-4000"
,
"未知异常"
),
SERVER_ERROR
(
"-1"
,
"服务器异常"
),
SERVICE_ERROR
(
"-2"
,
"业务异常"
),
VALIDATE_FAILED
(
"-3"
,
"验证失败"
),
DATABASE_ERROR
(
"-4"
,
"数据库异常"
),
RPC_ERROR
(
"-5"
,
"其他服务调用失败"
),
GET_LOCK_TIMEOUT
(
"-6"
,
"获取锁超时"
),
DATA_NULL
(
"-5001"
,
"数据为空"
),
DATA_EXIST
(
"-5002"
,
"数据已存在"
),
DATA_NOT_EXIST
(
"-5003"
,
"数据不存在"
),
DATA_INVALID
(
"-5004"
,
"数据无效"
),
PARAMETER_NULL
(
"-5005"
,
"参数为空"
),
FLOW_LIMIT
(
"-9000"
,
"流量限制"
);
private
final
String
code
;
private
final
String
desc
;
DefaultErrorEnum
(
String
code
,
String
desc
)
{
this
.
code
=
code
;
this
.
desc
=
desc
;
}
@Override
public
String
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/enums/EvalOrderLogOperateTypeEnum.java
View file @
27e0b40
...
@@ -31,6 +31,8 @@ public enum EvalOrderLogOperateTypeEnum implements BaseEnum<String, String> {
...
@@ -31,6 +31,8 @@ public enum EvalOrderLogOperateTypeEnum implements BaseEnum<String, String> {
OA_APPROVING
(
"OA_APPROVE_SUCCESS"
,
"发送oa审批"
),
OA_APPROVING
(
"OA_APPROVE_SUCCESS"
,
"发送oa审批"
),
OA_APPROVE_REJECT
(
"OA_APPROVE_REJECT"
,
"OA审批驳回"
),
OA_APPROVE_REJECT
(
"OA_APPROVE_REJECT"
,
"OA审批驳回"
),
REVOKE_SALE_CONTRACT
(
"REVOKE_SALE_CONTRACT"
,
"撤回合同"
),
REVOKE_SALE_CONTRACT
(
"REVOKE_SALE_CONTRACT"
,
"撤回合同"
),
CHECK_PRICE_APPROVE
(
"CHECK_PRICE_APPROVE"
,
"核价通过"
),
CHECK_PRICE_REJECT
(
"CHECK_PRICE_REJECT"
,
"核价驳回"
),
;
;
private
final
String
operateType
;
private
final
String
operateType
;
...
...
src/main/java/com/gsc4cloud/gsc/vpc/api/enums/EvalPriceHistroyOptTypeEnum.java
View file @
27e0b40
...
@@ -4,7 +4,9 @@ public enum EvalPriceHistroyOptTypeEnum implements BaseEnum<Integer, String>{
...
@@ -4,7 +4,9 @@ public enum EvalPriceHistroyOptTypeEnum implements BaseEnum<Integer, String>{
APPRAISER_QUOTE
(
10
,
"评估师报价"
),
APPRAISER_QUOTE
(
10
,
"评估师报价"
),
CUSTOMER_QUOTE
(
20
,
"客户报价"
),
CUSTOMER_QUOTE
(
20
,
"客户报价"
),
APPRAISER_REJECT
(
30
,
"评估师驳回"
);
APPRAISER_REJECT
(
30
,
"评估师驳回"
),
CHECK_PRICE_APPROVE
(
40
,
"核价通过"
),
CHECK_PRICE_REJECT
(
50
,
"核价驳回"
);
private
final
Integer
code
;
private
final
Integer
code
;
...
...
src/main/java/com/gsc4cloud/gsc/vpc/api/enums/ProxyRequestSourceEnum.java
0 → 100644
View file @
27e0b40
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
enums
;
public
enum
ProxyRequestSourceEnum
{
/**
* 嘀加
**/
ROP_DJ_1
(
"1"
),
/**
* 广汇
**/
ROP_DJ_2
(
"2"
),
/**
* SCRM嘀加
**/
ROP_SCRM_WECHAT_DJ
(
"rop-scrm-wechat-dj"
),
/**
* SCRM广汇
**/
ROP_SCRM_WECHAT_GH
(
"rop-scrm-wechat-gh"
),
/**
* SCRM生意助手嘀加
**/
ROP_SCRM_BUSASSISTANT_DJ
(
"rop-scrm-busassistant-dj"
),
/**
* SCRM_entmicro嘀加
**/
ROP_SCRM_ENTMICRO_DJ
(
"rop-scrm-entmicro-dj"
),
/**
* SCRM_entmicro广汇
**/
ROP_SCRM_ENTMICRO_GH
(
"rop-scrm-entmicro-gh"
),
;
private
final
String
source
;
ProxyRequestSourceEnum
(
String
source
)
{
this
.
source
=
source
;
}
public
String
getSource
()
{
return
this
.
source
;
}
}
src/main/java/com/gsc4cloud/gsc/vpc/api/feign/carcondition/CarConditionRemote.java
View file @
27e0b40
...
@@ -6,24 +6,19 @@ import com.gsc4cloud.gsc.common.core.util.R;
...
@@ -6,24 +6,19 @@ import com.gsc4cloud.gsc.common.core.util.R;
import
com.gsc4cloud.gsc.vpc.api.dto.entitydto.carcondition.CarConditionDTO
;
import
com.gsc4cloud.gsc.vpc.api.dto.entitydto.carcondition.CarConditionDTO
;
import
com.gsc4cloud.gsc.vpc.api.dto.entitydto.carcondition.CarConditionMerchantDTO
;
import
com.gsc4cloud.gsc.vpc.api.dto.entitydto.carcondition.CarConditionMerchantDTO
;
import
com.gsc4cloud.gsc.vpc.api.dto.entitydto.carcondition.CarConditionStatusCountDTO
;
import
com.gsc4cloud.gsc.vpc.api.dto.entitydto.carcondition.CarConditionStatusCountDTO
;
import
com.gsc4cloud.gsc.vpc.api.dto.pad.resdto.evalorder.EvalOrderCreateResDTO
;
import
com.gsc4cloud.gsc.vpc.api.dto.resdto.carcondition.AiBriefingDetailResDTO
;
import
com.gsc4cloud.gsc.vpc.api.dto.resdto.carcondition.AiBriefingDetailResDTO
;
import
com.gsc4cloud.gsc.vpc.api.dto.resdto.carcondition.CarConditionAiReportResDTO
;
import
com.gsc4cloud.gsc.vpc.api.dto.resdto.carcondition.CarConditionAiReportResDTO
;
import
com.gsc4cloud.gsc.vpc.api.req.PageRequest
;
import
com.gsc4cloud.gsc.vpc.api.req.PageRequest
;
import
com.gsc4cloud.gsc.vpc.api.req.carcondition.CarConditionBindEvalOrderRequest
;
import
com.gsc4cloud.gsc.vpc.api.req.carcondition.CarConditionDetailRequest
;
import
com.gsc4cloud.gsc.vpc.api.req.carcondition.CarConditionDetailRequest
;
import
com.gsc4cloud.gsc.vpc.api.req.carcondition.CarConditionPageRequest
;
import
com.gsc4cloud.gsc.vpc.api.req.carcondition.CarConditionPageRequest
;
import
com.gsc4cloud.gsc.vpc.api.req.carcondition.OneClickCreateEvalOrderRequest
;
import
com.gsc4cloud.gsc.vpc.api.req.carcondition.OneClickCreateEvalOrderRequest
;
import
com.gsc4cloud.gsc.vpc.api.dto.pad.resdto.evalorder.EvalOrderCreateResDTO
;
import
com.gsc4cloud.gsc.vpc.api.req.pad.carcondition.CarConditionAddRequest
;
import
com.gsc4cloud.gsc.vpc.api.req.pad.carcondition.CarConditionAddRequest
;
import
com.gsc4cloud.gsc.vpc.api.req.pad.carcondition.CarConditionEditRequest
;
import
com.gsc4cloud.gsc.vpc.api.req.pad.carcondition.CarConditionEditRequest
;
import
com.gsc4cloud.gsc.vpc.api.req.web.carcondition.CarConditionAiBriefingSaveRequest
;
import
com.gsc4cloud.gsc.vpc.api.req.web.carcondition.*
;
import
com.gsc4cloud.gsc.vpc.api.req.web.carcondition.CarConditionAiReportDetailRequest
;
import
com.gsc4cloud.gsc.vpc.api.req.web.carcondition.CarConditionAiReportEditRequest
;
import
com.gsc4cloud.gsc.vpc.api.req.web.carcondition.CarConditionAiReportSaveRequest
;
import
org.springframework.cloud.openfeign.FeignClient
;
import
org.springframework.cloud.openfeign.FeignClient
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestParam
;
@FeignClient
(
contextId
=
"com.gsc4cloud.gsc.vpc.api.feign.carcondition.CarConditionRemote"
,
@FeignClient
(
contextId
=
"com.gsc4cloud.gsc.vpc.api.feign.carcondition.CarConditionRemote"
,
// url="localhost:4001",
// url="localhost:4001",
...
@@ -66,4 +61,6 @@ public interface CarConditionRemote {
...
@@ -66,4 +61,6 @@ public interface CarConditionRemote {
@PostMapping
(
"/carCondition/editAiResult"
)
@PostMapping
(
"/carCondition/editAiResult"
)
R
<
String
>
editAiResult
(
@RequestBody
CarConditionAiReportEditRequest
request
);
R
<
String
>
editAiResult
(
@RequestBody
CarConditionAiReportEditRequest
request
);
@PostMapping
(
"/carCondition/pushAiReport"
)
R
<
Boolean
>
pushAiReport
(
CarConditionPushAiReportRequest
request
);
}
}
src/main/java/com/gsc4cloud/gsc/vpc/api/feign/web/evalorder/EvalOrderManageRemote.java
View file @
27e0b40
...
@@ -42,4 +42,7 @@ public interface EvalOrderManageRemote {
...
@@ -42,4 +42,7 @@ public interface EvalOrderManageRemote {
@PostMapping
(
"/evalOrder/create"
)
@PostMapping
(
"/evalOrder/create"
)
R
<
EvalOrderCreateResDTO
>
create
(
EvalOrderCreateRequest
request
);
R
<
EvalOrderCreateResDTO
>
create
(
EvalOrderCreateRequest
request
);
@PostMapping
(
"/evalOrder/checkPrice"
)
R
<
Boolean
>
checkPrice
(
EvalOrderCheckPriceRequest
request
);
}
}
src/main/java/com/gsc4cloud/gsc/vpc/api/feign/web/financialledger/FinancialLedgerRemote.java
0 → 100644
View file @
27e0b40
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
feign
.
web
.
financialledger
;
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.financialledger.FinancialLedgerDTO
;
import
com.gsc4cloud.gsc.vpc.api.req.PageRequest
;
import
com.gsc4cloud.gsc.vpc.api.req.web.financialledger.FinancialLedgerPageRequest
;
import
io.swagger.v3.oas.annotations.Operation
;
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.web.financialledger.FinancialLedgerRemote"
,
value
=
"gsc-vcp-biz"
)
public
interface
FinancialLedgerRemote
{
/**
* 财务台账分页列表
*/
@Operation
(
summary
=
"财务台账分页列表"
)
@PostMapping
(
"/financialLedger/pageList"
)
R
<
Page
<
FinancialLedgerDTO
>>
pageList
(
@RequestBody
PageRequest
<
FinancialLedgerPageRequest
>
request
);
/**
* 异步导出财务台账
*/
@Operation
(
summary
=
"异步导出财务台账"
)
@PostMapping
(
"/financialLedger/exportAsync"
)
R
<
String
>
exportAsync
(
@RequestBody
PageRequest
<
FinancialLedgerPageRequest
>
request
);
}
src/main/java/com/gsc4cloud/gsc/vpc/api/req/web/carcondition/CarConditionPushAiReportRequest.java
0 → 100644
View file @
27e0b40
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
req
.
web
.
carcondition
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
jakarta.validation.constraints.NotNull
;
import
lombok.Data
;
import
java.io.Serializable
;
/**
* 推送车况报告
*/
@Data
@Schema
(
description
=
"推送车况报告"
)
public
class
CarConditionPushAiReportRequest
implements
Serializable
{
@Schema
(
description
=
"车况信息主键id"
)
@NotNull
(
message
=
"车况信息主键id不能为空"
)
private
Integer
carConditionId
;
}
src/main/java/com/gsc4cloud/gsc/vpc/api/req/web/evalorder/EvalOrderCheckPriceRequest.java
0 → 100644
View file @
27e0b40
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
req
.
web
.
evalorder
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
jakarta.validation.constraints.NotEmpty
;
import
jakarta.validation.constraints.NotNull
;
import
lombok.Data
;
import
java.math.BigDecimal
;
@Schema
(
description
=
"评估单核价请求"
)
@Data
public
class
EvalOrderCheckPriceRequest
{
/**
* 评估单编号/工单编号
*/
@Schema
(
description
=
"评估单编号/工单编号"
)
@NotEmpty
(
message
=
"评估单单号不能为空"
)
private
String
evalOrderNo
;
@Schema
(
description
=
"车架号"
)
@NotEmpty
(
message
=
"车架号不能为空"
)
private
String
vin
;
@Schema
(
description
=
"操作类型:40核价通过,50核价驳回"
)
@NotNull
(
message
=
"操作类型不能为空"
)
private
Integer
opType
;
@Schema
(
description
=
"核价(元)"
)
private
BigDecimal
checkPrice
;
@Schema
(
description
=
"核价意见"
)
private
String
checkOpinion
;
@Schema
(
description
=
"驳回原因,仅驳回使用"
)
private
String
rejectReason
;
@Schema
(
description
=
"驳回意见,仅驳回使用"
)
private
String
rejectSuggestion
;
@Schema
(
description
=
"操作人"
)
private
String
operator
;
@Schema
(
description
=
"操作人手机号"
)
private
String
operatorPhone
;
}
src/main/java/com/gsc4cloud/gsc/vpc/api/req/web/financialledger/FinancialLedgerPageRequest.java
0 → 100644
View file @
27e0b40
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
req
.
web
.
financialledger
;
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
;
/**
* 财务台账分页查询请求
*/
@AllArgsConstructor
@NoArgsConstructor
@Data
public
class
FinancialLedgerPageRequest
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
/**
* 评估单编号(模糊搜索)
*/
@Schema
(
description
=
"评估单编号(模糊搜索)"
)
private
String
evalOrderNo
;
/**
* 车牌号(模糊搜索)
*/
@Schema
(
description
=
"车牌号(模糊搜索)"
)
private
String
licensePlate
;
/**
* 车架号(模糊搜索)
*/
@Schema
(
description
=
"车架号(模糊搜索)"
)
private
String
vin
;
/**
* 卖方单位/个人(模糊搜索)
*/
@Schema
(
description
=
"卖方单位/个人(模糊搜索)"
)
private
String
partAName
;
/**
* 入库时间-开始
*/
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
@Schema
(
description
=
"入库时间-开始"
)
private
Date
storageStartTime
;
/**
* 入库时间-结束
*/
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
@Schema
(
description
=
"入库时间-结束"
)
private
Date
storageEndTime
;
/**
* 操作人
*/
@Schema
(
description
=
"操作人"
)
private
String
updatedBy
;
}
src/main/java/com/gsc4cloud/gsc/vpc/api/req/web/livecode/StoreConfigRequest.java
View file @
27e0b40
...
@@ -66,6 +66,7 @@ public class StoreConfigRequest implements Serializable {
...
@@ -66,6 +66,7 @@ public class StoreConfigRequest implements Serializable {
* 总部定价师手机号
* 总部定价师手机号
*/
*/
@Schema
(
description
=
"总部定价师手机号"
)
@Schema
(
description
=
"总部定价师手机号"
)
@NotBlank
(
message
=
"总部定价师手机号不能为空"
,
groups
=
{
AddGroup
.
class
,
UpdateGroup
.
class
})
private
String
staffPhone
;
private
String
staffPhone
;
/**
/**
...
...
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