id, question_type, subject_id,lang_type, score, grade_level, difficult, correct, info_text_content_id,
create_user, status, create_time, deleted, permanent_id, template
select id, question_type,lang_type, subject_id, score, grade_level, difficult, correct, info_text_content_id, create_user, status, create_time, deleted, template from t_question
select tq.id, tq.question_type, tq.lang_type,tq.subject_id, tq.score, tq.grade_level, tq.difficult, tq.correct, tq.info_text_content_id, tq.create_user, tq.status, tq.create_time, tq.deleted, tt.content content, tel.level_name level_name, tel.id level_id, tq.permanent_id permanent_id, tel.question_template_id question_template_id, tq.template from t_question tq,t_text_content tt, t_exam_level tel
insert into t_question
question_type,
level_id,
subject_id,
score,
lang_type,
grade_level,
difficult,
correct,
info_text_content_id,
create_user,
status,
create_time,
deleted,
permanent_id,
last_id,
template,
#{questionType},
#{levelId},
#{subjectId},
#{score},
#{langType},
#{gradeLevel},
#{difficult},
#{correct},
#{infoTextContentId},
#{createUser},
#{status},
#{createTime},
#{deleted},
#{permanentId},
#{lastId},
#{template},
update t_question
question_type = #{questionType},
subject_id = #{subjectId},
score = #{score},
lang_type = #{langType},
grade_level = #{gradeLevel},
difficult = #{difficult},
correct = #{correct},
info_text_content_id = #{infoTextContentId},
create_user = #{createUser},
status = #{status},
create_time = #{createTime},
deleted = #{deleted},
permanent_id = #{permanentId},
template = #{template},
id = #{id}
update t_question
question_type = #{questionType},
subject_id = #{subjectId},
score = #{score},
lang_type = #{langType},
grade_level = #{gradeLevel},
difficult = #{difficult},
correct = #{correct},
info_text_content_id = #{infoTextContentId},
create_user = #{createUser},
status = #{status},
create_time = #{createTime},
deleted = #{deleted},
permanent_id = #{permanentId},
permanent_id = #{permanentId}
and lang_type = #{langType}
delete from t_question where id = #{id}
delete from t_question where id in
#{id}
update t_question set deleted = 2 where id in
#{id}