示例#1
0
文件: Product.cs 项目: sang-nm/mphc
 public static int GetCountBySearch(
     int siteId                 = -1,
     string zoneIds             = null,
     int publishStatus          = -1,
     int languageId             = -1,
     int manufactureId          = -1,
     int productType            = -1,
     decimal?priceMin           = null,
     decimal?priceMax           = null,
     int position               = -1,
     int showOption             = -1,
     string propertyCondition   = null,
     string productIds          = null,
     string keyword             = null,
     bool searchCode            = false,
     string stateIds            = null,
     ProductSortingEnum orderBy = ProductSortingEnum.Position)
 {
     return(DBProduct.GetCountBySearch(siteId, zoneIds, publishStatus, languageId, manufactureId, productType, priceMin, priceMax, position, showOption, propertyCondition, productIds, keyword, searchCode, stateIds, (int)orderBy));
 }