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, question_id, content, show_type, sort, operator, created_at, updated_at, rec_status
delete from t_train_question_option
where id = #{id,jdbcType=BIGINT}
delete from t_train_question_option
insert into t_train_question_option (id, question_id, content,
show_type, sort, operator,
created_at, updated_at, rec_status
)
values (#{id,jdbcType=BIGINT}, #{questionId,jdbcType=BIGINT}, #{content,jdbcType=VARCHAR},
#{showType,jdbcType=TINYINT}, #{sort,jdbcType=INTEGER}, #{operator,jdbcType=BIGINT},
#{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP}, #{recStatus,jdbcType=TINYINT}
)
insert into t_train_question_option
id,
question_id,
content,
show_type,
sort,
operator,
created_at,
updated_at,
rec_status,
#{id,jdbcType=BIGINT},
#{questionId,jdbcType=BIGINT},
#{content,jdbcType=VARCHAR},
#{showType,jdbcType=TINYINT},
#{sort,jdbcType=INTEGER},
#{operator,jdbcType=BIGINT},
#{createdAt,jdbcType=TIMESTAMP},
#{updatedAt,jdbcType=TIMESTAMP},
#{recStatus,jdbcType=TINYINT},
update t_train_question_option
id = #{record.id,jdbcType=BIGINT},
question_id = #{record.questionId,jdbcType=BIGINT},
content = #{record.content,jdbcType=VARCHAR},
show_type = #{record.showType,jdbcType=TINYINT},
sort = #{record.sort,jdbcType=INTEGER},
operator = #{record.operator,jdbcType=BIGINT},
created_at = #{record.createdAt,jdbcType=TIMESTAMP},
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP},
rec_status = #{record.recStatus,jdbcType=TINYINT},
update t_train_question_option
set id = #{record.id,jdbcType=BIGINT},
question_id = #{record.questionId,jdbcType=BIGINT},
content = #{record.content,jdbcType=VARCHAR},
show_type = #{record.showType,jdbcType=TINYINT},
sort = #{record.sort,jdbcType=INTEGER},
operator = #{record.operator,jdbcType=BIGINT},
created_at = #{record.createdAt,jdbcType=TIMESTAMP},
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP},
rec_status = #{record.recStatus,jdbcType=TINYINT}
update t_train_question_option
question_id = #{questionId,jdbcType=BIGINT},
content = #{content,jdbcType=VARCHAR},
show_type = #{showType,jdbcType=TINYINT},
sort = #{sort,jdbcType=INTEGER},
operator = #{operator,jdbcType=BIGINT},
created_at = #{createdAt,jdbcType=TIMESTAMP},
updated_at = #{updatedAt,jdbcType=TIMESTAMP},
rec_status = #{recStatus,jdbcType=TINYINT},
where id = #{id,jdbcType=BIGINT}
update t_train_question_option
set question_id = #{questionId,jdbcType=BIGINT},
content = #{content,jdbcType=VARCHAR},
show_type = #{showType,jdbcType=TINYINT},
sort = #{sort,jdbcType=INTEGER},
operator = #{operator,jdbcType=BIGINT},
created_at = #{createdAt,jdbcType=TIMESTAMP},
updated_at = #{updatedAt,jdbcType=TIMESTAMP},
rec_status = #{recStatus,jdbcType=TINYINT}
where id = #{id,jdbcType=BIGINT}