|
|
@@ -186,11 +186,16 @@ public class ZhongMeiOrderApiServiceImpl implements ZhongMeiOrderApiService {
|
|
|
}
|
|
|
}
|
|
|
QuoteRespVo quoteRespVo = getQuoteRespVo(quotedPriceResponse, quoteInfo);
|
|
|
- if(quotedPriceResponse.getBizPlatformMsg()!=null && StringUtils.isNotEmpty(quotedPriceResponse.getBizPlatformMsg().getAnswer())){
|
|
|
- if(quotedPriceResponse.getBizPlatformMsg().getAnswer().contains("起保日期")&"edPriceResponse.getBizPlatformMsg().getAnswer().contains("终保日期")){
|
|
|
- quotedPriceResponse = zhongmeiRepeatInsuranceComponents.dealRepeatDate(quotedPriceRequest,quotedPriceResponse,quoteInfo);
|
|
|
- quoteRespVo = getQuoteRespVo(quotedPriceResponse, quoteInfo);
|
|
|
- }
|
|
|
+ boolean repeatFlag = false;
|
|
|
+ if(quotedPriceResponse.getBizPlatformMsg()!=null && StringUtils.isNotEmpty(quotedPriceResponse.getBizPlatformMsg().getAnswer())&& quotedPriceResponse.getBizPlatformMsg().getAnswer().contains("起保日期")&"edPriceResponse.getBizPlatformMsg().getAnswer().contains("终保日期")){
|
|
|
+ repeatFlag = true;
|
|
|
+ }
|
|
|
+ if(quotedPriceResponse.getForcePlatformMsg()!=null && StringUtils.isNotEmpty(quotedPriceResponse.getForcePlatformMsg().getAnswer())&& quotedPriceResponse.getForcePlatformMsg().getAnswer().contains("起保日期")&"edPriceResponse.getForcePlatformMsg().getAnswer().contains("终保日期")){
|
|
|
+ repeatFlag = true;
|
|
|
+ }
|
|
|
+ if(repeatFlag){
|
|
|
+ quotedPriceResponse = zhongmeiRepeatInsuranceComponents.dealRepeatDate(quotedPriceRequest,quotedPriceResponse,quoteInfo);
|
|
|
+ quoteRespVo = getQuoteRespVo(quotedPriceResponse, quoteInfo);
|
|
|
}
|
|
|
//这里调用费用匹配功能
|
|
|
feeRuleSchemeService.dealFeeOrderInfo(quoteInfo,quoteRespVo,ptlAgreementAttribution.getId(),quotedPriceResponse.getBusinessNo());
|