From 113622491e3ecbbad9abcc362dcc4d070f382fe0 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Fri, 09 Jun 2023 10:47:55 +0800
Subject: [PATCH] twoCoin项目修改

---
 src/main/java/cc/mrbird/febs/dapp/mapper/DappSystemProfitDao.java |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/src/main/java/cc/mrbird/febs/dapp/mapper/DappSystemProfitDao.java b/src/main/java/cc/mrbird/febs/dapp/mapper/DappSystemProfitDao.java
index 2f5faeb..b38e066 100644
--- a/src/main/java/cc/mrbird/febs/dapp/mapper/DappSystemProfitDao.java
+++ b/src/main/java/cc/mrbird/febs/dapp/mapper/DappSystemProfitDao.java
@@ -1,8 +1,14 @@
 package cc.mrbird.febs.dapp.mapper;
 
 import cc.mrbird.febs.dapp.entity.DappSystemProfit;
+import cc.mrbird.febs.dapp.vo.AdminDappSystemProfitVo;
+import cc.mrbird.febs.dapp.vo.AdminSystemProfitFlowListVo;
 import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
 import org.apache.ibatis.annotations.Param;
+
+import java.util.List;
 
 public interface DappSystemProfitDao extends BaseMapper<DappSystemProfit> {
 
@@ -13,4 +19,18 @@
     void updateLevelProfitById(@Param("levelProfit") int levelProfit,@Param("id")Long id);
 
     void updateStateById(@Param("state") int stateOut,@Param("id")Long id);
+
+    DappSystemProfit selectByMemberIdAndState(@Param("memberId")Long id, @Param("state")int stateIn);
+
+    DappSystemProfit selectSystemProfitOutByState(@Param("state")int stateOut);
+
+    DappSystemProfit selectSystemProfitInByState(@Param("state")int stateIn);
+
+    IPage<AdminDappSystemProfitVo> selectSystemProfitInPage(@Param("record")DappSystemProfit dappSystemProfit, Page<AdminDappSystemProfitVo> page);
+
+    IPage<AdminSystemProfitFlowListVo> selectSystemProfitFlowListInPage(@Param("record")DappSystemProfit dappSystemProfit, Page<AdminSystemProfitFlowListVo> page);
+
+    List<DappSystemProfit> selectDappSysstemProfitByState(@Param("state")int stateIn);
+
+    DappSystemProfit selectByMemberId(@Param("memberId")Long memberId);
 }

--
Gitblit v1.9.1