|
|
@@ -151,9 +151,8 @@ public class GuorenOrderApiServiceImpl implements GuorenOrderApiService {
|
|
|
|
|
|
AssertionUtils.isFail("1".equals(response.getResultCode().toString()), response.getResultMsg());
|
|
|
|
|
|
- List<GuoRenSpecialAgreement> collect = response.getData().stream()
|
|
|
- .map(x -> new GuoRenSpecialAgreement(x, insuranceRisk))
|
|
|
- .collect(Collectors.toList());
|
|
|
+ List<GuoRenSpecialAgreement> collect =
|
|
|
+ response.getData().stream().map(x -> new GuoRenSpecialAgreement(x, insuranceRisk)).collect(Collectors.toList());
|
|
|
list.addAll(collect);
|
|
|
}
|
|
|
|
|
|
@@ -695,12 +694,22 @@ public class GuorenOrderApiServiceImpl implements GuorenOrderApiService {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ // 赔付率
|
|
|
PremiumResp.DataDTO.AutoPriceOutputXOMRespVoDTO autoPriceOutputXOMRespVo = rd.getAutoPriceOutputXOMRespVo();
|
|
|
-
|
|
|
quoteRespVo.setJqLossRation(StringUtils.toDouble(autoPriceOutputXOMRespVo.getStrBillCTPELR2()));
|
|
|
quoteRespVo.setSyLossRation(StringUtils.toDouble(autoPriceOutputXOMRespVo.getStrBillCOMELR2()));
|
|
|
quoteRespVo.setLossRation(StringUtils.toDouble(autoPriceOutputXOMRespVo.getStrBillELR2()));
|
|
|
|
|
|
+ // 评分
|
|
|
+ PremiumResp.DataDTO.BirateDTO birate = rd.getBirate();
|
|
|
+ if (!ObjectUtils.isEmpty(birate)) {
|
|
|
+ quoteRespVo.setJqScore(birate.getBillcomeGroup());
|
|
|
+ }
|
|
|
+ PremiumResp.DataDTO.CirateDTO cirate = rd.getCirate();
|
|
|
+ if (!ObjectUtils.isEmpty(cirate)) {
|
|
|
+ quoteRespVo.setSyScore(birate.getBillcomeGroup());
|
|
|
+ }
|
|
|
+
|
|
|
quoteRespVo.setRiskList(riskList1);
|
|
|
quoteRespVo.setKindList(kindRespVoList);
|
|
|
quoteRespVo.setCiSumPermium(jqPremiumBig.add(taxPremiumBig).doubleValue());//交强险和车船税合计
|