|
|
@@ -5,6 +5,7 @@ import com.jzg.commons.constants.dict.InsOrderStatusEnum;
|
|
|
import com.jzg.commons.entity.quote.vo.QuoteVo;
|
|
|
import com.jzg.commons.entity.quote.vo.aggregated.*;
|
|
|
import com.jzg.commons.entity.quote.vo.base.LoginBase;
|
|
|
+import com.jzg.commons.exception.SystemException;
|
|
|
import com.jzg.commons.util.StringUtils;
|
|
|
import com.jzg.quotation.ansheng.crawler.build.AnShengCrawlerApplyApplicationRequestBuild;
|
|
|
import com.jzg.quotation.ansheng.crawler.build.AnShengCrawlerQuoteResultsVoBuild;
|
|
|
@@ -20,7 +21,9 @@ import com.jzg.quotation.ansheng.crawler.service.AnShengCrawlerQuoteProcessServi
|
|
|
import com.jzg.quotation.ansheng.crawler.service.AnShengCrawlerRequest;
|
|
|
import com.jzg.quotation.ansheng.crawler.utils.CheckVehicleCodeSecretGenerateUtils;
|
|
|
import com.jzg.quotation.commons.annotation.QuoteCrawlerService;
|
|
|
+import com.jzg.quotation.commons.component.DistributedLockComponent;
|
|
|
import com.jzg.quotation.commons.constant.InsuranceCode;
|
|
|
+import com.jzg.quotation.commons.entity.DetectLoginRequest;
|
|
|
import com.jzg.quotation.commons.filter.CarModelsFilterUtils;
|
|
|
import com.jzg.quotation.commons.utils.TimeProcessing;
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
@@ -49,6 +52,8 @@ public class AnShengCrawlerRequestImpl implements AnShengCrawlerRequest {
|
|
|
|
|
|
private final AnShengCrawlerCacheComponent anShengCrawlerCacheComponent;
|
|
|
|
|
|
+ private final DistributedLockComponent distributedLockComponent;
|
|
|
+
|
|
|
private final AnShengCrawlerQuoteProcessService anShengCrawlerQuoteProcessService;
|
|
|
|
|
|
@Override
|
|
|
@@ -56,16 +61,29 @@ public class AnShengCrawlerRequestImpl implements AnShengCrawlerRequest {
|
|
|
anShengCrawlerLoginService.login(loginBase.getUsername(), loginBase.getPassword());
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
+ public boolean detectLogin(DetectLoginRequest detectLoginRequest) {
|
|
|
+ String username = detectLoginRequest.getUsername();
|
|
|
+ String password = detectLoginRequest.getPassword();
|
|
|
+ String authorization = anShengCrawlerCacheComponent.getAuthorization(detectLoginRequest.getUsername());
|
|
|
+ if (!StringUtils.hasText(authorization)) {
|
|
|
+ try {
|
|
|
+ authorization = distributedLockComponent.blockingExecute(AnShengCrawlerCacheComponent.ACCOUNT_LOCKOUT + detectLoginRequest.getUsername(), () -> anShengCrawlerLoginService.login(username, password));
|
|
|
+ } catch (Exception e) {
|
|
|
+ throw new SystemException("登录失败");
|
|
|
+ }
|
|
|
+ }
|
|
|
+ return StringUtils.hasText(authorization);
|
|
|
+ }
|
|
|
+
|
|
|
@Override
|
|
|
public QuoteResultsVo quote(QuoteVo quoteVo) {
|
|
|
// 订单号
|
|
|
final String ordersNo = quoteVo.getOrder().getOrdersNo();
|
|
|
// 请求头信息
|
|
|
- HttpHeaders httpHeaders = anShengCrawlerQuoteProcessService.getHttpHeaders(quoteVo.getOrder()
|
|
|
- .getAttributionInformationVo());
|
|
|
+ HttpHeaders httpHeaders = anShengCrawlerQuoteProcessService.getHttpHeaders(quoteVo.getOrder().getAttributionInformationVo());
|
|
|
// 归属信息
|
|
|
- AnShengCrawlerGetUserDetailResponse.DataDTO.AgentDefineDTO userDetailResponse = anShengCrawlerQuoteProcessService.getUserDetailResponse(quoteVo.getOrder()
|
|
|
- .getAgreementId(), httpHeaders);
|
|
|
+ AnShengCrawlerGetUserDetailResponse.DataDTO.AgentDefineDTO userDetailResponse = anShengCrawlerQuoteProcessService.getUserDetailResponse(quoteVo.getOrder().getAgreementId(), httpHeaders);
|
|
|
|
|
|
DepartmentPlanCode departmentPlanCode = DepartmentPlanCode.PLAN_109;
|
|
|
// 新能源
|
|
|
@@ -85,7 +103,7 @@ public class AnShengCrawlerRequestImpl implements AnShengCrawlerRequest {
|
|
|
AnShengCrawlerSearchVehicleByVinResponse.DataDTO dataDTO = CarModelsFilterUtils.to(dataDTOS, quoteVo.getCarInfoVo());
|
|
|
// 报价
|
|
|
AnShengCrawlerCalculatePremiumApplyMessage crawlerCalculatePremiumApply = new AnShengCrawlerCalculatePremiumApplyMessage(quoteVo, dataDTO, userDetailResponse, departmentPlanCode, checkVehicleCodeSecretGenerate);
|
|
|
- log.info("安盛报价参数:{}",JSONObject.toJSONString(crawlerCalculatePremiumApply));
|
|
|
+ log.info("安盛报价参数:{}", JSONObject.toJSONString(crawlerCalculatePremiumApply));
|
|
|
AnShengCrawlerCalculatePremiumApplyResponse calculatePremiumApply = anShengCrawlerRequestComponent.calculatePremiumApply(crawlerCalculatePremiumApply, httpHeaders);
|
|
|
// 处理重复投保
|
|
|
if (calculatePremiumApply.getMessage().contains("重复投保")) {
|
|
|
@@ -93,22 +111,22 @@ public class AnShengCrawlerRequestImpl implements AnShengCrawlerRequest {
|
|
|
String endTime = TimeProcessing.minusOneSecondAfterYear(startTime);
|
|
|
crawlerCalculatePremiumApply.getContracts().get(0).getPolicyBase().setInsuranceBeginTime(startTime);
|
|
|
crawlerCalculatePremiumApply.getContracts().get(0).getPolicyBase().setInsuranceEndTime(endTime);
|
|
|
- log.info("安盛报价重复投保参数:{}",JSONObject.toJSONString(crawlerCalculatePremiumApply));
|
|
|
+ log.info("安盛报价重复投保参数:{}", JSONObject.toJSONString(crawlerCalculatePremiumApply));
|
|
|
calculatePremiumApply = anShengCrawlerRequestComponent.calculatePremiumApply(crawlerCalculatePremiumApply, httpHeaders);
|
|
|
}
|
|
|
if (calculatePremiumApply.getCode() == 200) {
|
|
|
// 缓存报价信息
|
|
|
// 处理报价返回起止时间
|
|
|
- calculatePremiumApply.getData().getContracts().forEach(v ->{
|
|
|
- crawlerCalculatePremiumApply.getContracts().forEach(va ->{
|
|
|
+ calculatePremiumApply.getData().getContracts().forEach(v -> {
|
|
|
+ crawlerCalculatePremiumApply.getContracts().forEach(va -> {
|
|
|
AnShengCrawlerCalculatePremiumApplyMessage.ContractsDTO.PolicyBaseDTO policyBase = va.getPolicyBase();
|
|
|
- if (StringUtils.equals(v.getPlanCode(),policyBase.getPlanCode())){
|
|
|
+ if (StringUtils.equals(v.getPlanCode(), policyBase.getPlanCode())) {
|
|
|
policyBase.setInsuranceBeginTime(v.getInsuranceBeginTime());
|
|
|
policyBase.setInsuranceEndTime(v.getInsuranceEndTime());
|
|
|
}
|
|
|
});
|
|
|
});
|
|
|
- log.info("安盛报价返回数据:{}",JSONObject.toJSONString(calculatePremiumApply));
|
|
|
+ log.info("安盛报价返回数据:{}", JSONObject.toJSONString(calculatePremiumApply));
|
|
|
AnShengCrawlerApplyApplicationRequest autoSpecialPromiseRequest = AnShengCrawlerApplyApplicationRequestBuild.build(crawlerCalculatePremiumApply, calculatePremiumApply, userDetailResponse, compulsoryVersionNo);
|
|
|
// 缓存数据
|
|
|
anShengCrawlerCacheComponent.cacheQuoteRequest(ordersNo, autoSpecialPromiseRequest);
|
|
|
@@ -123,6 +141,7 @@ public class AnShengCrawlerRequestImpl implements AnShengCrawlerRequest {
|
|
|
|
|
|
/**
|
|
|
* 提取系统自动分配的起保时间
|
|
|
+ *
|
|
|
* @param returnMessage 核心提示
|
|
|
* @return 提取到的时间字符串,未提取到返回 null
|
|
|
*/
|
|
|
@@ -142,35 +161,27 @@ public class AnShengCrawlerRequestImpl implements AnShengCrawlerRequest {
|
|
|
// 获取报价信息
|
|
|
AnShengCrawlerApplyApplicationRequest applicationRequest = anShengCrawlerCacheComponent.getQuoteResponse(ordersNo);
|
|
|
// 获取图片上传信息
|
|
|
- List<AnShengCrawlerApplyApplicationRequest.ContractsDTO.PolicyAttachmentsDTO> imagesInfo = anShengCrawlerCacheComponent.getImagesInfo(underwritingVo.getOrder()
|
|
|
- .getOrdersNo());
|
|
|
+ List<AnShengCrawlerApplyApplicationRequest.ContractsDTO.PolicyAttachmentsDTO> imagesInfo = anShengCrawlerCacheComponent.getImagesInfo(underwritingVo.getOrder().getOrdersNo());
|
|
|
// 请求头
|
|
|
- HttpHeaders httpHeaders = anShengCrawlerQuoteProcessService.getHttpHeaders(underwritingVo.getOrder()
|
|
|
- .getAttributionInformationVo());
|
|
|
+ HttpHeaders httpHeaders = anShengCrawlerQuoteProcessService.getHttpHeaders(underwritingVo.getOrder().getAttributionInformationVo());
|
|
|
// 获取特别约定
|
|
|
AnShengCrawlerAutoSpecialPromiseResponse autoSpecialPromiseResponse = anShengCrawlerRequestComponent.autoSpecialPromise(applicationRequest, httpHeaders);
|
|
|
// 核保规则
|
|
|
AnShengCrawlerRuleCheckForSimpleResponse anShengCrawlerApplyApplicationResponse = anShengCrawlerRequestComponent.principiumRuleCheckForSimple(applicationRequest, httpHeaders);
|
|
|
- Map<String, AnShengCrawlerAutoSpecialPromiseResponse.DataDTO> stringDataDTOMap = autoSpecialPromiseResponse.getData()
|
|
|
- .stream()
|
|
|
- .collect(Collectors.toMap(AnShengCrawlerAutoSpecialPromiseResponse.DataDTO::getPlanCode, x -> x));
|
|
|
- Map<String, AnShengCrawlerRuleCheckForSimpleResponse.DataDTO> ruleCheckForSimpleData = anShengCrawlerApplyApplicationResponse.getData()
|
|
|
- .stream()
|
|
|
- .collect(Collectors.toMap(AnShengCrawlerRuleCheckForSimpleResponse.DataDTO::getPlanCode, x -> x));
|
|
|
+ Map<String, AnShengCrawlerAutoSpecialPromiseResponse.DataDTO> stringDataDTOMap = autoSpecialPromiseResponse.getData().stream().collect(Collectors.toMap(AnShengCrawlerAutoSpecialPromiseResponse.DataDTO::getPlanCode, x -> x));
|
|
|
+ Map<String, AnShengCrawlerRuleCheckForSimpleResponse.DataDTO> ruleCheckForSimpleData = anShengCrawlerApplyApplicationResponse.getData().stream().collect(Collectors.toMap(AnShengCrawlerRuleCheckForSimpleResponse.DataDTO::getPlanCode, x -> x));
|
|
|
// 核保加入上传的影像、特别约定信息
|
|
|
applicationRequest.getContracts().forEach(contract -> {
|
|
|
// 特别约定
|
|
|
- AnShengCrawlerAutoSpecialPromiseResponse.DataDTO promiseData = stringDataDTOMap.get(contract.getPolicyBase()
|
|
|
- .getPlanCode());
|
|
|
+ AnShengCrawlerAutoSpecialPromiseResponse.DataDTO promiseData = stringDataDTOMap.get(contract.getPolicyBase().getPlanCode());
|
|
|
// 核保规则
|
|
|
- AnShengCrawlerRuleCheckForSimpleResponse.DataDTO simpleData = ruleCheckForSimpleData.get(contract.getPolicyBase()
|
|
|
- .getPlanCode());
|
|
|
+ AnShengCrawlerRuleCheckForSimpleResponse.DataDTO simpleData = ruleCheckForSimpleData.get(contract.getPolicyBase().getPlanCode());
|
|
|
contract.getPolicyBase().setAlterableSpecialPromise(promiseData.getAlterableSpecialPromise());
|
|
|
contract.setPolicyAttachments(new ArrayList<>());
|
|
|
contract.getPolicyBase().setFirstTrialTaskNo(simpleData.getFirstTrialTaskNo());
|
|
|
contract.getTargetList().get(0).setVehicleTax(applicationRequest.getContracts().get(0).getTargetList().get(0).getVehicleTax());
|
|
|
});
|
|
|
- log.info("安盛核保参数:{}",JSONObject.toJSONString(applicationRequest));
|
|
|
+ log.info("安盛核保参数:{}", JSONObject.toJSONString(applicationRequest));
|
|
|
// 核保
|
|
|
AnShengCrawlerApplyApplicationResponse applyApplicationResponse = anShengCrawlerRequestComponent.applyApplication(applicationRequest, httpHeaders);
|
|
|
// 投保订单号保存
|
|
|
@@ -194,31 +205,28 @@ public class AnShengCrawlerRequestImpl implements AnShengCrawlerRequest {
|
|
|
|
|
|
/**
|
|
|
* 保存投保单号
|
|
|
- * @param ordersNo 订单号
|
|
|
+ *
|
|
|
+ * @param ordersNo 订单号
|
|
|
* @param applyApplicationResponse 核保信息
|
|
|
*/
|
|
|
private void saveThePolicyNumber(String ordersNo, AnShengCrawlerApplyApplicationResponse applyApplicationResponse) {
|
|
|
log.info("安盛核保返回参数:{}", JSONObject.toJSONString(applyApplicationResponse));
|
|
|
AnShengCrawlerOrder anShengCrawlerOrder = anShengCrawlerOrderService.getById(ordersNo);
|
|
|
List<AnShengCrawlerOrder.NiInfo> niInfoList = new ArrayList<>();
|
|
|
- Optional.ofNullable(applyApplicationResponse.getData())
|
|
|
- .orElse(new ArrayList<>())
|
|
|
- .forEach(dataDTO -> {
|
|
|
- // 交强险
|
|
|
- if (DepartmentPlanCode.PLAN_105.getCode().equals(dataDTO.getPlanCode())) {
|
|
|
- anShengCrawlerOrder.setCiPolicyNo(dataDTO.getApplyPolicyNo());
|
|
|
- // 商业险
|
|
|
- } else if (DepartmentPlanCode.PLAN_109.getCode()
|
|
|
- .equals(dataDTO.getPlanCode()) || DepartmentPlanCode.PLAN_113.getCode()
|
|
|
- .equals(dataDTO.getPlanCode())) {
|
|
|
- anShengCrawlerOrder.setBiPolicyNo(dataDTO.getApplyPolicyNo());
|
|
|
- }else {
|
|
|
- String jy = com.jzg.commons.util.StringUtils.isEmpty(dataDTO.getProductCode()) ? "" : dataDTO.getProductCode();
|
|
|
- AnShengCrawlerOrder.NiInfo niInfo = new AnShengCrawlerOrder.NiInfo();
|
|
|
- niInfo.setNiPolicyNo(jy);
|
|
|
- niInfoList.add(niInfo);
|
|
|
- }
|
|
|
- });
|
|
|
+ Optional.ofNullable(applyApplicationResponse.getData()).orElse(new ArrayList<>()).forEach(dataDTO -> {
|
|
|
+ // 交强险
|
|
|
+ if (DepartmentPlanCode.PLAN_105.getCode().equals(dataDTO.getPlanCode())) {
|
|
|
+ anShengCrawlerOrder.setCiPolicyNo(dataDTO.getApplyPolicyNo());
|
|
|
+ // 商业险
|
|
|
+ } else if (DepartmentPlanCode.PLAN_109.getCode().equals(dataDTO.getPlanCode()) || DepartmentPlanCode.PLAN_113.getCode().equals(dataDTO.getPlanCode())) {
|
|
|
+ anShengCrawlerOrder.setBiPolicyNo(dataDTO.getApplyPolicyNo());
|
|
|
+ } else {
|
|
|
+ String jy = com.jzg.commons.util.StringUtils.isEmpty(dataDTO.getProductCode()) ? "" : dataDTO.getProductCode();
|
|
|
+ AnShengCrawlerOrder.NiInfo niInfo = new AnShengCrawlerOrder.NiInfo();
|
|
|
+ niInfo.setNiPolicyNo(jy);
|
|
|
+ niInfoList.add(niInfo);
|
|
|
+ }
|
|
|
+ });
|
|
|
anShengCrawlerOrder.setNiInfos(niInfoList);
|
|
|
anShengCrawlerOrderService.saveAnShengCrawlerOrder(anShengCrawlerOrder);
|
|
|
}
|
|
|
@@ -227,25 +235,21 @@ public class AnShengCrawlerRequestImpl implements AnShengCrawlerRequest {
|
|
|
@Override
|
|
|
public PaymentLinkResultsVo getPaymentLink(PaymentLinkVo paymentLinkVo) {
|
|
|
// 请求头
|
|
|
- HttpHeaders httpHeaders = anShengCrawlerQuoteProcessService.getHttpHeaders(paymentLinkVo.getOrder()
|
|
|
- .getAttributionInformationVo());
|
|
|
+ HttpHeaders httpHeaders = anShengCrawlerQuoteProcessService.getHttpHeaders(paymentLinkVo.getOrder().getAttributionInformationVo());
|
|
|
// 归属信息
|
|
|
- AnShengCrawlerGetUserDetailResponse.DataDTO.AgentDefineDTO userDetailResponse = anShengCrawlerQuoteProcessService.getUserDetailResponse(paymentLinkVo.getOrder()
|
|
|
- .getAgreementId(), httpHeaders);
|
|
|
- AnShengCrawlerOrder anShengCrawlerOrder = anShengCrawlerOrderService.getById(paymentLinkVo.getOrder()
|
|
|
- .getOrdersNo());
|
|
|
+ AnShengCrawlerGetUserDetailResponse.DataDTO.AgentDefineDTO userDetailResponse = anShengCrawlerQuoteProcessService.getUserDetailResponse(paymentLinkVo.getOrder().getAgreementId(), httpHeaders);
|
|
|
+ AnShengCrawlerOrder anShengCrawlerOrder = anShengCrawlerOrderService.getById(paymentLinkVo.getOrder().getOrdersNo());
|
|
|
// 获取支付链接
|
|
|
AnShengCrawlerPaymentRequest anShengCrawlerPaymentRequest = new AnShengCrawlerPaymentRequest(anShengCrawlerOrder, userDetailResponse.getDepartmentCode(), anShengCrawlerOrder.getTotalPremium());
|
|
|
String paymentUrl = anShengCrawlerRequestComponent.payment(anShengCrawlerPaymentRequest, httpHeaders);
|
|
|
- log.info("获取安盛支付二维码地址长度:{}",StringUtils.isNotEmpty(paymentUrl) ? paymentUrl.length() : "无法获取支付链接");
|
|
|
+ log.info("获取安盛支付二维码地址长度:{}", StringUtils.isNotEmpty(paymentUrl) ? paymentUrl.length() : "无法获取支付链接");
|
|
|
return new PaymentLinkResultsVo(true, paymentUrl, "");
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
public void uploadImage(InsuranceUploadImageVo insuranceUploadImageVo) {
|
|
|
// 请求头信息
|
|
|
- HttpHeaders httpHeaders = anShengCrawlerQuoteProcessService.getHttpHeaders(insuranceUploadImageVo.getOrder()
|
|
|
- .getAttributionInformationVo());
|
|
|
+ HttpHeaders httpHeaders = anShengCrawlerQuoteProcessService.getHttpHeaders(insuranceUploadImageVo.getOrder().getAttributionInformationVo());
|
|
|
|
|
|
// 单个上传影像
|
|
|
List<AnShengCrawlerFileUploadResponse.DataDTO> dataDTOS = new ArrayList<>();
|
|
|
@@ -263,8 +267,7 @@ public class AnShengCrawlerRequestImpl implements AnShengCrawlerRequest {
|
|
|
|
|
|
// 缓存影像信息
|
|
|
List<AnShengCrawlerApplyApplicationRequest.ContractsDTO.PolicyAttachmentsDTO> policyAttachmentsDTOList = AnShengCrawlerFileUploadResponse.toPolicyAttachmentsDTOList(dataDTOS);
|
|
|
- anShengCrawlerCacheComponent.cacheImagesInfo(insuranceUploadImageVo.getOrder()
|
|
|
- .getOrdersNo(), policyAttachmentsDTOList);
|
|
|
+ anShengCrawlerCacheComponent.cacheImagesInfo(insuranceUploadImageVo.getOrder().getOrdersNo(), policyAttachmentsDTOList);
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
@@ -276,10 +279,8 @@ public class AnShengCrawlerRequestImpl implements AnShengCrawlerRequest {
|
|
|
public DownloadPolicyResultVo downloadPolicy(DownloadPolicyVo downloadPolicyVo) {
|
|
|
DownloadPolicyResultVo downloadPolicyResultVo = new DownloadPolicyResultVo();
|
|
|
|
|
|
- HttpHeaders httpHeaders = anShengCrawlerQuoteProcessService.getHttpHeaders(downloadPolicyVo.getOrder()
|
|
|
- .getAttributionInformationVo());
|
|
|
- AnShengCrawlerOrder anShengCrawlerOrder = anShengCrawlerOrderService.getById(downloadPolicyVo.getOrder()
|
|
|
- .getOrdersNo());
|
|
|
+ HttpHeaders httpHeaders = anShengCrawlerQuoteProcessService.getHttpHeaders(downloadPolicyVo.getOrder().getAttributionInformationVo());
|
|
|
+ AnShengCrawlerOrder anShengCrawlerOrder = anShengCrawlerOrderService.getById(downloadPolicyVo.getOrder().getOrdersNo());
|
|
|
|
|
|
// 交强保单和标志
|
|
|
Optional.ofNullable(anShengCrawlerOrder.getCiPolicyNo()).ifPresent(policyNo -> {
|
|
|
@@ -307,19 +308,15 @@ public class AnShengCrawlerRequestImpl implements AnShengCrawlerRequest {
|
|
|
@Override
|
|
|
public OrderStatusResultVo queryOrderState(OrderStatusVo orderStatusVo) {
|
|
|
// 获取订单信息
|
|
|
- AnShengCrawlerOrder anShengCrawlerOrder = anShengCrawlerOrderService.getById(orderStatusVo.getOrder()
|
|
|
- .getOrdersNo());
|
|
|
+ AnShengCrawlerOrder anShengCrawlerOrder = anShengCrawlerOrderService.getById(orderStatusVo.getOrder().getOrdersNo());
|
|
|
// 获取请求头
|
|
|
- HttpHeaders httpHeaders = anShengCrawlerQuoteProcessService.getHttpHeaders(orderStatusVo.getOrder()
|
|
|
- .getAttributionInformationVo());
|
|
|
+ HttpHeaders httpHeaders = anShengCrawlerQuoteProcessService.getHttpHeaders(orderStatusVo.getOrder().getAttributionInformationVo());
|
|
|
// 归属信息
|
|
|
- AnShengCrawlerGetUserDetailResponse.DataDTO.AgentDefineDTO userDetailResponse = anShengCrawlerQuoteProcessService.getUserDetailResponse(orderStatusVo.getOrder()
|
|
|
- .getAgreementId(), httpHeaders);
|
|
|
+ AnShengCrawlerGetUserDetailResponse.DataDTO.AgentDefineDTO userDetailResponse = anShengCrawlerQuoteProcessService.getUserDetailResponse(orderStatusVo.getOrder().getAgreementId(), httpHeaders);
|
|
|
// 查询订单状态
|
|
|
AnShengCrawlerComprehensiveQueryInsurenetRequest crawlerComprehensiveQueryInsurenet = new AnShengCrawlerComprehensiveQueryInsurenetRequest(userDetailResponse.getAgentCode(), userDetailResponse.getDepartmentCode(), anShengCrawlerOrder.getOrderNo(), anShengCrawlerOrder.getRecordingTime());
|
|
|
AnShengCrawlerComprehensiveQueryInsurenetResponse queryDocumentsInformationResponse = anShengCrawlerRequestComponent.comprehensiveQueryInsurenet(crawlerComprehensiveQueryInsurenet, httpHeaders);
|
|
|
- List<AnShengCrawlerComprehensiveQueryInsurenetResponse.DataDTO.ListDTO> list = queryDocumentsInformationResponse.getData()
|
|
|
- .getList();
|
|
|
+ List<AnShengCrawlerComprehensiveQueryInsurenetResponse.DataDTO.ListDTO> list = queryDocumentsInformationResponse.getData().getList();
|
|
|
|
|
|
return null;
|
|
|
}
|