content_id, bucket, name, size, type, url, suffix, update_time
delete from tool_qiniu_content
where content_id = #{contentId,jdbcType=BIGINT}
insert into tool_qiniu_content (content_id, bucket, name,
size, type, url, suffix,
update_time)
values (#{contentId,jdbcType=BIGINT}, #{bucket,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR},
#{size,jdbcType=VARCHAR}, #{type,jdbcType=VARCHAR}, #{url,jdbcType=VARCHAR}, #{suffix,jdbcType=VARCHAR},
#{updateTime,jdbcType=TIMESTAMP})
insert into tool_qiniu_content
content_id,
bucket,
name,
size,
type,
url,
suffix,
update_time,
#{contentId,jdbcType=BIGINT},
#{bucket,jdbcType=VARCHAR},
#{name,jdbcType=VARCHAR},
#{size,jdbcType=VARCHAR},
#{type,jdbcType=VARCHAR},
#{url,jdbcType=VARCHAR},
#{suffix,jdbcType=VARCHAR},
#{updateTime,jdbcType=TIMESTAMP},
update tool_qiniu_content
bucket = #{bucket,jdbcType=VARCHAR},
name = #{name,jdbcType=VARCHAR},
size = #{size,jdbcType=VARCHAR},
type = #{type,jdbcType=VARCHAR},
url = #{url,jdbcType=VARCHAR},
suffix = #{suffix,jdbcType=VARCHAR},
update_time = #{updateTime,jdbcType=TIMESTAMP},
where content_id = #{contentId,jdbcType=BIGINT}
update tool_qiniu_content
set bucket = #{bucket,jdbcType=VARCHAR},
name = #{name,jdbcType=VARCHAR},
size = #{size,jdbcType=VARCHAR},
type = #{type,jdbcType=VARCHAR},
url = #{url,jdbcType=VARCHAR},
suffix = #{suffix,jdbcType=VARCHAR},
update_time = #{updateTime,jdbcType=TIMESTAMP}
where content_id = #{contentId,jdbcType=BIGINT}