Beispiel #1
0
        public static List <ProductInfo> GetSeries(int CategorySN)
        {
            var ids = ProductCategoryLocalService.FindAllChild(CategorySN);

            ids.Add(CategorySN);
            var result = CurrentRepository.FindList(o => ids.Contains(o.CategorySN)).ToList();

            return(result);
        }
Beispiel #2
0
 public static List <ProductCategory> GetSubCategorySelectItem(int psn)
 {
     return(ProductCategoryLocalService.FindList(o => o.CategoryPSN == psn).OrderBy(o => o.OrderNum).ToList());
 }