Esempio n. 1
0
        /// <summary>
        /// 查询该学院是否已设置过管理员
        /// </summary>
        /// <param name="collegeId">学院ID</param>
        /// <returns>查找结果</returns>
        public bool selectByColl(int collegeId)
        {
            int count = dao.SelectByColl(collegeId);

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