From 729027dccfb797b26816fe8d57c77fe18620594f Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Sat, 08 Oct 2022 16:53:27 +0800
Subject: [PATCH] 20220902
---
src/main/java/cc/mrbird/febs/mall/mapper/MallMemberWalletMapper.java | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/src/main/java/cc/mrbird/febs/mall/mapper/MallMemberWalletMapper.java b/src/main/java/cc/mrbird/febs/mall/mapper/MallMemberWalletMapper.java
index 8fdc1a0..cea3a64 100644
--- a/src/main/java/cc/mrbird/febs/mall/mapper/MallMemberWalletMapper.java
+++ b/src/main/java/cc/mrbird/febs/mall/mapper/MallMemberWalletMapper.java
@@ -4,9 +4,25 @@
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
+import java.math.BigDecimal;
+
public interface MallMemberWalletMapper extends BaseMapper<MallMemberWallet> {
MallMemberWallet selectWalletByMemberId(@Param("memberId") Long memberId);
int updateBalanceWithVersion(@Param("record") MallMemberWallet wallet);
+
+ int updateCommissionWithVersion(@Param("record") MallMemberWallet wallet);
+
+ int updateAmountWithVersion(@Param("record") MallMemberWallet wallet);
+
+ void updateBalanceWithId(@Param("record")MallMemberWallet mallMemberWallet);
+
+ BigDecimal selectSumBalance();
+
+ BigDecimal selectSumScore();
+
+ BigDecimal selectSumPrizeScore();
+
+ BigDecimal selectSumCommission();
}
--
Gitblit v1.9.1