select id, level_name,lang_type, create_by, create_time, update_by, update_time, remark, question_template_id, question_template_name,uuid,type from t_exam_level
select tel.id, tel.level_name, tel.lang_type, tel.create_by, tel.create_time, tel.update_by, tel.update_time, tel.remark, tel.question_template_id, tel.question_template_name, ts.id subject_id, tel.type from t_exam_level tel, t_subject ts
insert into t_exam_level
level_name,
lang_type,
create_by,
create_time,
update_by,
update_time,
remark,
question_template_id,
question_template_name,
uuid,
type,
#{levelName},
#{langType},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{remark},
#{questionTemplateId},
#{questionTemplateName},
#{uuid},
#{type},
update t_exam_level
level_name = #{levelName},
lang_type = #{langType},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
remark = #{remark},
question_template_id = #{questionTemplateId},
question_template_name = #{questionTemplateName},
type = #{type},
where id = #{id}
delete from t_exam_level where id = #{id}
delete from t_exam_level where id in
#{id}