From f9b4527fa9874be8d72b23b8d2aada617b0bdc71 Mon Sep 17 00:00:00 2001 From: Administrator <15274802129@163.com> Date: Mon, 28 Apr 2025 14:03:25 +0800 Subject: [PATCH] fix(mall): 修正活动余量计算逻辑 --- src/main/java/cc/mrbird/febs/mall/mapper/MallGoodsSkuMapper.java | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/src/main/java/cc/mrbird/febs/mall/mapper/MallGoodsSkuMapper.java b/src/main/java/cc/mrbird/febs/mall/mapper/MallGoodsSkuMapper.java index d4d5900..7dc7f9f 100644 --- a/src/main/java/cc/mrbird/febs/mall/mapper/MallGoodsSkuMapper.java +++ b/src/main/java/cc/mrbird/febs/mall/mapper/MallGoodsSkuMapper.java @@ -19,4 +19,14 @@ MallGoodsSku selectSkuInfoById(@Param("id") Long id); int delSkuByIds(@Param("list") List<Long> ids); + + Integer upDateStockAndVolumeBySkuId(@Param("id")Long id, @Param("cnt")Integer cnt); + + Integer updateStockAndVolumeBySkuId(@Param("id")Long id, @Param("cnt")Integer cnt); + + List<Long> selectGoodsIdBySkuIds(@Param("list")List<Long> skuIds); + + List<MallGoodsSku> selectSkuIdsByGoodsId(@Param("list")List<Long> goodsIdsAll); + + List<MallGoodsSku> selectByIds(@Param("list")List<Long> skuIds); } -- Gitblit v1.9.1