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, score, accuracy, project_code, mock_time
delete from race_question_mocks_stats
where id = #{id,jdbcType=BIGINT}
delete from race_question_mocks_stats
insert into race_question_mocks_stats (user_id, score, accuracy,
project_code, mock_time)
values (#{userId,jdbcType=BIGINT}, #{score,jdbcType=REAL}, #{accuracy,jdbcType=DECIMAL},
#{projectCode,jdbcType=VARCHAR}, #{mockTime,jdbcType=TIMESTAMP})
insert into race_question_mocks_stats
user_id,
score,
accuracy,
project_code,
mock_time,
#{userId,jdbcType=BIGINT},
#{score,jdbcType=REAL},
#{accuracy,jdbcType=DECIMAL},
#{projectCode,jdbcType=VARCHAR},
#{mockTime,jdbcType=TIMESTAMP},
update race_question_mocks_stats
id = #{record.id,jdbcType=BIGINT},
user_id = #{record.userId,jdbcType=BIGINT},
score = #{record.score,jdbcType=REAL},
accuracy = #{record.accuracy,jdbcType=DECIMAL},
project_code = #{record.projectCode,jdbcType=VARCHAR},
mock_time = #{record.mockTime,jdbcType=TIMESTAMP},
update race_question_mocks_stats
set id = #{record.id,jdbcType=BIGINT},
user_id = #{record.userId,jdbcType=BIGINT},
score = #{record.score,jdbcType=REAL},
accuracy = #{record.accuracy,jdbcType=DECIMAL},
project_code = #{record.projectCode,jdbcType=VARCHAR},
mock_time = #{record.mockTime,jdbcType=TIMESTAMP}
update race_question_mocks_stats
user_id = #{userId,jdbcType=BIGINT},
score = #{score,jdbcType=REAL},
accuracy = #{accuracy,jdbcType=DECIMAL},
project_code = #{projectCode,jdbcType=VARCHAR},
mock_time = #{mockTime,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=BIGINT}
update race_question_mocks_stats
set user_id = #{userId,jdbcType=BIGINT},
score = #{score,jdbcType=REAL},
accuracy = #{accuracy,jdbcType=DECIMAL},
project_code = #{projectCode,jdbcType=VARCHAR},
mock_time = #{mockTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=BIGINT}