select scheme_id, task_id,qu_title,sp_name, qu_level, keywords, point_names, qu_numbers, qu_scores, subtotal_score,sort from education_paper_scheme insert into education_paper_scheme scheme_id, task_id, qu_title, sp_name, qu_level, keywords, point_names, qu_numbers, qu_scores, subtotal_score, sort, #{schemeId}, #{taskId}, #{quTitle}, #{spName}, #{quLevel}, #{keywords}, #{pointNames}, #{quNumbers}, #{quScores}, #{subtotalScore}, #{sort}, INSERT INTO education_paper_scheme (scheme_id, task_id, qu_title,sp_name, qu_level, keywords, point_names, qu_numbers, qu_scores, subtotal_score,sort) VALUES ( #{item.schemeId}, #{item.taskId}, #{item.quTitle},#{item.spName}, #{item.quLevel}, #{item.keywords}, #{item.pointNames}, #{item.quNumbers}, #{item.quScores}, #{item.subtotalScore}, #{item.sort} ) update education_paper_scheme sort = #{sort}, where scheme_id = #{schemeId} delete from education_paper_scheme where scheme_id = #{schemeId} delete from education_paper_scheme where scheme_id in #{schemeId}