According to the fourth point of the NPC Standing Committee's Decision on Prohibiting Prostitution:
"Prostitution and whoring shall be punished in accordance with the provisions of Article 30 of the Regulations on Administrative Penalties for Public Security.
Prostitution and whoring can be forced by the public security organs in conjunction with relevant departments to focus on legal and moral education and productive labor, so that they can get rid of bad habits. The term is six months to two years. Specific measures shall be formulated by the State Council.
Those who engage in prostitution or whoring after being dealt with by the public security organs shall be given reeducation through labor, and the public security organs shall impose a fine of not more than 5,000 yuan.
Prostitution and whoring are subject to compulsory STD examination. Compulsory treatment for people with sexually transmitted diseases. "
The most serious punishment for prostitution is two years of compulsory reeducation through labor, not criminal punishment.