wks пре 2 година
родитељ
комит
d142710017

+ 1 - 16
src/main/java/com/ydtech/modules/order/service/impl/ZijinOrderApiServiceImpl.java

@@ -496,27 +496,12 @@ public class ZijinOrderApiServiceImpl implements ZijinOrderApiService {
             quoteRespVo.setJqLossRation(StringUtils.toDouble(priceInfoListDTO.getLrRecomAdjust()));
             quoteRespVo.setSyLossRation(StringUtils.toDouble(priceInfoListDTO.getLrRecom()));
             quoteRespVo.setAccidentInfoStr(priceInfoListDTO.getClaimTimes());
-        }
-
-        // 车辆信息
-        for (CalculatePremiumResponse.PriceInfoListDTO priceInfoListDTO : priceInfoList) {
-
+            quoteRespVo.setSyClaims(priceInfoListDTO.getClaimTimes());
             // 鼎然分
             String score = Optional.ofNullable(priceInfoListDTO.getUbiPredictedInfo())
                     .map(CalculatePremiumResponse.PriceInfoListDTO.UbiPredictedInfoDTO::getScore)
                     .orElse(null);
             quoteRespVo.setUbiPredictedInfoScore(score);
-
-            switch (priceInfoListDTO.getRiskCode()) {
-                case RiskCodeEnum.TRAFFIC_CODE:
-                    quoteRespVo.setJqClaims(priceInfoListDTO.getClaimTimes());
-                    break;
-                case RiskCodeEnum.BUSINESS_CODE:
-                    quoteRespVo.setSyClaims(priceInfoListDTO.getClaimTimes());
-                    break;
-                default:
-                    break;
-            }
         }
 
         List<QuoteKindRespVo> kindList1 = new ArrayList<>();