The invention discloses a compound used as a dual inhibitor for RAAS (rennin angiotensin aldosterone system) and particularly relates to a compound shown in formula (I), a stereisomer thereof or a pharmaceutically acceptable salt thereof. The compound can be used for treating and blocking RAS-associated diseases such as hypertension and heart disease, can be used for preventing or treating hypertension, congestive heart failure, pulmonary hypertension, renal insufficiency, renal ischemia, kidney failure, renal fibrosis, cardiac insufficiency, cardiac hypertrophy, cardiac fibrosis, myocardial ischemia, cardiomyopathy, glomerulonephritis, renal colic, complications such as nephropathy caused by diabetes, vasculopathy, vasculopathy, glaucoma, intraocular pressure elevation, atherosis, restenosis after revascularization, complications after blood vessel or cardiac operation, erectile dysfunction, hyperaldosteronism, lung fibrosis, scleroderma, anxiety, cognitive disorder, complications caused by immunosuppressor treatment as well as other known diseases associated with the rennin angiotensin aldosterone system.