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