Sam Hair notched up a devastating 50 in a key partnership with William Porterfield to secure the Bears their first win of the Royal London One-Day Cup in 2017.