Disclosed are a compound represented by general formula (I) as a phosphodiesterase type-5 inhibitor or pharmaceutically acceptable salts thereof and uses thereof in treating and/or preventing diseases or conditions related to the phosphodiesterase type-5 in mammals,