select paper_id, question_id, permanent_id from t_exam_paper_question
insert into t_exam_paper_question
paper_id,question_id,permanent_id,#{paperId},#{questionId},#{permanentId},
update t_exam_paper_question
question_id = #{questionId},permanent_id = #{permanentId},
where paper_id = #{paperId}
delete from t_exam_paper_question where paper_id = #{paperId}
delete from t_exam_paper_question where paper_id in
#{paperId}