|
@@ -1,14 +1,27 @@
|
|
|
package com.jzg.quote.huanong.crawler.entity.request;
|
|
package com.jzg.quote.huanong.crawler.entity.request;
|
|
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
|
|
|
+import com.jzg.quotation.commons.entity.vo.aggregated.QuoteVo;
|
|
|
import lombok.Data;
|
|
import lombok.Data;
|
|
|
import lombok.NoArgsConstructor;
|
|
import lombok.NoArgsConstructor;
|
|
|
|
|
|
|
|
|
|
+import java.io.Serial;
|
|
|
|
|
+import java.io.Serializable;
|
|
|
import java.util.List;
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
|
+/**
|
|
|
|
|
+ * @version
|
|
|
|
|
+ * @description: 华农财险 计算保费 请求
|
|
|
|
|
+ * @author: wenks
|
|
|
|
|
+ * @date: 2025/3/20 11:20
|
|
|
|
|
+ **/
|
|
|
@NoArgsConstructor
|
|
@NoArgsConstructor
|
|
|
@Data
|
|
@Data
|
|
|
-public class HuaNongCrawlerQuotedPriceRequest {
|
|
|
|
|
|
|
+public class HuaNongCrawlerQuotedPriceRequest implements Serializable, HuaNongHead {
|
|
|
|
|
+
|
|
|
|
|
+ @Serial
|
|
|
|
|
+ private static final long serialVersionUID = -5873004327248461555L;
|
|
|
|
|
|
|
|
@JsonProperty("head")
|
|
@JsonProperty("head")
|
|
|
private HuaNongCrawlerRequestBaseHead head;
|
|
private HuaNongCrawlerRequestBaseHead head;
|
|
@@ -28,6 +41,15 @@ public class HuaNongCrawlerQuotedPriceRequest {
|
|
|
@JsonProperty("businessData")
|
|
@JsonProperty("businessData")
|
|
|
private BusinessDataDTO businessData;
|
|
private BusinessDataDTO businessData;
|
|
|
|
|
|
|
|
|
|
+ public HuaNongCrawlerQuotedPriceRequest(String loginCom, String userCode, String comeCode, String agentCode, QuoteVo quoteVo) {
|
|
|
|
|
+ this.head = new HuaNongCrawlerRequestBaseHead();
|
|
|
|
|
+ this.loginCom = loginCom;
|
|
|
|
|
+ this.userCode = userCode;
|
|
|
|
|
+ this.comeCode = comeCode;
|
|
|
|
|
+ this.agentCode = agentCode;
|
|
|
|
|
+ this.businessData = new BusinessDataDTO(quoteVo, "", "");
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
@NoArgsConstructor
|
|
@NoArgsConstructor
|
|
|
@Data
|
|
@Data
|
|
|
public static class BusinessDataDTO {
|
|
public static class BusinessDataDTO {
|
|
@@ -38,13 +60,13 @@ public class HuaNongCrawlerQuotedPriceRequest {
|
|
|
@JsonProperty("insuredObject")
|
|
@JsonProperty("insuredObject")
|
|
|
private InsuredObjectDTO insuredObject;
|
|
private InsuredObjectDTO insuredObject;
|
|
|
@JsonProperty("nvehInfo")
|
|
@JsonProperty("nvehInfo")
|
|
|
- private List<?> nvehInfo;
|
|
|
|
|
|
|
+ private List<Object> nvehInfo;
|
|
|
@JsonProperty("policyInfo")
|
|
@JsonProperty("policyInfo")
|
|
|
private PolicyInfoDTO policyInfo;
|
|
private PolicyInfoDTO policyInfo;
|
|
|
@JsonProperty("saleInfo")
|
|
@JsonProperty("saleInfo")
|
|
|
private SaleInfoDTO saleInfo;
|
|
private SaleInfoDTO saleInfo;
|
|
|
@JsonProperty("benefityLists")
|
|
@JsonProperty("benefityLists")
|
|
|
- private List<?> benefityLists;
|
|
|
|
|
|
|
+ private List<Object> benefityLists;
|
|
|
@JsonProperty("sum")
|
|
@JsonProperty("sum")
|
|
|
private Integer sum;
|
|
private Integer sum;
|
|
|
@JsonProperty("threeMountFlag")
|
|
@JsonProperty("threeMountFlag")
|
|
@@ -76,9 +98,9 @@ public class HuaNongCrawlerQuotedPriceRequest {
|
|
|
@JsonProperty("vehicleRiskFactor")
|
|
@JsonProperty("vehicleRiskFactor")
|
|
|
private VehicleRiskFactorDTO vehicleRiskFactor;
|
|
private VehicleRiskFactorDTO vehicleRiskFactor;
|
|
|
@JsonProperty("contractHome")
|
|
@JsonProperty("contractHome")
|
|
|
- private List<?> contractHome;
|
|
|
|
|
|
|
+ private List<Object> contractHome;
|
|
|
@JsonProperty("contractGlass")
|
|
@JsonProperty("contractGlass")
|
|
|
- private List<?> contractGlass;
|
|
|
|
|
|
|
+ private List<Object> contractGlass;
|
|
|
@JsonProperty("centerFlag")
|
|
@JsonProperty("centerFlag")
|
|
|
private String centerFlag;
|
|
private String centerFlag;
|
|
|
@JsonProperty("centerText")
|
|
@JsonProperty("centerText")
|
|
@@ -88,9 +110,15 @@ public class HuaNongCrawlerQuotedPriceRequest {
|
|
|
@JsonProperty("customer")
|
|
@JsonProperty("customer")
|
|
|
private List<CustomerDTO> customer;
|
|
private List<CustomerDTO> customer;
|
|
|
@JsonProperty("homeInfo")
|
|
@JsonProperty("homeInfo")
|
|
|
- private List<?> homeInfo;
|
|
|
|
|
|
|
+ private List<Object> homeInfo;
|
|
|
@JsonProperty("glassInfo")
|
|
@JsonProperty("glassInfo")
|
|
|
- private List<?> glassInfo;
|
|
|
|
|
|
|
+ private List<Object> glassInfo;
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ public BusinessDataDTO(QuoteVo quoteVo, String loginCom, String comeCode) {
|
|
|
|
|
+ this.businessMain = new BusinessMainDTO(loginCom, comeCode);
|
|
|
|
|
+
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
@NoArgsConstructor
|
|
@NoArgsConstructor
|
|
|
@Data
|
|
@Data
|
|
@@ -164,16 +192,55 @@ public class HuaNongCrawlerQuotedPriceRequest {
|
|
|
@JsonProperty("bjLogId")
|
|
@JsonProperty("bjLogId")
|
|
|
private String bjLogId;
|
|
private String bjLogId;
|
|
|
@JsonProperty("lastPolicyNos")
|
|
@JsonProperty("lastPolicyNos")
|
|
|
- private List<?> lastPolicyNos;
|
|
|
|
|
|
|
+ private List<Object> lastPolicyNos;
|
|
|
@JsonProperty("isAloneInsureNveh")
|
|
@JsonProperty("isAloneInsureNveh")
|
|
|
private Integer isAloneInsureNveh;
|
|
private Integer isAloneInsureNveh;
|
|
|
|
|
+
|
|
|
|
|
+ public BusinessMainDTO(String loginCom, String comeCode) {
|
|
|
|
|
+ this.accessSource = accessSource;
|
|
|
|
|
+ this.agreementNo = agreementNo;
|
|
|
|
|
+ this.appointAreaCode = appointAreaCode;
|
|
|
|
|
+ this.argueSolution = argueSolution;
|
|
|
|
|
+ this.argueSolutionCom = argueSolutionCom;
|
|
|
|
|
+ this.beforeFXQStockOnline = beforeFXQStockOnline;
|
|
|
|
|
+ this.billAcceptDate = billAcceptDate;
|
|
|
|
|
+ this.businessType = businessType;
|
|
|
|
|
+ this.constract5 = constract5;
|
|
|
|
|
+ this.hnscoreGroup = hnscoreGroup;
|
|
|
|
|
+ this.inputDateTime = inputDateTime;
|
|
|
|
|
+ this.isAloneCorrectingNveh = isAloneCorrectingNveh;
|
|
|
|
|
+ this.isAsync = isAsync;
|
|
|
|
|
+ this.isCorrectGLASS = isCorrectGLASS;
|
|
|
|
|
+ this.isCorrectHOME = isCorrectHOME;
|
|
|
|
|
+ this.isCorrectNVEH = isCorrectNVEH;
|
|
|
|
|
+ this.isElectronicInsuredFlag = isElectronicInsuredFlag;
|
|
|
|
|
+ this.isFace = isFace;
|
|
|
|
|
+ this.makeCom = makeCom;
|
|
|
|
|
+ this.makeComName = makeComName;
|
|
|
|
|
+ this.operateDateTime = operateDateTime;
|
|
|
|
|
+ this.operatorName = operatorName;
|
|
|
|
|
+ this.relateType = relateType;
|
|
|
|
|
+ this.underWriteEndDate = underWriteEndDate;
|
|
|
|
|
+ this.underwritingReminderFlag = underwritingReminderFlag;
|
|
|
|
|
+ this.verificationCode = verificationCode;
|
|
|
|
|
+ this.reCalculateFlag = reCalculateFlag;
|
|
|
|
|
+ this.suggestedDiscountQuoted = suggestedDiscountQuoted;
|
|
|
|
|
+ this.priceAdjustType = priceAdjustType;
|
|
|
|
|
+ this.quoteFlag = quoteFlag;
|
|
|
|
|
+ this.quoteMd5 = quoteMd5;
|
|
|
|
|
+ this.isPeerComparison = isPeerComparison;
|
|
|
|
|
+ this.isRunFlag = isRunFlag;
|
|
|
|
|
+ this.bjLogId = bjLogId;
|
|
|
|
|
+ this.lastPolicyNos = lastPolicyNos;
|
|
|
|
|
+ this.isAloneInsureNveh = isAloneInsureNveh;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@NoArgsConstructor
|
|
@NoArgsConstructor
|
|
|
@Data
|
|
@Data
|
|
|
public static class InsuredObjectDTO {
|
|
public static class InsuredObjectDTO {
|
|
|
@JsonProperty("chargingPostInfos")
|
|
@JsonProperty("chargingPostInfos")
|
|
|
- private List<?> chargingPostInfos;
|
|
|
|
|
|
|
+ private List<Object> chargingPostInfos;
|
|
|
@JsonProperty("platformCar")
|
|
@JsonProperty("platformCar")
|
|
|
private PlatformCarDTO platformCar;
|
|
private PlatformCarDTO platformCar;
|
|
|
@JsonProperty("policyCar")
|
|
@JsonProperty("policyCar")
|
|
@@ -181,9 +248,9 @@ public class HuaNongCrawlerQuotedPriceRequest {
|
|
|
@JsonProperty("simpleStadarCar")
|
|
@JsonProperty("simpleStadarCar")
|
|
|
private SimpleStadarCarDTO simpleStadarCar;
|
|
private SimpleStadarCarDTO simpleStadarCar;
|
|
|
@JsonProperty("specializedDevice")
|
|
@JsonProperty("specializedDevice")
|
|
|
- private List<?> specializedDevice;
|
|
|
|
|
|
|
+ private List<Object> specializedDevice;
|
|
|
@JsonProperty("violation")
|
|
@JsonProperty("violation")
|
|
|
- private List<?> violation;
|
|
|
|
|
|
|
+ private List<Object> violation;
|
|
|
|
|
|
|
|
@NoArgsConstructor
|
|
@NoArgsConstructor
|
|
|
@Data
|
|
@Data
|
|
@@ -654,7 +721,7 @@ public class HuaNongCrawlerQuotedPriceRequest {
|
|
|
@Data
|
|
@Data
|
|
|
public static class ContractAccidentDTO {
|
|
public static class ContractAccidentDTO {
|
|
|
@JsonProperty("accident")
|
|
@JsonProperty("accident")
|
|
|
- private List<?> accident;
|
|
|
|
|
|
|
+ private List<Object> accident;
|
|
|
@JsonProperty("contractMain")
|
|
@JsonProperty("contractMain")
|
|
|
private ContractMainDTO contractMain;
|
|
private ContractMainDTO contractMain;
|
|
|
@JsonProperty("coverage")
|
|
@JsonProperty("coverage")
|
|
@@ -936,23 +1003,23 @@ public class HuaNongCrawlerQuotedPriceRequest {
|
|
|
@Data
|
|
@Data
|
|
|
public static class ContractDTO {
|
|
public static class ContractDTO {
|
|
|
@JsonProperty("accident")
|
|
@JsonProperty("accident")
|
|
|
- private List<?> accident;
|
|
|
|
|
|
|
+ private List<Object> accident;
|
|
|
@JsonProperty("adjust")
|
|
@JsonProperty("adjust")
|
|
|
- private List<?> adjust;
|
|
|
|
|
|
|
+ private List<Object> adjust;
|
|
|
@JsonProperty("contractMain")
|
|
@JsonProperty("contractMain")
|
|
|
private ContractMainDTO contractMain;
|
|
private ContractMainDTO contractMain;
|
|
|
@JsonProperty("dummyCoverage")
|
|
@JsonProperty("dummyCoverage")
|
|
|
- private List<?> dummyCoverage;
|
|
|
|
|
|
|
+ private List<Object> dummyCoverage;
|
|
|
@JsonProperty("engage")
|
|
@JsonProperty("engage")
|
|
|
- private List<?> engage;
|
|
|
|
|
|
|
+ private List<Object> engage;
|
|
|
@JsonProperty("platFormMessage")
|
|
@JsonProperty("platFormMessage")
|
|
|
private PlatFormMessageDTO platFormMessage;
|
|
private PlatFormMessageDTO platFormMessage;
|
|
|
@JsonProperty("rescueInfo")
|
|
@JsonProperty("rescueInfo")
|
|
|
- private List<?> rescueInfo;
|
|
|
|
|
|
|
+ private List<Object> rescueInfo;
|
|
|
@JsonProperty("tax")
|
|
@JsonProperty("tax")
|
|
|
private TaxDTO tax;
|
|
private TaxDTO tax;
|
|
|
@JsonProperty("violation")
|
|
@JsonProperty("violation")
|
|
|
- private List<?> violation;
|
|
|
|
|
|
|
+ private List<Object> violation;
|
|
|
@JsonProperty("loocked")
|
|
@JsonProperty("loocked")
|
|
|
private Boolean loocked;
|
|
private Boolean loocked;
|
|
|
@JsonProperty("coverage")
|
|
@JsonProperty("coverage")
|
|
@@ -1287,7 +1354,7 @@ public class HuaNongCrawlerQuotedPriceRequest {
|
|
|
@JsonProperty("commissionRate")
|
|
@JsonProperty("commissionRate")
|
|
|
private String commissionRate;
|
|
private String commissionRate;
|
|
|
@JsonProperty("coveragePremium")
|
|
@JsonProperty("coveragePremium")
|
|
|
- private List<?> coveragePremium;
|
|
|
|
|
|
|
+ private List<Object> coveragePremium;
|
|
|
@JsonProperty("districtCoeff")
|
|
@JsonProperty("districtCoeff")
|
|
|
private String districtCoeff;
|
|
private String districtCoeff;
|
|
|
@JsonProperty("districtRateReason")
|
|
@JsonProperty("districtRateReason")
|
|
@@ -1361,7 +1428,7 @@ public class HuaNongCrawlerQuotedPriceRequest {
|
|
|
@JsonProperty("reInsure")
|
|
@JsonProperty("reInsure")
|
|
|
private List<ReInsureDTO> reInsure;
|
|
private List<ReInsureDTO> reInsure;
|
|
|
@JsonProperty("riskWarn")
|
|
@JsonProperty("riskWarn")
|
|
|
- private List<?> riskWarn;
|
|
|
|
|
|
|
+ private List<Object> riskWarn;
|
|
|
@JsonProperty("useTypeMessage")
|
|
@JsonProperty("useTypeMessage")
|
|
|
private String useTypeMessage;
|
|
private String useTypeMessage;
|
|
|
@JsonProperty("vehicleOwnerMessage")
|
|
@JsonProperty("vehicleOwnerMessage")
|