id, dept_id, name, subject_id, paper_type, grade_level, score, question_count, suggest_time,
limit_start_time, limit_end_time, frame_text_content_id, create_user, create_time,
deleted, task_exam_id, type, user_ids
delete from t_exam_paper
where id = #{id,jdbcType=INTEGER}
insert into t_exam_paper (id, name, subject_id,
paper_type, grade_level, score,
question_count, suggest_time, limit_start_time,
limit_end_time, frame_text_content_id, create_user,
create_time, deleted, task_exam_id, type, user_ids
)
values (#{id,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR}, #{subjectId,jdbcType=INTEGER},
#{paperType,jdbcType=INTEGER}, #{gradeLevel,jdbcType=INTEGER}, #{score,jdbcType=INTEGER},
#{questionCount,jdbcType=INTEGER}, #{suggestTime,jdbcType=INTEGER}, #{limitStartTime,jdbcType=TIMESTAMP},
#{limitEndTime,jdbcType=TIMESTAMP}, #{frameTextContentId,jdbcType=INTEGER}, #{createUser,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP}, #{deleted,jdbcType=BIT}, #{taskExamId,jdbcType=INTEGER},
#{type,jdbcType=VARCHAR}, #{userIds,jdbcType=VARCHAR}
)
insert into t_exam_paper
id,
dept_id,
name,
subject_id,
paper_type,
grade_level,
score,
question_count,
suggest_time,
limit_start_time,
limit_end_time,
frame_text_content_id,
create_user,
create_time,
deleted,
task_exam_id,
type,
user_ids,
#{id,jdbcType=INTEGER},
#{deptId,jdbcType=INTEGER},
#{name,jdbcType=VARCHAR},
#{subjectId,jdbcType=INTEGER},
#{paperType,jdbcType=INTEGER},
#{gradeLevel,jdbcType=INTEGER},
#{score,jdbcType=INTEGER},
#{questionCount,jdbcType=INTEGER},
#{suggestTime,jdbcType=INTEGER},
#{limitStartTime,jdbcType=TIMESTAMP},
#{limitEndTime,jdbcType=TIMESTAMP},
#{frameTextContentId,jdbcType=INTEGER},
#{createUser,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP},
#{deleted,jdbcType=BIT},
#{taskExamId,jdbcType=INTEGER},
#{type,jdbcType=VARCHAR},
#{userIds,jdbcType=VARCHAR},
update t_exam_paper
name = #{name,jdbcType=VARCHAR},
dept_id = #{deptId,jdbcType=INTEGER},
subject_id = #{subjectId,jdbcType=INTEGER},
paper_type = #{paperType,jdbcType=INTEGER},
grade_level = #{gradeLevel,jdbcType=INTEGER},
score = #{score,jdbcType=INTEGER},
question_count = #{questionCount,jdbcType=INTEGER},
suggest_time = #{suggestTime,jdbcType=INTEGER},
limit_start_time = #{limitStartTime,jdbcType=TIMESTAMP},
limit_end_time = #{limitEndTime,jdbcType=TIMESTAMP},
frame_text_content_id = #{frameTextContentId,jdbcType=INTEGER},
create_user = #{createUser,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
deleted = #{deleted,jdbcType=BIT},
task_exam_id = #{taskExamId,jdbcType=INTEGER},
user_ids = #{userIds,jdbcType=INTEGER},
where id = #{id,jdbcType=INTEGER}
update t_exam_paper
set name = #{name,jdbcType=VARCHAR},
subject_id = #{subjectId,jdbcType=INTEGER},
dept_id = #{deptId,jdbcType=INTEGER},
paper_type = #{paperType,jdbcType=INTEGER},
grade_level = #{gradeLevel,jdbcType=INTEGER},
score = #{score,jdbcType=INTEGER},
question_count = #{questionCount,jdbcType=INTEGER},
suggest_time = #{suggestTime,jdbcType=INTEGER},
limit_start_time = #{limitStartTime,jdbcType=TIMESTAMP},
limit_end_time = #{limitEndTime,jdbcType=TIMESTAMP},
frame_text_content_id = #{frameTextContentId,jdbcType=INTEGER},
create_user = #{createUser,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
deleted = #{deleted,jdbcType=BIT},
task_exam_id = #{taskExamId,jdbcType=INTEGER}
where id = #{id,jdbcType=INTEGER}
update t_exam_paper set task_exam_id = #{taskId} where id in
#{id}
update t_exam_paper set task_exam_id = null where id in
#{id}
delete from t_exam_paper
where id in
#{id}