select id, control_type, control_cause, exits_inlets, facility_id, ramp_id,cause_type,measure,classify,limited_type,vehicle_type from dc_event_traffic_control SELECT dc_event_traffic_control.control_cause AS control_cause, dc_event_traffic_control.control_type as control_type, dc_event_traffic_control.exits_inlets as exits_inlets, dc_event_traffic_control.facility_id as facility_id, dc_event_traffic_control.id as id, dc_event_traffic_control.classify as classify, dc_event_traffic_control.ramp_id as ramp_id, dc_event_traffic_control.limited_type as limited_type, dc_event_traffic_control.vehicle_type as vehicle_type, dc_event_traffic_control.measure as measure, dc_event_traffic_control.cause_type as cause_type, dc_facility.other_config as other_config, dc_facility.remark as remark, dc_facility.stake_mark as stake_mark, dc_facility.facility_type as facility_type, dc_facility.facility_name as facility_name, dc_facility.direction as direction FROM dc_event_traffic_control insert into dc_event_traffic_control id, control_type, control_cause, exits_inlets, facility_id, ramp_id, cause_type, measure, classify, vehicle_type, limited_type, #{id}, #{controlType}, #{controlCause}, #{exitsInlets}, #{facilityId}, #{rampId}, #{causeType}, #{measure}, #{classify}, #{vehicleType}, #{limitedType}, update dc_event_traffic_control control_type = #{controlType}, control_cause = #{controlCause}, exits_inlets = #{exitsInlets}, facility_id = #{facilityId}, ramp_id = #{rampId}, cause_type = #{causeType}, measure = #{measure}, classify = #{classify}, vehicle_type = #{vehicleType}, limited_type = #{limitedType}, where id = #{id} delete from dc_event_traffic_control where id = #{id} delete from dc_event_traffic_control where id in #{id}