A warning, fine or detention does not itself create a statutory ban period. A 1-5 year inadmissibility period attaches to being escorted out of the country, and 10 years to deportation ordered by the Ministry of Public Security.
Nationwide (all cities)
Escorted departure: 1 to 5 years
Article 62 of the Exit and Entry Administration Law lists the cases in which a foreigner "may" be escorted out of the country, including illegal stay and illegal employment, and states that a person escorted out may not enter China for one to five years from the date of escorted departure. Article 31 of the implementing regulation requires the authority making the escorted-departure decision to determine the specific inadmissibility period according to law.
Deportation: 10 years
Article 81 of the Exit and Entry Administration Law provides that a foreigner who violates the law seriously but not criminally may be deported by the Ministry of Public Security, and a deported person may not enter China for 10 years from the date of deportation. It also provides that a foreigner whose activities do not match the purpose of stay or residence, or who is otherwise unsuitable to remain, may be ordered to leave within a set time.
How the ban is applied at visa stage
Article 21(1) of the Exit and Entry Administration Law provides that a visa is not issued to a person who has been deported or is subject to an escorted-departure decision and has not yet completed the prescribed inadmissibility period. Article 25 makes those circumstances a ground for refusal of entry.
A penalty is not automatically a ban
The warning, daily fine and detention in Article 78 are administrative penalties. The law does not provide that receiving them automatically creates an inadmissibility period. Separately, Article 34 of the implementing regulation lists cases in which the issuing authority declares a visa or stay or residence document invalid, including a decision to order departure within a set time, escorted departure or deportation, and the circumstances in Articles 21 and 31.