/// <summary> /// 更新学生密码 /// </summary> /// <param name="stuAccount">学生账号</param> /// <param name="stuPwd">学生密码</param> /// <returns></returns> public Enums.OpResult UpdataPwd(string stuAccount, string stuPwd) { int count = dao.UpdataPwd(stuAccount, stuPwd); if (count > 0) { return(Enums.OpResult.更新成功); } else { return(Enums.OpResult.更新失败); } }