コード例 #1
0
        /// <summary>
        /// 查询字典
        /// </summary>
        /// <param name="queryInput"></param>
        /// <returns></returns>
        public async Task <Paged <DictOutput> > GetPaged(DictQueryInput queryInput)
        {
            var query = queryInput.Adapt <DictQuery>();

            query.DictType = DictType.Main;

            var result = await _dictRep.GetDictPagedResult(query);

            return(result.Adapt <Paged <DictOutput> >());
        }