xiaoyong931011
2023-07-27 f6c1f7b6bc16ed4829a6e85ea376b2fd2367c74d
src/main/resources/mapper/modules/MallShoppingCartMapper.xml
@@ -25,4 +25,15 @@
        delete from mall_shopping_cart
        where member_id=#{memberId} and sku_id=#{skuId}
    </delete>
    <delete id="deleteByGoodsId">
        delete from mall_shopping_cart
        where goods_id = #{goodsId}
    </delete>
    <delete id="deleteByGoodsIdAndSkuId">
        delete from mall_shopping_cart
        where goods_id = #{goodsId} and sku_id = #{skuId}
    </delete>
</mapper>