|
@@ -0,0 +1,466 @@
|
|
|
|
|
+package com.ydtech.modules.admin.model.po;
|
|
|
|
|
+
|
|
|
|
|
+import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
|
|
+import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
|
|
+import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
|
|
+import com.ydtech.modules.ins.model.vo.CarInfoVo;
|
|
|
|
|
+import lombok.Data;
|
|
|
|
|
+
|
|
|
|
|
+import java.io.Serializable;
|
|
|
|
|
+import java.math.BigDecimal;
|
|
|
|
|
+import java.text.SimpleDateFormat;
|
|
|
|
|
+import java.util.Date;
|
|
|
|
|
+
|
|
|
|
|
+/**
|
|
|
|
|
+ * 用户车辆信息表
|
|
|
|
|
+ * @TableName cust_vehicle_info
|
|
|
|
|
+ */
|
|
|
|
|
+@TableName(value ="cust_vehicle_info")
|
|
|
|
|
+@Data
|
|
|
|
|
+public class CustVehicleInfo implements Serializable {
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 主键
|
|
|
|
|
+ */
|
|
|
|
|
+ @TableId
|
|
|
|
|
+ private String id;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 客户ID
|
|
|
|
|
+ */
|
|
|
|
|
+ private String custId;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 子订单号
|
|
|
|
|
+ */
|
|
|
|
|
+ private String subOrderNo;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 车牌号
|
|
|
|
|
+ */
|
|
|
|
|
+ private String licenseNo;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 车架号
|
|
|
|
|
+ */
|
|
|
|
|
+ private String frameNo;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 品牌型号
|
|
|
|
|
+ */
|
|
|
|
|
+ private String brandName;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 车辆识别代码
|
|
|
|
|
+ */
|
|
|
|
|
+ private String vinNo;
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 排量
|
|
|
|
|
+ */
|
|
|
|
|
+ private String enginedesc;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 总质量
|
|
|
|
|
+ */
|
|
|
|
|
+ private String vehicleweight;
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 发动机号
|
|
|
|
|
+ */
|
|
|
|
|
+ private String engineNo;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 年款
|
|
|
|
|
+ */
|
|
|
|
|
+ private String carYear;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 座位数
|
|
|
|
|
+ */
|
|
|
|
|
+ private String seatCount;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 整备质量
|
|
|
|
|
+ */
|
|
|
|
|
+ private String completeKerbMass;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 核定载质量
|
|
|
|
|
+ */
|
|
|
|
|
+ private String limitLoad;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 能源类型
|
|
|
|
|
+ */
|
|
|
|
|
+ private String powerTypeCode;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 新车购置价
|
|
|
|
|
+ */
|
|
|
|
|
+ private BigDecimal purchasePrice;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 车辆用途
|
|
|
|
|
+ */
|
|
|
|
|
+ private String vehicleUse;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 车辆种类
|
|
|
|
|
+ */
|
|
|
|
|
+ private String cimodelclass;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 使用性质
|
|
|
|
|
+ */
|
|
|
|
|
+ private String carnature;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 能源种类
|
|
|
|
|
+ */
|
|
|
|
|
+ private String energyType;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 车辆类型
|
|
|
|
|
+ */
|
|
|
|
|
+ private String cartype;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 所属性质(1个人 2企业 3机关)
|
|
|
|
|
+ */
|
|
|
|
|
+ private String property;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 车型
|
|
|
|
|
+ */
|
|
|
|
|
+ private String familyName;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 发动机功率
|
|
|
|
|
+ */
|
|
|
|
|
+ private String powerScale;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 燃料类型
|
|
|
|
|
+ */
|
|
|
|
|
+ private String powertype;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 行驶证注册日期不能空
|
|
|
|
|
+ */
|
|
|
|
|
+ private Date firRegisterDate;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 发证日期不能为空
|
|
|
|
|
+ */
|
|
|
|
|
+ private Date issueDate;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 创建人
|
|
|
|
|
+ */
|
|
|
|
|
+ private String createBy;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 创建时间
|
|
|
|
|
+ */
|
|
|
|
|
+ private Date createTime;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 修改人
|
|
|
|
|
+ */
|
|
|
|
|
+ private String updateBy;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 修改时间
|
|
|
|
|
+ */
|
|
|
|
|
+ private Date updateTime;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 是否删除
|
|
|
|
|
+ */
|
|
|
|
|
+ private Integer delFlag;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 跟进人id
|
|
|
|
|
+ */
|
|
|
|
|
+ private String followUpUserId;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 跟进人名称
|
|
|
|
|
+ */
|
|
|
|
|
+ private String followUpUserName;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 跟进人部门id
|
|
|
|
|
+ */
|
|
|
|
|
+ private String followUpDeptId;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 跟进人部门名称
|
|
|
|
|
+ */
|
|
|
|
|
+ private String followUpDeptName;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 分配日期
|
|
|
|
|
+ */
|
|
|
|
|
+ private Date followUpTime;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 更进状态
|
|
|
|
|
+1.待分配,
|
|
|
|
|
+2.待跟进,
|
|
|
|
|
+3.跟进中,
|
|
|
|
|
+4.已报价,
|
|
|
|
|
+5.赢单,
|
|
|
|
|
+6.丢单,
|
|
|
|
|
+7.无效
|
|
|
|
|
+ */
|
|
|
|
|
+ private Integer followUpStatus;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 更进状态
|
|
|
|
|
+1.待分配,
|
|
|
|
|
+2.待跟进,
|
|
|
|
|
+3.跟进中,
|
|
|
|
|
+4.已报价,
|
|
|
|
|
+-1.关闭
|
|
|
|
|
+
|
|
|
|
|
+ */
|
|
|
|
|
+ private Integer followUpStatusSon;
|
|
|
|
|
+
|
|
|
|
|
+ @TableField(exist = false)
|
|
|
|
|
+ private static final long serialVersionUID = 1L;
|
|
|
|
|
+
|
|
|
|
|
+ @Override
|
|
|
|
|
+ public boolean equals(Object that) {
|
|
|
|
|
+ if (this == that) {
|
|
|
|
|
+ return true;
|
|
|
|
|
+ }
|
|
|
|
|
+ if (that == null) {
|
|
|
|
|
+ return false;
|
|
|
|
|
+ }
|
|
|
|
|
+ if (getClass() != that.getClass()) {
|
|
|
|
|
+ return false;
|
|
|
|
|
+ }
|
|
|
|
|
+ CustVehicleInfo other = (CustVehicleInfo) that;
|
|
|
|
|
+ return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
|
|
|
|
|
+ && (this.getCustId() == null ? other.getCustId() == null : this.getCustId().equals(other.getCustId()))
|
|
|
|
|
+ && (this.getSubOrderNo() == null ? other.getSubOrderNo() == null : this.getSubOrderNo().equals(other.getSubOrderNo()))
|
|
|
|
|
+ && (this.getLicenseNo() == null ? other.getLicenseNo() == null : this.getLicenseNo().equals(other.getLicenseNo()))
|
|
|
|
|
+ && (this.getFrameNo() == null ? other.getFrameNo() == null : this.getFrameNo().equals(other.getFrameNo()))
|
|
|
|
|
+ && (this.getBrandName() == null ? other.getBrandName() == null : this.getBrandName().equals(other.getBrandName()))
|
|
|
|
|
+ && (this.getEngineNo() == null ? other.getEngineNo() == null : this.getEngineNo().equals(other.getEngineNo()))
|
|
|
|
|
+ && (this.getCarYear() == null ? other.getCarYear() == null : this.getCarYear().equals(other.getCarYear()))
|
|
|
|
|
+ && (this.getSeatCount() == null ? other.getSeatCount() == null : this.getSeatCount().equals(other.getSeatCount()))
|
|
|
|
|
+ && (this.getCompleteKerbMass() == null ? other.getCompleteKerbMass() == null : this.getCompleteKerbMass().equals(other.getCompleteKerbMass()))
|
|
|
|
|
+ && (this.getLimitLoad() == null ? other.getLimitLoad() == null : this.getLimitLoad().equals(other.getLimitLoad()))
|
|
|
|
|
+ && (this.getPowerTypeCode() == null ? other.getPowerTypeCode() == null : this.getPowerTypeCode().equals(other.getPowerTypeCode()))
|
|
|
|
|
+ && (this.getPurchasePrice() == null ? other.getPurchasePrice() == null : this.getPurchasePrice().equals(other.getPurchasePrice()))
|
|
|
|
|
+ && (this.getVehicleUse() == null ? other.getVehicleUse() == null : this.getVehicleUse().equals(other.getVehicleUse()))
|
|
|
|
|
+ && (this.getCimodelclass() == null ? other.getCimodelclass() == null : this.getCimodelclass().equals(other.getCimodelclass()))
|
|
|
|
|
+ && (this.getCarnature() == null ? other.getCarnature() == null : this.getCarnature().equals(other.getCarnature()))
|
|
|
|
|
+ && (this.getEnergyType() == null ? other.getEnergyType() == null : this.getEnergyType().equals(other.getEnergyType()))
|
|
|
|
|
+ && (this.getProperty() == null ? other.getProperty() == null : this.getProperty().equals(other.getProperty()))
|
|
|
|
|
+ && (this.getPowerScale() == null ? other.getPowerScale() == null : this.getPowerScale().equals(other.getPowerScale()))
|
|
|
|
|
+ && (this.getFirRegisterDate() == null ? other.getFirRegisterDate() == null : this.getFirRegisterDate().equals(other.getFirRegisterDate()))
|
|
|
|
|
+ && (this.getIssueDate() == null ? other.getIssueDate() == null : this.getIssueDate().equals(other.getIssueDate()))
|
|
|
|
|
+ && (this.getCreateBy() == null ? other.getCreateBy() == null : this.getCreateBy().equals(other.getCreateBy()))
|
|
|
|
|
+ && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
|
|
|
|
|
+ && (this.getUpdateBy() == null ? other.getUpdateBy() == null : this.getUpdateBy().equals(other.getUpdateBy()))
|
|
|
|
|
+ && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()))
|
|
|
|
|
+ && (this.getDelFlag() == null ? other.getDelFlag() == null : this.getDelFlag().equals(other.getDelFlag()))
|
|
|
|
|
+ && (this.getFollowUpUserId() == null ? other.getFollowUpUserId() == null : this.getFollowUpUserId().equals(other.getFollowUpUserId()))
|
|
|
|
|
+ && (this.getFollowUpUserName() == null ? other.getFollowUpUserName() == null : this.getFollowUpUserName().equals(other.getFollowUpUserName()))
|
|
|
|
|
+ && (this.getFollowUpDeptId() == null ? other.getFollowUpDeptId() == null : this.getFollowUpDeptId().equals(other.getFollowUpDeptId()))
|
|
|
|
|
+ && (this.getFollowUpDeptName() == null ? other.getFollowUpDeptName() == null : this.getFollowUpDeptName().equals(other.getFollowUpDeptName()))
|
|
|
|
|
+ && (this.getFollowUpTime() == null ? other.getFollowUpTime() == null : this.getFollowUpTime().equals(other.getFollowUpTime()))
|
|
|
|
|
+ && (this.getFollowUpStatus() == null ? other.getFollowUpStatus() == null : this.getFollowUpStatus().equals(other.getFollowUpStatus()))
|
|
|
|
|
+ && (this.getFollowUpStatusSon() == null ? other.getFollowUpStatusSon() == null : this.getFollowUpStatusSon().equals(other.getFollowUpStatusSon()));
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ @Override
|
|
|
|
|
+ public int hashCode() {
|
|
|
|
|
+ final int prime = 31;
|
|
|
|
|
+ int result = 1;
|
|
|
|
|
+ result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
|
|
|
|
|
+ result = prime * result + ((getCustId() == null) ? 0 : getCustId().hashCode());
|
|
|
|
|
+ result = prime * result + ((getSubOrderNo() == null) ? 0 : getSubOrderNo().hashCode());
|
|
|
|
|
+ result = prime * result + ((getLicenseNo() == null) ? 0 : getLicenseNo().hashCode());
|
|
|
|
|
+ result = prime * result + ((getFrameNo() == null) ? 0 : getFrameNo().hashCode());
|
|
|
|
|
+ result = prime * result + ((getBrandName() == null) ? 0 : getBrandName().hashCode());
|
|
|
|
|
+ result = prime * result + ((getEngineNo() == null) ? 0 : getEngineNo().hashCode());
|
|
|
|
|
+ result = prime * result + ((getCarYear() == null) ? 0 : getCarYear().hashCode());
|
|
|
|
|
+ result = prime * result + ((getSeatCount() == null) ? 0 : getSeatCount().hashCode());
|
|
|
|
|
+ result = prime * result + ((getCompleteKerbMass() == null) ? 0 : getCompleteKerbMass().hashCode());
|
|
|
|
|
+ result = prime * result + ((getLimitLoad() == null) ? 0 : getLimitLoad().hashCode());
|
|
|
|
|
+ result = prime * result + ((getPowerTypeCode() == null) ? 0 : getPowerTypeCode().hashCode());
|
|
|
|
|
+ result = prime * result + ((getPurchasePrice() == null) ? 0 : getPurchasePrice().hashCode());
|
|
|
|
|
+ result = prime * result + ((getVehicleUse() == null) ? 0 : getVehicleUse().hashCode());
|
|
|
|
|
+ result = prime * result + ((getCimodelclass() == null) ? 0 : getCimodelclass().hashCode());
|
|
|
|
|
+ result = prime * result + ((getCarnature() == null) ? 0 : getCarnature().hashCode());
|
|
|
|
|
+ result = prime * result + ((getEnergyType() == null) ? 0 : getEnergyType().hashCode());
|
|
|
|
|
+ result = prime * result + ((getProperty() == null) ? 0 : getProperty().hashCode());
|
|
|
|
|
+ result = prime * result + ((getPowerScale() == null) ? 0 : getPowerScale().hashCode());
|
|
|
|
|
+ result = prime * result + ((getFirRegisterDate() == null) ? 0 : getFirRegisterDate().hashCode());
|
|
|
|
|
+ result = prime * result + ((getIssueDate() == null) ? 0 : getIssueDate().hashCode());
|
|
|
|
|
+ result = prime * result + ((getCreateBy() == null) ? 0 : getCreateBy().hashCode());
|
|
|
|
|
+ result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
|
|
|
|
|
+ result = prime * result + ((getUpdateBy() == null) ? 0 : getUpdateBy().hashCode());
|
|
|
|
|
+ result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
|
|
|
|
|
+ result = prime * result + ((getDelFlag() == null) ? 0 : getDelFlag().hashCode());
|
|
|
|
|
+ result = prime * result + ((getFollowUpUserId() == null) ? 0 : getFollowUpUserId().hashCode());
|
|
|
|
|
+ result = prime * result + ((getFollowUpUserName() == null) ? 0 : getFollowUpUserName().hashCode());
|
|
|
|
|
+ result = prime * result + ((getFollowUpDeptId() == null) ? 0 : getFollowUpDeptId().hashCode());
|
|
|
|
|
+ result = prime * result + ((getFollowUpDeptName() == null) ? 0 : getFollowUpDeptName().hashCode());
|
|
|
|
|
+ result = prime * result + ((getFollowUpTime() == null) ? 0 : getFollowUpTime().hashCode());
|
|
|
|
|
+ result = prime * result + ((getFollowUpStatus() == null) ? 0 : getFollowUpStatus().hashCode());
|
|
|
|
|
+ result = prime * result + ((getFollowUpStatusSon() == null) ? 0 : getFollowUpStatusSon().hashCode());
|
|
|
|
|
+ return result;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ @Override
|
|
|
|
|
+ public String toString() {
|
|
|
|
|
+ StringBuilder sb = new StringBuilder();
|
|
|
|
|
+ sb.append(getClass().getSimpleName());
|
|
|
|
|
+ sb.append(" [");
|
|
|
|
|
+ sb.append("Hash = ").append(hashCode());
|
|
|
|
|
+ sb.append(", id=").append(id);
|
|
|
|
|
+ sb.append(", custId=").append(custId);
|
|
|
|
|
+ sb.append(", subOrderNo=").append(subOrderNo);
|
|
|
|
|
+ sb.append(", licenseNo=").append(licenseNo);
|
|
|
|
|
+ sb.append(", frameNo=").append(frameNo);
|
|
|
|
|
+ sb.append(", brandName=").append(brandName);
|
|
|
|
|
+ sb.append(", engineNo=").append(engineNo);
|
|
|
|
|
+ sb.append(", carYear=").append(carYear);
|
|
|
|
|
+ sb.append(", seatCount=").append(seatCount);
|
|
|
|
|
+ sb.append(", completeKerbMass=").append(completeKerbMass);
|
|
|
|
|
+ sb.append(", limitLoad=").append(limitLoad);
|
|
|
|
|
+ sb.append(", powerTypeCode=").append(powerTypeCode);
|
|
|
|
|
+ sb.append(", purchasePrice=").append(purchasePrice);
|
|
|
|
|
+ sb.append(", vehicleUse=").append(vehicleUse);
|
|
|
|
|
+ sb.append(", cimodelclass=").append(cimodelclass);
|
|
|
|
|
+ sb.append(", carnature=").append(carnature);
|
|
|
|
|
+ sb.append(", energyType=").append(energyType);
|
|
|
|
|
+ sb.append(", property=").append(property);
|
|
|
|
|
+ sb.append(", powerScale=").append(powerScale);
|
|
|
|
|
+ sb.append(", firRegisterDate=").append(firRegisterDate);
|
|
|
|
|
+ sb.append(", issueDate=").append(issueDate);
|
|
|
|
|
+ sb.append(", createBy=").append(createBy);
|
|
|
|
|
+ sb.append(", createTime=").append(createTime);
|
|
|
|
|
+ sb.append(", updateBy=").append(updateBy);
|
|
|
|
|
+ sb.append(", updateTime=").append(updateTime);
|
|
|
|
|
+ sb.append(", delFlag=").append(delFlag);
|
|
|
|
|
+ sb.append(", followUpUserId=").append(followUpUserId);
|
|
|
|
|
+ sb.append(", followUpUserName=").append(followUpUserName);
|
|
|
|
|
+ sb.append(", followUpDeptId=").append(followUpDeptId);
|
|
|
|
|
+ sb.append(", followUpDeptName=").append(followUpDeptName);
|
|
|
|
|
+ sb.append(", followUpTime=").append(followUpTime);
|
|
|
|
|
+ sb.append(", followUpStatus=").append(followUpStatus);
|
|
|
|
|
+ sb.append(", followUpStatusSon=").append(followUpStatusSon);
|
|
|
|
|
+ sb.append(", serialVersionUID=").append(serialVersionUID);
|
|
|
|
|
+ sb.append("]");
|
|
|
|
|
+ return sb.toString();
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public CarInfoVo trafferCarInfoVo(CustVehicleInfo custVehicleInfo) {
|
|
|
|
|
+ CarInfoVo carInfoVo =new CarInfoVo();
|
|
|
|
|
+ //品牌型号
|
|
|
|
|
+ carInfoVo.setBrandName(custVehicleInfo.getBrandName());
|
|
|
|
|
+ //车型品牌
|
|
|
|
|
+ //carInfoVo.setCarBrand(null);
|
|
|
|
|
+ //行业车型名称
|
|
|
|
|
+ //carInfoVo.setCiCarName(null);
|
|
|
|
|
+ //车型名称
|
|
|
|
|
+ carInfoVo.setModelcname(custVehicleInfo.getBrandName());
|
|
|
|
|
+ //行业车型编码
|
|
|
|
|
+ //carInfoVo.setCiModelCode(null);
|
|
|
|
|
+ //整备质量
|
|
|
|
|
+ carInfoVo.setCompleteKerbMass(custVehicleInfo.getCompleteKerbMass());
|
|
|
|
|
+ //发动机号
|
|
|
|
|
+ carInfoVo.setEngineNo(custVehicleInfo.getEngineNo());
|
|
|
|
|
+ //排量
|
|
|
|
|
+ // carInfoVo.setExhaustScale(custVehicleInfo.getExhaustScale());
|
|
|
|
|
+ //工厂名称
|
|
|
|
|
+ carInfoVo.setFactory(null);
|
|
|
|
|
+ //工厂编码
|
|
|
|
|
+ carInfoVo.setFactoryid(null);
|
|
|
|
|
+ //车架号不能为空
|
|
|
|
|
+ carInfoVo.setFrameNo(custVehicleInfo.getFrameNo());
|
|
|
|
|
+ //车牌
|
|
|
|
|
+ carInfoVo.setLicenseNo(custVehicleInfo.getLicenseNo());
|
|
|
|
|
+ //车牌种类
|
|
|
|
|
+ //carInfoVo.setLicenseTypeCode(custVehicleInfo.getLicenseTypeCode());
|
|
|
|
|
+ //精友车型编码
|
|
|
|
|
+ // carInfoVo.setModelCode();
|
|
|
|
|
+ //新车购置价
|
|
|
|
|
+ carInfoVo.setPurchasePrice(custVehicleInfo.getPurchasePrice()==null?null: String.valueOf(custVehicleInfo.getPurchasePrice()));
|
|
|
|
|
+ //座位数
|
|
|
|
|
+ carInfoVo.setSeatCount(custVehicleInfo.getSeatCount());
|
|
|
|
|
+ //车辆类型(轿车类,特种车类)
|
|
|
|
|
+ //carInfoVo.setVehicleclass();
|
|
|
|
|
+ //车架号
|
|
|
|
|
+ carInfoVo.setVinNo(custVehicleInfo.getVinNo());
|
|
|
|
|
+ //车型
|
|
|
|
|
+ //carInfoVo.setFamilyName(custVehicleInfo.getFamilyName());
|
|
|
|
|
+ // 能源类型编码
|
|
|
|
|
+ carInfoVo.setPowertypecode(custVehicleInfo.getPowerTypeCode());
|
|
|
|
|
+ //能源种类
|
|
|
|
|
+ carInfoVo.setEnergyType(custVehicleInfo.getEnergyType());
|
|
|
|
|
+ //总质量
|
|
|
|
|
+ carInfoVo.setVehicleweight(custVehicleInfo.getVehicleweight());
|
|
|
|
|
+ //核定载质量
|
|
|
|
|
+ carInfoVo.setLimitLoad(custVehicleInfo.getLimitLoad());
|
|
|
|
|
+ //年款
|
|
|
|
|
+ carInfoVo.setCaryear(custVehicleInfo.getCarYear());
|
|
|
|
|
+ //车辆种类
|
|
|
|
|
+ carInfoVo.setCimodelclass(custVehicleInfo.getCimodelclass());
|
|
|
|
|
+ //燃料类型
|
|
|
|
|
+ carInfoVo.setPowertype(custVehicleInfo.getPowertype());
|
|
|
|
|
+ //排量
|
|
|
|
|
+ carInfoVo.setEnginedesc(custVehicleInfo.getEnginedesc());
|
|
|
|
|
+ // 车辆类型
|
|
|
|
|
+ carInfoVo.setCartype(custVehicleInfo.getCartype());
|
|
|
|
|
+ //使用性质
|
|
|
|
|
+ carInfoVo.setCarnature(custVehicleInfo.getCarnature());
|
|
|
|
|
+ //车辆用途
|
|
|
|
|
+ carInfoVo.setVehicleUse(custVehicleInfo.getVehicleUse());
|
|
|
|
|
+ //所属性质(1个人 2企业 3机关)
|
|
|
|
|
+ carInfoVo.setProperty(custVehicleInfo.getProperty());
|
|
|
|
|
+ //发动机功率
|
|
|
|
|
+ carInfoVo.setPowerScale(custVehicleInfo.getPowerScale());
|
|
|
|
|
+ // 行驶证注册日期
|
|
|
|
|
+ Date firRegisterDate = custVehicleInfo.getFirRegisterDate();
|
|
|
|
|
+ String firRegisterDateStr="";
|
|
|
|
|
+ if(firRegisterDate!=null){
|
|
|
|
|
+ firRegisterDateStr = new SimpleDateFormat("yyyy-MM-dd").format(firRegisterDate);
|
|
|
|
|
+ }
|
|
|
|
|
+ carInfoVo.setRegisterDate(firRegisterDateStr);
|
|
|
|
|
+ Date issueDate = custVehicleInfo.getIssueDate();
|
|
|
|
|
+ String issueDateStr="";
|
|
|
|
|
+ if(issueDate!=null){
|
|
|
|
|
+ issueDateStr = new SimpleDateFormat("yyyy-MM-dd").format(issueDate);
|
|
|
|
|
+ }
|
|
|
|
|
+ //发证日期
|
|
|
|
|
+ carInfoVo.setIssueDate(issueDateStr);
|
|
|
|
|
+ //车型
|
|
|
|
|
+ carInfoVo.setFamilyName(custVehicleInfo.getFamilyName());
|
|
|
|
|
+ //是否过户
|
|
|
|
|
+ // carInfoVo.setTransferFlag(false);
|
|
|
|
|
+ //商业是否过户
|
|
|
|
|
+ // carInfoVo.setTransferFlagBi(false);
|
|
|
|
|
+ //是否是二手车
|
|
|
|
|
+ // carInfoVo.setUsedCar(false);
|
|
|
|
|
+ //是否脱保
|
|
|
|
|
+ // carInfoVo.setOutOfInsurance(false);
|
|
|
|
|
+ //过户日期
|
|
|
|
|
+ //carInfoVo.setTransferDate(null);
|
|
|
|
|
+ //是否贷款车
|
|
|
|
|
+ //carInfoVo.setLoanStatus();
|
|
|
|
|
+ //第一受益人(贷款车才有第一受益人)
|
|
|
|
|
+ //carInfoVo.setFirstBeneMan();
|
|
|
|
|
+ //是否有车牌号(判断是否是新车)
|
|
|
|
|
+ //carInfoVo.setNoLicenseFlag();
|
|
|
|
|
+
|
|
|
|
|
+ return carInfoVo;
|
|
|
|
|
+
|
|
|
|
|
+ }
|
|
|
|
|
+}
|