Commit 2bdda1a9 by 林冲

增加推送拍卖平台失败,定时任务自动推送

1 parent 5be74c7f
......@@ -130,41 +130,27 @@ public class PushCarDTO implements Serializable {
@NotNull(message = "排放标准不能为空")
// 来源表: vcp_eval_car_base, 字段: emission_standard
private Integer emissionStandard;
@Schema(description = "排量(L),遵循VIN文档字段", example = "2.0L", requiredMode = Schema.RequiredMode.REQUIRED)
@NotEmpty(message = "排量不能为空")
// 来源文档: 根据vin普通车型识别.md, 区块: base, 字段: displacement
@Schema(description = "排量(L),遵循VIN文档字段", example = "2.0L")
private String displacement;
@Schema(description = "进气形式(自然吸气/涡轮增压等)", example = "涡轮增压", requiredMode = Schema.RequiredMode.REQUIRED)
@NotEmpty(message = "进气形式不能为空")
// 来源文档: 根据vin普通车型识别.md, 区块: engine, 字段: jqxs
@Schema(description = "进气形式(自然吸气/涡轮增压等)", example = "涡轮增压")
private String jqxs;
@Schema(description = "燃料形式(汽油/柴油等)", example = "汽油", requiredMode = Schema.RequiredMode.REQUIRED)
@NotEmpty(message = "燃料形式不能为空")
// 来源文档: 根据vin普通车型识别.md, 区块: engine, 字段: rlxs
@Schema(description = "燃料形式(汽油/柴油等)", example = "汽油")
private String rlxs;
@Schema(description = "变速箱类型(自动/手动等)", example = "双离合", requiredMode = Schema.RequiredMode.REQUIRED)
@NotEmpty(message = "变速箱类型不能为空")
// 来源文档: 根据vin普通车型识别.md, 区块: gearbox, 字段: bxslx
@Schema(description = "变速箱类型(自动/手动等)", example = "双离合")
private String bxslx;
@Schema(description = "驱动方式(前驱/后驱/四驱等)", example = "前驱", requiredMode = Schema.RequiredMode.REQUIRED)
@NotEmpty(message = "驱动方式不能为空")
// 来源文档: 根据vin普通车型识别.md, 区块: gearbox, 字段: qdfs
@Schema(description = "驱动方式(前驱/后驱/四驱等)", example = "前驱")
private String qdfs;
@Schema(description = "车型分类名称(级别)", example = "紧凑型轿车", requiredMode = Schema.RequiredMode.REQUIRED)
@NotEmpty(message = "车型分类名称不能为空")
// 来源文档: 根据vin普通车型识别.md, 区块: base, 字段: vehicleClass
@Schema(description = "车型分类名称(级别)", example = "紧凑型轿车")
private String vehicleClass;
@Schema(description = "外观颜色", example = "冰川白", requiredMode = Schema.RequiredMode.REQUIRED)
@NotEmpty(message = "外观颜色不能为空")
// 来源表: vcp_eval_car_base, 字段: exterior_color
@NotEmpty(message = "外观颜色不能为空")
private String exteriorColor;
@Schema(description = "内饰颜色", example = "黑色", requiredMode = Schema.RequiredMode.REQUIRED)
@NotEmpty(message = "内饰颜色不能为空")
// 来源表: vcp_eval_car_base, 字段: interior_color
private String interiorColor;
@Schema(description = "座位数", example = "5座", requiredMode = Schema.RequiredMode.REQUIRED)
@NotEmpty(message = "座位数不能为空")
// 来源文档: 根据vin普通车型识别.md, 区块: base, 字段: seat
@Schema(description = "座位数", example = "5座")
private String seat;
@Schema(description = "天窗:1-无天窗/2-普通天窗/3-全景天窗", example = "3", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "天窗不能为空")
......
......@@ -9,6 +9,7 @@ import com.gsc4cloud.gsc.vpc.api.req.PageRequest;
import com.gsc4cloud.gsc.vpc.api.req.web.car.CarManageInfoEditRequest;
import com.gsc4cloud.gsc.vpc.api.req.web.car.CarManageInfoPageRequest;
import com.gsc4cloud.gsc.vpc.api.req.web.car.CarManageInfoRequest;
import com.gsc4cloud.gsc.vpc.api.req.web.car.PushCarRequest;
import io.swagger.v3.oas.annotations.Operation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
......@@ -44,6 +45,14 @@ public interface CarManagementRemote {
R<Boolean> edit(@RequestBody CarManageInfoEditRequest request);
/**
* 推送车辆数据到拍卖平台
* @param request 推送请求
* @return 推送结果
*/
@PostMapping("/carManageInfo/pushCarData")
R<Boolean> pushCarData(@RequestBody PushCarRequest request);
/**
* 车辆管理日志
*/
@Operation(summary = "车辆管理日志")
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!