Procházet zdrojové kódy

[众安] feat: 处理合并 downloadPolicy

wlq před 1 rokem
rodič
revize
8c2d7a6aec

+ 4 - 1
tenant/insurance/quotation-zhongan/src/main/java/com/jzg/quotation/zhongan/crawler/service/ZhongAnQuotaionApiBaseServiceImpl.java

@@ -131,8 +131,9 @@ public class ZhongAnQuotaionApiBaseServiceImpl implements QuotationApiBaseServic
 
     @Override
     public DownloadPolicyResultVo downloadPolicy(DownloadPolicyVo downloadPolicyVo) {
+        OrderBase order = downloadPolicyVo.getOrder();
         String token = null;
-        ZhongAnQueryDocumentInfoResult zhongAnQueryDocumentInfoResult = zhongAnAPIService.queryDocumentInfo(token, orderBase.getOrdersNo());
+        ZhongAnQueryDocumentInfoResult zhongAnQueryDocumentInfoResult = zhongAnAPIService.queryDocumentInfo(token, order.getOrdersNo());
 
         List<ZhongAnBizDocumentInfo> bizDocumentInfo = zhongAnQueryDocumentInfoResult.getBizDocumentInfo();
 
@@ -141,6 +142,8 @@ public class ZhongAnQuotaionApiBaseServiceImpl implements QuotationApiBaseServic
 
             System.out.println(url);
         }
+
+        return null;
     }
 
     @Override