Criminal Code of the Armed Forces Article 22
A person who searches out or gathers military confidential information in paragraph Ⅰof Article 20 shall be punished with imprisonment for not less than one year and not more than seven years. That if he committed the offence in wartime shall be punished with imprisonment for not less than three year and not more than ten years.A person who searches out or gathers intelligence for an enemy in paragraph Ⅰof Article 20 shall be punished with imprisonment for not less than five years and not more than ten years. If he committed the offence in wartime shall be punished with imprisonment for not less than seven year or imprisonment for life.An attempt to commit an offence specified in one of the two preceding paragraphs is punishable.A person who commits the offence unpremeditatedly in the preceding paragraph shall be punished with imprisonment for not more than two years, detention, or a fine of not more than 200,000 yuan.