/// <summary>
        /// 根据数据字典分类编码获取该分类可用内容
        /// </summary>
        /// <param name="itemCode">分类编码</param>
        /// <returns></returns>
        public async Task <List <ItemsDetailOutputDto> > GetItemDetailsByItemCode(string itemCode)
        {
            string where = string.Empty;
            if (!string.IsNullOrEmpty(itemCode))
            {
                where = string.Format("EnCode='{0}'", itemCode);
            }
            Items items = await itemsService.GetByEnCodAsynce(itemCode);

            List <ItemsDetailOutputDto> resultList = new List <ItemsDetailOutputDto>();

            if (items != null)
            {
                where = string.Format("ItemId='{0}'", items.Id);
                IEnumerable <ItemsDetail> list = _repository.GetAllByIsNotDeleteAndEnabledMark(where);
                resultList = list.OrderBy(t => t.SortCode).MapTo <ItemsDetailOutputDto>();
            }
            return(resultList);
        }