|
|
@@ -9,6 +9,7 @@ import com.ydtech.modules.order.entity.api.huatai.request.HuaTaiQuotedPriceReque
|
|
|
import com.ydtech.modules.order.entity.api.huatai.response.HuaTaiQuotedPriceResponse;
|
|
|
import com.ydtech.modules.order.entity.api.zhongmei.constants.TimeConstants;
|
|
|
import com.ydtech.modules.order.utils.InsuranceLog;
|
|
|
+import com.ydtech.utils.StringOperations;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.apache.commons.lang3.ObjectUtils;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
@@ -75,6 +76,8 @@ public class HuaTaiRepeatInsuranceComponents {
|
|
|
if (StringUtils.isNotEmpty(returnMessage) && returnMessage.contains("重复投保")) {
|
|
|
String jqEndDate = GuorenDuplicateInsuranceComponent.getEndDate(returnMessage,
|
|
|
GuorenDuplicateInsuranceComponent.THE_FIRST_REGEX);
|
|
|
+ StringOperations.nullException(jqEndDate, returnMessage);
|
|
|
+
|
|
|
warnMessageList.add(returnMessage);
|
|
|
getPeriodDate(jqEndDate, contractMain);
|
|
|
return true;
|
|
|
@@ -123,6 +126,7 @@ public class HuaTaiRepeatInsuranceComponents {
|
|
|
String syEndDate = GuorenDuplicateInsuranceComponent.getEndDate(reInsureMsg,
|
|
|
GuorenDuplicateInsuranceComponent.THE_FIRST_REGEX);
|
|
|
warnMessageList.add(reInsureMsg);
|
|
|
+ StringOperations.nullException(syEndDate, reInsureMsg);
|
|
|
getPeriodDate(syEndDate, contractMain);
|
|
|
return true;
|
|
|
}
|