The woman who beat her two-year-old daughter and glued her hands to a wall has been sentenced to 99 years in prison.