select round_id, school_id, year, round, name, begin_time, end_time, group_ids, state, model_id, generation, preference_count, rank_invisible, score_invisible, enable_esign, enable_paper_sign, enable_push_force_adjust, dispatch_status, active_date, teacher_done, student_done, active_date from mxjb_selected_round
insert into mxjb_selected_round
school_id,
year,
round,
name,
begin_time,
end_time,
group_ids,
state,
model_id,
generation,
preference_count,
rank_invisible,
score_invisible,
enable_esign,
enable_paper_sign,
enable_push_force_adjust,
dispatch_status,
active_date,
teacher_done,
student_done,
#{schoolId},
#{year},
#{round},
#{name},
#{beginTime},
#{endTime},
#{groupIds},
#{state},
#{modelId},
#{generation},
#{preferenceCount},
#{rankInvisible},
#{scoreInvisible},
#{enableEsign},
#{enablePaperSign},
#{enablePushForceAdjust},
#{dispatchStatus},
#{activeDate},
#{teacherDone},
#{studentDone},
update mxjb_selected_round
school_id = #{schoolId},
year = #{year},
round = #{round},
name = #{name},
begin_time = #{beginTime},
end_time = #{endTime},
group_ids = #{groupIds},
state = #{state},
model_id = #{modelId},
generation = #{generation},
preference_count = #{preferenceCount},
rank_invisible = #{rankInvisible},
score_invisible = #{scoreInvisible},
enable_esign = #{enableEsign},
enable_paper_sign = #{enablePaperSign},
enable_push_force_adjust = #{enablePushForceAdjust},
dispatch_status = #{dispatchStatus},
active_date = #{activeDate},
teacher_done = #{teacherDone},
student_done = #{studentDone},
where round_id = #{roundId}
delete from mxjb_selected_round where round_id = #{roundId}
delete from mxjb_selected_round where round_id in
#{roundId}