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, competition_id, score, date_time
delete from competition_record
where id = #{id,jdbcType=BIGINT}
delete from competition_record
insert into competition_record (user_id, competition_id, score,
date_time)
values (#{userId,jdbcType=BIGINT}, #{competitionId,jdbcType=BIGINT}, #{score,jdbcType=REAL},
#{dateTime,jdbcType=TIMESTAMP})
insert into competition_record
user_id,
competition_id,
score,
date_time,
#{userId,jdbcType=BIGINT},
#{competitionId,jdbcType=BIGINT},
#{score,jdbcType=REAL},
#{dateTime,jdbcType=TIMESTAMP},
update competition_record
id = #{record.id,jdbcType=BIGINT},
user_id = #{record.userId,jdbcType=BIGINT},
competition_id = #{record.competitionId,jdbcType=BIGINT},
score = #{record.score,jdbcType=REAL},
date_time = #{record.dateTime,jdbcType=TIMESTAMP},
update competition_record
set id = #{record.id,jdbcType=BIGINT},
user_id = #{record.userId,jdbcType=BIGINT},
competition_id = #{record.competitionId,jdbcType=BIGINT},
score = #{record.score,jdbcType=REAL},
date_time = #{record.dateTime,jdbcType=TIMESTAMP}
update competition_record
user_id = #{userId,jdbcType=BIGINT},
competition_id = #{competitionId,jdbcType=BIGINT},
score = #{score,jdbcType=REAL},
date_time = #{dateTime,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=BIGINT}
update competition_record
set user_id = #{userId,jdbcType=BIGINT},
competition_id = #{competitionId,jdbcType=BIGINT},
score = #{score,jdbcType=REAL},
date_time = #{dateTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=BIGINT}