/// <summary>
        /// 获取部门及其各级子部门的所有成员
        /// </summary>
        /// <param name="pUnitID"></param>
        /// <returns></returns>
        public DepartmentTotalMember GetDeptAllMembers(string pUnitID, string pUnitName)
        {
            DataTable             parentDTbl = null;
            UserDeptJobMappingBLL mappingBll = new UserDeptJobMappingBLL(_loggingSessionInfo);
            //父
            DepartmentTotalMember parentMember = new DepartmentTotalMember();

            parentMember.UnitID   = pUnitID;
            parentMember.UnitName = pUnitName;
            parentDTbl            = mappingBll.GetDirectPersMembers(pUnitID);
            if (parentDTbl != null)
            {
                parentMember.DeptDirectPersMemberList = DataTableToObject.ConvertToList <PersonListItemInfo>(parentDTbl);
            }
            //子
            parentMember.SubDepartmentList = GetSubMembers(pUnitID);
            return(parentMember);
        }
        /// <summary>
        /// 获取部门直接成员
        /// </summary>
        /// <param name="pUnitID"></param>
        /// <returns></returns>
        public List <DepartmentTotalMember> GetDirectMembers(string pUnitID)
        {
            List <DepartmentInfo>        department  = GetDeptDirectSubDept(pUnitID);
            List <DepartmentTotalMember> listMembers = new List <DepartmentTotalMember>();
            DepartmentTotalMember        member      = null;
            DataTable             dTbl       = null;
            UserDeptJobMappingBLL mappingBll = new UserDeptJobMappingBLL(_loggingSessionInfo);

            foreach (var item in department)
            {
                member          = new DepartmentTotalMember();
                member.UnitID   = item.UnitID;
                member.UnitName = item.UnitName;
                dTbl            = mappingBll.GetDirectPersMembers(item.UnitID);
                if (dTbl != null)
                {
                    member.DeptDirectPersMemberList = DataTableToObject.ConvertToList <PersonListItemInfo>(dTbl);
                }
                listMembers.Add(member);
            }
            return(listMembers);
        }