|
|
@@ -70,7 +70,6 @@ import com.ydtech.modules.order.service.InsOrdersService;
|
|
|
import com.ydtech.modules.order.service.InsTaskImagesService;
|
|
|
import com.ydtech.modules.order.service.YongchengOrderApiService;
|
|
|
import com.ydtech.modules.order.utils.InsuranceLog;
|
|
|
-import com.ydtech.modules.protocol.entity.po.PtlAgreementAttribution;
|
|
|
import com.ydtech.modules.protocol.utils.AssertionUtils;
|
|
|
import com.ydtech.utils.DateTimeUtil;
|
|
|
import com.ydtech.utils.StringUtils;
|
|
|
@@ -917,21 +916,21 @@ public class YongchengOrderApiServiceImpl implements YongchengOrderApiService {
|
|
|
//标志
|
|
|
if (StringUtils.isNotEmpty(pResp.getPolicyBZUrl())) {
|
|
|
String bzInsUrl = pResp.getPolicyBZUrl().replaceAll(";pkid", "&pkid");
|
|
|
- String jqFlagUrl = gainCarInsPolicy(bzInsUrl, licensePlate + jqbz, licensePlate);
|
|
|
+ String jqFlagUrl = gainCarInsPolicy(bzInsUrl, licensePlate + policyNo + jqbz, licensePlate);
|
|
|
cipDto.setJqFlagUrl(jqFlagUrl);
|
|
|
}
|
|
|
|
|
|
//交强
|
|
|
if (StringUtils.isNotEmpty(pResp.getJqpolicyUrl())) {
|
|
|
String jqInsUrl = pResp.getJqpolicyUrl().replace(";pkid", "&pkid");
|
|
|
- String jqUrl = gainCarInsPolicy(jqInsUrl, licensePlate + jqbd, licensePlate);
|
|
|
+ String jqUrl = gainCarInsPolicy(jqInsUrl, licensePlate + policyNo + jqbd, licensePlate);
|
|
|
cipDto.setJqUrl(jqUrl);
|
|
|
}
|
|
|
|
|
|
//商业
|
|
|
if (StringUtils.isNotEmpty(pResp.getSypolicyUrl())) {
|
|
|
String syInsUrl = pResp.getSypolicyUrl().replace(";pkid", "&pkid");
|
|
|
- String syUrl = gainCarInsPolicy(syInsUrl, licensePlate + sybd, licensePlate);
|
|
|
+ String syUrl = gainCarInsPolicy(syInsUrl, licensePlate + policyNo + sybd, licensePlate);
|
|
|
cipDto.setSyUrl(syUrl);
|
|
|
|
|
|
}
|
|
|
@@ -939,7 +938,7 @@ public class YongchengOrderApiServiceImpl implements YongchengOrderApiService {
|
|
|
// 非车险
|
|
|
if (StringUtils.isNotEmpty(pResp.getYwpolicUrl())) {
|
|
|
String jyInsUrl = pResp.getYwpolicUrl().replace(";pkid", "&pkid");
|
|
|
- String jyUrl = gainCarInsPolicy(jyInsUrl, licensePlate + jybd, licensePlate);
|
|
|
+ String jyUrl = gainCarInsPolicy(jyInsUrl, licensePlate + policyNo + jybd, licensePlate);
|
|
|
cipDto.setJyUrl(jyUrl);
|
|
|
}
|
|
|
|
|
|
@@ -1237,7 +1236,7 @@ public class YongchengOrderApiServiceImpl implements YongchengOrderApiService {
|
|
|
insAreaCompanyAccidentalDriving.setQuantity(quoteVo.getAccidentalDrivingVo().getQuantity());
|
|
|
insAreaCompanyAccidentalDriving.setRideRiskCode(quoteVo.getAccidentalDrivingVo().getRideRiskCode());
|
|
|
insAreaCompanyAccidentalDriving.setRideRiskName(quoteVo.getAccidentalDrivingVo().getRideRiskName());
|
|
|
- insAreaCompanyService.insertCompanyAndOrders(insAreaCompany,insAreaCompanyAccidentalDriving);
|
|
|
+ insAreaCompanyService.insertCompanyAndOrders(insAreaCompany, insAreaCompanyAccidentalDriving);
|
|
|
return insAreaCompany;
|
|
|
}
|
|
|
|