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, name, background_url, template_url, status, deleted_at, create_time, update_time
delete from tb_template
update tb_template
id = #{record.id,jdbcType=INTEGER},
name = #{record.name,jdbcType=VARCHAR},
background_url = #{record.backgroundUrl,jdbcType=VARCHAR},
template_url = #{record.templateUrl,jdbcType=VARCHAR},
status = #{record.status,jdbcType=INTEGER},
deleted_at = #{record.deletedAt,jdbcType=TIMESTAMP},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
update tb_template
set id = #{record.id,jdbcType=INTEGER},
name = #{record.name,jdbcType=VARCHAR},
background_url = #{record.backgroundUrl,jdbcType=VARCHAR},
template_url = #{record.templateUrl,jdbcType=VARCHAR},
status = #{record.status,jdbcType=INTEGER},
deleted_at = #{record.deletedAt,jdbcType=TIMESTAMP},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP}
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, name, background_url, template_url, status, deleted_at, created_at, updated_at
delete from tb_template
update tb_template
id = #{record.id,jdbcType=INTEGER},
name = #{record.name,jdbcType=VARCHAR},
background_url = #{record.backgroundUrl,jdbcType=VARCHAR},
template_url = #{record.templateUrl,jdbcType=VARCHAR},
status = #{record.status,jdbcType=INTEGER},
deleted_at = #{record.deletedAt,jdbcType=TIMESTAMP},
created_at = #{record.createdAt,jdbcType=TIMESTAMP},
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP},
update tb_template
set id = #{record.id,jdbcType=INTEGER},
name = #{record.name,jdbcType=VARCHAR},
background_url = #{record.backgroundUrl,jdbcType=VARCHAR},
template_url = #{record.templateUrl,jdbcType=VARCHAR},
status = #{record.status,jdbcType=INTEGER},
deleted_at = #{record.deletedAt,jdbcType=TIMESTAMP},
created_at = #{record.createdAt,jdbcType=TIMESTAMP},
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP}