I applied for a patent for something designed by others. If the other party goes to court with me, which one of us can win? How is the law stipulated? Thank you.

The other team won. As long as the other party has some practical evidence, it can be proved that the invention was invented by the other party. If you don't have the above, it belongs to stealing other people's inventions. Even if you have already applied for a patent, it won't help. If the court decides that you are indeed infringing, it will not only revoke the patent right you applied for before. If you benefit from this patent. There is a good chance that you will return the profits to the other party.