Commit d3eb0339 by guanzhenshan

修改同步调拨单详情的服务,增加完成时间

parent 27bb6c1a
...@@ -7,22 +7,22 @@ namespace Bailun.DC.AllotOrderDetail ...@@ -7,22 +7,22 @@ namespace Bailun.DC.AllotOrderDetail
{ {
class Program class Program
{ {
//static async Task Main(string[] args) static async Task Main(string[] args)
//{ {
// Console.WriteLine("启动服务 " + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")); Console.WriteLine("启动服务 " + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"));
// var builder = new HostBuilder().ConfigureServices((hostContext, services) => var builder = new HostBuilder().ConfigureServices((hostContext, services) =>
// { {
// services.AddHostedService<Services>(); services.AddHostedService<Services>();
// }); });
// await builder.RunConsoleAsync(); await builder.RunConsoleAsync();
//} }
static void Main(string[] args) //static void Main(string[] args)
{ //{
var service = new Services(); // var service = new Services();
service.Init(); // service.Init();
} //}
} }
} }
...@@ -75,7 +75,7 @@ namespace Bailun.DC.AllotOrderDetail ...@@ -75,7 +75,7 @@ namespace Bailun.DC.AllotOrderDetail
var total = -1; var total = -1;
//测试 //测试
starttime = DateTime.Parse("2018-12-05"); //starttime = DateTime.Parse("2018-12-05");
while (total == -1 || total > ((page-1) * rows)) while (total == -1 || total > ((page-1) * rows))
{ {
......
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