A kind of quinoline compounds as formula A, pharmaceutical accepted solvates, optical isomers or polymorphisms thereof. The intermediates of formula D. in which, R1, R2 and R3 is independently H, halo or the subustitents of formula H, in which, R is H, halo, C1˜C4alkyl, C1˜C4alkoxyl. The preparation methods and the uses for the manufacture of a medicament of inhibiting the HMG CoA reductase and treating the diseases relating to the high blood fat. Compared with the fluvastatin, rosuvatatin, pitavastatin disclosed in the prior arts, present quinoline compounds have better activity of inhibiting HMG CoA reductase. Present quinoline compounds can be used for treating the diseases relating to the high blood fat.