Commit d6ff8199 by guanzhenshan

调整逻辑仓库

parent 3d7b3fec
......@@ -17,6 +17,8 @@ namespace Bailun.DC.LogicWareHouse.Models
public int days { get; set; }
public string day_str { get; set; }
public string hq_type { get; set; }
public string usable_stock { get; set; }
......
......@@ -7,23 +7,33 @@ namespace Bailun.DC.LogicWareHouse
{
class Program
{
static async Task Main(string[] args)
//static async Task Main(string[] args)
//{
// Console.WriteLine("进入 逻辑仓库");
// new Services().Save();
// var builder = new HostBuilder().ConfigureServices((hostContext, services) =>
// {
// services.AddHostedService<Services>();
// });
// await builder.RunConsoleAsync();
//}
static void Main(string[] args)
{
Console.WriteLine("进入 逻辑仓库");
new Services().Save();
var builder = new HostBuilder().ConfigureServices((hostContext, services) =>
{
services.AddHostedService<Services>();
});
//半成品库存
//new Services().SemiStock();
await builder.RunConsoleAsync();
}
//static void Main(string[] args)
//{
// //new Services().Save();
// //new Services().SaleWHDailySnaps();
// new Services().UpdateSemiSale();
//}
//半成品销量
//new Services().UpdateSemiSale();
// 更新缺货数和待发货数据
//new Services().UpdateOutStockAndNoShipping();
//更新30天现金流
//new Services().UpdateCash30Days();
}
}
}
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