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_exam_id, rules_id, training_id, point, score, used_time, cause
delete from user_exam_questions
where id = #{id,jdbcType=BIGINT}
delete from user_exam_questions
insert into user_exam_questions (user_exam_id, rules_id, training_id,
point, score, used_time,
cause)
values (#{userExamId,jdbcType=BIGINT}, #{rulesId,jdbcType=BIGINT}, #{trainingId,jdbcType=BIGINT},
#{point,jdbcType=INTEGER}, #{score,jdbcType=REAL}, #{usedTime,jdbcType=INTEGER},
#{cause,jdbcType=VARCHAR})
insert into user_exam_questions
id,
user_exam_id,
rules_id,
training_id,
point,
score,
used_time,
cause,
#{id,jdbcType=BIGINT},
#{userExamId,jdbcType=BIGINT},
#{rulesId,jdbcType=BIGINT},
#{trainingId,jdbcType=BIGINT},
#{point,jdbcType=INTEGER},
#{score,jdbcType=REAL},
#{usedTime,jdbcType=INTEGER},
#{cause,jdbcType=VARCHAR},
update user_exam_questions
id = #{record.id,jdbcType=BIGINT},
user_exam_id = #{record.userExamId,jdbcType=BIGINT},
rules_id = #{record.rulesId,jdbcType=BIGINT},
training_id = #{record.trainingId,jdbcType=BIGINT},
point = #{record.point,jdbcType=INTEGER},
score = #{record.score,jdbcType=REAL},
used_time = #{record.usedTime,jdbcType=INTEGER},
cause = #{record.cause,jdbcType=VARCHAR},
update user_exam_questions
set id = #{record.id,jdbcType=BIGINT},
user_exam_id = #{record.userExamId,jdbcType=BIGINT},
rules_id = #{record.rulesId,jdbcType=BIGINT},
training_id = #{record.trainingId,jdbcType=BIGINT},
point = #{record.point,jdbcType=INTEGER},
score = #{record.score,jdbcType=REAL},
used_time = #{record.usedTime,jdbcType=INTEGER},
cause = #{record.cause,jdbcType=VARCHAR}
update user_exam_questions
user_exam_id = #{userExamId,jdbcType=BIGINT},
rules_id = #{rulesId,jdbcType=BIGINT},
training_id = #{trainingId,jdbcType=BIGINT},
point = #{point,jdbcType=INTEGER},
score = #{score,jdbcType=REAL},
used_time = #{usedTime,jdbcType=INTEGER},
cause = #{cause,jdbcType=VARCHAR},
where id = #{id,jdbcType=BIGINT}
update user_exam_questions
set user_exam_id = #{userExamId,jdbcType=BIGINT},
rules_id = #{rulesId,jdbcType=BIGINT},
training_id = #{trainingId,jdbcType=BIGINT},
point = #{point,jdbcType=INTEGER},
score = #{score,jdbcType=REAL},
used_time = #{usedTime,jdbcType=INTEGER},
cause = #{cause,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}