|
@@ -169,26 +169,30 @@ public class YongchengOrderApiServiceImpl implements YongchengOrderApiService {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
//车辆年款不能超过注册日期
|
|
//车辆年款不能超过注册日期
|
|
|
- List<ModelsQueryResponse.VehicleInfo> vehicleInfoList = rd.getVehicleInfoList().stream().filter(a -> DateTimeUtil.dateIsAfter(carInfo.getRegisterDate(), a.getVehicleYear())).sorted(Comparator.comparing(ModelsQueryResponse.VehicleInfo::getVehiclePrice)).collect(Collectors.toList());
|
|
|
|
|
|
|
+ List<ModelsQueryResponse.VehicleInfo> vehicleInfoList =
|
|
|
|
|
+ rd.getVehicleInfoList().stream().filter(a -> DateTimeUtil.dateIsAfter(carInfo.getRegisterDate(), a.getVehicleYear())).sorted(Comparator.comparing(ModelsQueryResponse.VehicleInfo::getVehiclePrice)).collect(Collectors.toList());
|
|
|
|
|
|
|
|
//匹配的车辆信息数据 为空
|
|
//匹配的车辆信息数据 为空
|
|
|
if (CollUtil.isEmpty(vehicleInfoList)) {
|
|
if (CollUtil.isEmpty(vehicleInfoList)) {
|
|
|
|
|
|
|
|
//匹配金额
|
|
//匹配金额
|
|
|
- vehicleInfoList = rd.getVehicleInfoList().stream().filter(a -> a.getVehiclePrice().equals(carInfo.getPurchasePrice())).collect(Collectors.toList());
|
|
|
|
|
|
|
+ vehicleInfoList =
|
|
|
|
|
+ rd.getVehicleInfoList().stream().filter(a -> a.getVehiclePrice().equals(carInfo.getPurchasePrice())).collect(Collectors.toList());
|
|
|
if (CollUtil.isNotEmpty(vehicleInfoList)) {
|
|
if (CollUtil.isNotEmpty(vehicleInfoList)) {
|
|
|
buildCarInfo(carInfo, vehicleInfoList.get(0));
|
|
buildCarInfo(carInfo, vehicleInfoList.get(0));
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
//金额升序
|
|
//金额升序
|
|
|
- vehicleInfoList = rd.getVehicleInfoList().stream().sorted(Comparator.comparing(ModelsQueryResponse.VehicleInfo::getVehiclePrice)).collect(Collectors.toList());
|
|
|
|
|
|
|
+ vehicleInfoList =
|
|
|
|
|
+ rd.getVehicleInfoList().stream().sorted(Comparator.comparing(ModelsQueryResponse.VehicleInfo::getVehiclePrice)).collect(Collectors.toList());
|
|
|
buildCarInfo(carInfo, vehicleInfoList.get(0));
|
|
buildCarInfo(carInfo, vehicleInfoList.get(0));
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
//匹配的车辆信息数据
|
|
//匹配的车辆信息数据
|
|
|
- ModelsQueryResponse.VehicleInfo matchVehicleInfo = vehicleInfoList.stream().filter(a -> a.getVehiclePrice().equals(carInfo.getPurchasePrice())).findFirst().orElse(null);
|
|
|
|
|
|
|
+ ModelsQueryResponse.VehicleInfo matchVehicleInfo =
|
|
|
|
|
+ vehicleInfoList.stream().filter(a -> a.getVehiclePrice().equals(carInfo.getPurchasePrice())).findFirst().orElse(null);
|
|
|
if (null != matchVehicleInfo) {
|
|
if (null != matchVehicleInfo) {
|
|
|
buildCarInfo(carInfo, matchVehicleInfo);
|
|
buildCarInfo(carInfo, matchVehicleInfo);
|
|
|
return;
|
|
return;
|
|
@@ -197,7 +201,8 @@ public class YongchengOrderApiServiceImpl implements YongchengOrderApiService {
|
|
|
//匹配的车辆信息数据里 未匹配成功 默认选择第一条
|
|
//匹配的车辆信息数据里 未匹配成功 默认选择第一条
|
|
|
//排序 年款降序 金额升序
|
|
//排序 年款降序 金额升序
|
|
|
vehicleInfoList = vehicleInfoList.stream().sorted(Comparator.comparing(ModelsQueryResponse.VehicleInfo::getVehicleYear)
|
|
vehicleInfoList = vehicleInfoList.stream().sorted(Comparator.comparing(ModelsQueryResponse.VehicleInfo::getVehicleYear)
|
|
|
- .thenComparing((o1, o2) -> Integer.compare(StringUtils.toInt(o2.getVehiclePrice()), StringUtils.toInt(o1.getVehiclePrice()))).reversed())
|
|
|
|
|
|
|
+ .thenComparing((o1, o2) -> Integer.compare(StringUtils.toInt(o2.getVehiclePrice()),
|
|
|
|
|
+ StringUtils.toInt(o1.getVehiclePrice()))).reversed())
|
|
|
.collect(Collectors.toList());
|
|
.collect(Collectors.toList());
|
|
|
|
|
|
|
|
buildCarInfo(carInfo, vehicleInfoList.get(0));
|
|
buildCarInfo(carInfo, vehicleInfoList.get(0));
|
|
@@ -343,7 +348,7 @@ public class YongchengOrderApiServiceImpl implements YongchengOrderApiService {
|
|
|
|
|
|
|
|
QuoteRespVo quoteRespVo = YcBuildData.buildQuoteRespVo(order, rr, yaQuoteInfoVo);
|
|
QuoteRespVo quoteRespVo = YcBuildData.buildQuoteRespVo(order, rr, yaQuoteInfoVo);
|
|
|
//8 生成订单
|
|
//8 生成订单
|
|
|
- InsAreaCompany iac = responseOrder(order, quoteRespVo, m, rr, quoteVo);
|
|
|
|
|
|
|
+ InsAreaCompany iac = responseOrder(order, quoteRespVo, rr, quoteVo);
|
|
|
quoteRespVo.setCompanyId(iac.getId());
|
|
quoteRespVo.setCompanyId(iac.getId());
|
|
|
order.setOwnerinfo(JSON.parseObject(JSON.toJSONString(yaQuoteInfoVo.getOwnerInfo())));
|
|
order.setOwnerinfo(JSON.parseObject(JSON.toJSONString(yaQuoteInfoVo.getOwnerInfo())));
|
|
|
order.setInsureinfo(JSON.parseObject(JSON.toJSONString(yaQuoteInfoVo.getInsuredPersonInfo())));
|
|
order.setInsureinfo(JSON.parseObject(JSON.toJSONString(yaQuoteInfoVo.getInsuredPersonInfo())));
|
|
@@ -372,7 +377,7 @@ public class YongchengOrderApiServiceImpl implements YongchengOrderApiService {
|
|
|
log.info("永诚API方式 - xml请求 ------------报价 -> 交强重复投保----------------");
|
|
log.info("永诚API方式 - xml请求 ------------报价 -> 交强重复投保----------------");
|
|
|
|
|
|
|
|
//截取0 到 机动车交通事故强制险
|
|
//截取0 到 机动车交通事故强制险
|
|
|
- if(!errorMsg.contains("终保日期")){
|
|
|
|
|
|
|
+ if (!errorMsg.contains("终保日期")) {
|
|
|
throw new SystemException(errorMsg);
|
|
throw new SystemException(errorMsg);
|
|
|
}
|
|
}
|
|
|
String coverageEndDate = errorMsg.substring(errorMsg.indexOf("终保日期") + 5, errorMsg.indexOf("终保日期") + 5 + 16);
|
|
String coverageEndDate = errorMsg.substring(errorMsg.indexOf("终保日期") + 5, errorMsg.indexOf("终保日期") + 5 + 16);
|
|
@@ -412,15 +417,15 @@ public class YongchengOrderApiServiceImpl implements YongchengOrderApiService {
|
|
|
log.info("永诚API方式 - xml请求 ------------报价 -> 商业险重复投保----------------");
|
|
log.info("永诚API方式 - xml请求 ------------报价 -> 商业险重复投保----------------");
|
|
|
|
|
|
|
|
//保险止期
|
|
//保险止期
|
|
|
- if(!errorMsg.contains("保险止期")){
|
|
|
|
|
|
|
+ if (!errorMsg.contains("保险止期")) {
|
|
|
throw new SystemException(errorMsg);
|
|
throw new SystemException(errorMsg);
|
|
|
}
|
|
}
|
|
|
String coverageEndDate = errorMsg.substring(errorMsg.indexOf("保险止期") + 6, errorMsg.indexOf("保险止期") + 6 + 19);
|
|
String coverageEndDate = errorMsg.substring(errorMsg.indexOf("保险止期") + 6, errorMsg.indexOf("保险止期") + 6 + 19);
|
|
|
LocalDateTime start;
|
|
LocalDateTime start;
|
|
|
|
|
|
|
|
- if(coverageEndDate.contains("23:59:59")){
|
|
|
|
|
|
|
+ if (coverageEndDate.contains("23:59:59")) {
|
|
|
start = DateTimeUtil.parseLocalDateTime(coverageEndDate, DateTimeUtil.DATETIME_PATTERN).plusSeconds(1);
|
|
start = DateTimeUtil.parseLocalDateTime(coverageEndDate, DateTimeUtil.DATETIME_PATTERN).plusSeconds(1);
|
|
|
- }else {
|
|
|
|
|
|
|
+ } else {
|
|
|
start = DateTimeUtil.parseLocalDateTime(coverageEndDate, DateTimeUtil.DATETIME_PATTERN);
|
|
start = DateTimeUtil.parseLocalDateTime(coverageEndDate, DateTimeUtil.DATETIME_PATTERN);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -523,7 +528,8 @@ public class YongchengOrderApiServiceImpl implements YongchengOrderApiService {
|
|
|
|
|
|
|
|
//转保调用自动识别转保码
|
|
//转保调用自动识别转保码
|
|
|
if (StringUtils.isNotEmpty(cCheckCodeJQ) || StringUtils.isNotEmpty(cCheckCodeSY)) {
|
|
if (StringUtils.isNotEmpty(cCheckCodeJQ) || StringUtils.isNotEmpty(cCheckCodeSY)) {
|
|
|
- log.info(String.format("永诚API方式 - xml请求 报价,车牌号《%s》 -> 转保业务处理----------------", m.getRequestLabel().getCondition().getVhl().getCPlateNo()));
|
|
|
|
|
|
|
+ log.info(String.format("永诚API方式 - xml请求 报价,车牌号《%s》 -> 转保业务处理----------------",
|
|
|
|
|
+ m.getRequestLabel().getCondition().getVhl().getCPlateNo()));
|
|
|
|
|
|
|
|
requestInfoList.add(rr.getHead().getErrorMessage());
|
|
requestInfoList.add(rr.getHead().getErrorMessage());
|
|
|
//调用python ocr
|
|
//调用python ocr
|
|
@@ -748,7 +754,8 @@ public class YongchengOrderApiServiceImpl implements YongchengOrderApiService {
|
|
|
|
|
|
|
|
} else {
|
|
} else {
|
|
|
//失败原因
|
|
//失败原因
|
|
|
- log.info(String.format("永诚API方式 - 补传回调 - 失败,交强保单号:{} ,商业保单号:{},类型:{}", param.getCiPolicyNo(), param.getBizPolicyNo(), param.getType()));
|
|
|
|
|
|
|
+ log.info(String.format("永诚API方式 - 补传回调 - 失败,交强保单号:{} ,商业保单号:{},类型:{}", param.getCiPolicyNo(), param.getBizPolicyNo(),
|
|
|
|
|
+ param.getType()));
|
|
|
return HttpResult.error(param.getMessage());
|
|
return HttpResult.error(param.getMessage());
|
|
|
}
|
|
}
|
|
|
return HttpResult.ok("操作成功,状态已更新。");
|
|
return HttpResult.ok("操作成功,状态已更新。");
|
|
@@ -786,50 +793,11 @@ public class YongchengOrderApiServiceImpl implements YongchengOrderApiService {
|
|
|
String jqbz = "-交强险标志.pdf";
|
|
String jqbz = "-交强险标志.pdf";
|
|
|
String jqbd = "-交强险保单.pdf";
|
|
String jqbd = "-交强险保单.pdf";
|
|
|
String sybd = "-商业险保单.pdf";
|
|
String sybd = "-商业险保单.pdf";
|
|
|
|
|
+ String jybd = "-非车险保单.pdf";
|
|
|
|
|
|
|
|
String licensePlate = order.getLicenseno();
|
|
String licensePlate = order.getLicenseno();
|
|
|
-
|
|
|
|
|
CarInsPolicyDto cipDto = new CarInsPolicyDto();
|
|
CarInsPolicyDto cipDto = new CarInsPolicyDto();
|
|
|
|
|
|
|
|
- String insFlag = "dj";
|
|
|
|
|
-
|
|
|
|
|
- if (StringUtils.isNotEmpty(iac.getJqapplyno()) && StringUtils.isNotEmpty(iac.getSyapplyno())) {
|
|
|
|
|
- insFlag = "js";
|
|
|
|
|
- }
|
|
|
|
|
- if (StringUtils.isEmpty(iac.getJqapplyno()) && StringUtils.isNotEmpty(iac.getSyapplyno())) {
|
|
|
|
|
- insFlag = "ds";
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- //单交
|
|
|
|
|
- if (insFlag.equals("dj")) {
|
|
|
|
|
- String jqFlagUrl = gainExistCarInsPolicy(licensePlate + jqbz, licensePlate);
|
|
|
|
|
- String jqUrl = gainExistCarInsPolicy(licensePlate + jqbd, licensePlate);
|
|
|
|
|
-
|
|
|
|
|
- if (StringUtils.isNotEmpty(jqFlagUrl) && StringUtils.isNotEmpty(jqUrl)) {
|
|
|
|
|
- cipDto.setJqFlagUrl(jqFlagUrl);
|
|
|
|
|
- cipDto.setJqUrl(jqUrl);
|
|
|
|
|
- return HttpResult.ok(cipDto);
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- } else if (insFlag.equals("ds")) {//单商
|
|
|
|
|
- String syUrl = gainExistCarInsPolicy(licensePlate + sybd, licensePlate);
|
|
|
|
|
- if (StringUtils.isNotEmpty(syUrl)) {
|
|
|
|
|
- cipDto.setSyUrl(syUrl);
|
|
|
|
|
- return HttpResult.ok(cipDto);
|
|
|
|
|
- }
|
|
|
|
|
- } else if (insFlag.equals("js")) {//交商业
|
|
|
|
|
- String syUrl = gainExistCarInsPolicy(licensePlate + sybd, licensePlate);
|
|
|
|
|
- String jqFlagUrl = gainExistCarInsPolicy(licensePlate + jqbz, licensePlate);
|
|
|
|
|
- String jqUrl = gainExistCarInsPolicy(licensePlate + jqbd, licensePlate);
|
|
|
|
|
-
|
|
|
|
|
- if (StringUtils.isNotEmpty(jqFlagUrl) && StringUtils.isNotEmpty(jqUrl) && StringUtils.isNotEmpty(syUrl)) {
|
|
|
|
|
- cipDto.setJqFlagUrl(jqFlagUrl);
|
|
|
|
|
- cipDto.setJqUrl(jqUrl);
|
|
|
|
|
- cipDto.setSyUrl(syUrl);
|
|
|
|
|
- return HttpResult.ok(cipDto);
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
// 获取协议配置信息
|
|
// 获取协议配置信息
|
|
|
YcConfigureParameters ycConfigureParameters = gainYcConfigParams(iac.getAgreementId());
|
|
YcConfigureParameters ycConfigureParameters = gainYcConfigParams(iac.getAgreementId());
|
|
|
String policyNo = policyPrintVo.getRiskCode().equals("0507") ? iac.getJqpolicyno() : iac.getSypolicyno();
|
|
String policyNo = policyPrintVo.getRiskCode().equals("0507") ? iac.getJqpolicyno() : iac.getSypolicyno();
|
|
@@ -864,6 +832,13 @@ public class YongchengOrderApiServiceImpl implements YongchengOrderApiService {
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ // 非车险
|
|
|
|
|
+ if (StringUtils.isNotEmpty(pResp.getYwpolicUrl())) {
|
|
|
|
|
+ String jyInsUrl = pResp.getYwpolicUrl().replaceAll(";pkid", "&pkid");
|
|
|
|
|
+ String jyUrl = gainCarInsPolicy(jyInsUrl, licensePlate + jybd, licensePlate);
|
|
|
|
|
+ cipDto.setJyUrl(jyUrl);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
return HttpResult.ok(pResp.getHead().getResponseCompleteMessageStatus().getMessageStatusDescription(), cipDto);
|
|
return HttpResult.ok(pResp.getHead().getResponseCompleteMessageStatus().getMessageStatusDescription(), cipDto);
|
|
|
|
|
|
|
|
} else {
|
|
} else {
|
|
@@ -968,7 +943,8 @@ public class YongchengOrderApiServiceImpl implements YongchengOrderApiService {
|
|
|
|
|
|
|
|
//将insAttachInsureList存入redis
|
|
//将insAttachInsureList存入redis
|
|
|
if (!insAttachInsureList.isEmpty()) {
|
|
if (!insAttachInsureList.isEmpty()) {
|
|
|
- redisTemplate.opsForValue().set(redisKey.toString(), JSON.toJSONString(insAttachInsureList), YC_ACCIDENTAL_DRIVING_TIME, TimeUnit.DAYS);
|
|
|
|
|
|
|
+ redisTemplate.opsForValue().set(redisKey.toString(), JSON.toJSONString(insAttachInsureList), YC_ACCIDENTAL_DRIVING_TIME,
|
|
|
|
|
+ TimeUnit.DAYS);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
return HttpResult.ok(insAttachInsureList);
|
|
return HttpResult.ok(insAttachInsureList);
|
|
@@ -1013,7 +989,8 @@ public class YongchengOrderApiServiceImpl implements YongchengOrderApiService {
|
|
|
|
|
|
|
|
//将esmInsAttachInsureDetails存入redis
|
|
//将esmInsAttachInsureDetails存入redis
|
|
|
if (!esmInsAttachInsureDetails.isEmpty()) {
|
|
if (!esmInsAttachInsureDetails.isEmpty()) {
|
|
|
- redisTemplate.opsForValue().set(redisKey.toString(), JSON.toJSONString(esmInsAttachInsureDetails), YC_ACCIDENTAL_DRIVING_TIME, TimeUnit.DAYS);
|
|
|
|
|
|
|
+ redisTemplate.opsForValue().set(redisKey.toString(), JSON.toJSONString(esmInsAttachInsureDetails), YC_ACCIDENTAL_DRIVING_TIME
|
|
|
|
|
+ , TimeUnit.DAYS);
|
|
|
}
|
|
}
|
|
|
return HttpResult.ok(esmInsAttachInsureDetails);
|
|
return HttpResult.ok(esmInsAttachInsureDetails);
|
|
|
}
|
|
}
|
|
@@ -1144,7 +1121,8 @@ public class YongchengOrderApiServiceImpl implements YongchengOrderApiService {
|
|
|
} else {
|
|
} else {
|
|
|
//失败原因
|
|
//失败原因
|
|
|
param.getMessage();
|
|
param.getMessage();
|
|
|
- log.info(String.format("永诚API方式 - 回调 - 失败,交强保单号:{} ,商业保单号:{},类型:{}", param.getCiPolicyNo(), param.getBizPolicyNo(), param.getType()));
|
|
|
|
|
|
|
+ log.info(String.format("永诚API方式 - 回调 - 失败,交强保单号:{} ,商业保单号:{},类型:{}", param.getCiPolicyNo(), param.getBizPolicyNo(),
|
|
|
|
|
+ param.getType()));
|
|
|
}
|
|
}
|
|
|
return HttpResult.ok(param);
|
|
return HttpResult.ok(param);
|
|
|
}
|
|
}
|
|
@@ -1177,11 +1155,15 @@ public class YongchengOrderApiServiceImpl implements YongchengOrderApiService {
|
|
|
* @author: lig
|
|
* @author: lig
|
|
|
* @date: 2023年02月16日 0016
|
|
* @date: 2023年02月16日 0016
|
|
|
*/
|
|
*/
|
|
|
- private InsAreaCompany responseOrder(InsOrders insOrder, QuoteRespVo quoteRespVo, Ruote requestData, RuoteResponse responseData, BaseQuoteVo<AccidentalDrivingVo> quoteVo) {
|
|
|
|
|
|
|
+ private InsAreaCompany responseOrder(InsOrders insOrder, QuoteRespVo quoteRespVo, RuoteResponse responseData,
|
|
|
|
|
+ BaseQuoteVo<AccidentalDrivingVo> quoteVo) {
|
|
|
|
|
+
|
|
|
//交强保费 含税
|
|
//交强保费 含税
|
|
|
- double jqPremium = StringUtils.toDouble(responseData.getBase().getNBefTaxPrmJQ()) + StringUtils.toDouble(responseData.getBase().getNAppTaxAmtJQ());
|
|
|
|
|
|
|
+ double jqPremium =
|
|
|
|
|
+ StringUtils.toDouble(responseData.getBase().getNBefTaxPrmJQ()) + StringUtils.toDouble(responseData.getBase().getNAppTaxAmtJQ());
|
|
|
//商业保费 含税
|
|
//商业保费 含税
|
|
|
- double syPremium = StringUtils.toDouble(responseData.getBase().getNBefTaxPrmSY()) + StringUtils.toDouble(responseData.getBase().getNAppTaxAmtSY());
|
|
|
|
|
|
|
+ double syPremium =
|
|
|
|
|
+ StringUtils.toDouble(responseData.getBase().getNBefTaxPrmSY()) + StringUtils.toDouble(responseData.getBase().getNAppTaxAmtSY());
|
|
|
//保险公司订单号
|
|
//保险公司订单号
|
|
|
String insOrderNo = responseData.getBase().getCresvTxt6();
|
|
String insOrderNo = responseData.getBase().getCresvTxt6();
|
|
|
|
|
|
|
@@ -1189,7 +1171,6 @@ public class YongchengOrderApiServiceImpl implements YongchengOrderApiService {
|
|
|
String queryCodeJq = responseData.getVhl().getCQryCdeJQ();
|
|
String queryCodeJq = responseData.getVhl().getCQryCdeJQ();
|
|
|
//查询码商业
|
|
//查询码商业
|
|
|
String queryCodeSy = responseData.getVhl().getCQryCdeSY();
|
|
String queryCodeSy = responseData.getVhl().getCQryCdeSY();
|
|
|
-
|
|
|
|
|
EsmInsCompany eic = esmInsCompanyService.getById(quoteVo.getCompanyId());
|
|
EsmInsCompany eic = esmInsCompanyService.getById(quoteVo.getCompanyId());
|
|
|
|
|
|
|
|
boolean jqFalg = jqPremium > 0;
|
|
boolean jqFalg = jqPremium > 0;
|
|
@@ -1203,6 +1184,7 @@ public class YongchengOrderApiServiceImpl implements YongchengOrderApiService {
|
|
|
insAreaCompany.setSumpremium(BigDecimal.valueOf(quoteRespVo.getSumPermium()));
|
|
insAreaCompany.setSumpremium(BigDecimal.valueOf(quoteRespVo.getSumPermium()));
|
|
|
insAreaCompany.setOrderstatus(InsOrderStatusEnum.QUOTE_ING.getCode());
|
|
insAreaCompany.setOrderstatus(InsOrderStatusEnum.QUOTE_ING.getCode());
|
|
|
|
|
|
|
|
|
|
+ insAreaCompany.setJypremium(BigDecimal.valueOf(quoteRespVo.getJyPremium()));
|
|
|
insAreaCompany.setCreatetime(LocalDateTime.now());
|
|
insAreaCompany.setCreatetime(LocalDateTime.now());
|
|
|
insAreaCompany.setInsOrderNo(insOrderNo);
|
|
insAreaCompany.setInsOrderNo(insOrderNo);
|
|
|
insAreaCompany.setJqapplyno(queryCodeJq);
|
|
insAreaCompany.setJqapplyno(queryCodeJq);
|
|
@@ -1530,7 +1512,8 @@ public class YongchengOrderApiServiceImpl implements YongchengOrderApiService {
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- private void buildRegionParam(Ruote m, BaseQuoteInfoVo yaQuoteInfoVo, List<String> ownerProvinceData, List<String> insuredProvinceData, List<String> applicantProvinceData) {
|
|
|
|
|
|
|
+ private void buildRegionParam(Ruote m, BaseQuoteInfoVo yaQuoteInfoVo, List<String> ownerProvinceData,
|
|
|
|
|
+ List<String> insuredProvinceData, List<String> applicantProvinceData) {
|
|
|
yaQuoteInfoVo.getOwnerInfo().setProvinceData(ownerProvinceData);
|
|
yaQuoteInfoVo.getOwnerInfo().setProvinceData(ownerProvinceData);
|
|
|
m.getRequestLabel().getCondition().getVhlowner().setCProvince(ownerProvinceData.get(0));
|
|
m.getRequestLabel().getCondition().getVhlowner().setCProvince(ownerProvinceData.get(0));
|
|
|
m.getRequestLabel().getCondition().getVhlowner().setCCity(ownerProvinceData.get(1));
|
|
m.getRequestLabel().getCondition().getVhlowner().setCCity(ownerProvinceData.get(1));
|