id, from_uid, to_uid, create_time
delete from user_interest
where id = #{id,jdbcType=VARCHAR}
insert into user_interest (id, from_uid, to_uid,
create_time)
values (#{id,jdbcType=VARCHAR}, #{fromUid,jdbcType=VARCHAR}, #{toUid,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP})
insert into user_interest
id,
from_uid,
to_uid,
create_time,
#{id,jdbcType=VARCHAR},
#{fromUid,jdbcType=VARCHAR},
#{toUid,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
update user_interest
from_uid = #{fromUid,jdbcType=VARCHAR},
to_uid = #{toUid,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=VARCHAR}
update user_interest
set from_uid = #{fromUid,jdbcType=VARCHAR},
to_uid = #{toUid,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=VARCHAR}