|
@@ -531,11 +531,11 @@ public class DaJiaOrderServiceImpl implements DaJiaOrderService {
|
|
|
|
|
|
|
|
//判断是否出险
|
|
//判断是否出险
|
|
|
String EscNum = "";
|
|
String EscNum = "";
|
|
|
- if(odr1009Response.getResult().getRiskRatio().getJqPreEscNum() > 0)
|
|
|
|
|
|
|
+ if(odr1009Response.getResult().getRiskRatio().getJqPreEscNum() != null && odr1009Response.getResult().getRiskRatio().getJqPreEscNum() > 0)
|
|
|
{
|
|
{
|
|
|
EscNum += "交强险出险次数:" + odr1009Response.getResult().getRiskRatio().getJqPreEscNum()+"次 ";
|
|
EscNum += "交强险出险次数:" + odr1009Response.getResult().getRiskRatio().getJqPreEscNum()+"次 ";
|
|
|
}
|
|
}
|
|
|
- if(odr1009Response.getResult().getRiskRatio().getSyPreEscNum() > 0){
|
|
|
|
|
|
|
+ if(odr1009Response.getResult().getRiskRatio().getSyPreEscNum() != null && odr1009Response.getResult().getRiskRatio().getSyPreEscNum() > 0){
|
|
|
EscNum += "商业险出险次数:" + odr1009Response.getResult().getRiskRatio().getSyPreEscNum() + "次";
|
|
EscNum += "商业险出险次数:" + odr1009Response.getResult().getRiskRatio().getSyPreEscNum() + "次";
|
|
|
}
|
|
}
|
|
|
quoteRespVo.setAccidentInfoStr(EscNum);
|
|
quoteRespVo.setAccidentInfoStr(EscNum);
|