|
@@ -97,6 +97,14 @@ public class InsAreaCompanyAccidentalDriving implements Serializable {
|
|
|
this.setQuantity(jsonObject.getInteger("quantity"));
|
|
this.setQuantity(jsonObject.getInteger("quantity"));
|
|
|
this.setRideRiskCode(jsonObject.getString("productCode"));
|
|
this.setRideRiskCode(jsonObject.getString("productCode"));
|
|
|
this.setCompanyId(t.getCompanyId());
|
|
this.setCompanyId(t.getCompanyId());
|
|
|
- }
|
|
|
|
|
|
|
+ }else
|
|
|
|
|
+ //诚泰
|
|
|
|
|
+ if(t.getCompanyId().equals("CHAC1000000")){
|
|
|
|
|
+ JSONObject jsonObject = JSONObject.parseObject(JSONObject.toJSONString(t.getAccidentalDrivingVo()));
|
|
|
|
|
+ this.setRideRiskCode(jsonObject.getString("planCode"));
|
|
|
|
|
+ this.setQuantity(1);
|
|
|
|
|
+ this.setCompanyId(t.getCompanyId());
|
|
|
|
|
+ this.setRideRiskName(jsonObject.getString("name"));
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|