From ceef4d902103ef92cf660ce3ff589c7fbd15b190 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Tue, 16 May 2023 10:06:49 +0800
Subject: [PATCH] twoCoin项目修改
---
src/main/java/cc/mrbird/febs/dapp/mapper/DappFundFlowDao.java | 24 +++++++++++++++++++++++-
1 files changed, 23 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 f49f3f9..fd9888a 100644
--- a/src/main/java/cc/mrbird/febs/dapp/mapper/DappFundFlowDao.java
+++ b/src/main/java/cc/mrbird/febs/dapp/mapper/DappFundFlowDao.java
@@ -6,8 +6,10 @@
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
+import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
+import java.util.Map;
public interface DappFundFlowDao extends BaseMapper<DappFundFlowEntity> {
@@ -15,5 +17,25 @@
List<DappFundFlowEntity> selectListForMemberAndDay(@Param("memberId") Long memberId, @Param("type") int type);
- DappFundFlowEntity selectMineFundFlowByMemberIdAndTime(@Param("time") Long memberId, @Param("time") Date time);
+ DappFundFlowEntity selectByFromHash(@Param("txHash") String txHash, @Param("status") Integer status);
+
+ 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);
+
+ 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