Commit e8908f8e by zhouminghui

fix

parent 2baa0999
......@@ -1453,7 +1453,13 @@ AND platform_type = '{item.platform_type}' AND financecategoryname = '{item.fina
}
}
#endregion
public dc_month_sales_profit_order_summary GetTest()
{
Console.WriteLine("进入测试方法");
var sql = "SELECT * FROM dc_month_sales_profit_order_summary limit 1";
var data = SimpleCRUD.Query<dc_month_sales_profit_order_summary>(sql, null, GlobalConfig.ConnectionString).First();
return data;
}
#region 导出
public bool AddExprotTask(AddExprotTaskInput input)
{
......
......@@ -57,6 +57,8 @@ namespace Bailun.DC.SyncMonthSalesProfitNew
}
else
{
var data = new FinanceService().GetTest();
Console.WriteLine(Newtonsoft.Json.JsonConvert.SerializeObject(data));
Console.WriteLine($"现在是 【{now.Hour}点】,未到同步时间,本次同步结束~");
}
}
......
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