xiaoyong931011
2022-12-01 9b3a67db63c2a51c1e97501b9e73f792a5f55bf8
src/main/java/cc/mrbird/febs/dapp/mapper/DappSystemProfitDao.java
@@ -2,6 +2,21 @@
import cc.mrbird.febs.dapp.entity.DappSystemProfit;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
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);
}