From 8f6e4d410f70d4310c4f2c083afd528fac062e0a Mon Sep 17 00:00:00 2001
From: 2019232 <zh123456>
Date: Wed, 14 Dec 2022 17:39:26 +0800
Subject: [PATCH] 合约

---
 src/main/java/cc/mrbird/febs/dapp/mapper/DappFundFlowDao.java |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 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 512f9c2..fd9888a 100644
--- a/src/main/java/cc/mrbird/febs/dapp/mapper/DappFundFlowDao.java
+++ b/src/main/java/cc/mrbird/febs/dapp/mapper/DappFundFlowDao.java
@@ -24,4 +24,18 @@
     Map<String, BigDecimal> selectAmountTotalByType(@Param("memberId") Long memberId);
 
     BigDecimal selectProfitAmountByMemberId(@Param("memberId") Long memberId);
+
+    DappFundFlowEntity selectNewestFundFlow(@Param("memberId") Long memberId, @Param("type") Integer type);
+
+    BigDecimal selectSumAmountByMemberIdAndTypeAndStatus(@Param("memberId") Long memberId,@Param("type")int type, @Param("status")int status);
+
+    DappFundFlowEntity selectInfoById(@Param("id")Long id);
+
+    int updateStatusById(@Param("status")int status, @Param("id")Long id);
+
+    DappFundFlowEntity selectByStateAndVersionAndFromHashLimitOne(@Param("status")int withdrawStatusAgree, @Param("version")int withdrawStatusAgree1);
+
+    DappFundFlowEntity selectBymemberIdAndType(@Param("memberId")Long id, @Param("type")int type);
+
+    List<DappFundFlowEntity> selectListByState(@Param("status")int status);
 }

--
Gitblit v1.9.1