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