Commit 4edb12f7 by guanzhenshan

生成库龄服务增加保存推算的采购单记录和调拨单记录

parent a55a28cb
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
<PackageReference Include="Dapper" Version="2.0.78" /> <PackageReference Include="Dapper" Version="2.0.78" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="3.0.0" /> <PackageReference Include="Microsoft.Extensions.Hosting" Version="3.0.0" />
<PackageReference Include="MySql.Data" Version="8.0.11" /> <PackageReference Include="MySql.Data" Version="8.0.11" />
<PackageReference Include="Newtonsoft.Json" Version="10.0.1" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
......
using System;
using System.Collections.Generic;
using System.Text;
namespace Bailun.DC.DailyStockAge.Models
{
public class jsondata
{
/// <summary>
/// 实时库存
/// </summary>
public int stock { get; set; }
/// <summary>
/// 采购入库数
/// </summary>
public int purchasecount { get; set; }
/// <summary>
/// 调拨入库数
/// </summary>
public int allotcount { get; set; }
/// <summary>
/// 库龄库存数
/// </summary>
public int agecount { get; set; }
/// <summary>
/// 采购单号集合
/// </summary>
public List<string> listpurchase { get; set; }
/// <summary>
/// 调拨单号集合
/// </summary>
public List<string> listallot { get; set; }
}
}
...@@ -21,7 +21,7 @@ namespace Bailun.DC.DailyStockAge ...@@ -21,7 +21,7 @@ namespace Bailun.DC.DailyStockAge
//static void Main(string[] args) //static void Main(string[] args)
//{ //{
// var _service = new Services(); // var _service = new Services();
// _service.Init(DateTime.Parse("2021-03-16")); // _service.Init(DateTime.Parse("2021-03-18"));
//} //}
} }
} }
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