/// <summary> /// 构造函数 /// </summary> /// <param name="startDate">开始日期</param> /// <param name="endDate">结束日期</param> /// <param name="pageIndex">当前页索引</param> public DeliveryIndexModel(string startDate, string endDate, int pageIndex) : base(pageIndex) { this.QueryStartDate = startDate; this.QueryEndDate = endDate; this.StartDate = DataConvert.ConvertStringToDate(startDate); this.EndDate = DataConvert.ConvertStringToDate(startDate); if (this.EndDate != DateTime.MinValue) { this.EndDate = this.EndDate.AddDays(1); } }