xiaoyong931011
2022-12-05 19b525873d0e740d6ea31e939eb921bb711c8db6
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,16 @@
    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);
}