The present invention relates to the new quinoline compound of formula (I) and its officinal salt with and preparation method thereof. The compound of formula (I) can treat a variety of diseases relevant to 5-HT4 receptor stimulating agents with what.本發明涉及式(I)的新喹啉化合物及其可藥用鹽以及其製備方法。式(I)的化合物可用於治療與5‑HT4受體激動劑相關的多種疾病。