소스 검색

交强险终保日期

wks 3 년 전
부모
커밋
6bf6dc9c7c
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      src/main/java/com/ydtech/modules/order/components/zj/ZijinSystemExceptionComponents.java

+ 1 - 2
src/main/java/com/ydtech/modules/order/components/zj/ZijinSystemExceptionComponents.java

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