Hastings man sentenced in burglary case