Hi dreamer711,
I’m assuming you in the UK and may need to return to China?
If this is wrong I apologise, it just gives me words to write with.
You are experiencing anxiety, worrying about the future, worrying about something you aren’t in control of is not helpful. If you want to continue a relationship with your boyfriend, why don’t you start looking for work a month in advance? Work your butt off to get a job/visa in the UK so you don’t need to return home?
If you need to return home, then do so, keep in contact and keep applying for jobs until you get one. If you love your partner this wouldn’t seem like too much ‘effort’, if you don’t then maybe you will see this as effort.
Have you spoken with him about the issue you’re facing?