|
|
@@ -739,12 +739,18 @@ public class GuorenOrderApiServiceImpl implements GuorenOrderApiService {
|
|
|
quoteRespVo.setOrderno(insOrder.getOrderno()); //订单号
|
|
|
quoteRespVo.setJqPremium(jqPremiumBig.doubleValue());
|
|
|
quoteRespVo.setSyPremium(syPremiumBig.doubleValue());
|
|
|
- // 交强险
|
|
|
- Integer ciClaimTimes = rd.getCiClaimTimes();
|
|
|
- quoteRespVo.setJqClaims(ciClaimTimes.toString());
|
|
|
- // 商业险
|
|
|
- Integer biClaimTimes = rd.getBiClaimTimes();
|
|
|
- quoteRespVo.setSyClaims(biClaimTimes.toString());
|
|
|
+
|
|
|
+
|
|
|
+ // 出险次数
|
|
|
+ List<PremiumResp.DataDTO.CiInsureDemandDTO> ciInsureDemandDTOS = rd.getCiInsureDemandDTOS();
|
|
|
+ for (PremiumResp.DataDTO.CiInsureDemandDTO ciInsureDemandDTO : ciInsureDemandDTOS) {
|
|
|
+ if (GuoRenRiskCode.R_0507.getCode().equals(ciInsureDemandDTO.getRiskCode())) {
|
|
|
+ quoteRespVo.setJqClaims(ciInsureDemandDTO.getClaimTimes());
|
|
|
+ }else if(GuoRenRiskCode.R_0518.getCode().equals(ciInsureDemandDTO.getRiskCode())){
|
|
|
+ quoteRespVo.setSyClaims(ciInsureDemandDTO.getClaimTimes());
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
return quoteRespVo;
|
|
|
}
|
|
|
|