id, user_id, good_id, creater_sn, create_time, moder_sn, mod_time, tstm delete from mall_user_collection where id = #{id,jdbcType=INTEGER} insert into mall_user_collection id, user_id, good_id, creater_sn, create_time, moder_sn, mod_time, tstm, #{id,jdbcType=INTEGER}, #{userId,jdbcType=INTEGER}, #{goodId,jdbcType=INTEGER}, #{createrSn,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{moderSn,jdbcType=VARCHAR}, #{modTime,jdbcType=TIMESTAMP}, #{tstm,jdbcType=TIMESTAMP}, update mall_user_collection user_id = #{userId,jdbcType=INTEGER}, good_id = #{goodId,jdbcType=INTEGER}, creater_sn = #{createrSn,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, moder_sn = #{moderSn,jdbcType=VARCHAR}, mod_time = #{modTime,jdbcType=TIMESTAMP}, tstm = #{tstm,jdbcType=TIMESTAMP}, where id = #{id,jdbcType=INTEGER}