I had to file an amended return and I have a few questions

My original refund when I filed my return was $1464 and now since I filed my amended return it says I owe $247 and my refund is now $1217.  Since I e-filed my first return will I still receive the $1464?  And then do I have to send in a check for the amount of $247?