|
@@ -284,7 +284,7 @@ public class ChengTaiOrderApiServiceImpl implements ChengTaiOrderApiService {
|
|
|
quoteInfoVo.getRiskList().forEach(riskInfoVo -> {
|
|
quoteInfoVo.getRiskList().forEach(riskInfoVo -> {
|
|
|
String start, end = "";
|
|
String start, end = "";
|
|
|
|
|
|
|
|
- if (riskInfoVo.getRiskCode().equals("0507") && finalPremiumCalculationResponse.getHead().getErrorMessage().contains("交强")){
|
|
|
|
|
|
|
+ if (riskInfoVo.getRiskCode().equals("0507") && finalPremiumCalculationResponse.getHead().getErrorMessage().contains("交强")) {
|
|
|
riskInfoVo.setStartDate(formatStartDate);
|
|
riskInfoVo.setStartDate(formatStartDate);
|
|
|
riskInfoVo.setEndDate(formatEndDate);
|
|
riskInfoVo.setEndDate(formatEndDate);
|
|
|
}
|
|
}
|
|
@@ -314,7 +314,10 @@ public class ChengTaiOrderApiServiceImpl implements ChengTaiOrderApiService {
|
|
|
sysQuoteRedisService.refreshQuoteNum(quoteVo.getCompanyId(), quoteInfoVo.getUserid(), sysQuoteRecords);
|
|
sysQuoteRedisService.refreshQuoteNum(quoteVo.getCompanyId(), quoteInfoVo.getUserid(), sysQuoteRecords);
|
|
|
throw new SystemException("报价次数限制");
|
|
throw new SystemException("报价次数限制");
|
|
|
}
|
|
}
|
|
|
|
|
+ } else if (premiumCalculationResponse.getHead().getErrorMessage().contains("重复投保")) {
|
|
|
|
|
+ throw new SystemException(premiumCalculationResponse.getHead().getErrorMessage());
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
// 转保车处理
|
|
// 转保车处理
|
|
|
String ciQuestion = premiumCalculationResponse.getCompRisk() != null
|
|
String ciQuestion = premiumCalculationResponse.getCompRisk() != null
|