|
|
@@ -38,10 +38,12 @@ public class ZijinSystemExceptionComponents {
|
|
|
public CalculatePremiumResponse exceptionProcessing(CalculatePremiumResponse calculatePremiumResponse) {
|
|
|
InsuranceLog.infoLog(InsuranceEnum.ZKIC.getPinyin(), "\n\t---------> {}\n\t---------> {}", "紫金财险 999 异常处理", calculatePremiumResponse.getRtnMsg());
|
|
|
String rtnMsg = calculatePremiumResponse.getRtnMsg();
|
|
|
+
|
|
|
if (rtnMsg.contains(ResultEnum.R_93169.getCode())) {
|
|
|
- throw new SystemException("请重新报价!");
|
|
|
+ throw new SystemException("稍等一会,再重新报价!");
|
|
|
}
|
|
|
- return calculatePremiumResponse;
|
|
|
+
|
|
|
+ throw new SystemException(rtnMsg);
|
|
|
}
|
|
|
|
|
|
@AllArgsConstructor
|