id, uid, hot, star, portal_url
delete from star
where id = #{id,jdbcType=VARCHAR}
insert into star (id, uid, hot,
star, portal_url)
values (#{id,jdbcType=VARCHAR}, #{uid,jdbcType=VARCHAR}, #{hot,jdbcType=INTEGER},
#{star,jdbcType=INTEGER}, #{portalUrl,jdbcType=VARCHAR})
insert into star
id,
uid,
hot,
star,
portal_url,
#{id,jdbcType=VARCHAR},
#{uid,jdbcType=VARCHAR},
#{hot,jdbcType=INTEGER},
#{star,jdbcType=INTEGER},
#{portalUrl,jdbcType=VARCHAR},
update star
uid = #{uid,jdbcType=VARCHAR},
hot = #{hot,jdbcType=INTEGER},
star = #{star,jdbcType=INTEGER},
portal_url = #{portalUrl,jdbcType=VARCHAR},
where id = #{id,jdbcType=VARCHAR}
update star
set uid = #{uid,jdbcType=VARCHAR},
hot = #{hot,jdbcType=INTEGER},
star = #{star,jdbcType=INTEGER},
portal_url = #{portalUrl,jdbcType=VARCHAR}
where id = #{id,jdbcType=VARCHAR}