|
|
@@ -272,7 +272,7 @@ public class PingAnOrderApiServiceImpl implements PingAnOrderApiService {
|
|
|
}
|
|
|
}
|
|
|
if(models.size()>1){
|
|
|
- throw new SystemException("请确认车型,检索出多个下车型,请填写正确信息");
|
|
|
+ model = models.get(0);
|
|
|
}else if(models.size()==0){
|
|
|
throw new SystemException("未匹配到车型");
|
|
|
}else if(models.size()==1){
|
|
|
@@ -801,7 +801,7 @@ public class PingAnOrderApiServiceImpl implements PingAnOrderApiService {
|
|
|
if(jqbzURL.exists()){
|
|
|
crawlerPolicyPrintVo.setJqxFlagUrl(jqbzUrl_);
|
|
|
}
|
|
|
- if(!jqbdURL.exists() && !jqbzURL.exists() ){
|
|
|
+ if(!jqbdURL.exists() || !jqbzURL.exists() ){
|
|
|
getPdfUrl(parameters, jqpolicyno,ownerInfo,carInfoVo, pinganApiLog, insAreaCompany, crawlerPolicyPrintVo,1);
|
|
|
}
|
|
|
}
|
|
|
@@ -1867,8 +1867,8 @@ public class PingAnOrderApiServiceImpl implements PingAnOrderApiService {
|
|
|
PingAnConfigureParameters parameters = configureParametersComponents.toEntity(PingAnConfigureParameters.class,
|
|
|
ptlAgreementAttribution);
|
|
|
ArrayList<String> list =new ArrayList<>();
|
|
|
- String bizApplyNo = insAreaCompany.getJqapplyno();
|
|
|
- String forceApplyNo =insAreaCompany.getSyapplyno();
|
|
|
+ String forceApplyNo = insAreaCompany.getJqapplyno();
|
|
|
+ String bizApplyNo=insAreaCompany.getSyapplyno();
|
|
|
JSONArray crossInsurance = insAreaCompany.getCrossInsurance();
|
|
|
//非车投保单号
|
|
|
String accidentApplyNo = null;
|