select location,ramp_id,facility_id, id, reporter_name, reporter_phone_number, location_type, traffic_jam, weather_condition, congestion_ahead, at_intersection, on_curve, small_car, trucks, buses, tankers, minor_injuries, serious_injuries, fatalities, is_private from dc_event_vehicle_accident
insert into dc_event_vehicle_accident
id,
reporter_name,
reporter_phone_number,
location_type,
traffic_jam,
weather_condition,
congestion_ahead,
at_intersection,
on_curve,
small_car,
trucks,
buses,
tankers,
minor_injuries,
serious_injuries,
fatalities,
is_private,
location,
ramp_id,
facility_id,
#{id},
#{reporterName},
#{reporterPhoneNumber},
#{locationType},
#{trafficJam},
#{weatherCondition},
#{congestionAhead},
#{atIntersection},
#{onCurve},
#{smallCar},
#{trucks},
#{buses},
#{tankers},
#{minorInjuries},
#{seriousInjuries},
#{fatalities},
#{isPrivate},
#{location},
#{rampId},
#{facilityId},
update dc_event_vehicle_accident
reporter_name = #{reporterName},
reporter_phone_number = #{reporterPhoneNumber},
location_type = #{locationType},
traffic_jam = #{trafficJam},
weather_condition = #{weatherCondition},
congestion_ahead = #{congestionAhead},
at_intersection = #{atIntersection},
on_curve = #{onCurve},
small_car = #{smallCar},
trucks = #{trucks},
buses = #{buses},
tankers = #{tankers},
minor_injuries = #{minorInjuries},
serious_injuries = #{seriousInjuries},
fatalities = #{fatalities},
is_private = #{isPrivate},
location = #{location},
ramp_id = #{rampId},
facility_id = #{facilityId},
where id = #{id}
delete from dc_event_vehicle_accident where id = #{id}
delete from dc_event_vehicle_accident where id in
#{id}