package cc.mrbird.febs.dapp.mapper; import cc.mrbird.febs.dapp.entity.DappAchieveMemberTreeEntity; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Param; import java.util.List; public interface DappAchieveMemberTreeDao extends BaseMapper { List selectNotBottomNodeInMatrix(@Param("memberId") Long memberId); List selectMatrixTreeByTopNode(@Param("memberId") Long memberId, @Param("hasMoney") Integer hasMoney); DappAchieveMemberTreeEntity selectNodeByDeep(@Param("memberId") Long memberId, @Param("deep") Integer deep); List selectMatrixChildNode(@Param("topNode") Long topNode, @Param("parentNode") Long parentNode); int resetMatrixTree(@Param("memberId") Long memberId); int reentryMoney(@Param("memberId") Long memberId); int emptyTable(); }