xiaoyong931011
2023-08-12 bc11d703dd68efb9fe068a42cc8252d1adc49d9c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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);
}