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 7bb2bd10
authored
Dec 15, 2025
by
崔彦峰
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
add: 提交车辆台账代码。
1 parent
06d4c288
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
443 additions
and
0 deletions
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/resdto/vehicleledger/VehicleLedgerExcelDTO.java
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/resdto/vehicleledger/VehicleLedgerPageResDTO.java
src/main/java/com/gsc4cloud/gsc/vpc/api/feign/web/vehicleledger/VehicleLedgerRemote.java
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/resdto/vehicleledger/VehicleLedgerExcelDTO.java
0 → 100644
View file @
7bb2bd1
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
dto
.
web
.
resdto
.
vehicleledger
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.alibaba.excel.annotation.format.DateTimeFormat
;
import
lombok.AllArgsConstructor
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
lombok.experimental.SuperBuilder
;
import
java.io.Serial
;
import
java.io.Serializable
;
import
java.math.BigDecimal
;
import
java.util.Date
;
/**
* 车辆台账Excel导出DTO
*
* @author auto-generated
*/
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
@Data
public
class
VehicleLedgerExcelDTO
implements
Serializable
{
@Serial
private
static
final
long
serialVersionUID
=
1L
;
@ExcelProperty
(
value
=
"评估单编号"
)
private
String
evalOrderNo
;
@ExcelProperty
(
value
=
"评估单来源"
)
private
String
sourceName
;
@ExcelProperty
(
value
=
"门店"
)
private
String
sellerMerchantName
;
@ExcelProperty
(
value
=
"销售顾问"
)
private
String
sellerName
;
@ExcelProperty
(
value
=
"驻店人员"
)
private
String
conversionName
;
@ExcelProperty
(
value
=
"转让协议签署"
)
private
String
transferAgreementSignedName
;
@ExcelProperty
(
value
=
"交接确认单签署"
)
private
String
handoverConfirmSignedName
;
@ExcelProperty
(
value
=
"补充协议签署"
)
private
String
supplementaryAgreementSignedName
;
@ExcelProperty
(
value
=
"代保管协议签署"
)
private
String
custodyAgreementSignedName
;
@ExcelProperty
(
value
=
"签约人"
)
private
String
signer
;
@ExcelProperty
(
value
=
"收款方"
)
private
String
payeeName
;
@ExcelProperty
(
value
=
"企微审批单号(定金)"
)
private
String
depositOaFlowCode
;
@ExcelProperty
(
value
=
"企微审批状态(定金)"
)
private
String
depositOaFlowStatusName
;
@ExcelProperty
(
value
=
"企微审批单号(尾款/全款)"
)
private
String
finalPaymentOaFlowCode
;
@ExcelProperty
(
value
=
"企微审批状态(尾款/全款)"
)
private
String
finalPaymentOaFlowStatusName
;
@ExcelProperty
(
value
=
"车牌"
)
private
String
licensePlate
;
@ExcelProperty
(
value
=
"类别"
)
private
String
vehicleCategoryName
;
@ExcelProperty
(
value
=
"品牌"
)
private
String
carBrand
;
@ExcelProperty
(
value
=
"车架号"
)
private
String
vin
;
@DateTimeFormat
(
value
=
"yyyy-MM-dd HH:mm:ss"
)
@ExcelProperty
(
value
=
"收购时间(付款)"
)
private
Date
purchaseTime
;
@ExcelProperty
(
value
=
"收购价格/元(包含对公流量费)"
)
private
BigDecimal
contractPrice
;
@ExcelProperty
(
value
=
"是否全款"
)
private
String
paymentTypeName
;
@DateTimeFormat
(
value
=
"yyyy-MM-dd HH:mm:ss"
)
@ExcelProperty
(
value
=
"定金时间"
)
private
Date
depositTime
;
@ExcelProperty
(
value
=
"定金金额"
)
private
BigDecimal
depositAmount
;
@DateTimeFormat
(
value
=
"yyyy-MM-dd HH:mm:ss"
)
@ExcelProperty
(
value
=
"尾款时间"
)
private
Date
finalPaymentTime
;
@ExcelProperty
(
value
=
"尾款金额"
)
private
BigDecimal
finalPaymentAmount
;
@DateTimeFormat
(
value
=
"yyyy-MM-dd HH:mm:ss"
)
@ExcelProperty
(
value
=
"入库时间"
)
private
Date
storageTime
;
@ExcelProperty
(
value
=
"是否交付"
)
private
String
isDeliveredName
;
@ExcelProperty
(
value
=
"是否在库"
)
private
String
isInStockName
;
@ExcelProperty
(
value
=
"在库时长(天)"
)
private
Long
daysInStock
;
@ExcelProperty
(
value
=
"是否拍卖"
)
private
String
isAuctionedName
;
@ExcelProperty
(
value
=
"拍卖价格/元"
)
private
BigDecimal
auctionPrice
;
@DateTimeFormat
(
value
=
"yyyy-MM-dd HH:mm:ss"
)
@ExcelProperty
(
value
=
"拍卖时间"
)
private
Date
auctionTime
;
@DateTimeFormat
(
value
=
"yyyy-MM-dd HH:mm:ss"
)
@ExcelProperty
(
value
=
"收款时间"
)
private
Date
receivableTime
;
@ExcelProperty
(
value
=
"付款方"
)
private
String
payer
;
@ExcelProperty
(
value
=
"收拍利润"
)
private
BigDecimal
profit
;
@ExcelProperty
(
value
=
"拍卖平台"
)
private
String
auctionPlatform
;
@ExcelProperty
(
value
=
"备注"
)
private
String
sellingNotes
;
@ExcelProperty
(
value
=
"车主身份证号码"
)
private
String
partAIdentityCode
;
@ExcelProperty
(
value
=
"电话"
)
private
String
partAContactMobile
;
@ExcelProperty
(
value
=
"卖方单位/个人地址"
)
private
String
partAAddress
;
@ExcelProperty
(
value
=
"登记证号"
)
private
String
registrationCertificateNo
;
@ExcelProperty
(
value
=
"厂牌(品牌)型号"
)
private
String
brandModel
;
@ExcelProperty
(
value
=
"车辆类型"
)
private
String
vehicleType
;
@ExcelProperty
(
value
=
"是否对账"
)
private
String
isReconciled
;
}
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/resdto/vehicleledger/VehicleLedgerPageResDTO.java
0 → 100644
View file @
7bb2bd1
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
dto
.
web
.
resdto
.
vehicleledger
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.AllArgsConstructor
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
lombok.experimental.SuperBuilder
;
import
java.io.Serializable
;
import
java.math.BigDecimal
;
import
java.util.Date
;
/**
* 车辆台账分页响应DTO
*
* @author auto-generated
*/
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
@Data
public
class
VehicleLedgerPageResDTO
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
// ========== 一、直接对应数据库字段 ==========
@Schema
(
description
=
"评估单编号"
)
private
String
evalOrderNo
;
@Schema
(
description
=
"买卖合同编号"
)
private
String
saleContractNo
;
@Schema
(
description
=
"确认交接合同编号"
)
private
String
handoverContractNo
;
@Schema
(
description
=
"补充合同编号"
)
private
String
supplementaryContractNo
;
@Schema
(
description
=
"代保管合同编号"
)
private
String
custodyContractNo
;
@Schema
(
description
=
"车辆管理档案ID"
)
private
Long
carManageInfoId
;
@Schema
(
description
=
"车辆状态"
)
private
Integer
carStatus
;
@Schema
(
description
=
"评估单来源:1-app 2-小程序 3-人工导入"
)
private
Integer
source
;
@Schema
(
description
=
"评估单来源名称"
)
private
String
sourceName
;
@Schema
(
description
=
"门店"
)
private
String
sellerMerchantName
;
@Schema
(
description
=
"销售顾问"
)
private
String
sellerName
;
@Schema
(
description
=
"驻店人员"
)
private
String
conversionName
;
@Schema
(
description
=
"车牌"
)
private
String
licensePlate
;
@Schema
(
description
=
"类别:1-置换车/2-报废车"
)
private
Integer
vehicleCategory
;
@Schema
(
description
=
"类别名称"
)
private
String
vehicleCategoryName
;
@Schema
(
description
=
"品牌"
)
private
String
carBrand
;
@Schema
(
description
=
"车架号"
)
private
String
vin
;
@Schema
(
description
=
"车主身份证号码"
)
private
String
partAIdentityCode
;
@Schema
(
description
=
"电话"
)
private
String
partAContactMobile
;
@Schema
(
description
=
"卖方单位/个人地址"
)
private
String
partAAddress
;
@Schema
(
description
=
"登记证号"
)
private
String
registrationCertificateNo
;
@Schema
(
description
=
"厂牌(品牌)型号"
)
private
String
brandModel
;
@Schema
(
description
=
"车辆类型"
)
private
String
vehicleType
;
@Schema
(
description
=
"拍卖平台"
)
private
String
auctionPlatform
;
@Schema
(
description
=
"备注"
)
private
String
sellingNotes
;
// ========== 二、合同签署状态字段 ==========
@Schema
(
description
=
"转让协议签署:1-是 0-否"
)
private
Integer
transferAgreementSigned
;
@Schema
(
description
=
"转让协议签署名称"
)
private
String
transferAgreementSignedName
;
@Schema
(
description
=
"交接确认单签署:1-是 0-否"
)
private
Integer
handoverConfirmSigned
;
@Schema
(
description
=
"交接确认单签署名称"
)
private
String
handoverConfirmSignedName
;
@Schema
(
description
=
"补充协议签署:1-是 0-否"
)
private
Integer
supplementaryAgreementSigned
;
@Schema
(
description
=
"补充协议签署名称"
)
private
String
supplementaryAgreementSignedName
;
@Schema
(
description
=
"代保管协议签署:1-是 0-否"
)
private
Integer
custodyAgreementSigned
;
@Schema
(
description
=
"代保管协议签署名称"
)
private
String
custodyAgreementSignedName
;
@Schema
(
description
=
"签约人"
)
private
String
previousOwnerName
;
@Schema
(
description
=
"收款方"
)
private
String
payeeName
;
// ========== 三、企微审批相关字段(定金) ==========
@Schema
(
description
=
"企微审批单号(定金)"
)
private
String
depositOaFlowCode
;
@Schema
(
description
=
"企微审批状态(定金):1-审核中 2-已通过 3-已驳回 4-已撤销"
)
private
Integer
depositOaFlowStatus
;
@Schema
(
description
=
"企微审批状态名称(定金)"
)
private
String
depositOaFlowStatusName
;
// ========== 四、企微审批相关字段(尾款/全款) ==========
@Schema
(
description
=
"企微审批单号(尾款/全款)"
)
private
String
finalPaymentOaFlowCode
;
@Schema
(
description
=
"企微审批状态(尾款/全款):1-审核中 2-已通过 3-已驳回 4-已撤销"
)
private
Integer
finalPaymentOaFlowStatus
;
@Schema
(
description
=
"企微审批状态名称(尾款/全款)"
)
private
String
finalPaymentOaFlowStatusName
;
// ========== 五、收购价格及付款相关字段 ==========
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
@Schema
(
description
=
"收购时间(付款)"
)
private
Date
purchaseTime
;
@Schema
(
description
=
"收购价格/元(包含对公流量费)"
)
private
BigDecimal
contractPrice
;
@Schema
(
description
=
"是否全款:1-定金+尾款(否) 2-全款(是)"
)
private
Integer
paymentType
;
@Schema
(
description
=
"是否全款名称"
)
private
String
paymentTypeName
;
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
@Schema
(
description
=
"定金时间"
)
private
Date
depositTime
;
@Schema
(
description
=
"定金金额"
)
private
BigDecimal
depositAmount
;
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
@Schema
(
description
=
"尾款时间"
)
private
Date
finalPaymentTime
;
@Schema
(
description
=
"尾款金额"
)
private
BigDecimal
finalPaymentAmount
;
// ========== 六、车辆档案及库存相关字段 ==========
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
@Schema
(
description
=
"入库时间"
)
private
Date
storageTime
;
@Schema
(
description
=
"是否交付:1-是 0-否"
)
private
Integer
isDelivered
;
@Schema
(
description
=
"是否交付名称"
)
private
String
isDeliveredName
;
@Schema
(
description
=
"是否在库:1-是 0-否"
)
private
Integer
isInStock
;
@Schema
(
description
=
"是否在库名称"
)
private
String
isInStockName
;
@Schema
(
description
=
"在库时长(天)"
)
private
Long
daysInStock
;
@Schema
(
description
=
"车源号(平台唯一识别编号)"
)
private
String
sourceNo
;
// ========== 七、拍卖相关字段 ==========
@Schema
(
description
=
"是否拍卖:1-是 0-否"
)
private
Integer
isAuctioned
;
@Schema
(
description
=
"是否拍卖名称"
)
private
String
isAuctionedName
;
@Schema
(
description
=
"拍卖价格/元"
)
private
BigDecimal
auctionPrice
;
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
@Schema
(
description
=
"拍卖时间"
)
private
Date
auctionTime
;
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
@Schema
(
description
=
"收款时间"
)
private
Date
receivableTime
;
@Schema
(
description
=
"付款方"
)
private
String
payer
;
@Schema
(
description
=
"收拍利润"
)
private
BigDecimal
profit
;
// ========== 八、其他字段 ==========
@Schema
(
description
=
"是否对账"
)
private
String
isReconciled
;
}
src/main/java/com/gsc4cloud/gsc/vpc/api/feign/web/vehicleledger/VehicleLedgerRemote.java
0 → 100644
View file @
7bb2bd1
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
feign
.
web
.
vehicleledger
;
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.vehicleledger.VehicleLedgerPageResDTO
;
import
com.gsc4cloud.gsc.vpc.api.req.PageRequest
;
import
com.gsc4cloud.gsc.vpc.api.req.web.vehicleledger.VehicleLedgerPageRequest
;
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
;
/**
* 车辆台账远程调用接口
*
* @author auto-generated
*/
@FeignClient
(
contextId
=
"com.gsc4cloud.gsc.vpc.api.feign.web.vehicleledger.VehicleLedgerRemote"
,
value
=
"gsc-vcp-biz"
)
public
interface
VehicleLedgerRemote
{
/**
* 车辆台账分页列表
*/
@Operation
(
summary
=
"车辆台账分页列表"
)
@PostMapping
(
"/vehicleLedger/pageList"
)
R
<
Page
<
VehicleLedgerPageResDTO
>>
pageList
(
@RequestBody
PageRequest
<
VehicleLedgerPageRequest
>
request
);
/**
* 异步导出车辆台账
*/
@Operation
(
summary
=
"异步导出车辆台账"
)
@PostMapping
(
"/vehicleLedger/exportAsync"
)
R
<
String
>
exportAsync
(
@RequestBody
PageRequest
<
VehicleLedgerPageRequest
>
request
);
}
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