Legal analysis: generally not. However, those who are subject to administrative punishment or criminal punishment will affect themselves, their immediate children, their immediate parents and their spouses to take the civil service examination, recruit students from police schools, military schools, banks and state-owned enterprises. Those who fail the political examination will not be hired. Public security detention is a kind of administrative punishment, also known as administrative detention. Administrative detention refers to a punishment measure taken by public security organs to restrict personal freedom for citizens who violate administrative legal norms in a short time. Its term is greater than 1 day and less than 15 days. Administrative detention is a punishment for restricting citizens' personal freedom, and it is also a punishment imposed by public security organs in accordance with this law. Those who are subject to administrative punishment will have their illegal records in the public security organs.
Legal basis: Article 61 of People's Republic of China (PRC) Civil Service Law. If a civil servant violates the law and discipline and should bear disciplinary responsibility, he shall be punished according to this law or given administrative punishment by the supervisory organ according to law. If the violation of discipline and law is minor and corrected after criticism and education, it may be exempted from punishment. For the same violation of discipline and law, the supervisory organ has made a decision on administrative punishment, and the organ where the civil servant works will no longer give punishment.