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, topic, `type`, create_user_id, create_time, project_code, company_id
delete from race_question
where id = #{id,jdbcType=BIGINT}
delete from race_question
insert into race_question (topic, `type`, create_user_id,
create_time, project_code, company_id
)
values (#{topic,jdbcType=VARCHAR}, #{type,jdbcType=VARCHAR}, #{createUserId,jdbcType=BIGINT},
#{createTime,jdbcType=TIMESTAMP}, #{projectCode,jdbcType=VARCHAR}, #{companyId,jdbcType=INTEGER}
)
insert into race_question
topic,
`type`,
create_user_id,
create_time,
project_code,
company_id,
#{topic,jdbcType=VARCHAR},
#{type,jdbcType=VARCHAR},
#{createUserId,jdbcType=BIGINT},
#{createTime,jdbcType=TIMESTAMP},
#{projectCode,jdbcType=VARCHAR},
#{companyId,jdbcType=INTEGER},
update race_question
id = #{record.id,jdbcType=BIGINT},
topic = #{record.topic,jdbcType=VARCHAR},
`type` = #{record.type,jdbcType=VARCHAR},
create_user_id = #{record.createUserId,jdbcType=BIGINT},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
project_code = #{record.projectCode,jdbcType=VARCHAR},
company_id = #{record.companyId,jdbcType=INTEGER},
update race_question
set id = #{record.id,jdbcType=BIGINT},
topic = #{record.topic,jdbcType=VARCHAR},
`type` = #{record.type,jdbcType=VARCHAR},
create_user_id = #{record.createUserId,jdbcType=BIGINT},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
project_code = #{record.projectCode,jdbcType=VARCHAR},
company_id = #{record.companyId,jdbcType=INTEGER}
update race_question
topic = #{topic,jdbcType=VARCHAR},
`type` = #{type,jdbcType=VARCHAR},
create_user_id = #{createUserId,jdbcType=BIGINT},
create_time = #{createTime,jdbcType=TIMESTAMP},
project_code = #{projectCode,jdbcType=VARCHAR},
company_id = #{companyId,jdbcType=INTEGER},
where id = #{id,jdbcType=BIGINT}
update race_question
set topic = #{topic,jdbcType=VARCHAR},
`type` = #{type,jdbcType=VARCHAR},
create_user_id = #{createUserId,jdbcType=BIGINT},
create_time = #{createTime,jdbcType=TIMESTAMP},
project_code = #{projectCode,jdbcType=VARCHAR},
company_id = #{companyId,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT}