You should report the loss to the Public Security Bureau as soon as possible and go to your country's embassy or consulate in China to apply for a replacement passport or travel document. Post that, you must go to the Public Security Bureau to apply for a new entry and exit visa.