Commit 4953d4ef by zhouminghui

fix

parent e8908f8e
...@@ -1364,6 +1364,7 @@ AND financecategoryname LIKE '{financecategory.Replace("产品", "")}%' "; ...@@ -1364,6 +1364,7 @@ AND financecategoryname LIKE '{financecategory.Replace("产品", "")}%' ";
} }
catch (Exception e) catch (Exception e)
{ {
Console.WriteLine($"错误信息:{ e.Message}");
return false; return false;
} }
} }
......
...@@ -29,7 +29,7 @@ namespace Bailun.DC.SyncMonthSalesProfitNew ...@@ -29,7 +29,7 @@ namespace Bailun.DC.SyncMonthSalesProfitNew
try try
{ {
var now = DateTime.Now; var now = DateTime.Now;
if (now.Hour == 1) if (now.Hour == 13)
{ {
Console.WriteLine("同步月利润销售报告开始启动 " + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")); Console.WriteLine("同步月利润销售报告开始启动 " + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"));
var result = Init(); var result = Init();
......
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