select sales_point_id, ticket_machine_id from zdy_sales_point_ticket_machine insert into zdy_sales_point_ticket_machine sales_point_id, ticket_machine_id, #{salesPointId}, #{ticketMachineId}, delete from zdy_sales_point_ticket_machine where sales_point_id = #{salesPointId} and ticket_machine_id in #{ticketMachineId} delete from zdy_sales_point_ticket_machine where sales_point_id in #{salesPointId}