Commit d6347b1a by guanzhenshan

调整获取时间条件逻辑

parent 714b1313
......@@ -64,13 +64,18 @@ namespace Bailun.DC.SyncLogisticInfo
if (m != null && m.last_modification_time.HasValue)
{
starttime = m.last_modification_time.Value;
endtime = DateTime.Now;
endtime = starttime.AddDays(1);
}
}
//starttime = DateTime.Parse("2020-09-05");
//endtime = starttime.AddDays(1);
if (endtime > DateTime.Now)
{
endtime = DateTime.Now;
}
//starttime = DateTime.Parse("2020-07-01");
//endtime = DateTime.Parse("2020-08-01");
while (total == -1 || total>((page-1)*pagesize))
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment