|
@@ -65,7 +65,6 @@ import com.ydtech.modules.order.entity.api.yongcheng.constants.MessageStatusCode
|
|
|
import com.ydtech.modules.order.entity.api.yongcheng.request.AccidentUnderwritingRequest;
|
|
import com.ydtech.modules.order.entity.api.yongcheng.request.AccidentUnderwritingRequest;
|
|
|
import com.ydtech.modules.order.entity.api.yongcheng.request.ProposalPolicyReturnRequest;
|
|
import com.ydtech.modules.order.entity.api.yongcheng.request.ProposalPolicyReturnRequest;
|
|
|
import com.ydtech.modules.order.entity.api.yongcheng.response.AccidentUnderwritingResponse;
|
|
import com.ydtech.modules.order.entity.api.yongcheng.response.AccidentUnderwritingResponse;
|
|
|
-import com.ydtech.modules.order.entity.api.zhongmei.response.OrderStatusResponse;
|
|
|
|
|
import com.ydtech.modules.order.entity.crawler.request.RecognitionRequest;
|
|
import com.ydtech.modules.order.entity.crawler.request.RecognitionRequest;
|
|
|
import com.ydtech.modules.order.entity.crawler.response.RecognitionResponse;
|
|
import com.ydtech.modules.order.entity.crawler.response.RecognitionResponse;
|
|
|
import com.ydtech.modules.order.entity.dto.DrivingInsuranceDto;
|
|
import com.ydtech.modules.order.entity.dto.DrivingInsuranceDto;
|
|
@@ -79,7 +78,6 @@ import com.ydtech.modules.protocol.entity.po.PtlAgreementAttribution;
|
|
|
import com.ydtech.modules.protocol.service.PtlAgreementAttributionService;
|
|
import com.ydtech.modules.protocol.service.PtlAgreementAttributionService;
|
|
|
import com.ydtech.modules.protocol.utils.AssertionUtils;
|
|
import com.ydtech.modules.protocol.utils.AssertionUtils;
|
|
|
import com.ydtech.utils.DateTimeUtil;
|
|
import com.ydtech.utils.DateTimeUtil;
|
|
|
-import com.ydtech.utils.OrderUtils;
|
|
|
|
|
import com.ydtech.utils.StringUtils;
|
|
import com.ydtech.utils.StringUtils;
|
|
|
import com.ydtech.utils.baidu.FileUtil;
|
|
import com.ydtech.utils.baidu.FileUtil;
|
|
|
import lombok.AllArgsConstructor;
|
|
import lombok.AllArgsConstructor;
|
|
@@ -1562,26 +1560,26 @@ public class YongchengOrderApiServiceImpl implements YongchengOrderApiService {
|
|
|
//标志
|
|
//标志
|
|
|
if (StringUtils.isNotEmpty(pResp.getPolicyBZUrl())) {
|
|
if (StringUtils.isNotEmpty(pResp.getPolicyBZUrl())) {
|
|
|
String bzInsUrl = pResp.getPolicyBZUrl().replaceAll(";pkid", "&pkid");
|
|
String bzInsUrl = pResp.getPolicyBZUrl().replaceAll(";pkid", "&pkid");
|
|
|
- String jqFlagUrl = gainCarInsPolicyNew(bzInsUrl, insAreaCompany.getInscompany()+"-"+insAreaCompany.getId()+"-"+insOrders.getLicenseno() +"-"+policyNo +"-"+ InsuranceOrderPdf.JQBZ.getDesc(), insAreaCompany.getId(),flag);
|
|
|
|
|
|
|
+ String jqFlagUrl = gainCarInsPolicyNew(bzInsUrl, insAreaCompany.getInscompany()+"-"+insOrders.getLicenseno() +"-"+insAreaCompany.getId()+"-"+policyNo +"-"+ InsuranceOrderPdf.JQBZ.getDesc(), insAreaCompany.getId(),flag);
|
|
|
cipDto.setJqFlagUrl(jqFlagUrl);
|
|
cipDto.setJqFlagUrl(jqFlagUrl);
|
|
|
}
|
|
}
|
|
|
//交强
|
|
//交强
|
|
|
if (StringUtils.isNotEmpty(pResp.getJqpolicyUrl())) {
|
|
if (StringUtils.isNotEmpty(pResp.getJqpolicyUrl())) {
|
|
|
String jqInsUrl = pResp.getJqpolicyUrl().replace(";pkid", "&pkid");
|
|
String jqInsUrl = pResp.getJqpolicyUrl().replace(";pkid", "&pkid");
|
|
|
- String jqUrl = gainCarInsPolicyNew(jqInsUrl, insAreaCompany.getInscompany()+"-"+insAreaCompany.getId()+"-"+insOrders.getLicenseno() +"-"+policyNo +"-"+ InsuranceOrderPdf.JQBD.getDesc(), insAreaCompany.getId(),flag);
|
|
|
|
|
|
|
+ String jqUrl = gainCarInsPolicyNew(jqInsUrl, insAreaCompany.getInscompany()+"-"+insOrders.getLicenseno() +"-"+insAreaCompany.getId()+"-"+policyNo +"-"+ InsuranceOrderPdf.JQBD.getDesc(), insAreaCompany.getId(),flag);
|
|
|
cipDto.setJqUrl(jqUrl);
|
|
cipDto.setJqUrl(jqUrl);
|
|
|
}
|
|
}
|
|
|
//商业
|
|
//商业
|
|
|
if (StringUtils.isNotEmpty(pResp.getSypolicyUrl())) {
|
|
if (StringUtils.isNotEmpty(pResp.getSypolicyUrl())) {
|
|
|
String syInsUrl = pResp.getSypolicyUrl().replace(";pkid", "&pkid");
|
|
String syInsUrl = pResp.getSypolicyUrl().replace(";pkid", "&pkid");
|
|
|
- String syUrl = gainCarInsPolicyNew(syInsUrl, insAreaCompany.getInscompany()+"-"+insAreaCompany.getId()+"-"+insOrders.getLicenseno() +"-"+policyNo +"-"+ InsuranceOrderPdf.SYBD.getDesc(), insAreaCompany.getId(),flag);
|
|
|
|
|
|
|
+ String syUrl = gainCarInsPolicyNew(syInsUrl, insAreaCompany.getInscompany()+"-"+insOrders.getLicenseno()+"-"+ insAreaCompany.getId()+"-"+policyNo +"-"+ InsuranceOrderPdf.SYBD.getDesc(), insAreaCompany.getId(),flag);
|
|
|
cipDto.setSyUrl(syUrl);
|
|
cipDto.setSyUrl(syUrl);
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
// 非车险
|
|
// 非车险
|
|
|
if (StringUtils.isNotEmpty(pResp.getYwpolicUrl())) {
|
|
if (StringUtils.isNotEmpty(pResp.getYwpolicUrl())) {
|
|
|
String jyInsUrl = pResp.getYwpolicUrl().replace(";pkid", "&pkid");
|
|
String jyInsUrl = pResp.getYwpolicUrl().replace(";pkid", "&pkid");
|
|
|
- String jyUrl = gainCarInsPolicyNew(jyInsUrl, insAreaCompany.getInscompany()+"-"+insAreaCompany.getId()+"-"+insOrders.getLicenseno() +"-"+ policyNo + "-"+InsuranceOrderPdf.JYBD.getDesc(), insAreaCompany.getId(),flag);
|
|
|
|
|
|
|
+ String jyUrl = gainCarInsPolicyNew(jyInsUrl, insAreaCompany.getInscompany()+"-"+insOrders.getLicenseno() +"-"+insAreaCompany.getId()+"-"+ policyNo + "-"+InsuranceOrderPdf.JYBD.getDesc(), insAreaCompany.getId(),flag);
|
|
|
cipDto.setJyUrl(jyUrl);
|
|
cipDto.setJyUrl(jyUrl);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|