Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
DataCenter_Core2.1_20190520
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bltdc
DataCenter_Core2.1_20190520
Commits
4edb12f7
Commit
4edb12f7
authored
Mar 19, 2021
by
guanzhenshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
生成库龄服务增加保存推算的采购单记录和调拨单记录
parent
a55a28cb
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
102 additions
and
9 deletions
+102
-9
Bailun.DC.DailyStockAge.csproj
Bailun.DC.DailyStockAge/Bailun.DC.DailyStockAge.csproj
+1
-0
jsondata.cs
Bailun.DC.DailyStockAge/Models/jsondata.cs
+39
-0
Program.cs
Bailun.DC.DailyStockAge/Program.cs
+1
-1
Services.cs
Bailun.DC.DailyStockAge/Services.cs
+61
-8
No files found.
Bailun.DC.DailyStockAge/Bailun.DC.DailyStockAge.csproj
View file @
4edb12f7
...
@@ -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>
...
...
Bailun.DC.DailyStockAge/Models/jsondata.cs
0 → 100644
View file @
4edb12f7
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
;
}
}
}
Bailun.DC.DailyStockAge/Program.cs
View file @
4edb12f7
...
@@ -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-1
6
"));
// _service.Init(DateTime.Parse("2021-03-1
8
"));
//}
//}
}
}
}
}
Bailun.DC.DailyStockAge/Services.cs
View file @
4edb12f7
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment