the present disclosure relates to an amino pyran ring derivative and a composition and use thereof , and in particular , to an amino pyran ring derivative represented by general formula or a stereoisomer , a pharmaceutically acceptable salt or a prodrug thereof , a pharmaceutical composition comprising the derivative , and their medical use in the manufacture of a di - peptidyl peptidase iv inhibitor , in formula the substituents are defined the same as those in the specification .