Commit 4dfa9aa3 by 崔彦峰

modify:修改车辆台账列表、导出接口逻辑。

1 parent c52526a3
......@@ -29,6 +29,10 @@ public class VehicleLedgerDTO implements Serializable {
@Schema(description = "评估单编号")
private String evalOrderNo;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@Schema(description = "评估单创建时间")
private Date orderCreatedTime;
@Schema(description = "买卖合同编号")
private String saleContractNo;
......
......@@ -2,6 +2,8 @@ package com.gsc4cloud.gsc.vpc.api.dto.web.resdto.vehicleledger;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
......@@ -29,6 +31,10 @@ public class VehicleLedgerExcelDTO implements Serializable {
@ExcelProperty(value = "评估单编号")
private String evalOrderNo;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@ExcelProperty(value = "评估单创建时间")
private Date orderCreatedTime;
@ExcelProperty(value = "评估单来源")
private String sourceName;
......@@ -66,7 +72,7 @@ public class VehicleLedgerExcelDTO implements Serializable {
private String conversionName;
@ExcelProperty(value = "签约人")
private String signer;
private String previousOwnerName;
@ExcelProperty(value = "收款方")
private String payeeName;
......
......@@ -29,30 +29,13 @@ public class VehicleLedgerPageResDTO implements Serializable {
@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;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@Schema(description = "评估单创建时间")
private Date orderCreatedTime;
@Schema(description = "评估单来源:1-app 2-小程序 3-人工导入")
private Integer source;
@Schema(description = "评估单来源名称")
private String sourceName;
@Schema(description = "门店")
private String sellerMerchantName;
......@@ -175,9 +158,6 @@ public class VehicleLedgerPageResDTO implements Serializable {
@Schema(description = "在库时长(天)")
private Long daysInStock;
@Schema(description = "车源号(平台唯一识别编号)")
private String sourceNo;
// ========== 七、拍卖相关字段 ==========
@Schema(description = "是否拍卖:1-是 0-否")
......
......@@ -45,7 +45,7 @@ public class VehicleLedgerPageRequest implements Serializable {
* 签约人(模糊搜索)
*/
@Schema(description = "签约人(模糊搜索)")
private String signer;
private String previousOwnerName;
/**
* 是否全款:1-定金+尾款(否) 2-全款(是)
......@@ -60,6 +60,20 @@ public class VehicleLedgerPageRequest implements Serializable {
private Integer inStock;
/**
* 评估单创建时间-开始
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@Schema(description = "评估单创建时间-开始")
private Date orderCreatedStartTime;
/**
* 评估单创建时间-结束
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@Schema(description = "评估单创建时间-结束")
private Date orderCreatedEndTime;
/**
* 收购时间-开始
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!