insert into mall_footprint ( `user_id`, `goods_id`, `add_time`, `referrer` ) values ( #{user_id}, #{goods_id}, #{add_time}, #{referrer} ) update mall_footprint `user_id` = #{user_id}, `goods_id` = #{goods_id}, `add_time` = #{add_time} `referrer` = #{referrer} where id = #{id} delete from mall_footprint where id = #{value} delete from mall_footprint where 1 = 1 and `user_id` = #{userId}, and `goods_id` = #{goodsId}, delete from mall_footprint where id in #{id}