From be3f0d8e8616f37621b3e969d6ca269ddf58a3a2 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Fri, 02 Dec 2022 17:33:40 +0800
Subject: [PATCH] 20221130
---
src/main/java/cc/mrbird/febs/dapp/mapper/DappSystemProfitDao.java | 18 ++++++++++++++++++
1 files changed, 18 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 f3f65c8..4c04e2d 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,11 @@
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;
public interface DappSystemProfitDao extends BaseMapper<DappSystemProfit> {
@@ -9,4 +13,18 @@
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);
}
--
Gitblit v1.9.1