Lawyer’s answer: Administrative detention cannot be discounted from criminal detention.
Legal objectivity:
Article 35 of the "Administrative Punishment Law of the People's Republic of China"* * *When an illegal act constitutes a crime and the people's court sentences him to criminal detention or fixed-term imprisonment, the administrative agency If the party concerned has been given administrative detention, the corresponding sentence shall be deducted in accordance with the law. When an illegal act constitutes a crime and the people's court imposes a fine, if the administrative agency has already imposed a fine on the party concerned, it shall offset the corresponding fine; if the administrative agency has not imposed a fine on the party concerned, no fine shall be imposed.