Exemplo n.º 1
0
        /// <summary>
        /// 根据enCode获取字典实体
        /// </summary>
        /// <param name="enCode"></param>
        /// <returns></returns>
        public ItemsDetailEntity GetItemByItemCode(string enCode)
        {
            ItemsDetailEntity        model = new ItemsDetailEntity();
            List <ItemsDetailEntity> lst   = service.GetItemByItemCode(enCode);

            if (lst.Count > 0)
            {
                model = lst[0];
            }
            return(model);
        }