|
@@ -2,10 +2,13 @@ package com.jzg.quote.huanong.crawler.entity.request;
|
|
|
|
|
|
|
|
import cn.hutool.core.codec.Base64;
|
|
import cn.hutool.core.codec.Base64;
|
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
|
|
|
+import com.jzg.commons.entity.quote.vo.CarInfoVo;
|
|
|
import com.jzg.commons.entity.quote.vo.CustomerInfoVo;
|
|
import com.jzg.commons.entity.quote.vo.CustomerInfoVo;
|
|
|
import com.jzg.commons.entity.quote.vo.RiskInfoVo;
|
|
import com.jzg.commons.entity.quote.vo.RiskInfoVo;
|
|
|
import com.jzg.quotation.commons.entity.vo.aggregated.QuoteVo;
|
|
import com.jzg.quotation.commons.entity.vo.aggregated.QuoteVo;
|
|
|
|
|
+import com.jzg.quote.huanong.crawler.entity.response.HuaNongCrawlerComInfoQueryResponse;
|
|
|
import com.jzg.quote.huanong.crawler.entity.response.HuaNongCrawlerModelsQueryResponse;
|
|
import com.jzg.quote.huanong.crawler.entity.response.HuaNongCrawlerModelsQueryResponse;
|
|
|
|
|
+import com.jzg.quote.huanong.crawler.entity.response.HuaNongCrawlerUserTypeAndProxyInfoQueryResponse;
|
|
|
import lombok.AllArgsConstructor;
|
|
import lombok.AllArgsConstructor;
|
|
|
import lombok.Data;
|
|
import lombok.Data;
|
|
|
import lombok.NoArgsConstructor;
|
|
import lombok.NoArgsConstructor;
|
|
@@ -48,12 +51,12 @@ public class HuaNongCrawlerQuotedPriceRequest implements Serializable, HuaNongHe
|
|
|
private BusinessDataDTO businessData;
|
|
private BusinessDataDTO businessData;
|
|
|
|
|
|
|
|
public HuaNongCrawlerQuotedPriceRequest(String token, String username, QuoteVo quoteVo, HuaNongCrawlerModelsQueryResponse.CarModelDTO carModelDTO, String actualValue) {
|
|
public HuaNongCrawlerQuotedPriceRequest(String token, String username, QuoteVo quoteVo, HuaNongCrawlerModelsQueryResponse.CarModelDTO carModelDTO, String actualValue) {
|
|
|
- this.head = new HuaNongCrawlerRequestBaseHead("token");
|
|
|
|
|
|
|
+ this.head = new HuaNongCrawlerRequestBaseHead(token);
|
|
|
this.loginCom = loginCom;
|
|
this.loginCom = loginCom;
|
|
|
this.userCode = username;
|
|
this.userCode = username;
|
|
|
this.comeCode = comeCode;
|
|
this.comeCode = comeCode;
|
|
|
this.agentCode = "";
|
|
this.agentCode = "";
|
|
|
- this.businessData = new BusinessDataDTO(quoteVo, "", "");
|
|
|
|
|
|
|
+ this.businessData = new BusinessDataDTO(quoteVo, carModelDTO, "", "");
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@NoArgsConstructor
|
|
@NoArgsConstructor
|
|
@@ -94,13 +97,13 @@ public class HuaNongCrawlerQuotedPriceRequest implements Serializable, HuaNongHe
|
|
|
private List<NewEnergyAmountListDataDTO> newEnergyAmountListData;
|
|
private List<NewEnergyAmountListDataDTO> newEnergyAmountListData;
|
|
|
|
|
|
|
|
@JsonProperty("BListData")
|
|
@JsonProperty("BListData")
|
|
|
- private List<BListDataDTO> bListData;
|
|
|
|
|
|
|
+ private List<ListDataDTO> bListData;
|
|
|
|
|
|
|
|
@JsonProperty("D3ListData")
|
|
@JsonProperty("D3ListData")
|
|
|
- private List<D3ListDataDTO> d3ListData;
|
|
|
|
|
|
|
+ private List<ListDataDTO> d3ListData;
|
|
|
|
|
|
|
|
@JsonProperty("D4ListData")
|
|
@JsonProperty("D4ListData")
|
|
|
- private List<D4ListDataDTO> d4ListData;
|
|
|
|
|
|
|
+ private List<ListDataDTO> d4ListData;
|
|
|
|
|
|
|
|
@JsonProperty("ocrFlag")
|
|
@JsonProperty("ocrFlag")
|
|
|
private String ocrFlag;
|
|
private String ocrFlag;
|
|
@@ -151,18 +154,19 @@ public class HuaNongCrawlerQuotedPriceRequest implements Serializable, HuaNongHe
|
|
|
private List<Object> glassInfo;
|
|
private List<Object> glassInfo;
|
|
|
|
|
|
|
|
|
|
|
|
|
- public BusinessDataDTO(QuoteVo quoteVo, String loginCom, String comeCode) {
|
|
|
|
|
|
|
+ public BusinessDataDTO(QuoteVo quoteVo, HuaNongCrawlerModelsQueryResponse.CarModelDTO carModelDTO, String loginCom, String comeCode) {
|
|
|
this.businessMain = new BusinessMainDTO(loginCom, comeCode);
|
|
this.businessMain = new BusinessMainDTO(loginCom, comeCode);
|
|
|
- this.insuredObject = new InsuredObjectDTO();
|
|
|
|
|
|
|
+ this.insuredObject = new InsuredObjectDTO(carModelDTO.getFullCarData(), quoteVo.getCarInfoVo());
|
|
|
|
|
+
|
|
|
this.saleInfo = new SaleInfoDTO();
|
|
this.saleInfo = new SaleInfoDTO();
|
|
|
this.platFormMessageNvehBean = new PlatFormMessageNvehBeanDTO("");
|
|
this.platFormMessageNvehBean = new PlatFormMessageNvehBeanDTO("");
|
|
|
this.sum = 0;
|
|
this.sum = 0;
|
|
|
this.threeMountFlag = false;
|
|
this.threeMountFlag = false;
|
|
|
this.amountListData = new ArrayList<>();
|
|
this.amountListData = new ArrayList<>();
|
|
|
this.newEnergyAmountListData = new ArrayList<>();
|
|
this.newEnergyAmountListData = new ArrayList<>();
|
|
|
- this.bListData = new ArrayList<>();
|
|
|
|
|
- this.d3ListData = new ArrayList<>();
|
|
|
|
|
- this.d4ListData = new ArrayList<>();
|
|
|
|
|
|
|
+ this.bListData = ListDataDTO.getListBDataDTO();
|
|
|
|
|
+ this.d3ListData = ListDataDTO.getListDDataDTO();
|
|
|
|
|
+ this.d4ListData = ListDataDTO.getListDDataDTO();
|
|
|
this.nvehInfo = new ArrayList<>();
|
|
this.nvehInfo = new ArrayList<>();
|
|
|
this.homeInfo = new ArrayList<>();
|
|
this.homeInfo = new ArrayList<>();
|
|
|
this.glassInfo = new ArrayList<>();
|
|
this.glassInfo = new ArrayList<>();
|
|
@@ -259,11 +263,11 @@ public class HuaNongCrawlerQuotedPriceRequest implements Serializable, HuaNongHe
|
|
|
private Integer isAloneInsureNveh;
|
|
private Integer isAloneInsureNveh;
|
|
|
|
|
|
|
|
public BusinessMainDTO(String loginCom, String comeCode) {
|
|
public BusinessMainDTO(String loginCom, String comeCode) {
|
|
|
- this.accessSource = accessSource;
|
|
|
|
|
- this.agreementNo = agreementNo;
|
|
|
|
|
|
|
+ this.accessSource = "";
|
|
|
|
|
+ this.agreementNo = "";
|
|
|
this.appointAreaCode = "";
|
|
this.appointAreaCode = "";
|
|
|
- this.argueSolution = argueSolution;
|
|
|
|
|
- this.argueSolutionCom = argueSolutionCom;
|
|
|
|
|
|
|
+ this.argueSolution = "";
|
|
|
|
|
+ this.argueSolutionCom = "";
|
|
|
this.beforeFXQStockOnline = beforeFXQStockOnline;
|
|
this.beforeFXQStockOnline = beforeFXQStockOnline;
|
|
|
this.billAcceptDate = billAcceptDate;
|
|
this.billAcceptDate = billAcceptDate;
|
|
|
this.businessType = "2";
|
|
this.businessType = "2";
|
|
@@ -292,8 +296,8 @@ public class HuaNongCrawlerQuotedPriceRequest implements Serializable, HuaNongHe
|
|
|
this.quoteMd5 = quoteMd5;
|
|
this.quoteMd5 = quoteMd5;
|
|
|
this.isPeerComparison = isPeerComparison;
|
|
this.isPeerComparison = isPeerComparison;
|
|
|
this.isRunFlag = isRunFlag;
|
|
this.isRunFlag = isRunFlag;
|
|
|
- this.bjLogId = bjLogId;
|
|
|
|
|
- this.lastPolicyNos = lastPolicyNos;
|
|
|
|
|
|
|
+ this.bjLogId = "";
|
|
|
|
|
+ this.lastPolicyNos = Collections.emptyList();
|
|
|
this.isAloneInsureNveh = isAloneInsureNveh;
|
|
this.isAloneInsureNveh = isAloneInsureNveh;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -314,6 +318,15 @@ public class HuaNongCrawlerQuotedPriceRequest implements Serializable, HuaNongHe
|
|
|
@JsonProperty("violation")
|
|
@JsonProperty("violation")
|
|
|
private List<Object> violation;
|
|
private List<Object> violation;
|
|
|
|
|
|
|
|
|
|
+ public InsuredObjectDTO(HuaNongCrawlerModelsQueryResponse.CarModelDTO.FullCarDataDTO fullCarDataDTO, CarInfoVo carInfoVo) {
|
|
|
|
|
+ this.chargingPostInfos = chargingPostInfos;
|
|
|
|
|
+ this.platformCar = platformCar;
|
|
|
|
|
+ this.policyCar = policyCar;
|
|
|
|
|
+ this.simpleStadarCar = new SimpleStadarCarDTO(fullCarDataDTO, carInfoVo.getSeatCount(), carInfoVo.getCompleteKerbMass(), carInfoVo.getLimitLoad());
|
|
|
|
|
+ this.specializedDevice = specializedDevice;
|
|
|
|
|
+ this.violation = violation;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
@NoArgsConstructor
|
|
@NoArgsConstructor
|
|
|
@Data
|
|
@Data
|
|
|
public static class PlatformCarDTO {
|
|
public static class PlatformCarDTO {
|
|
@@ -489,22 +502,50 @@ public class HuaNongCrawlerQuotedPriceRequest implements Serializable, HuaNongHe
|
|
|
@NoArgsConstructor
|
|
@NoArgsConstructor
|
|
|
@Data
|
|
@Data
|
|
|
public static class SimpleStadarCarDTO {
|
|
public static class SimpleStadarCarDTO {
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ @JsonProperty("absFlag")
|
|
|
|
|
+ private String absFlag;
|
|
|
|
|
+ @JsonProperty("airbagCount")
|
|
|
|
|
+ private String airbagCount;
|
|
|
|
|
+ @JsonProperty("analogyPrice")
|
|
|
|
|
+ private Integer analogyPrice;
|
|
|
|
|
+ @JsonProperty("analogyPriceTax")
|
|
|
|
|
+ private Integer analogyPriceTax;
|
|
|
@JsonProperty("approvedLoad")
|
|
@JsonProperty("approvedLoad")
|
|
|
- private Double approvedLoad;
|
|
|
|
|
|
|
+ private Integer approvedLoad;
|
|
|
@JsonProperty("approvedPassengersCapacity")
|
|
@JsonProperty("approvedPassengersCapacity")
|
|
|
private Integer approvedPassengersCapacity;
|
|
private Integer approvedPassengersCapacity;
|
|
|
@JsonProperty("brand")
|
|
@JsonProperty("brand")
|
|
|
private String brand;
|
|
private String brand;
|
|
|
@JsonProperty("brandCode")
|
|
@JsonProperty("brandCode")
|
|
|
private String brandCode;
|
|
private String brandCode;
|
|
|
- @JsonProperty("carCategory")
|
|
|
|
|
- private String carCategory;
|
|
|
|
|
|
|
+ @JsonProperty("carAlias")
|
|
|
|
|
+ private String carAlias;
|
|
|
|
|
+ @JsonProperty("carKind")
|
|
|
|
|
+ private String carKind;
|
|
|
|
|
+ @JsonProperty("carType")
|
|
|
|
|
+ private String carType;
|
|
|
|
|
+ @JsonProperty("carYear")
|
|
|
|
|
+ private String carYear;
|
|
|
@JsonProperty("displacement")
|
|
@JsonProperty("displacement")
|
|
|
private Double displacement;
|
|
private Double displacement;
|
|
|
@JsonProperty("energyTypes")
|
|
@JsonProperty("energyTypes")
|
|
|
private String energyTypes;
|
|
private String energyTypes;
|
|
|
|
|
+ @JsonProperty("factory")
|
|
|
|
|
+ private String factory;
|
|
|
@JsonProperty("grossMass")
|
|
@JsonProperty("grossMass")
|
|
|
private Integer grossMass;
|
|
private Integer grossMass;
|
|
|
|
|
+ @JsonProperty("hfEndTime")
|
|
|
|
|
+ private String hfEndTime;
|
|
|
|
|
+ @JsonProperty("hfStartTime")
|
|
|
|
|
+ private String hfStartTime;
|
|
|
|
|
+ @JsonProperty("hfcode")
|
|
|
|
|
+ private String hfcode;
|
|
|
|
|
+ @JsonProperty("hfname")
|
|
|
|
|
+ private String hfname;
|
|
|
|
|
+ @JsonProperty("hnCarNo")
|
|
|
|
|
+ private String hnCarNo;
|
|
|
@JsonProperty("insCarClass")
|
|
@JsonProperty("insCarClass")
|
|
|
private String insCarClass;
|
|
private String insCarClass;
|
|
|
@JsonProperty("insCarClassName")
|
|
@JsonProperty("insCarClassName")
|
|
@@ -513,14 +554,32 @@ public class HuaNongCrawlerQuotedPriceRequest implements Serializable, HuaNongHe
|
|
|
private String localModelCode;
|
|
private String localModelCode;
|
|
|
@JsonProperty("modelCode")
|
|
@JsonProperty("modelCode")
|
|
|
private String modelCode;
|
|
private String modelCode;
|
|
|
|
|
+ @JsonProperty("modelFlag")
|
|
|
|
|
+ private String modelFlag;
|
|
|
|
|
+ @JsonProperty("modelName")
|
|
|
|
|
+ private String modelName;
|
|
|
|
|
+ @JsonProperty("oldMark")
|
|
|
|
|
+ private String oldMark;
|
|
|
@JsonProperty("power")
|
|
@JsonProperty("power")
|
|
|
private Integer power;
|
|
private Integer power;
|
|
|
- @JsonProperty("priceEnd")
|
|
|
|
|
- private Integer priceEnd;
|
|
|
|
|
- @JsonProperty("priceStart")
|
|
|
|
|
- private Integer priceStart;
|
|
|
|
|
|
|
+ @JsonProperty("productStatus")
|
|
|
|
|
+ private String productStatus;
|
|
|
@JsonProperty("purchasePrice")
|
|
@JsonProperty("purchasePrice")
|
|
|
- private Integer purchasePrice;
|
|
|
|
|
|
|
+ private String purchasePrice;
|
|
|
|
|
+ @JsonProperty("purchasePriceTax")
|
|
|
|
|
+ private String purchasePriceTax;
|
|
|
|
|
+ @JsonProperty("qualityMax")
|
|
|
|
|
+ private Integer qualityMax;
|
|
|
|
|
+ @JsonProperty("qualityMin")
|
|
|
|
|
+ private Integer qualityMin;
|
|
|
|
|
+ @JsonProperty("remark")
|
|
|
|
|
+ private String remark;
|
|
|
|
|
+ @JsonProperty("riskType")
|
|
|
|
|
+ private String riskType;
|
|
|
|
|
+ @JsonProperty("seatMax")
|
|
|
|
|
+ private Integer seatMax;
|
|
|
|
|
+ @JsonProperty("seatMin")
|
|
|
|
|
+ private Integer seatMin;
|
|
|
@JsonProperty("series")
|
|
@JsonProperty("series")
|
|
|
private String series;
|
|
private String series;
|
|
|
@JsonProperty("seriesCode")
|
|
@JsonProperty("seriesCode")
|
|
@@ -529,14 +588,74 @@ public class HuaNongCrawlerQuotedPriceRequest implements Serializable, HuaNongHe
|
|
|
private String seriesType;
|
|
private String seriesType;
|
|
|
@JsonProperty("shortHandCode")
|
|
@JsonProperty("shortHandCode")
|
|
|
private String shortHandCode;
|
|
private String shortHandCode;
|
|
|
|
|
+ @JsonProperty("theftProof")
|
|
|
|
|
+ private String theftProof;
|
|
|
@JsonProperty("tractionMass")
|
|
@JsonProperty("tractionMass")
|
|
|
private Integer tractionMass;
|
|
private Integer tractionMass;
|
|
|
|
|
+ @JsonProperty("transmissionType")
|
|
|
|
|
+ private String transmissionType;
|
|
|
@JsonProperty("unladenMass")
|
|
@JsonProperty("unladenMass")
|
|
|
private Integer unladenMass;
|
|
private Integer unladenMass;
|
|
|
@JsonProperty("vehicleStyleUniqueId")
|
|
@JsonProperty("vehicleStyleUniqueId")
|
|
|
private String vehicleStyleUniqueId;
|
|
private String vehicleStyleUniqueId;
|
|
|
|
|
+ @JsonProperty("noticeType")
|
|
|
|
|
+ private String noticeType;
|
|
|
|
|
+ @JsonProperty("brandCopy")
|
|
|
|
|
+ private String brandCopy;
|
|
|
@JsonProperty("purchasePriceCopy")
|
|
@JsonProperty("purchasePriceCopy")
|
|
|
- private Integer purchasePriceCopy;
|
|
|
|
|
|
|
+ private String purchasePriceCopy;
|
|
|
|
|
+
|
|
|
|
|
+ public SimpleStadarCarDTO(HuaNongCrawlerModelsQueryResponse.CarModelDTO.FullCarDataDTO fullCarDataDTO, String seatCount, String completeKerbMass, String limitLoad) {
|
|
|
|
|
+ this.absFlag = fullCarDataDTO.getAbsFlag();
|
|
|
|
|
+ this.airbagCount = fullCarDataDTO.getAirbagCount();
|
|
|
|
|
+ this.analogyPrice = fullCarDataDTO.getAnalogyPrice();
|
|
|
|
|
+ this.analogyPriceTax = fullCarDataDTO.getAnalogyPriceTax();
|
|
|
|
|
+ this.approvedLoad = fullCarDataDTO.getApprovedLoad();
|
|
|
|
|
+ this.approvedPassengersCapacity = Integer.valueOf(seatCount);
|
|
|
|
|
+ this.brand = fullCarDataDTO.getBrand();
|
|
|
|
|
+ this.brandCode = fullCarDataDTO.getBrandCode();
|
|
|
|
|
+ this.carAlias = fullCarDataDTO.getCarAlias();
|
|
|
|
|
+ this.carKind = fullCarDataDTO.getCarKind();
|
|
|
|
|
+ this.carType = fullCarDataDTO.getCarType();
|
|
|
|
|
+ this.carYear = fullCarDataDTO.getCarYear();
|
|
|
|
|
+ this.displacement = fullCarDataDTO.getDisplacement();
|
|
|
|
|
+ this.energyTypes = fullCarDataDTO.getEnergyTypes();
|
|
|
|
|
+ this.factory = fullCarDataDTO.getFactory();
|
|
|
|
|
+ this.grossMass = fullCarDataDTO.getGrossMass();
|
|
|
|
|
+ this.hfEndTime = fullCarDataDTO.getHfEndTime();
|
|
|
|
|
+ this.hfStartTime = fullCarDataDTO.getHfStartTime();
|
|
|
|
|
+ this.hfcode = fullCarDataDTO.getHfcode();
|
|
|
|
|
+ this.hfname = fullCarDataDTO.getHfname();
|
|
|
|
|
+ this.hnCarNo = fullCarDataDTO.getHnCarNo();
|
|
|
|
|
+ this.insCarClass = fullCarDataDTO.getInsCarClass();
|
|
|
|
|
+ this.insCarClassName = fullCarDataDTO.getInsCarClassName();
|
|
|
|
|
+ this.localModelCode = fullCarDataDTO.getLocalModelCode();
|
|
|
|
|
+ this.modelCode = fullCarDataDTO.getModelCode();
|
|
|
|
|
+ this.modelFlag = fullCarDataDTO.getModelFlag();
|
|
|
|
|
+ this.modelName = fullCarDataDTO.getModelName();
|
|
|
|
|
+ this.oldMark = fullCarDataDTO.getOldMark();
|
|
|
|
|
+ this.power = fullCarDataDTO.getPower();
|
|
|
|
|
+ this.productStatus = fullCarDataDTO.getProductStatus();
|
|
|
|
|
+ this.purchasePrice = fullCarDataDTO.getPurchasePrice();
|
|
|
|
|
+ this.purchasePriceTax = fullCarDataDTO.getPurchasePriceTax();
|
|
|
|
|
+ this.qualityMax = fullCarDataDTO.getQualityMax();
|
|
|
|
|
+ this.qualityMin = fullCarDataDTO.getQualityMin();
|
|
|
|
|
+ this.remark = fullCarDataDTO.getRemark();
|
|
|
|
|
+ this.riskType = fullCarDataDTO.getRiskType();
|
|
|
|
|
+ this.seatMax = fullCarDataDTO.getSeatMax();
|
|
|
|
|
+ this.seatMin = fullCarDataDTO.getSeatMin();
|
|
|
|
|
+ this.series = fullCarDataDTO.getSeries();
|
|
|
|
|
+ this.seriesCode = fullCarDataDTO.getSeriesCode();
|
|
|
|
|
+ this.seriesType = fullCarDataDTO.getSeriesType();
|
|
|
|
|
+ this.shortHandCode = fullCarDataDTO.getShortHandCode();
|
|
|
|
|
+ this.theftProof = fullCarDataDTO.getTheftProof();
|
|
|
|
|
+ this.tractionMass = fullCarDataDTO.getTractionMass();
|
|
|
|
|
+ this.transmissionType = fullCarDataDTO.getTransmissionType();
|
|
|
|
|
+ this.unladenMass = fullCarDataDTO.getUnladenMass();
|
|
|
|
|
+ this.noticeType = fullCarDataDTO.getNoticeType();
|
|
|
|
|
+ this.brandCopy = fullCarDataDTO.getBrandCopy();
|
|
|
|
|
+ this.purchasePriceCopy = fullCarDataDTO.getPurchasePriceCopy();
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -682,27 +801,83 @@ public class HuaNongCrawlerQuotedPriceRequest implements Serializable, HuaNongHe
|
|
|
@JsonProperty("orgCode")
|
|
@JsonProperty("orgCode")
|
|
|
private String orgCode;
|
|
private String orgCode;
|
|
|
|
|
|
|
|
|
|
+ public SaleInfoDTO(HuaNongCrawlerComInfoQueryResponse.ComListDTO comListDTO, HuaNongCrawlerUserTypeAndProxyInfoQueryResponse.HandlerListDTO handlerListDTO, HuaNongCrawlerUserTypeAndProxyInfoQueryResponse.AgentInfoListDTO agentInfoListDTO, String callerName) {
|
|
|
|
|
+ this.agentAddress = agentInfoListDTO.getAgentAddress();
|
|
|
|
|
+ this.agentCode = agentInfoListDTO.getAgentCode();
|
|
|
|
|
+ this.agentMobile = agentInfoListDTO.getAgentMobile();
|
|
|
|
|
+ this.agentName = agentInfoListDTO.getAgentName();
|
|
|
|
|
+ this.agentPermitNo = agentInfoListDTO.getAgentPermitNo();
|
|
|
|
|
+ this.agentTaxType = agentInfoListDTO.getAgentTaxType();
|
|
|
|
|
+ this.agentRegisteredAddress = agentInfoListDTO.getAgentRegisteredAddress();
|
|
|
|
|
+ this.orgCode = agentInfoListDTO.getOrgCode();
|
|
|
|
|
+ this.salesIdentifyNumber = agentInfoListDTO.getSalesIdentifyNumber();
|
|
|
|
|
+ this.salesIdentifyType = agentInfoListDTO.getSalesIdentifyType();
|
|
|
|
|
+
|
|
|
|
|
+ this.agreementNo = "";
|
|
|
|
|
+ this.comCode = comListDTO.getComCode();
|
|
|
|
|
+ this.comFlag = comListDTO.getFlag();
|
|
|
|
|
+ this.comName = comListDTO.getComName();
|
|
|
|
|
+
|
|
|
|
|
+ this.salesman = List.of(new SalesmanDTO(handlerListDTO, callerName));
|
|
|
|
|
+ this.saleSys = "";
|
|
|
|
|
+ this.staffCode = "";
|
|
|
|
|
+ this.staffName = "";
|
|
|
|
|
+ this.teamCode = handlerListDTO.getTeamCode();
|
|
|
|
|
+ this.teamName = handlerListDTO.getTeamName();
|
|
|
|
|
+ this.channelSource = channelSource;
|
|
|
|
|
+ this.channelSourceName = "";
|
|
|
|
|
+
|
|
|
|
|
+ this.producerCode = "";
|
|
|
|
|
+ this.producerName = "";
|
|
|
|
|
+
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
@NoArgsConstructor
|
|
@NoArgsConstructor
|
|
|
@Data
|
|
@Data
|
|
|
public static class SalesmanDTO {
|
|
public static class SalesmanDTO {
|
|
|
|
|
+
|
|
|
@JsonProperty("callerName")
|
|
@JsonProperty("callerName")
|
|
|
private String callerName;
|
|
private String callerName;
|
|
|
|
|
+
|
|
|
@JsonProperty("comCode")
|
|
@JsonProperty("comCode")
|
|
|
private String comCode;
|
|
private String comCode;
|
|
|
|
|
+
|
|
|
@JsonProperty("guidanceRate")
|
|
@JsonProperty("guidanceRate")
|
|
|
private Integer guidanceRate;
|
|
private Integer guidanceRate;
|
|
|
|
|
+
|
|
|
@JsonProperty("handleRate")
|
|
@JsonProperty("handleRate")
|
|
|
private Integer handleRate;
|
|
private Integer handleRate;
|
|
|
|
|
+
|
|
|
@JsonProperty("handlerCode")
|
|
@JsonProperty("handlerCode")
|
|
|
private String handlerCode;
|
|
private String handlerCode;
|
|
|
|
|
+
|
|
|
@JsonProperty("handlerIdentifynumber")
|
|
@JsonProperty("handlerIdentifynumber")
|
|
|
private String handlerIdentifynumber;
|
|
private String handlerIdentifynumber;
|
|
|
|
|
+
|
|
|
@JsonProperty("handlerMobile")
|
|
@JsonProperty("handlerMobile")
|
|
|
private String handlerMobile;
|
|
private String handlerMobile;
|
|
|
|
|
+
|
|
|
@JsonProperty("handlerName")
|
|
@JsonProperty("handlerName")
|
|
|
private String handlerName;
|
|
private String handlerName;
|
|
|
|
|
+
|
|
|
@JsonProperty("riskClassType")
|
|
@JsonProperty("riskClassType")
|
|
|
private String riskClassType;
|
|
private String riskClassType;
|
|
|
|
|
+
|
|
|
|
|
+ @JsonProperty("riskClassType")
|
|
|
|
|
+ private String certificateNo;
|
|
|
|
|
+
|
|
|
|
|
+ public SalesmanDTO(HuaNongCrawlerUserTypeAndProxyInfoQueryResponse.HandlerListDTO handlerListDTO, String callerName) {
|
|
|
|
|
+ this.callerName = callerName;
|
|
|
|
|
+ this.certificateNo = handlerListDTO.getCertificateNo();
|
|
|
|
|
+ this.comCode = "";
|
|
|
|
|
+ this.guidanceRate = 100;
|
|
|
|
|
+ this.handleRate = 100;
|
|
|
|
|
+ this.handlerCode = handlerListDTO.getHandlerCode();
|
|
|
|
|
+ this.handlerName = handlerListDTO.getHandlerName();
|
|
|
|
|
+ this.handlerIdentifynumber = handlerListDTO.getHandlerCode();
|
|
|
|
|
+ this.handlerMobile = handlerListDTO.getHandlerMobile();
|
|
|
|
|
+ this.riskClassType = "201705";
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -983,31 +1158,47 @@ public class HuaNongCrawlerQuotedPriceRequest implements Serializable, HuaNongHe
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ @AllArgsConstructor
|
|
|
@NoArgsConstructor
|
|
@NoArgsConstructor
|
|
|
@Data
|
|
@Data
|
|
|
- public static class BListDataDTO {
|
|
|
|
|
- @JsonProperty("code")
|
|
|
|
|
- private String code;
|
|
|
|
|
- @JsonProperty("value")
|
|
|
|
|
- private String value;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ public static class ListDataDTO {
|
|
|
|
|
|
|
|
- @NoArgsConstructor
|
|
|
|
|
- @Data
|
|
|
|
|
- public static class D3ListDataDTO {
|
|
|
|
|
@JsonProperty("code")
|
|
@JsonProperty("code")
|
|
|
private String code;
|
|
private String code;
|
|
|
- @JsonProperty("value")
|
|
|
|
|
- private String value;
|
|
|
|
|
- }
|
|
|
|
|
|
|
|
|
|
- @NoArgsConstructor
|
|
|
|
|
- @Data
|
|
|
|
|
- public static class D4ListDataDTO {
|
|
|
|
|
- @JsonProperty("code")
|
|
|
|
|
- private String code;
|
|
|
|
|
@JsonProperty("value")
|
|
@JsonProperty("value")
|
|
|
private String value;
|
|
private String value;
|
|
|
|
|
+
|
|
|
|
|
+ public static List<ListDataDTO> getListBDataDTO() {
|
|
|
|
|
+ List<ListDataDTO> list = new ArrayList<>();
|
|
|
|
|
+ list.add(new ListDataDTO("100000", "10万元"));
|
|
|
|
|
+ list.add(new ListDataDTO("150000", "15万元"));
|
|
|
|
|
+ list.add(new ListDataDTO("200000", "20万元"));
|
|
|
|
|
+ list.add(new ListDataDTO("300000", "30万元"));
|
|
|
|
|
+ list.add(new ListDataDTO("500000", "50万元"));
|
|
|
|
|
+ list.add(new ListDataDTO("1000000", "100万元"));
|
|
|
|
|
+ list.add(new ListDataDTO("1500000", "150万元"));
|
|
|
|
|
+ list.add(new ListDataDTO("2000000", "200万元"));
|
|
|
|
|
+ list.add(new ListDataDTO("3000000", "300万元"));
|
|
|
|
|
+ list.add(new ListDataDTO("4000000", "400万元"));
|
|
|
|
|
+ list.add(new ListDataDTO("5000000", "500万元"));
|
|
|
|
|
+ return list;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public static List<ListDataDTO> getListDDataDTO() {
|
|
|
|
|
+ List<ListDataDTO> list = new ArrayList<>();
|
|
|
|
|
+ list.add(new ListDataDTO("5000", "0.5万元"));
|
|
|
|
|
+ list.add(new ListDataDTO("10000", "1万元"));
|
|
|
|
|
+ list.add(new ListDataDTO("20000", "2万元"));
|
|
|
|
|
+ list.add(new ListDataDTO("30000", "3万元"));
|
|
|
|
|
+ list.add(new ListDataDTO("50000", "5万元"));
|
|
|
|
|
+ list.add(new ListDataDTO("100000", "10万元"));
|
|
|
|
|
+ list.add(new ListDataDTO("150000", "15万元"));
|
|
|
|
|
+ list.add(new ListDataDTO("200000", "20万元"));
|
|
|
|
|
+ list.add(new ListDataDTO("500000", "50万元"));
|
|
|
|
|
+ return list;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@NoArgsConstructor
|
|
@NoArgsConstructor
|
|
@@ -1807,7 +1998,6 @@ public class HuaNongCrawlerQuotedPriceRequest implements Serializable, HuaNongHe
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
|
@NoArgsConstructor
|
|
@NoArgsConstructor
|
|
|
@Data
|
|
@Data
|
|
|
public static class CopypersonObjDTO {
|
|
public static class CopypersonObjDTO {
|