|
@@ -23,6 +23,8 @@ import com.jzg.quotation.bohai.crawler.component.BoHaiBuildingAttributionInforma
|
|
|
import com.jzg.quotation.bohai.crawler.constant.enums.CertifyType;
|
|
import com.jzg.quotation.bohai.crawler.constant.enums.CertifyType;
|
|
|
import com.jzg.quotation.bohai.crawler.entity.request.BoHaiCrawlerQuotationRequest;
|
|
import com.jzg.quotation.bohai.crawler.entity.request.BoHaiCrawlerQuotationRequest;
|
|
|
import com.jzg.quotation.bohai.crawler.entity.request.BoHaiCrawlerPaymentCertiNoQueryRequest;
|
|
import com.jzg.quotation.bohai.crawler.entity.request.BoHaiCrawlerPaymentCertiNoQueryRequest;
|
|
|
|
|
+import com.jzg.quotation.bohai.crawler.util.DateTimeUtils;
|
|
|
|
|
+import com.jzg.quotation.bohai.crawler.util.PythonExecutor;
|
|
|
import com.jzg.quotation.commons.annotation.QuoteCrawlerService;
|
|
import com.jzg.quotation.commons.annotation.QuoteCrawlerService;
|
|
|
import com.jzg.quotation.commons.constant.InsuranceCode;
|
|
import com.jzg.quotation.commons.constant.InsuranceCode;
|
|
|
import com.jzg.quotation.commons.standard.conversion.ConfigureParametersConversion;
|
|
import com.jzg.quotation.commons.standard.conversion.ConfigureParametersConversion;
|
|
@@ -72,7 +74,9 @@ public class BoHaiCrawlerRequestImpl implements BoHaiCrawlerRequest {
|
|
|
|
|
|
|
|
private final BoHaiCrawlerQuoteProcessService boHaiCrawlerQuoteProcessService;
|
|
private final BoHaiCrawlerQuoteProcessService boHaiCrawlerQuoteProcessService;
|
|
|
|
|
|
|
|
- private static final String TOKEN = "114050281-ab12387d7bb7bd319ac3b7d4ddd22090";
|
|
|
|
|
|
|
+ private static final String TOKEN = PythonExecutor.executeAndGetToken(
|
|
|
|
|
+ "E:/project/jzg/tenant/insurance/quotation-bohai/src/main/java/com/jzg/quotation/bohai/crawler/util/novel.py",
|
|
|
|
|
+ "E:\\project\\memorize_backend\\venv\\Scripts\\python.exe", 120);
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 登录
|
|
* 登录
|
|
@@ -109,11 +113,11 @@ public class BoHaiCrawlerRequestImpl implements BoHaiCrawlerRequest {
|
|
|
//String orderNo = generateOrderNo(parameters, headers);
|
|
//String orderNo = generateOrderNo(parameters, headers);
|
|
|
|
|
|
|
|
// 2.1 车辆查询
|
|
// 2.1 车辆查询
|
|
|
- BoHaiCrawlerCarResponse boHaiCrawlerCarResponse = null;
|
|
|
|
|
|
|
+ BoHaiCrawlerCarApiResponse boHaiCrawlerCarApiResponse = null;
|
|
|
try {
|
|
try {
|
|
|
BoHaiCrawlerCarRequest boHaiCrawlerCarRequest = new BoHaiCrawlerCarRequest(quoteVo.getCarInfoVo(), parameters.getOrgName(), parameters.getCDptCde(), userCode);
|
|
BoHaiCrawlerCarRequest boHaiCrawlerCarRequest = new BoHaiCrawlerCarRequest(quoteVo.getCarInfoVo(), parameters.getOrgName(), parameters.getCDptCde(), userCode);
|
|
|
- boHaiCrawlerCarResponse = boHaiCrawlerRequestComponent.car(boHaiCrawlerCarRequest, headers);
|
|
|
|
|
- log.info("boHaiCrawlerCarResponse参数的值:{}", JSON.toJSONString(boHaiCrawlerCarResponse));
|
|
|
|
|
|
|
+ boHaiCrawlerCarApiResponse = boHaiCrawlerRequestComponent.car(boHaiCrawlerCarRequest, headers);
|
|
|
|
|
+ log.info("boHaiCrawlerCarApiResponse参数的值:{}", JSON.toJSONString(boHaiCrawlerCarApiResponse));
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
e.printStackTrace();
|
|
|
throw new RuntimeException(e);
|
|
throw new RuntimeException(e);
|
|
@@ -122,17 +126,16 @@ public class BoHaiCrawlerRequestImpl implements BoHaiCrawlerRequest {
|
|
|
//2.2 车辆确认
|
|
//2.2 车辆确认
|
|
|
String currentValue = null;
|
|
String currentValue = null;
|
|
|
try {
|
|
try {
|
|
|
- Map<String, Object> vehicleConfirmationResult = getVehicleConfirmationResponse(quoteVo, boHaiCrawlerCarResponse, parameters, headers);
|
|
|
|
|
|
|
+ BoHaiCrawlerVehicleConfirmationResponse2 boHaiCrawlerVehicleConfirmationResponse = getVehicleConfirmationResponse(quoteVo, boHaiCrawlerCarApiResponse, parameters, headers);
|
|
|
//获取车辆当前价值
|
|
//获取车辆当前价值
|
|
|
- currentValue = (String) vehicleConfirmationResult.get("currentValue");
|
|
|
|
|
- log.info("车辆当前价值:{}", currentValue);
|
|
|
|
|
|
|
+ currentValue =boHaiCrawlerVehicleConfirmationResponse.getVehiclePriceList().get(0).getActualValue();
|
|
|
|
|
+ log.info("[车辆确认]车辆当前价值:{}", currentValue);
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
e.printStackTrace();
|
|
|
throw new RuntimeException(e);
|
|
throw new RuntimeException(e);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// 3.0 报价接口
|
|
// 3.0 报价接口
|
|
|
- /*BoHaiCrawlerQuotationRequest boHaiCrawlerQuotationRequest = new BoHaiCrawlerQuotationRequest(parameters, quoteVo, currentValue, "", quoteVo.getAccidentalDrivings(), "");*/
|
|
|
|
|
BoHaiCrawlerQuotationRequest2 boHaiCrawlerQuotationRequest2 = new BoHaiCrawlerQuotationRequest2();
|
|
BoHaiCrawlerQuotationRequest2 boHaiCrawlerQuotationRequest2 = new BoHaiCrawlerQuotationRequest2();
|
|
|
BoHaiCrawlerQuotationRequest2.Head head = new BoHaiCrawlerQuotationRequest2.Head();
|
|
BoHaiCrawlerQuotationRequest2.Head head = new BoHaiCrawlerQuotationRequest2.Head();
|
|
|
head.setTransType("Req");
|
|
head.setTransType("Req");
|
|
@@ -145,7 +148,7 @@ public class BoHaiCrawlerRequestImpl implements BoHaiCrawlerRequest {
|
|
|
|
|
|
|
|
// 业务主信息
|
|
// 业务主信息
|
|
|
BoHaiCrawlerQuotationRequest2.BusinessMainInfo mainInfo = new BoHaiCrawlerQuotationRequest2.BusinessMainInfo();
|
|
BoHaiCrawlerQuotationRequest2.BusinessMainInfo mainInfo = new BoHaiCrawlerQuotationRequest2.BusinessMainInfo();
|
|
|
- mainInfo.setOrderNo("O140703302025063172");
|
|
|
|
|
|
|
+ mainInfo.setOrderNo("");
|
|
|
mainInfo.setFixPriceType("Y2");
|
|
mainInfo.setFixPriceType("Y2");
|
|
|
mainInfo.setRiskControlFlag("");
|
|
mainInfo.setRiskControlFlag("");
|
|
|
mainInfo.setUuid("");
|
|
mainInfo.setUuid("");
|
|
@@ -163,7 +166,7 @@ public class BoHaiCrawlerRequestImpl implements BoHaiCrawlerRequest {
|
|
|
mainInfo.setAgreementNo("C142024004345_2");
|
|
mainInfo.setAgreementNo("C142024004345_2");
|
|
|
mainInfo.setCityCode("140700");
|
|
mainInfo.setCityCode("140700");
|
|
|
mainInfo.setCountyCode("140781");
|
|
mainInfo.setCountyCode("140781");
|
|
|
- mainInfo.setOperateDate("2025-10-09");
|
|
|
|
|
|
|
+ mainInfo.setOperateDate(DateTimeUtils.getCurrentDate());
|
|
|
mainInfo.setGoalInsuredFlag("2");
|
|
mainInfo.setGoalInsuredFlag("2");
|
|
|
mainInfo.setUnderUnit("");
|
|
mainInfo.setUnderUnit("");
|
|
|
mainInfo.setIdentifyType("006");
|
|
mainInfo.setIdentifyType("006");
|
|
@@ -196,34 +199,40 @@ public class BoHaiCrawlerRequestImpl implements BoHaiCrawlerRequest {
|
|
|
item.setCertificateType("");
|
|
item.setCertificateType("");
|
|
|
item.setOtherEnergyTypeDesc("");
|
|
item.setOtherEnergyTypeDesc("");
|
|
|
item.setPureRange("");
|
|
item.setPureRange("");
|
|
|
|
|
+ //燃油类型:A=汽油
|
|
|
item.setPmFuelType("A");
|
|
item.setPmFuelType("A");
|
|
|
- item.setCarCheckStatus("");
|
|
|
|
|
|
|
+ // 验车状态:4=已验
|
|
|
|
|
+ item.setCarCheckStatus("4");
|
|
|
//实际价值
|
|
//实际价值
|
|
|
- item.setActualValue("15380.00");
|
|
|
|
|
|
|
+ item.setActualValue(currentValue);
|
|
|
|
|
+ //其他性质标志
|
|
|
item.setOtherNature7BI("0");
|
|
item.setOtherNature7BI("0");
|
|
|
//协商价值
|
|
//协商价值
|
|
|
- item.setNegotiatedValue("15380.00");
|
|
|
|
|
|
|
+ item.setNegotiatedValue(currentValue);
|
|
|
|
|
+ // 新车标志:0=非新车
|
|
|
item.setNewVehicleFlag("0");
|
|
item.setNewVehicleFlag("0");
|
|
|
- item.setLicenseNo("晋K38V85");
|
|
|
|
|
- item.setFrameNo("LJDLAA197D0029125");
|
|
|
|
|
- item.setEngineNo("D5685636");
|
|
|
|
|
- item.setVinNo("LJDLAA197D0029125");
|
|
|
|
|
|
|
+ // 车牌号
|
|
|
|
|
+ item.setLicenseNo(quoteVo.getCarInfoVo().getLicenseNo());
|
|
|
|
|
+ item.setFrameNo(quoteVo.getCarInfoVo().getVinNo());
|
|
|
|
|
+ item.setEngineNo(quoteVo.getCarInfoVo().getEngineNo());
|
|
|
|
|
+ item.setVinNo(quoteVo.getCarInfoVo().getVinNo());
|
|
|
item.setNoLicenseFlag("");
|
|
item.setNoLicenseFlag("");
|
|
|
- item.setLicenseColorCode("01");
|
|
|
|
|
- item.setUseNatureCode("8A");
|
|
|
|
|
|
|
+ //号牌颜色 01:蓝牌
|
|
|
|
|
+ item.setLicenseColorCode(boHaiCrawlerCarApiResponse.getData().getJyCarModelFill().getPlateNoColor());
|
|
|
|
|
+ item.setUseNatureCode(quoteVo.getCarInfoVo().getCarNatureCode());
|
|
|
item.setMainCarKindCode("A");
|
|
item.setMainCarKindCode("A");
|
|
|
- item.setCarKindCode("A0");
|
|
|
|
|
- item.setBrandName("起亚YQZ7143A轿车");
|
|
|
|
|
- item.setSeatCount("5");
|
|
|
|
|
- item.setTonCount("0.0000");
|
|
|
|
|
- item.setPurchasePrice("76900");
|
|
|
|
|
- item.setBasePurchasePrice("76900");
|
|
|
|
|
- item.setExhaustScale(1.396);
|
|
|
|
|
- item.setEnrollDate("2013-10-14");
|
|
|
|
|
- item.setUseYearsBI("12");
|
|
|
|
|
- item.setUseYearsCI(11);
|
|
|
|
|
|
|
+ item.setCarKindCode(quoteVo.getCarInfoVo().getCarKindCode());
|
|
|
|
|
+ item.setBrandName(quoteVo.getCarInfoVo().getBrandName());
|
|
|
|
|
+ item.setSeatCount(quoteVo.getCarInfoVo().getSeatCount());
|
|
|
|
|
+ item.setTonCount(quoteVo.getCarInfoVo().getTonCount());
|
|
|
|
|
+ item.setPurchasePrice(quoteVo.getCarInfoVo().getPurchasePrice());
|
|
|
|
|
+ item.setBasePurchasePrice(quoteVo.getCarInfoVo().getPurchasePrice());
|
|
|
|
|
+ item.setExhaustScale(Double.parseDouble(boHaiCrawlerCarApiResponse.getData().getPrpDCarModels().get(0).getExhaustScale()));
|
|
|
|
|
+ item.setEnrollDate(quoteVo.getCarInfoVo().getRegisterDate());
|
|
|
|
|
+ item.setUseYearsBI("");
|
|
|
|
|
+ item.setUseYearsCI(0);
|
|
|
item.setUseYearsDI("");
|
|
item.setUseYearsDI("");
|
|
|
- item.setChgOwnerFlag("1");
|
|
|
|
|
|
|
+ item.setChgOwnerFlag(quoteVo.getCarInfoVo().getChgOwnerFlag());
|
|
|
item.setChgTypeFlag("0");
|
|
item.setChgTypeFlag("0");
|
|
|
item.setChgOwnerDate("2024-11-05");
|
|
item.setChgOwnerDate("2024-11-05");
|
|
|
item.setCountryNature("C");
|
|
item.setCountryNature("C");
|
|
@@ -232,7 +241,7 @@ public class BoHaiCrawlerRequestImpl implements BoHaiCrawlerRequest {
|
|
|
item.setRunAreaCode("02");
|
|
item.setRunAreaCode("02");
|
|
|
item.setTrafficViolationRecords("0");
|
|
item.setTrafficViolationRecords("0");
|
|
|
item.setColorCode("99");
|
|
item.setColorCode("99");
|
|
|
- item.setMadeFactory("东风悦达起亚汽车有限公司");
|
|
|
|
|
|
|
+ item.setMadeFactory("");
|
|
|
item.setMakeDate("");
|
|
item.setMakeDate("");
|
|
|
item.setVehicleBrand("起亚");
|
|
item.setVehicleBrand("起亚");
|
|
|
item.setCompleteKerbMass(1087);
|
|
item.setCompleteKerbMass(1087);
|
|
@@ -931,13 +940,12 @@ public class BoHaiCrawlerRequestImpl implements BoHaiCrawlerRequest {
|
|
|
* 车辆确认
|
|
* 车辆确认
|
|
|
*
|
|
*
|
|
|
* @param quoteVo
|
|
* @param quoteVo
|
|
|
- * @param boHaiCrawlerCarResponse
|
|
|
|
|
|
|
+ * @param boHaiCrawlerCarApiResponse
|
|
|
* @param parameters
|
|
* @param parameters
|
|
|
- * @param orderNo
|
|
|
|
|
* @param headers
|
|
* @param headers
|
|
|
* @return Map<String, Object>
|
|
* @return Map<String, Object>
|
|
|
*/
|
|
*/
|
|
|
- private Map<String, Object> getVehicleConfirmationResponse(QuoteVo quoteVo, BoHaiCrawlerCarResponse boHaiCrawlerCarResponse, BoHaiCrawlerConfigureParameters parameters, HttpHeaders headers) {
|
|
|
|
|
|
|
+ private BoHaiCrawlerVehicleConfirmationResponse2 getVehicleConfirmationResponse(QuoteVo quoteVo, BoHaiCrawlerCarApiResponse boHaiCrawlerCarApiResponse, BoHaiCrawlerConfigureParameters parameters, HttpHeaders headers) {
|
|
|
// 车主信息
|
|
// 车主信息
|
|
|
CustomerInfoVo ownerInfo = quoteVo.getOwnersInfo();
|
|
CustomerInfoVo ownerInfo = quoteVo.getOwnersInfo();
|
|
|
PersonAreaVo ownerInfoArea = new PersonAreaVo(ownerInfo);
|
|
PersonAreaVo ownerInfoArea = new PersonAreaVo(ownerInfo);
|
|
@@ -962,37 +970,38 @@ public class BoHaiCrawlerRequestImpl implements BoHaiCrawlerRequest {
|
|
|
bodyDTO.setBasicRateCode("");
|
|
bodyDTO.setBasicRateCode("");
|
|
|
// 登录机构编码,先写死
|
|
// 登录机构编码,先写死
|
|
|
bodyDTO.setComCode("14070201");
|
|
bodyDTO.setComCode("14070201");
|
|
|
- bodyDTO.setEffectiveDate("2025-09-30");
|
|
|
|
|
- bodyDTO.setExpireDate("2026-09-29");
|
|
|
|
|
|
|
+ bodyDTO.setEffectiveDate(quoteVo.getCiRiskInfoVo().getStartDate());
|
|
|
|
|
+ bodyDTO.setExpireDate(quoteVo.getCiRiskInfoVo().getEndDate());
|
|
|
bodyDTO.setEndHour("24");
|
|
bodyDTO.setEndHour("24");
|
|
|
bodyDTO.setStartHour("0");
|
|
bodyDTO.setStartHour("0");
|
|
|
- bodyDTO.setRiskCode("0380");
|
|
|
|
|
- bodyDTO.setBusinessNature("2");
|
|
|
|
|
- bodyDTO.setEngineNo(boHaiCrawlerCarResponse.getJyCarModelFill().getEngineNumber());
|
|
|
|
|
- bodyDTO.setVin(boHaiCrawlerCarResponse.getJyCarModelFill().getVinCode());
|
|
|
|
|
- bodyDTO.setLicensePlateNo(boHaiCrawlerCarResponse.getJyCarModelFill().getPlateNumber());
|
|
|
|
|
|
|
+ bodyDTO.setRiskCode(quoteVo.getProductId());
|
|
|
|
|
+ bodyDTO.setBusinessNature(quoteVo.getCarInfoVo().getCarNatureCode());
|
|
|
|
|
+ bodyDTO.setEngineNo(boHaiCrawlerCarApiResponse.getData().getJyCarModelFill().getEngineNumber());
|
|
|
|
|
+ bodyDTO.setVin(boHaiCrawlerCarApiResponse.getData().getJyCarModelFill().getVinCode());
|
|
|
|
|
+ bodyDTO.setLicensePlateNo(boHaiCrawlerCarApiResponse.getData().getJyCarModelFill().getPlateNumber());
|
|
|
//车牌类型
|
|
//车牌类型
|
|
|
- bodyDTO.setLicensePlateType("02");
|
|
|
|
|
- bodyDTO.setFirstRegisterDate(boHaiCrawlerCarResponse.getJyCarModelFill().getRegisterDate());
|
|
|
|
|
- bodyDTO.setModelCode(boHaiCrawlerCarResponse.getPrpDCarModels().get(0).getIndustryCarTypeCode());
|
|
|
|
|
|
|
+ bodyDTO.setLicensePlateType(quoteVo.getCarInfoVo().getLicenseKindCode());
|
|
|
|
|
+ bodyDTO.setFirstRegisterDate(boHaiCrawlerCarApiResponse.getData().getJyCarModelFill().getRegisterDate());
|
|
|
|
|
+ bodyDTO.setModelCode(boHaiCrawlerCarApiResponse.getData().getPrpDCarModels().get(0).getIndustryCarTypeCode());
|
|
|
//平台车型代码
|
|
//平台车型代码
|
|
|
- bodyDTO.setPlatFormModelCode(boHaiCrawlerCarResponse.getPrpDCarModels().get(0).getIndustryCarTypeCode());
|
|
|
|
|
|
|
+ bodyDTO.setPlatFormModelCode(boHaiCrawlerCarApiResponse.getData().getPrpDCarModels().get(0).getIndustryCarTypeCode());
|
|
|
bodyDTO.setNoticeType("");
|
|
bodyDTO.setNoticeType("");
|
|
|
- bodyDTO.setVehicleModel(boHaiCrawlerCarResponse.getPrpDCarModels().get(0).getModelCode());
|
|
|
|
|
- bodyDTO.setVehicleStyleDesc("K33");
|
|
|
|
|
|
|
+ bodyDTO.setVehicleModel(boHaiCrawlerCarApiResponse.getData().getPrpDCarModels().get(0).getModelCode());
|
|
|
|
|
+ bodyDTO.setVehicleStyleDesc(quoteVo.getCarInfoVo().getCarTypeCode());
|
|
|
bodyDTO.setCarName("");
|
|
bodyDTO.setCarName("");
|
|
|
bodyDTO.setVehicleBrand("");
|
|
bodyDTO.setVehicleBrand("");
|
|
|
bodyDTO.setMadeFactory("");
|
|
bodyDTO.setMadeFactory("");
|
|
|
|
|
|
|
|
//车辆动力参数
|
|
//车辆动力参数
|
|
|
//排量
|
|
//排量
|
|
|
- bodyDTO.setExhaustScale(1.373);
|
|
|
|
|
|
|
+ bodyDTO.setExhaustScale(Double.parseDouble(quoteVo.getCarInfoVo().getDisplacement()));
|
|
|
bodyDTO.setDisplacement("");
|
|
bodyDTO.setDisplacement("");
|
|
|
- bodyDTO.setPower("103");
|
|
|
|
|
- bodyDTO.setModelEnergyType("0");
|
|
|
|
|
|
|
+ bodyDTO.setPower(quoteVo.getCarInfoVo().getPowerScale());
|
|
|
|
|
+ bodyDTO.setModelEnergyType(quoteVo.getCarInfoVo().getEnergyTypeCode());
|
|
|
bodyDTO.setPureRange("");
|
|
bodyDTO.setPureRange("");
|
|
|
|
|
|
|
|
//车辆类型分类
|
|
//车辆类型分类
|
|
|
|
|
+ //主车型代码
|
|
|
bodyDTO.setMainCarKindCode("A");
|
|
bodyDTO.setMainCarKindCode("A");
|
|
|
bodyDTO.setMotorTypeCode("A0");
|
|
bodyDTO.setMotorTypeCode("A0");
|
|
|
bodyDTO.setMotorMainTypeCode("A");
|
|
bodyDTO.setMotorMainTypeCode("A");
|
|
@@ -1000,15 +1009,15 @@ public class BoHaiCrawlerRequestImpl implements BoHaiCrawlerRequest {
|
|
|
|
|
|
|
|
//车辆载重/载客信息
|
|
//车辆载重/载客信息
|
|
|
//核定载客量
|
|
//核定载客量
|
|
|
- bodyDTO.setRatedPassengerCapacity("5");
|
|
|
|
|
- bodyDTO.setLimitLoadPerson("5");
|
|
|
|
|
|
|
+ bodyDTO.setRatedPassengerCapacity(quoteVo.getCarInfoVo().getSeatCount());
|
|
|
|
|
+ bodyDTO.setLimitLoadPerson(quoteVo.getCarInfoVo().getSeatCount());
|
|
|
bodyDTO.setTonnage("0.0000");
|
|
bodyDTO.setTonnage("0.0000");
|
|
|
- bodyDTO.setLimitLoad("0.0000");
|
|
|
|
|
- bodyDTO.setWholeWeight("");
|
|
|
|
|
|
|
+ bodyDTO.setLimitLoad(quoteVo.getCarInfoVo().getLimitLoad());
|
|
|
|
|
+ bodyDTO.setWholeWeight(quoteVo.getCarInfoVo().getCompleteKerbMass());
|
|
|
|
|
|
|
|
//价格与价值信息
|
|
//价格与价值信息
|
|
|
- log.info("购买价值:{}", boHaiCrawlerCarResponse.getPrpDCarModels().get(0).getPurchasePrice());
|
|
|
|
|
- bodyDTO.setReplacementValue(boHaiCrawlerCarResponse.getPrpDCarModels().get(0).getPurchasePrice());
|
|
|
|
|
|
|
+ log.info("购买价值:{}", boHaiCrawlerCarApiResponse.getData().getPrpDCarModels().get(0).getPurchasePrice());
|
|
|
|
|
+ bodyDTO.setReplacementValue(boHaiCrawlerCarApiResponse.getData().getPrpDCarModels().get(0).getPurchasePrice());
|
|
|
|
|
|
|
|
//车辆状态标志
|
|
//车辆状态标志
|
|
|
bodyDTO.setNewVehicleFlag("");
|
|
bodyDTO.setNewVehicleFlag("");
|
|
@@ -1024,14 +1033,11 @@ public class BoHaiCrawlerRequestImpl implements BoHaiCrawlerRequest {
|
|
|
bodyDTO.setSalesChannelRefCode("");
|
|
bodyDTO.setSalesChannelRefCode("");
|
|
|
bodyDTO.setPrecisePriceComCode(true);
|
|
bodyDTO.setPrecisePriceComCode(true);
|
|
|
boHaiCrawlerVehicleConfirmationReqeust1.setBody(bodyDTO);
|
|
boHaiCrawlerVehicleConfirmationReqeust1.setBody(bodyDTO);
|
|
|
-
|
|
|
|
|
|
|
+ log.info("车辆确认请求参数:{}", JSON.toJSONString(boHaiCrawlerVehicleConfirmationReqeust1));
|
|
|
//调用车辆确认接口
|
|
//调用车辆确认接口
|
|
|
BoHaiCrawlerVehicleConfirmationResponse2 boHaiCrawlerVehicleConfirmationResponse = boHaiCrawlerRequestComponent.vehicleConfirmation(boHaiCrawlerVehicleConfirmationReqeust1, headers);
|
|
BoHaiCrawlerVehicleConfirmationResponse2 boHaiCrawlerVehicleConfirmationResponse = boHaiCrawlerRequestComponent.vehicleConfirmation(boHaiCrawlerVehicleConfirmationReqeust1, headers);
|
|
|
log.info("boHaiCrawlerVehicleConfirmationResponse参数的值:{}", JSON.toJSONString(boHaiCrawlerVehicleConfirmationResponse));
|
|
log.info("boHaiCrawlerVehicleConfirmationResponse参数的值:{}", JSON.toJSONString(boHaiCrawlerVehicleConfirmationResponse));
|
|
|
-
|
|
|
|
|
- Map<String, Object> map = new HashMap<>();
|
|
|
|
|
- map.put("currentValue", boHaiCrawlerVehicleConfirmationResponse.getVehiclePriceList().get(0).getActualValue());
|
|
|
|
|
- return map;
|
|
|
|
|
|
|
+ return boHaiCrawlerVehicleConfirmationResponse;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|