소스 검색

1. 爬虫 赔付率入库

785834757 1 년 전
부모
커밋
a9edc27519
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      src/main/java/com/ydtech/modules/order/service/impl/InsCrawlerOrderServiceImpl.java

+ 4 - 0
src/main/java/com/ydtech/modules/order/service/impl/InsCrawlerOrderServiceImpl.java

@@ -734,13 +734,17 @@ public class InsCrawlerOrderServiceImpl implements InsCrawlerOrderService {
         // 赔付率
         if(Objects.nonNull(response.getOther().getLossRation())) {
             quoteRespVo.setLossRation(Double.parseDouble(response.getOther().getLossRation()));
+            insAreaCompany.setLossRation(Double.parseDouble(response.getOther().getLossRation()));
         }
         // 交强赔付率
         if(Objects.nonNull(response.getOther().getJqLossRation())) {
             quoteRespVo.setJqLossRation(Double.parseDouble(response.getOther().getJqLossRation()));
+            insAreaCompany.setJqLossRation(Double.parseDouble(response.getOther().getJqLossRation()));
         }
+        // 商业赔付率
         if(Objects.nonNull(response.getOther().getSyLossRation())) {
             quoteRespVo.setSyLossRation(Double.parseDouble(response.getOther().getSyLossRation()));
+            insAreaCompany.setSyLossRation(Double.parseDouble(response.getOther().getSyLossRation()));
         }