select id, ticket_id, holiday_id, begin_time, end_time,holiday_dict,holiday_type from zdy_ticket_unavailable_holiday insert into zdy_ticket_unavailable_holiday ticket_id, holiday_id, begin_time, end_time, holiday_dict, holiday_type, #{ticketId}, #{holidayId}, #{beginTime}, #{endTime}, #{holidayDict}, #{holidayType}, update zdy_ticket_unavailable_holiday ticket_id = #{ticketId}, holiday_id = #{holidayId}, begin_time = #{beginTime}, end_time = #{endTime}, holiday_dict = #{holidayDict}, holiday_type = #{holidayType}, where id = #{id} delete from zdy_ticket_unavailable_holiday where id = #{id} delete from zdy_ticket_unavailable_holiday where id in #{id} delete from zdy_ticket_unavailable_holiday where ticket_id = #{ticketId}