The present invention relates to a 1,4-dihydropyridine-3,5-dicarboxylate compound of general compound (I), a process for preparing the same, a use thereof for the manufacture of a medicament for treating and/or preventing kidney injury, cardiovascular diseases and/or endocrine diseases, as well as a pharmaceutical composition and a pharmaceutical formulation containing said compounds, wherein the definitions of R 1 , R 2 , R 3 , R 4 , R 5 , R 6 , R 7 , R 8 , m, n 1 , n 2 , p and q are the same as those defined in the description.