/// <summary>
 /// 根据父品牌编码查询子品牌
 /// </summary>
 /// <param name="parentId">
 /// 父品牌编码
 /// </param>
 /// <returns>
 /// 查询结果
 /// </returns>
 public List<Product_Brand> QuerySubProductBrandByParentId(int parentId)
 {
     var productBrandDa = new DAFactoryProduct().CreateProductBrandDA();
     return productBrandDa.SelectProductBrandByParentID(parentId);
 }
 /// <summary>
 /// 根据商品类别查询品牌信息
 /// </summary>
 /// <param name="categoryId">
 /// 类别ID
 /// </param>
 /// <returns>
 /// 查询结果
 /// </returns>
 public List<Product_Brand> QueryProductBrandByCategoryId(int categoryId)
 {
     var productBrandDa = new DAFactoryProduct().CreateProductBrandDA();
     return productBrandDa.SelectProductBrandByCategoryID(categoryId, 0);
 }
 /// <summary>
 /// 根据一级类别ID查询子类别信息
 /// </summary>
 /// <param name="parentId">
 /// 一级类别Id
 /// </param>
 /// <returns>
 /// 查询结果
 /// </returns>
 public List<Product_Category> QuerySubCategoriesByParentId(int parentId)
 {
     var productCategoryDa = new DAFactoryProduct().CreateProductCategoryDA();
     return productCategoryDa.SelectCategoryByParentID(parentId);
 }
 /// <summary>
 /// 查询一级商品分类信息
 /// </summary>
 /// <returns>
 /// 查询结果
 /// </returns>
 public List<Product_Category> QueryParentProductCategories()
 {
     var productCategoryDa = new DAFactoryProduct().CreateProductCategoryDA();
     return productCategoryDa.SelectCategoryByParentID(0);
 }