Exemplo n.º 1
0
        /// <summary>
        /// 部门下是否有岗位
        /// </summary>
        /// <param name="departID">部门ID</param>
        /// <returns>是否成功找到岗位</returns>
        public bool IsExistChilds(string departID)
        {
            //是否分配了岗位
            PostBLL tmpBll = new PostBLL();
            int     count  = tmpBll.GetPositionCount(departID);

            if (count > 0)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }