コード例 #1
0
ファイル: SalesHelper.cs プロジェクト: zwkjgs/XKD
 public static System.Data.DataTable GetProductSalesNoPage(SaleStatisticsQuery productSale, out int totalProductSales)
 {
     System.Data.DataTable result;
     if (productSale == null)
     {
         totalProductSales = 0;
         result            = null;
     }
     else
     {
         result = new SaleStatisticDao().GetProductSalesNoPage(productSale, out totalProductSales);
     }
     return(result);
 }
コード例 #2
0
ファイル: SalesHelper.cs プロジェクト: zwkjgs/XKD
        public static IList <UserStatisticsInfo> GetUserStatistics(Pagination page, out int totalProductSaleVisits)
        {
            IList <UserStatisticsInfo> result;

            if (page == null)
            {
                totalProductSaleVisits = 0;
                result = null;
            }
            else
            {
                result = new SaleStatisticDao().GetUserStatistics(page, out totalProductSaleVisits);
            }
            return(result);
        }