Can the patent be eliminated after the degree certificate is revoked?

Yes, you can.

According to the regulations of the school, if graduates have invention patent certificates, they will generally issue degree certificates.

Note: This is a practical patent. It must be your own patent and not transferable. Don't look for those transferred patents. It's no use. You must have a patent that has not been applied for.