|
|
@@ -16,9 +16,7 @@ import org.springframework.context.annotation.Lazy;
|
|
|
import org.springframework.http.HttpHeaders;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
-import java.text.SimpleDateFormat;
|
|
|
-import java.util.regex.Matcher;
|
|
|
-import java.util.regex.Pattern;
|
|
|
+import java.util.Optional;
|
|
|
|
|
|
|
|
|
/**
|
|
|
@@ -56,6 +54,13 @@ public class ZijinDuplicateInsuranceComponents extends ResponseMessageAbstractHa
|
|
|
String message,
|
|
|
QueryActualValueRequest queryActualValueRequest,
|
|
|
boolean retry) {
|
|
|
+
|
|
|
+ // 待支付修改
|
|
|
+ String s = Optional.ofNullable(message).orElse("");
|
|
|
+ if (s.contains(ResultEnum.R_ZGD_001.getDesc())) {
|
|
|
+ throw new SystemException(message);
|
|
|
+ }
|
|
|
+
|
|
|
InsuranceLog.infoLog(InsuranceEnum.ZKIC.getPinyin(), "\n\t---------> {}\n\t---------> {}", "紫金财险重复投保处理",
|
|
|
calculatePremiumResponse.getRtnMsg());
|
|
|
String rtnMsg = calculatePremiumResponse.getRtnMsg();
|