Provided are a urea compound having a dual inhibitory activity against IDO and TDO and being represented by the formula (I) or a pharmaceutically acceptable salt thereof, a preparation method and pharmaceutical composition thereof, and a use of the same in treating an immunosuppressive disease mediated by IDO or TDO.Linvention concerne un composé durée ayant une double activité inhibitrice contre IDO et TDO et représenté par la formule, ou un sel pharmaceutiquement acceptable de celui-ci, un procédé de préparation et une composition pharmaceutique de celui-ci, ainsi quune utilisation dudit composé dans le traitement dune maladie immunosuppressive induite par IDO ou TDO.