Exemplo n.º 1
0
        /// <summary>
        /// 递归模块信息·补空格模式
        /// </summary>
        /// <returns>数据集合</returns>
        public static IList <DawnAuthDepartmentMDL> GetTree()
        {
            IList <DawnAuthDepartmentMDL> treeList = new List <DawnAuthDepartmentMDL>();
            IList <DawnAuthDepartmentMDL> rootList = DawnAuthDepartmentBLL.ISelectFather();

            foreach (var item in rootList)
            {
                treeList.Add(item);
                GetTreeNode(treeList, item.DptId, " ");
            }
            return(treeList);
        }