From cadeca36ff86f74371c77a05dc8422abc1e48855 Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Thu, 19 Dec 2024 16:28:40 +0800
Subject: [PATCH] feat(table): 添加合计行功能 - 在 mallMemberList.html 中添加了 totalRow 属性,用于显示碳币和碳积分的合计 - 在 moneyFlowList.html 中移除了 description 字段的 totalRow属性 - 在 sellVipList.html 中将 amount 和 amountFee 字段的 totalRow 属性改为 true

---
 src/main/java/cc/mrbird/febs/mall/mapper/MallGoodsSkuMapper.java |   25 +++++++++++++++++++++++++
 1 files changed, 25 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 2fb2f54..7dc7f9f 100644
--- a/src/main/java/cc/mrbird/febs/mall/mapper/MallGoodsSkuMapper.java
+++ b/src/main/java/cc/mrbird/febs/mall/mapper/MallGoodsSkuMapper.java
@@ -1,7 +1,32 @@
 package cc.mrbird.febs.mall.mapper;
 
 import cc.mrbird.febs.mall.entity.MallGoodsSku;
+import cc.mrbird.febs.mall.vo.AdminMailGoodsSkuDetailVo;
 import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.List;
+import org.apache.ibatis.annotations.Param;
 
 public interface MallGoodsSkuMapper extends BaseMapper<MallGoodsSku> {
+
+    void deleteByGoodsId(@Param("id")Long id);
+
+    List<AdminMailGoodsSkuDetailVo> selectByGoodId(@Param("id")Long id);
+
+    List<MallGoodsSku> selectSkuByGoodsId(@Param("id") Long id);
+
+    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