|
|
@@ -528,6 +528,18 @@ public class DaJiaOrderServiceImpl implements DaJiaOrderService {
|
|
|
quoteRespVo.setSumPermium(CalculateUtils.add(jqPremium, syPremium, sumPayTax, jyPremium));//总保费
|
|
|
quoteRespVo.setTotalAdjustRate(0);
|
|
|
quoteRespVo.setOrderno(yaQuoteInfoVo.getOrderNo()); //订单号
|
|
|
+
|
|
|
+ //判断是否出险
|
|
|
+ String EscNum = "";
|
|
|
+ if(odr1009Response.getResult().getRiskRatio().getJqPreEscNum() > 0)
|
|
|
+ {
|
|
|
+ EscNum += "交强险出险次数:" + odr1009Response.getResult().getRiskRatio().getJqPreEscNum()+"次 ";
|
|
|
+ }
|
|
|
+ if(odr1009Response.getResult().getRiskRatio().getSyPreEscNum() > 0){
|
|
|
+ EscNum += "商业险出险次数:" + odr1009Response.getResult().getRiskRatio().getSyPreEscNum() + "次";
|
|
|
+ }
|
|
|
+ quoteRespVo.setAccidentInfoStr(EscNum);
|
|
|
+
|
|
|
return quoteRespVo;
|
|
|
}
|
|
|
//endregion
|
|
|
@@ -744,6 +756,8 @@ public class DaJiaOrderServiceImpl implements DaJiaOrderService {
|
|
|
//新能源保单号
|
|
|
insAreaCompany.setSypolicyno(collect.get(i).getPlyNo());
|
|
|
}
|
|
|
+ //设置签单时间
|
|
|
+ insAreaCompany.setPayDate(collect.get(i).getIssueTm());
|
|
|
}
|
|
|
//更新订单状态
|
|
|
insAreaCompany.setOrderstatus(InsOrderStatusEnum.ACCEPT_INSURANCE.getCode());
|