|
|
@@ -257,10 +257,12 @@ public class RuleAttrMappingVo {
|
|
|
// ruleAttrMappingVoList.add(new RuleAttrMappingVo("PeacefulDistrict", quoteRespVo.getExtendInfo()));
|
|
|
//太平绿黄红区
|
|
|
ruleAttrMappingVoList.add(new RuleAttrMappingVo("GreenYellowAndRedAreas", insAreaCompany.getTpColorScore()));
|
|
|
- //非车名称
|
|
|
- ruleAttrMappingVoList.add(new RuleAttrMappingVo("NonCarName", insAreaCompany.getAccidentalDriving().getRideRiskName()));
|
|
|
- //非车份数
|
|
|
- ruleAttrMappingVoList.add(new RuleAttrMappingVo("NonCarQuantity",String.valueOf(insAreaCompany.getAccidentalDriving().getQuantity())));
|
|
|
+ if(insAreaCompany.getAccidentalDriving() != null) {
|
|
|
+ //非车名称
|
|
|
+ ruleAttrMappingVoList.add(new RuleAttrMappingVo("NonCarName", insAreaCompany.getAccidentalDriving().getRideRiskName()));
|
|
|
+ //非车份数
|
|
|
+ ruleAttrMappingVoList.add(new RuleAttrMappingVo("NonCarQuantity", String.valueOf(insAreaCompany.getAccidentalDriving().getQuantity())));
|
|
|
+ }
|
|
|
//真假单交
|
|
|
ruleAttrMappingVoList.add(new RuleAttrMappingVo("IsDJQ",insAreaCompany.getIsDjq()));
|
|
|
return ruleAttrMappingVoList;
|