Răsfoiți Sursa

1. 爬虫 赔付率入库

785834757 1 an în urmă
părinte
comite
a9edc27519

+ 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()));
         }