Commit 9c965ab7 by guanzhenshan

调整半成品进销存的启动时间

parent 98253766
......@@ -22,13 +22,14 @@ namespace Bailun.DC.DailySemiPurchaseSellStock
//{
// var _services = new Services();
// var start = DateTime.Parse("2019-09-01");
// while (start.AddDays(1) < DateTime.Now)
// {
// Console.WriteLine(start);
// _services.Init(start);
// start = start.AddDays(1);
// }
// var start = DateTime.Parse("2019-11-25");
// _services.Init(start);
// //while (start.AddDays(1) < DateTime.Now)
// //{
// // Console.WriteLine(start);
// // _services.Init(start);
// // start = start.AddDays(1);
// //}
//}
}
}
......@@ -28,7 +28,7 @@ namespace Bailun.DC.DailySemiPurchaseSellStock
{
var now = DateTime.Now;
if (now.Hour == 7 && now.Minute == 18) //每天 07:18分启动
if (now.Hour == 7 && now.Minute == 18) //每天 04:18分启动
{
Console.WriteLine("开始启动 " + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"));
var start = DateTime.Parse(now.AddDays(-1).ToShortDateString());
......
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