Beispiel #1
0
        /// <summary>
        /// 获得根部门
        /// </summary>
        /// <returns></returns>
        public Bill_Departments GetRoot()
        {
            IList <Bill_Departments> allList = deptDal.GetAllDept();
            Bill_Departments         ret     = new Bill_Departments();

            FindRoot(allList, dept.DeptCode, ret);


            return(ret);
        }
Beispiel #2
0
 /// <summary>
 /// 获得所有部门
 /// </summary>
 /// <returns></returns>
 public IList <Bill_Departments> GetAllDept()
 {
     return(deptDal.GetAllDept());
 }