Commit 03500ae4 by 林冲

增加评估价格推送到拍卖端

1 parent 1928ec7d
......@@ -268,6 +268,11 @@ public class PushCarDTO implements Serializable {
// 来源表: vcp_eval_order, 字段: eval_opinion
private String evalOpinion;
@Schema(description = "评估价格(元)", example = "300000", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "评估价格不能为空")
// 来源表: vcp_eval_order, 字段: eval_price
private BigDecimal evalPrice;
@Schema(description = "车辆来源门店", example = "上海嘉定二手车门店", requiredMode = Schema.RequiredMode.REQUIRED)
......
......@@ -33,26 +33,6 @@ public enum DeliveryOrderStatusEnum implements BaseEnum<Integer, String> {
return desc;
}
/**
* Map external text to enum
*/
public static DeliveryOrderStatusEnum fromText(String status) {
if (status == null) {
return PENDING;
}
switch (status) {
case "已完成":
return COMPLETED;
case "准备交付":
case "交付中":
case "过户中":
return IN_PROGRESS;
case "已取消":
return CANCELLED;
default:
return PENDING;
}
}
/**
* Get enum by numeric code
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!