From c2c2b3eb922167ad573605250ffbc94c630b169f Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Wed, 16 Aug 2023 17:39:43 +0800
Subject: [PATCH] 后台修改
---
src/main/java/cc/mrbird/febs/dapp/mapper/DappSystemProfitDao.java | 29 +++++++++++++++++++++++++++++
1 files changed, 29 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 8e86bb4..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,7 +1,36 @@
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> {
+
+ DappSystemProfit selectSystemProfitByState(@Param("state") int stateOut);
+
+ DappSystemProfit selectByIdForUpdate(@Param("id") Long id,@Param("state") int stateOut);
+
+ 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