My husband shows up at my workplace really often, and I wish he wouldn't.
Why? Why wouldn't you want him to visit you at work?
He's always distracting me and it's hard to get my job done when he stops by.
I can understand why it would be annoying to have your partner bothering you at work. Perhaps you can ask them to not stop by or you can make plans to have lunch with them offsite. I'd hate to see you lose your job because of this.
I'm going to tell him to pick a better time to spend time with me. I don't care how I'm going to handle finding time, I just need him to stop coming.
That would probably be for the best. Picking a different time will make sure he doesn't feel like you don't want to be around him, but it saves you from the unprofessionalism of having a visitor at work.