|
|
@@ -13,7 +13,6 @@ import lombok.AllArgsConstructor;
|
|
|
import lombok.Data;
|
|
|
import lombok.NoArgsConstructor;
|
|
|
import org.springframework.util.ObjectUtils;
|
|
|
-import org.springframework.util.StringUtils;
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
import java.util.ArrayList;
|
|
|
@@ -655,7 +654,7 @@ public class AnShengCrawlerCalculatePremiumApplyMessage {
|
|
|
private String vehicleTypeName;
|
|
|
@JsonProperty("makeDate")
|
|
|
@JSONField(name = "makeDate")
|
|
|
- private Integer makeDate;
|
|
|
+ private String makeDate;
|
|
|
@JsonProperty("stopFlag")
|
|
|
@JSONField(name = "stopFlag")
|
|
|
private String stopFlag;
|
|
|
@@ -790,7 +789,7 @@ public class AnShengCrawlerCalculatePremiumApplyMessage {
|
|
|
this.seats = carInfoVo.getSeatCount();
|
|
|
this.rbCode = brandAutoModel.getRbCode();
|
|
|
this.otherEnergyTypeDesc = "";
|
|
|
- this.madeDate = brandAutoModel.getMakeDate();
|
|
|
+ this.madeDate = dataDTO.getMadeDate();
|
|
|
this.exhaustCapability = brandAutoModel.getExhaustCapabilityString();
|
|
|
this.noDamageYears = "";
|
|
|
this.specialVehicleFlag = "";
|
|
|
@@ -840,12 +839,9 @@ public class AnShengCrawlerCalculatePremiumApplyMessage {
|
|
|
this.vehicleFgwCode = brandAutoModel.getAutoModelChnName();
|
|
|
this.vehicleFgwName = brandAutoModel.getBrandChnName();
|
|
|
this.vehicleModelType = "";
|
|
|
- this.vehicleStyleDesc = "";
|
|
|
+ this.vehicleStyleDesc = "小型轿车";
|
|
|
this.vehicleTypeName = carInfoVo.getCarKindName();
|
|
|
- if (StringUtils.hasLength(brandAutoModel.getMakeDate())) {
|
|
|
- this.makeDate = Integer.valueOf(brandAutoModel.getMakeDate());
|
|
|
- }
|
|
|
- this.stopFlag = brandAutoModel.getStopFlag();
|
|
|
+ this.makeDate = "";
|
|
|
this.detailDesc = brandAutoModel.getRemark();
|
|
|
this.vehicleCategory = "";
|
|
|
this.personnelName = personnelName;
|
|
|
@@ -861,7 +857,8 @@ public class AnShengCrawlerCalculatePremiumApplyMessage {
|
|
|
this.vehicleTonnages = "0";
|
|
|
this.power = brandAutoModel.getPower();
|
|
|
this.maxDesignSpeed = 0;
|
|
|
- this.runCardCertificateDate = TimeProcessing.dateToDateTime(carInfoVo.getIssueDate());
|
|
|
+ //this.runCardCertificateDate = TimeProcessing.dateToDateTime(carInfoVo.getIssueDate());
|
|
|
+ this.runCardCertificateDate = "";
|
|
|
this.customerNegotiatePrice = customerNegotiatePrice;
|
|
|
this.originalCustomerNegotiatePrice = customerNegotiatePrice;
|
|
|
this.fleetNo = "";
|
|
|
@@ -1003,7 +1000,7 @@ public class AnShengCrawlerCalculatePremiumApplyMessage {
|
|
|
private String dbVehicleWeigth;
|
|
|
@JsonProperty("riskScore")
|
|
|
@JSONField(name = "riskScore")
|
|
|
- private Integer riskScore;
|
|
|
+ private String riskScore;
|
|
|
@JsonProperty("riskScoreTwenty")
|
|
|
@JSONField(name = "riskScoreTwenty")
|
|
|
private String riskScoreTwenty;
|
|
|
@@ -1096,7 +1093,7 @@ public class AnShengCrawlerCalculatePremiumApplyMessage {
|
|
|
private String fdConfigId;
|
|
|
@JsonProperty("modelDiscount")
|
|
|
@JSONField(name = "modelDiscount")
|
|
|
- private Double modelDiscount;
|
|
|
+ private String modelDiscount;
|
|
|
@JsonProperty("autoFloatHandingCost")
|
|
|
@JSONField(name = "autoFloatHandingCost")
|
|
|
private Integer autoFloatHandingCost;
|
|
|
@@ -1183,7 +1180,7 @@ public class AnShengCrawlerCalculatePremiumApplyMessage {
|
|
|
this.ratioFluctuateType = "0";
|
|
|
this.repairFactory = "";
|
|
|
this.dbVehicleWeigth = brandAutoModel.getCurbWeightMin();
|
|
|
- this.riskScore = null;
|
|
|
+ this.riskScore = "";
|
|
|
this.riskScoreTwenty = "";
|
|
|
this.algrId = "";
|
|
|
this.riskScoreColor = "";
|
|
|
@@ -1214,7 +1211,7 @@ public class AnShengCrawlerCalculatePremiumApplyMessage {
|
|
|
this.autoFloatRatioOther = "";
|
|
|
this.appointAreaCode = "";
|
|
|
this.fdConfigId = "";
|
|
|
- this.modelDiscount = 0D;
|
|
|
+ this.modelDiscount = "";
|
|
|
this.autoFloatHandingCost = 0;
|
|
|
this.modelrate = "";
|
|
|
this.advicediscount = "";
|
|
|
@@ -1809,17 +1806,17 @@ public class AnShengCrawlerCalculatePremiumApplyMessage {
|
|
|
this.certificateType = customerInfoVo.getIdentifyType();
|
|
|
this.certificateNo = customerInfoVo.getIdentifyNumber();
|
|
|
this.sexCode = customerInfoVo.getGender();
|
|
|
- this.birthday = customerInfoVo.getBirthday();
|
|
|
- this.personnelAge = String.valueOf(customerInfoVo.getAge());
|
|
|
+ this.birthday = customerInfoVo.getBirthday() + " 00:00:00";
|
|
|
+ this.personnelAge = String.valueOf(customerInfoVo.getAge() + 1);
|
|
|
this.address = customerInfoVo.getAddr();
|
|
|
this.positionn = "";
|
|
|
this.mobileTelephone = customerInfoVo.getMobile();
|
|
|
this.email = "";
|
|
|
this.postcode = "030000";
|
|
|
this.vipMark = "1";
|
|
|
- this.effectedDate = customerInfoVo.getIdentifyValidDate();
|
|
|
+ this.effectedDate = customerInfoVo.getIdentifyValidDate() + " 00:00:00";
|
|
|
this.certType = "0";
|
|
|
- this.expiredDate = customerInfoVo.getIdentifyValidEndDate();
|
|
|
+ this.expiredDate = customerInfoVo.getIdentifyValidEndDate() + " 00:00:00";
|
|
|
this.isRuralOrUrban = "";
|
|
|
this.idCardAddress = "";
|
|
|
this.nationalityType = "142";
|