|
|
@@ -108,6 +108,9 @@ public class CalculatePremiumRequest implements Serializable {
|
|
|
@JsonProperty("vehicleInfo")
|
|
|
private VehicleInfoDTO vehicleInfo;
|
|
|
|
|
|
+ @JsonProperty("demandNoCheckFlag")
|
|
|
+ private String demandNoCheckFlag = "1";
|
|
|
+
|
|
|
public CalculatePremiumRequest(BaseQuoteInfoVo quoteInfoVo, ModelQueryResponse.VehicleModelInfosDTO vehicleModelInfosDTO, String actualValue, List<ZjQuoteAccidentVo> zjQuoteAccidentVos, ZjConfigureParameters zjConfigureParameters, ModelQueryResponse modelQueryResponse) {
|
|
|
// 基本信息
|
|
|
this.baseInfo = new BaseInfoDTO(quoteInfoVo.getRiskList());
|
|
|
@@ -864,7 +867,7 @@ public class CalculatePremiumRequest implements Serializable {
|
|
|
this.vehicleId = vehicleModelInfosDTO.getVehicleId();
|
|
|
|
|
|
this.vinNo = carInfo.getVinNo();
|
|
|
- this.brandName = vehicleModelInfosDTO.getBrand();
|
|
|
+ this.brandName = vehicleModelInfosDTO.getModelName();
|
|
|
this.carInsuredRelation = "1";
|
|
|
this.carKindCode = "A0";
|
|
|
this.carKindDetailId = getCarKindDetailId(Integer.parseInt(carInfo.getSeatCount()));
|
|
|
@@ -877,7 +880,7 @@ public class CalculatePremiumRequest implements Serializable {
|
|
|
this.printModelName = vehicleModelInfosDTO.getModelName();
|
|
|
this.power = vehicleModelInfosDTO.getPower();
|
|
|
this.oriPurchasePrice = vehicleModelInfosDTO.getPurchasePrice();
|
|
|
- this.oriBrandName = vehicleModelInfosDTO.getBrand();
|
|
|
+ this.oriBrandName = vehicleModelInfosDTO.getModelName();
|
|
|
this.oriModelName = vehicleModelInfosDTO.getModelName();
|
|
|
this.vehicleStyleUniqueId = vehicleModelInfosDTO.getVehicleId();
|
|
|
this.isInvokeJingYou = "1";
|
|
|
@@ -903,14 +906,14 @@ public class CalculatePremiumRequest implements Serializable {
|
|
|
this.modelCode = vehicleModelInfosDTO.getModelCode();
|
|
|
this.purchasePrice = vehicleModelInfosDTO.getPurchasePrice();
|
|
|
this.vehicleId = vehicleModelInfosDTO.getVehicleId();
|
|
|
- this.brandName = vehicleModelInfosDTO.getBrand();
|
|
|
+ this.brandName = vehicleModelInfosDTO.getModelName();
|
|
|
this.exhaustCapacity = vehicleModelInfosDTO.getExhaustCapacity();
|
|
|
this.platVehicleCode = vehicleModelInfosDTO.getPlatVehicleCode();
|
|
|
this.modelEnergyType = vehicleModelInfosDTO.getPowerTypeCode();
|
|
|
this.printModelName = vehicleModelInfosDTO.getModelName();
|
|
|
this.power = vehicleModelInfosDTO.getPower();
|
|
|
this.oriPurchasePrice = vehicleModelInfosDTO.getPurchasePrice();
|
|
|
- this.oriBrandName = vehicleModelInfosDTO.getBrand();
|
|
|
+ this.oriBrandName = vehicleModelInfosDTO.getModelName();
|
|
|
this.oriModelName = vehicleModelInfosDTO.getModelName();
|
|
|
this.vehicleStyleUniqueId = vehicleModelInfosDTO.getVehicleId();
|
|
|
}
|
|
|
@@ -925,7 +928,11 @@ public class CalculatePremiumRequest implements Serializable {
|
|
|
public static class InsuredListDTO implements Serializable {
|
|
|
|
|
|
private static final long serialVersionUID = -3707826282312519677L;
|
|
|
-
|
|
|
+ /**
|
|
|
+ * 职业
|
|
|
+ */
|
|
|
+ @JsonProperty("occupation")
|
|
|
+ private String occupation;
|
|
|
/**
|
|
|
* 地址
|
|
|
*/
|
|
|
@@ -983,6 +990,7 @@ public class CalculatePremiumRequest implements Serializable {
|
|
|
private String validDate;
|
|
|
|
|
|
public InsuredListDTO(CustomerInfoVo policyHolderInfo, String insuredFlag) {
|
|
|
+ this.occupation = "030199";
|
|
|
this.address = policyHolderInfo.getAddr();
|
|
|
this.identifyNumber = policyHolderInfo.getIdentifyNumber();
|
|
|
this.identifyType = "01";
|