and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
id, user_id, exam_id, exam_name, score, start_time, end_time, used_time, result
delete from user_exam
where id = #{id,jdbcType=BIGINT}
delete from user_exam
insert into user_exam (id, user_id, exam_id,
exam_name, score, start_time,
end_time, used_time, result
)
values (#{id,jdbcType=BIGINT}, #{userId,jdbcType=BIGINT}, #{examId,jdbcType=BIGINT},
#{examName,jdbcType=VARCHAR}, #{score,jdbcType=REAL}, #{startTime,jdbcType=TIMESTAMP},
#{endTime,jdbcType=TIMESTAMP}, #{usedTime,jdbcType=INTEGER}, #{result,jdbcType=VARCHAR}
)
insert into user_exam
id,
user_id,
exam_id,
exam_name,
score,
start_time,
end_time,
used_time,
result,
#{id,jdbcType=BIGINT},
#{userId,jdbcType=BIGINT},
#{examId,jdbcType=BIGINT},
#{examName,jdbcType=VARCHAR},
#{score,jdbcType=REAL},
#{startTime,jdbcType=TIMESTAMP},
#{endTime,jdbcType=TIMESTAMP},
#{usedTime,jdbcType=INTEGER},
#{result,jdbcType=VARCHAR},
update user_exam
id = #{record.id,jdbcType=BIGINT},
user_id = #{record.userId,jdbcType=BIGINT},
exam_id = #{record.examId,jdbcType=BIGINT},
exam_name = #{record.examName,jdbcType=VARCHAR},
score = #{record.score,jdbcType=REAL},
start_time = #{record.startTime,jdbcType=TIMESTAMP},
end_time = #{record.endTime,jdbcType=TIMESTAMP},
used_time = #{record.usedTime,jdbcType=INTEGER},
result = #{record.result,jdbcType=VARCHAR},
update user_exam
set id = #{record.id,jdbcType=BIGINT},
user_id = #{record.userId,jdbcType=BIGINT},
exam_id = #{record.examId,jdbcType=BIGINT},
exam_name = #{record.examName,jdbcType=VARCHAR},
score = #{record.score,jdbcType=REAL},
start_time = #{record.startTime,jdbcType=TIMESTAMP},
end_time = #{record.endTime,jdbcType=TIMESTAMP},
used_time = #{record.usedTime,jdbcType=INTEGER},
result = #{record.result,jdbcType=VARCHAR}
update user_exam
user_id = #{userId,jdbcType=BIGINT},
exam_id = #{examId,jdbcType=BIGINT},
exam_name = #{examName,jdbcType=VARCHAR},
score = #{score,jdbcType=REAL},
start_time = #{startTime,jdbcType=TIMESTAMP},
end_time = #{endTime,jdbcType=TIMESTAMP},
used_time = #{usedTime,jdbcType=INTEGER},
result = #{result,jdbcType=VARCHAR},
where id = #{id,jdbcType=BIGINT}
update user_exam
set user_id = #{userId,jdbcType=BIGINT},
exam_id = #{examId,jdbcType=BIGINT},
exam_name = #{examName,jdbcType=VARCHAR},
score = #{score,jdbcType=REAL},
start_time = #{startTime,jdbcType=TIMESTAMP},
end_time = #{endTime,jdbcType=TIMESTAMP},
used_time = #{usedTime,jdbcType=INTEGER},
result = #{result,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}