insert into ex_paper_question(paper_id,question_id,score) values (#{item.paperId},#{item.questionId},#{item.score}) delete from ex_paper_question where paper_id=#{paperId} delete a from ex_paper_question as a inner join ex_question as b on b.id=a.question_id and a.paper_id=#{paperId} and b.question_type=#{questionType}