Commit c12f3101 by guanzhenshan

解决同步wms物流基础数据服务逻辑问题

parent caf9fa7d
......@@ -67,11 +67,16 @@ namespace Bailun.DC.SyncLogisticInfo
if (m != null && m.HasValue)
{
starttime = m.Value.AddMinutes(-2);
endtime = starttime.AddHours(2);
endtime = starttime.AddHours(1);
}
}
if (starttime >= DateTime.Now)
{
starttime = DateTime.Now.AddMinutes(-2);
}
//starttime = DateTime.Parse("2020-09-05");
//endtime = starttime.AddDays(1);
if (endtime > DateTime.Now)
......@@ -106,7 +111,7 @@ namespace Bailun.DC.SyncLogisticInfo
{
page = 1;
total = 0;
endtime = endtime.AddDays(1);
}
}
......
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