INSERT INTO system_pdf_template_relevance (template_id, customerId) VALUES (#{item.template_id}, #{item.customerId}) INSERT INTO system_pdf_template_relevance (template_id,customerId,admin_id) values ( #{template_id}, #{customerId}, #{admin_id} ) delete from system_pdf_template_relevance where customerId = #{customerId}