|
|
@@ -14,6 +14,7 @@ import com.ydtech.modules.order.entity.InsDrivingIntentionInsurance;
|
|
|
import com.ydtech.modules.order.entity.InsDrivingIntentionInsuranceSon;
|
|
|
import com.ydtech.modules.order.entity.api.chengtai.constants.*;
|
|
|
import com.ydtech.modules.order.entity.api.chengtai.response.CarInfoResponse;
|
|
|
+import com.ydtech.modules.order.entity.api.chengtai.response.InsurePremiumResponse;
|
|
|
import com.ydtech.modules.order.entity.api.chengtai.response.QueryCarActualValueResponse;
|
|
|
import com.ydtech.modules.order.entity.config.ChengTaiConfigureParameters;
|
|
|
import com.ydtech.modules.order.entity.vo.BaseQuoteInfoVo;
|
|
|
@@ -211,6 +212,8 @@ public class InsurePremiumRequest extends ChengTaiBaseRequest{
|
|
|
private ContractMainDTO contractMain;
|
|
|
@JsonProperty("coverage")
|
|
|
private List<CoverageDTO> coverage;
|
|
|
+ @JsonProperty("platFormMessage")
|
|
|
+ private PlatFormMessageDTO platFormMessage;
|
|
|
|
|
|
public BiContractDTO(BaseQuoteInfoVo quoteInfoVo,BigDecimal actualValue){
|
|
|
boolean isNewEnergy = quoteInfoVo.getCarInfo().isNewEnergy();
|
|
|
@@ -221,6 +224,77 @@ public class InsurePremiumRequest extends ChengTaiBaseRequest{
|
|
|
this.coverage = CoverageDTO.toCoverageList(isNewEnergy,quoteInfoVo,actualValue);
|
|
|
}
|
|
|
|
|
|
+ @NoArgsConstructor
|
|
|
+ @Data
|
|
|
+ public static class PlatFormMessageDTO {
|
|
|
+// @JsonProperty("scoreCode")
|
|
|
+// private String scoreCode;
|
|
|
+// @JsonProperty("lastPolicyQueryDate")
|
|
|
+// private String lastPolicyQueryDate;
|
|
|
+// @JsonProperty("insureYears")
|
|
|
+// private String insureYears;
|
|
|
+// @JsonProperty("ciCarKind")
|
|
|
+// private String ciCarKind;
|
|
|
+// @JsonProperty("peccancyAdjustCI")
|
|
|
+// private String peccancyAdjustCI;
|
|
|
+// @JsonProperty("lastPolicyExpireDate")
|
|
|
+// private String lastPolicyExpireDate;
|
|
|
+// @JsonProperty("noClaimAdjustReasonCodeBI")
|
|
|
+// private String noClaimAdjustReasonCodeBI;
|
|
|
+// @JsonProperty("modelEnergyType")
|
|
|
+// private String modelEnergyType;
|
|
|
+// @JsonProperty("noClaimAdjustReason")
|
|
|
+// private String noClaimAdjustReason;
|
|
|
+// @JsonProperty("score")
|
|
|
+// private String score;
|
|
|
+// @JsonProperty("queryDate")
|
|
|
+// private String queryDate;
|
|
|
+// @JsonProperty("claimAdjustReasonCodeBI")
|
|
|
+// private String claimAdjustReasonCodeBI;
|
|
|
+// @JsonProperty("ciModelCode")
|
|
|
+// private String ciModelCode;
|
|
|
+// @JsonProperty("lastPolicyEffectiveDate")
|
|
|
+// private String lastPolicyEffectiveDate;
|
|
|
+// @JsonProperty("unMatchLicenseNoMessage")
|
|
|
+// private String unMatchLicenseNoMessage;
|
|
|
+// @JsonProperty("lastReplacementValue")
|
|
|
+// private String lastReplacementValue;
|
|
|
+// @JsonProperty("expireDate")
|
|
|
+// private String expireDate;
|
|
|
+// @JsonProperty("repeatedMsg")
|
|
|
+// private String repeatedMsg;
|
|
|
+ @JsonProperty("question")
|
|
|
+ private String question;
|
|
|
+// @JsonProperty("noClaimAdjustReasonBI")
|
|
|
+// private String noClaimAdjustReasonBI;
|
|
|
+// @JsonProperty("nonClaimAdjust")
|
|
|
+// private String nonClaimAdjust;
|
|
|
+ @JsonProperty("querySequenceNo")
|
|
|
+ private String querySequenceNo;
|
|
|
+// @JsonProperty("noClaimAdjustReasonCodeCI")
|
|
|
+// private String noClaimAdjustReasonCodeCI;
|
|
|
+// @JsonProperty("lastModelCode")
|
|
|
+// private String lastModelCode;
|
|
|
+// @JsonProperty("claimAdjustReasonCodeCI")
|
|
|
+// private String claimAdjustReasonCodeCI;
|
|
|
+// @JsonProperty("lastModel")
|
|
|
+// private String lastModel;
|
|
|
+ @JsonProperty("answer")
|
|
|
+ private String answer;
|
|
|
+// @JsonProperty("claimCoeff")
|
|
|
+// private String claimCoeff;
|
|
|
+// @JsonProperty("claimAdjustLevel")
|
|
|
+// private String claimAdjustLevel;
|
|
|
+// @JsonProperty("peccancyAdjustReasonCI")
|
|
|
+// private String peccancyAdjustReasonCI;
|
|
|
+ @JsonProperty("reinsuranceFlag")
|
|
|
+ private String reinsuranceFlag;
|
|
|
+// @JsonProperty("claimTimes")
|
|
|
+// private String claimTimes;
|
|
|
+// @JsonProperty("rateFloatFlag")
|
|
|
+// private String rateFloatFlag;
|
|
|
+ }
|
|
|
+
|
|
|
@NoArgsConstructor
|
|
|
@Data
|
|
|
public static class ContractMainDTO {
|
|
|
@@ -606,6 +680,8 @@ public class InsurePremiumRequest extends ChengTaiBaseRequest{
|
|
|
private List<CoverageDTO> coverage;
|
|
|
@JsonProperty("tax")
|
|
|
private TaxDTO tax;
|
|
|
+ @JsonProperty("platFormMessage")
|
|
|
+ private PlatFormMessageDTO platFormMessage;
|
|
|
|
|
|
public CiContractDTO(BaseQuoteInfoVo quoteInfoVo){
|
|
|
// 险种信息
|
|
|
@@ -616,6 +692,77 @@ public class InsurePremiumRequest extends ChengTaiBaseRequest{
|
|
|
this.tax = new TaxDTO(quoteInfoVo);
|
|
|
}
|
|
|
|
|
|
+ @NoArgsConstructor
|
|
|
+ @Data
|
|
|
+ public static class PlatFormMessageDTO {
|
|
|
+// @JsonProperty("scoreCode")
|
|
|
+// private String scoreCode;
|
|
|
+// @JsonProperty("lastPolicyQueryDate")
|
|
|
+// private String lastPolicyQueryDate;
|
|
|
+// @JsonProperty("insureYears")
|
|
|
+// private String insureYears;
|
|
|
+// @JsonProperty("ciCarKind")
|
|
|
+// private String ciCarKind;
|
|
|
+// @JsonProperty("peccancyAdjustCI")
|
|
|
+// private String peccancyAdjustCI;
|
|
|
+// @JsonProperty("lastPolicyExpireDate")
|
|
|
+// private String lastPolicyExpireDate;
|
|
|
+// @JsonProperty("noClaimAdjustReasonCodeBI")
|
|
|
+// private String noClaimAdjustReasonCodeBI;
|
|
|
+// @JsonProperty("modelEnergyType")
|
|
|
+// private String modelEnergyType;
|
|
|
+// @JsonProperty("noClaimAdjustReason")
|
|
|
+// private String noClaimAdjustReason;
|
|
|
+// @JsonProperty("score")
|
|
|
+// private String score;
|
|
|
+// @JsonProperty("queryDate")
|
|
|
+// private String queryDate;
|
|
|
+// @JsonProperty("claimAdjustReasonCodeBI")
|
|
|
+// private String claimAdjustReasonCodeBI;
|
|
|
+// @JsonProperty("ciModelCode")
|
|
|
+// private String ciModelCode;
|
|
|
+// @JsonProperty("lastPolicyEffectiveDate")
|
|
|
+// private String lastPolicyEffectiveDate;
|
|
|
+// @JsonProperty("unMatchLicenseNoMessage")
|
|
|
+// private String unMatchLicenseNoMessage;
|
|
|
+// @JsonProperty("lastReplacementValue")
|
|
|
+// private String lastReplacementValue;
|
|
|
+// @JsonProperty("expireDate")
|
|
|
+// private String expireDate;
|
|
|
+// @JsonProperty("repeatedMsg")
|
|
|
+// private String repeatedMsg;
|
|
|
+ @JsonProperty("question")
|
|
|
+ private String question;
|
|
|
+// @JsonProperty("noClaimAdjustReasonBI")
|
|
|
+// private String noClaimAdjustReasonBI;
|
|
|
+// @JsonProperty("nonClaimAdjust")
|
|
|
+// private String nonClaimAdjust;
|
|
|
+ @JsonProperty("querySequenceNo")
|
|
|
+ private String querySequenceNo;
|
|
|
+// @JsonProperty("noClaimAdjustReasonCodeCI")
|
|
|
+// private String noClaimAdjustReasonCodeCI;
|
|
|
+// @JsonProperty("lastModelCode")
|
|
|
+// private String lastModelCode;
|
|
|
+// @JsonProperty("claimAdjustReasonCodeCI")
|
|
|
+// private String claimAdjustReasonCodeCI;
|
|
|
+// @JsonProperty("lastModel")
|
|
|
+// private String lastModel;
|
|
|
+ @JsonProperty("answer")
|
|
|
+ private String answer;
|
|
|
+// @JsonProperty("claimCoeff")
|
|
|
+// private String claimCoeff;
|
|
|
+// @JsonProperty("claimAdjustLevel")
|
|
|
+// private String claimAdjustLevel;
|
|
|
+// @JsonProperty("peccancyAdjustReasonCI")
|
|
|
+// private String peccancyAdjustReasonCI;
|
|
|
+ @JsonProperty("reinsuranceFlag")
|
|
|
+ private String reinsuranceFlag;
|
|
|
+// @JsonProperty("claimTimes")
|
|
|
+// private String claimTimes;
|
|
|
+// @JsonProperty("rateFloatFlag")
|
|
|
+// private String rateFloatFlag;
|
|
|
+ }
|
|
|
+
|
|
|
@NoArgsConstructor
|
|
|
@Data
|
|
|
public static class ContractMainDTO {
|