Commit 2bdda1a9 by 林冲

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

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