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, exam_id, training_type, num, point, operate_type
delete from exam_definition_rules
where id = #{id,jdbcType=BIGINT}
delete from exam_definition_rules
insert into exam_definition_rules (exam_id, training_type, num,
point, operate_type)
values (#{examId,jdbcType=BIGINT}, #{trainingType,jdbcType=VARCHAR}, #{num,jdbcType=INTEGER},
#{point,jdbcType=INTEGER}, #{operateType,jdbcType=VARCHAR})
insert into exam_definition_rules
exam_id,
training_type,
num,
point,
operate_type,
#{examId,jdbcType=BIGINT},
#{trainingType,jdbcType=VARCHAR},
#{num,jdbcType=INTEGER},
#{point,jdbcType=INTEGER},
#{operateType,jdbcType=VARCHAR},
update exam_definition_rules
id = #{record.id,jdbcType=BIGINT},
exam_id = #{record.examId,jdbcType=BIGINT},
training_type = #{record.trainingType,jdbcType=VARCHAR},
num = #{record.num,jdbcType=INTEGER},
point = #{record.point,jdbcType=INTEGER},
operate_type = #{record.operateType,jdbcType=VARCHAR},
update exam_definition_rules
set id = #{record.id,jdbcType=BIGINT},
exam_id = #{record.examId,jdbcType=BIGINT},
training_type = #{record.trainingType,jdbcType=VARCHAR},
num = #{record.num,jdbcType=INTEGER},
point = #{record.point,jdbcType=INTEGER},
operate_type = #{record.operateType,jdbcType=VARCHAR}
update exam_definition_rules
exam_id = #{examId,jdbcType=BIGINT},
training_type = #{trainingType,jdbcType=VARCHAR},
num = #{num,jdbcType=INTEGER},
point = #{point,jdbcType=INTEGER},
operate_type = #{operateType,jdbcType=VARCHAR},
where id = #{id,jdbcType=BIGINT}
update exam_definition_rules
set exam_id = #{examId,jdbcType=BIGINT},
training_type = #{trainingType,jdbcType=VARCHAR},
num = #{num,jdbcType=INTEGER},
point = #{point,jdbcType=INTEGER},
operate_type = #{operateType,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}