Commit 467b29fc by guanzhenshan

修复发生额管理成本的问题

parent c5ec633b
......@@ -21,7 +21,7 @@ namespace Bailun.DC.HappenAmount
//static void Main(string[] args)
//{
// var start = DateTime.Parse("2019-09-01");
// while (start.AddDay(1) < DateTime.Now)
// while (start.AddDays(1) < DateTime.Now)
// {
// new Services().Init(start, start.AddDays(1));
// start = start.AddDays(1);
......
......@@ -31,7 +31,7 @@ namespace Bailun.DC.HappenAmount
{
Console.WriteLine("开始启动 " + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"));
Init(DateTime.Parse(now.ToShortDateString()),now);
Init(DateTime.Parse(now.ToShortDateString()), DateTime.Parse(now.ToShortDateString()));
Console.WriteLine("任务运行完成 " + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"));
}
......
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