Beispiel #1
0
        //查询出库表
        public static PageList DeliveryAll(int PageIndex, int PageSize, int Day)
        {
            DateTime MaxTime;
            DateTime MinTime;

            if (Day != 0)
            {
                MaxTime = DateTime.Now;
                MinTime = DateTime.Now;
                MinTime.AddDays(-Day);
            }
            else
            {
                MaxTime = DateTime.MaxValue;
                MinTime = DateTime.MinValue;
            }

            return(DeliveryService.DeliveryAll(PageIndex, PageSize, MaxTime, MinTime));
        }