Example #1
0
        /// <summary>
        /// 根据诊疗项目id获取SKU
        /// </summary>
        /// <param name="id">诊疗项目id</param>
        /// <returns></returns>
        public static List <DTO.SKU> GetSKU(long id)
        {
            var skus = _productService.GetSKUs(id).ToList();

            return(AutoMapper.Mapper.Map <List <DTO.SKU> >(skus));
        }