KKSU
2024-07-29 c129ae76b6e0ccd6a3f8637b65de0647f1a44219
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>