From 3942b68e9bd3663d473da1cb30d5e7bd24713a78 Mon Sep 17 00:00:00 2001
From: 2019232 <zh123456>
Date: Tue, 13 Dec 2022 13:24:20 +0800
Subject: [PATCH] 1
---
src/main/java/cc/mrbird/febs/dapp/mapper/DappFundFlowDao.java | 12 ++++++++++++
1 files changed, 12 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..d3e5311 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,16 @@
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);
}
--
Gitblit v1.9.1