ソースを参照

修改bug:
报价bug统计表139:紫金无评分因子

jiakai 6 日 前
コミット
886bba1398

+ 29 - 0
tenant/insurance/quotation-zijin/src/main/java/com/jzg/quotation/zijin/crawler/build/ZiJinCrawlerQuoteResultsVoBuild.java

@@ -396,6 +396,35 @@ public class ZiJinCrawlerQuoteResultsVoBuild {
                     .fluentPut("scoreKey", "effectValueDownSix")
                     .fluentPut("score", priceInfo.getEffectValueDownSix()));
         }
+
+
+        // 总评分
+        scoreVo.setScore(null);
+        // 总赔付率
+        scoreVo.setLossRation(null);
+        // 交强险赔付率
+        scoreVo.setJqLossRation(priceInfo.getLrRecomAdjust());
+        // 商业险赔付率
+        scoreVo.setSyLossRation(priceInfo.getLrRecom());
+        if (null != ciProfitDetailData){
+            // 交强出险次数
+            scoreVo.setCiClaims(ciProfitDetailData.getClaimTimes());
+        }
+        // 商业出险次数
+        scoreVo.setBiClaims(null);
+        // 交强转续保
+        scoreVo.setJqRenewal(basePart.getRenewalInfoDto().getRenewalFlagCI());
+        // 商业转续保
+        scoreVo.setSyRenewal(basePart.getRenewalInfoDto().getRenewalFlag());
+        // 真假单交
+        scoreVo.setIsDjq(basePart.getIsDjq());
+        // 折扣率
+        scoreVo.setTotalAdjustRate(basePart.getDiscount());
+        // 交强折扣率
+        scoreVo.setJqAdjustRate(null);
+        // 商业折扣率
+        scoreVo.setSyAdjustRate(null);
+
         scoreVo.setScoreJson(scoreArray);
         return scoreVo;
     }