The present invention relates to the applications that formula (Ia) or (Ib) compound what prepare the drug for the treatment of latent tuberculosis, and wherein formula (Ia) or (Ib) compound are pharmaceutically acceptable acid or alkali addition salts, its quaternary ammonium, its N- oxide, its tautomer or its spatial chemistry isomeric forms.本發明涉及式(Ia)或(Ib)化合物用於製備治療潜伏性結核的藥物的應用,其中式(Ia)或(Ib)化合物爲藥學上可接受的酸或鹼加成鹽、其季銨、其N-氧化物、其互變異構體或其立體化學同分異構形式。