Detention is divided into administrative detention, criminal detention and judicial custody. Criminal record refers to criminal record or criminal certificate. Administrative detention, also called administrative punishment, is illegal, not a crime. The public security organs will have records that can be inquired, but they are not criminal records. Criminal detention, if it is found to constitute a crime, will be decided by the court later, which does constitute a crime and will leave a criminal record. Judicial custody is a kind of punishment by the people's court for those who intentionally violate judicial procedures and disturb public order. People who accept judicial custody will have no criminal record. However, these records will accompany the client for life. If it is a minor, the criminal record can only be disclosed to the public after the judicial organ or lawyer reports the case to the relevant organ for approval.
Legal basis:
Article 286 of the Criminal Procedure Law of People's Republic of China (PRC) * * * If he was under the age of 18 at the time of committing the crime and was sentenced to fixed-term imprisonment of not more than five years, the relevant criminal records shall be sealed. If the criminal record is sealed, it shall not be provided to any unit or individual, except for the need of judicial organs to handle cases or the relevant units to make inquiries in accordance with state regulations. Units that inquire according to law shall keep the sealed criminal records confidential.