Commit 24e5a2f7 by 林冲

车辆信息同步拍卖端

1 parent 2bdda1a9
...@@ -135,6 +135,9 @@ public class CarManageInfoPageDTO implements Serializable { ...@@ -135,6 +135,9 @@ public class CarManageInfoPageDTO implements Serializable {
@Schema(description = "车辆识别码 VIN") @Schema(description = "车辆识别码 VIN")
private String vin; private String vin;
@Schema(description = "车源号")
private String sourceNo;
/** /**
* 发动机号 * 发动机号
*/ */
......
package com.gsc4cloud.gsc.vpc.api.dto.entitydto.car;
import com.gsc4cloud.gsc.vpc.api.entity.car.CarAuctionLog;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* 车辆拍卖平台交互日志表
*
* @author zhangfk
*/
@Data
@EqualsAndHashCode(callSuper = true)
public class CarAuctionLogDTO extends CarAuctionLog {
private static final long serialVersionUID = 1L;
}
...@@ -129,6 +129,9 @@ public class CarManageInfoDetailDTO implements Serializable { ...@@ -129,6 +129,9 @@ public class CarManageInfoDetailDTO implements Serializable {
@Schema(description = "车辆识别码 VIN") @Schema(description = "车辆识别码 VIN")
private String vin; private String vin;
@Schema(description = "车源号")
private String sourceNo;
/** /**
* 上牌时间 * 上牌时间
*/ */
......
...@@ -62,6 +62,9 @@ public class PushCarDTO implements Serializable { ...@@ -62,6 +62,9 @@ public class PushCarDTO implements Serializable {
@NotEmpty(message = "车辆图片列表不能为空") @NotEmpty(message = "车辆图片列表不能为空")
private List<CarImage> carImages; private List<CarImage> carImages;
@Schema(description = "车型数据json,json字段参考查博士文档https://doc.chaboshi.cn/web/shareDoc/f98cbf2e13c37f7fd39ccdaf2b61a295")
private String carModelData;
@Schema(description = "基础信息") @Schema(description = "基础信息")
@Data @Data
public static class BaseInfo { public static class BaseInfo {
......
...@@ -118,6 +118,13 @@ public class CarAuction implements Serializable { ...@@ -118,6 +118,13 @@ public class CarAuction implements Serializable {
private String finalWinnerId; private String finalWinnerId;
/** /**
* 中标者/购买者ID
*/
@Schema(description = "最终成交价格(售价)")
@TableField(value = "selling_price")
private BigDecimal sellingPrice;
/**
* 成交时间 * 成交时间
*/ */
@Schema(description = "成交时间") @Schema(description = "成交时间")
......
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 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.util.Date;
/**
* 车辆拍卖平台交互日志表
*
* @author zhangfk
*/
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
@Data
@TableName("vcp_car_auction_log")
public class CarAuctionLog implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 主键ID
*/
@Schema(description = "主键ID")
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 车源号(平台唯一识别编号)
*/
@Schema(description = "车源号(平台唯一识别编号)")
@TableField(value = "source_no")
private String sourceNo;
/**
* 1-车辆拍卖状态同步,2-生成交付工单 3-推送交付工单状态变更 4-交付单付款状态同步
*/
@Schema(description = "1-车辆拍卖状态同步,2-生成交付工单 3-推送交付工单状态变更 4-交付单付款状态同步")
@TableField(value = "opt_type")
private Integer optType;
/**
* 请求json
*/
@Schema(description = "请求json")
@TableField(value = "request_json")
private String requestJson;
/**
* 创建人
*/
@Schema(description = "创建人")
@TableField(value = "created_by")
private String createdBy;
/**
* 创建时间
*/
@Schema(description = "创建时间")
@TableField(value = "created_date")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date createdDate;
/**
* 修改人
*/
@Schema(description = "修改人")
@TableField(value = "updated_by")
private String updatedBy;
/**
* 修改时间
*/
@Schema(description = "修改时间")
@TableField(value = "updated_date")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date updatedDate;
/**
* 删除标识:N未删除,D已删除
*/
@Schema(description = "删除标识:N未删除,D已删除")
@TableField(value = "deleted_flag")
private String deletedFlag;
}
...@@ -391,6 +391,10 @@ public class CarManageInfo implements Serializable { ...@@ -391,6 +391,10 @@ public class CarManageInfo implements Serializable {
@Schema(description = "过户次数") @Schema(description = "过户次数")
private Integer transfersNumber; private Integer transfersNumber;
@TableField(value = "车型数据json")
@Schema(description = "车型数据json,json字段参考查博士文档https://doc.chaboshi.cn/web/shareDoc/f98cbf2e13c37f7fd39ccdaf2b61a295")
private String carModelData;
/** /**
* 创建人 * 创建人
*/ */
......
...@@ -120,5 +120,9 @@ public class CarAuctionRequest { ...@@ -120,5 +120,9 @@ public class CarAuctionRequest {
@Schema(description = "成交方式", example = "AUCTION", requiredMode = Schema.RequiredMode.REQUIRED) @Schema(description = "成交方式", example = "AUCTION", requiredMode = Schema.RequiredMode.REQUIRED)
@NotEmpty(message = "成交方式不能为空") @NotEmpty(message = "成交方式不能为空")
private String transactionType; private String transactionType;
@Schema(description = "最终成交价格(售价)", example = "179000.00", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "最终成交价格不能为空")
private BigDecimal sellingPrice;
} }
} }
...@@ -75,6 +75,10 @@ public class DeliveryOrderRequest { ...@@ -75,6 +75,10 @@ public class DeliveryOrderRequest {
@Schema(description = "交付专员姓名", example = "王小明", requiredMode = Schema.RequiredMode.REQUIRED) @Schema(description = "交付专员姓名", example = "王小明", requiredMode = Schema.RequiredMode.REQUIRED)
@NotEmpty(message = "交付专员姓名不能为空") @NotEmpty(message = "交付专员姓名不能为空")
private String handlerName; private String handlerName;
@Schema(description = "交付专员电话", example = "1342222222", requiredMode = Schema.RequiredMode.REQUIRED)
@NotEmpty(message = "交付专员电话不能为空")
private String handlerPhone;
} }
@Schema(description = "关联拍卖信息") @Schema(description = "关联拍卖信息")
......
...@@ -36,6 +36,9 @@ public class CarManageInfoPageRequest implements Serializable { ...@@ -36,6 +36,9 @@ public class CarManageInfoPageRequest implements Serializable {
@Schema(description = "车架号") @Schema(description = "车架号")
private String vin; private String vin;
@Schema(description = "车源号")
private String sourceNo;
/** /**
* 车型名称 * 车型名称
*/ */
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!