The present invention discloses a novel DGAT1 inhibitor, especially the compound of formula (I) or a pharmaceutically acceptable salt thereof, preparation and pharmaceutical composition thereof, as well as their uses in the preparation of a medicament for the prevention and treatment of Familial hyperchylomicronemia (FCS), obesity, hyperlipoproteinemia or hypertriglyceridemia.