|
@@ -39,7 +39,6 @@ public class ZijinSystemExceptionComponents {
|
|
|
InsuranceLog.infoLog(InsuranceEnum.ZKIC.getPinyin(), "\n\t---------> {}\n\t---------> {}", "紫金财险 999 异常处理", calculatePremiumResponse.getRtnMsg());
|
|
InsuranceLog.infoLog(InsuranceEnum.ZKIC.getPinyin(), "\n\t---------> {}\n\t---------> {}", "紫金财险 999 异常处理", calculatePremiumResponse.getRtnMsg());
|
|
|
String rtnMsg = calculatePremiumResponse.getRtnMsg();
|
|
String rtnMsg = calculatePremiumResponse.getRtnMsg();
|
|
|
if (rtnMsg.contains(ResultEnum.R_93169.getCode())) {
|
|
if (rtnMsg.contains(ResultEnum.R_93169.getCode())) {
|
|
|
-
|
|
|
|
|
try {
|
|
try {
|
|
|
Thread.sleep(1000);
|
|
Thread.sleep(1000);
|
|
|
} catch (InterruptedException e) {
|
|
} catch (InterruptedException e) {
|
|
@@ -49,7 +48,7 @@ public class ZijinSystemExceptionComponents {
|
|
|
|
|
|
|
|
return zijinRequestApiComponents.calculatePremium(calculatePremiumRequest, httpHeaders, modelQueryRequest);
|
|
return zijinRequestApiComponents.calculatePremium(calculatePremiumRequest, httpHeaders, modelQueryRequest);
|
|
|
}
|
|
}
|
|
|
- throw new SystemException(calculatePremiumResponse.getRtnMsg());
|
|
|
|
|
|
|
+ return calculatePremiumResponse;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@AllArgsConstructor
|
|
@AllArgsConstructor
|