insert into mall_goods_attribute( `goods_id`, `attribute_id`, `value`) values( #{goodsId}, #{attributeId}, #{value}) update mall_goods_attribute `goods_id` = #{goodsId}, `attribute_id` = #{attributeId}, `value` = #{value} where id = #{id} update mall_goods_attribute `value` = #{value} where goods_id = #{goodsId} AND attribute_id = #{attributeId} delete from mall_goods_attribute where id = #{value} delete from mall_goods_attribute where goods_id = #{goodsId} delete from mall_goods_attribute where id in #{id}