package com.zhiqiyun.open.mapper;

import com.zhiqiyun.open.models.AuthorityInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author jtoms
 */
@Mapper
public interface AuthorityInfoMapper {

    /**
     * 查询下级ID
     *
     * @param parentId
     * @return
     */
    List<AuthorityInfo> findChildren(@Param("parentId") Long parentId);
}
