SELECT id, customer_id, ticket_id, num, is_verification, create_time,staff_id,type FROM tb_customer_ticket
INSERT INTO tb_customer_ticket
id,customer_id,ticket_id,num,is_verification,create_time,staff_id,type,#{id},#{customerId},#{ticketId},#{num},#{isVerification},#{createTime},#{staffId},#{type},
UPDATE tb_customer_ticket
customer_id = #{customerId},ticket_id = #{ticketId},num = #{num},is_verification = #{isVerification},create_time = #{createTime},staff_id = #{staffId},staff_id = #{type},
WHERE id = #{id}
DELETE FROM tb_customer_ticket WHERE id = #{id}
DELETE FROM tb_customer_ticket where id in
#{id}