|
|
@@ -55,7 +55,7 @@ public class TkCrawlerQuoteResultsBuild {
|
|
|
* @param preciseInitResult 报价初始化结果
|
|
|
* @return 构建结果,所有条件都不满足时返回 null
|
|
|
*/
|
|
|
- public QuoteResultsVo buildQuoteFailResultsVo(PreciseInitResult preciseInitResult) {
|
|
|
+ public QuoteResultsVo buildQuoteFailResultsVo(PreciseInitResult preciseInitResult, boolean initFlag) {
|
|
|
TKOther other = preciseInitResult.getOther();
|
|
|
String errorMessage = null;
|
|
|
|
|
|
@@ -63,13 +63,14 @@ public class TkCrawlerQuoteResultsBuild {
|
|
|
errorMessage = other.getVehicleOwnerMessage();
|
|
|
} else if (other.getMessageBZ() != null && other.getMessageBZ().size() >= 2) {
|
|
|
errorMessage = other.getMessageBZ().get(0) + "\n" + other.getMessageBZ().get(1);
|
|
|
- } else if (preciseInitResult.getPremium() == null) {
|
|
|
+ }
|
|
|
+
|
|
|
+ // 初始化有提示跳过,应该属于警告信息(目前只遇到选择的三者险是300万,初始化依然提示:规则管控提示$商业三者险保额请选择300万以上),后续看是否有其他情况影响报价,如果出现其他情况,对这个提示单独处理放行
|
|
|
+ if (!initFlag && preciseInitResult.getPremium() == null) {
|
|
|
+ errorMessage = other.getNotice();
|
|
|
+ } else if (!initFlag && other.getNotice() != null && !other.getNotice().isEmpty()) {
|
|
|
errorMessage = other.getNotice();
|
|
|
}
|
|
|
- // 直接有提示跳过,应该属于警告信息(目前只遇到选择的三者险是300万,初始化依然提示:规则管控提示$商业三者险保额请选择300万以上),后续看是否有其他情况影响报价,如果出现其他情况,对这个提示单独处理放行
|
|
|
- // else if (other.getNotice() != null && !other.getNotice().isEmpty()) {
|
|
|
- // errorMessage = other.getNotice();
|
|
|
- // }
|
|
|
|
|
|
if (errorMessage == null) {
|
|
|
return null;
|