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