If not, according to the provisions of the Patent Law, both parties shall jointly apply for a patent (Article 8 of the Patent Law).
If it is not stipulated in the contract in fact, one of the units has applied for a patent, and the other unit may file a patent ownership dispute.