|
@@ -3,7 +3,6 @@ package com.ydtech.modules.order.components.huatai;
|
|
|
|
|
|
|
|
import com.ydtech.modules.order.entity.api.huatai.request.HuaTaiQuotedPriceRequest;
|
|
import com.ydtech.modules.order.entity.api.huatai.request.HuaTaiQuotedPriceRequest;
|
|
|
import com.ydtech.modules.order.entity.api.huatai.response.HuaTaiQuotedPriceResponse;
|
|
import com.ydtech.modules.order.entity.api.huatai.response.HuaTaiQuotedPriceResponse;
|
|
|
-import com.ydtech.modules.order.entity.vo.BaseQuoteInfoVo;
|
|
|
|
|
import lombok.RequiredArgsConstructor;
|
|
import lombok.RequiredArgsConstructor;
|
|
|
import org.springframework.stereotype.Component;
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
|
@@ -41,25 +40,25 @@ public class HuaTaiQuotationProcessorComponent {
|
|
|
// 交强险重复投保
|
|
// 交强险重复投保
|
|
|
b = huaTaiRepeatInsuranceComponents.compulsoryInsurance(quotedPriceRequest, quotedPriceResponse, warnMessageList);
|
|
b = huaTaiRepeatInsuranceComponents.compulsoryInsurance(quotedPriceRequest, quotedPriceResponse, warnMessageList);
|
|
|
if (b) {
|
|
if (b) {
|
|
|
- return handler(quotedPriceRequest, warnMessageList);
|
|
|
|
|
|
|
+ quotedPriceResponse = handler(quotedPriceRequest, warnMessageList);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// 商业险重复投保
|
|
// 商业险重复投保
|
|
|
b = huaTaiRepeatInsuranceComponents.commercialInsurance(quotedPriceRequest, quotedPriceResponse, warnMessageList);
|
|
b = huaTaiRepeatInsuranceComponents.commercialInsurance(quotedPriceRequest, quotedPriceResponse, warnMessageList);
|
|
|
if (b) {
|
|
if (b) {
|
|
|
- return handler(quotedPriceRequest, warnMessageList);
|
|
|
|
|
|
|
+ quotedPriceResponse = handler(quotedPriceRequest, warnMessageList);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// 校验码
|
|
// 校验码
|
|
|
b = huaTaiReinsuranceComponents.processor(quotedPriceResponse, quotedPriceRequest);
|
|
b = huaTaiReinsuranceComponents.processor(quotedPriceResponse, quotedPriceRequest);
|
|
|
if (b) {
|
|
if (b) {
|
|
|
- return handler(quotedPriceRequest, warnMessageList);
|
|
|
|
|
|
|
+ quotedPriceResponse = handler(quotedPriceRequest, warnMessageList);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// 校验码有误
|
|
// 校验码有误
|
|
|
b = huaTaiReinsuranceComponents.processor(quotedPriceResponse);
|
|
b = huaTaiReinsuranceComponents.processor(quotedPriceResponse);
|
|
|
if (b) {
|
|
if (b) {
|
|
|
- return handler(quotedPriceRequest, warnMessageList);
|
|
|
|
|
|
|
+ quotedPriceResponse = handler(quotedPriceRequest, warnMessageList);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|