/// <summary> /// 查找联系电话是否已存在 /// </summary> /// <param name="stuAccount">联系电话</param> /// <returns>查找结果</returns> public bool selectByPhone(string phone) { int count = dao.SelectByPhone(phone); if (count > 0) { return(true); } else { return(false); } }