Commit 40019066 by 林冲

1.api增加车辆的品牌字段推送到拍卖端;

2.biz推送第三方车辆信息为品牌字段赋值;
1 parent 4491c116
...@@ -65,9 +65,30 @@ public class PushCarDTO implements Serializable { ...@@ -65,9 +65,30 @@ public class PushCarDTO implements Serializable {
@Schema(description = "基础信息") @Schema(description = "基础信息")
@Data @Data
public static class BaseInfo { public static class BaseInfo {
@Schema(description = "车辆品牌id")
@NotEmpty(message = "车辆品牌id不能为空")
private Integer carBrandId;
@Schema(description = "车辆品牌名称")
@NotEmpty(message = "车辆品牌名称不能为空")
private String carBrand;
@Schema(description = "子品牌id")
@NotEmpty(message = "子品牌id不能为空")
private Integer carChildsBrandId;
@Schema(description = "子品牌名字")
@NotEmpty(message = "子品牌名字不能为空")
private String carChildsBrandName;
@Schema(description = "车系id")
@NotEmpty(message = "车系id不能为空")
private Integer carSeriesId;
@Schema(description = "车系名字")
@NotEmpty(message = "车系名字不能为空")
private String carSeriesName;
@Schema(description = "车型id")
@NotEmpty(message = "车型id不能为空")
private Integer carTypeId;
@Schema(description = "车型名称(品牌/车系/年款/配置)", example = "2020款 Sportback 35 TFSI 欧洲版", requiredMode = Schema.RequiredMode.REQUIRED) @Schema(description = "车型名称(品牌/车系/年款/配置)", example = "2020款 Sportback 35 TFSI 欧洲版", requiredMode = Schema.RequiredMode.REQUIRED)
@NotEmpty(message = "车型名称不能为空") @NotEmpty(message = "车型名称不能为空")
// 来源表: vcp_eval_car_base, 字段: car_type_name
private String carTypeName; private String carTypeName;
@Schema(description = "表显里程(公里)", example = "35800", requiredMode = Schema.RequiredMode.REQUIRED) @Schema(description = "表显里程(公里)", example = "35800", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "表显里程不能为空") @NotNull(message = "表显里程不能为空")
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!