Quellcode durchsuchen

1. 爬虫 赔付率入库

785834757 vor 1 Jahr
Ursprung
Commit
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()));
         }