From 6bc7d55344a1dab02b6a187ea4b5341ae7c29f1b Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Mon, 22 Jul 2024 12:34:44 +0800
Subject: [PATCH] 逻辑
---
src/main/java/cc/mrbird/febs/dapp/mapper/DappFundFlowDao.java | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/src/main/java/cc/mrbird/febs/dapp/mapper/DappFundFlowDao.java b/src/main/java/cc/mrbird/febs/dapp/mapper/DappFundFlowDao.java
index c5bd217..6b27905 100644
--- a/src/main/java/cc/mrbird/febs/dapp/mapper/DappFundFlowDao.java
+++ b/src/main/java/cc/mrbird/febs/dapp/mapper/DappFundFlowDao.java
@@ -7,7 +7,6 @@
import org.apache.ibatis.annotations.Param;
import java.math.BigDecimal;
-import java.util.Date;
import java.util.List;
import java.util.Map;
@@ -19,11 +18,17 @@
DappFundFlowEntity selectByFromHash(@Param("txHash") String txHash, @Param("status") Integer status);
+ DappFundFlowEntity selectByFromHashAndAndMemberId(@Param("txHash") String txHash, @Param("status") Integer status,@Param("memberId") Long memberId);
+
List<DappFundFlowEntity> selectFundFlowListByAddress(@Param("address") String address, @Param("status") Integer status);
Map<String, BigDecimal> selectAmountTotalByType(@Param("memberId") Long memberId);
BigDecimal selectProfitAmountByMemberId(@Param("memberId") Long memberId);
+ BigDecimal selectSumAmountByMemberIdAndType(@Param("memberId") Long memberId, @Param("type") Integer type);
+
+ BigDecimal selectSumRunPerkByMemberId(@Param("memberId") Long memberId);
+
DappFundFlowEntity selectNewestFundFlow(@Param("memberId") Long memberId, @Param("type") Integer type);
}
--
Gitblit v1.9.1