Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
data-center-auto
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
data-center-auto
Commits
9d394b6b
Commit
9d394b6b
authored
Nov 09, 2021
by
zhoujinhui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
实时库存导出新增日均出单次数字段
parent
ab318399
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
2 deletions
+9
-2
daily.cs
AutoTurnOver.DB/daily.cs
+2
-1
dc_base_stock.cs
AutoTurnOver.Models/dc_base_stock.cs
+5
-0
DailyServices.cs
AutoTurnOver.Services/DailyServices.cs
+2
-1
No files found.
AutoTurnOver.DB/daily.cs
View file @
9d394b6b
...
@@ -485,7 +485,8 @@ t6.gmt_modified as 'turnover_gmt_modified',
...
@@ -485,7 +485,8 @@ t6.gmt_modified as 'turnover_gmt_modified',
t3.product_line_name as 'product_line_name',
t3.product_line_name as 'product_line_name',
t_cost_first.cost_first as 'cost_first'
t_cost_first.cost_first as 'cost_first',
t6.orders_avg
from
from
dc_base_stock as t1
dc_base_stock as t1
...
...
AutoTurnOver.Models/dc_base_stock.cs
View file @
9d394b6b
...
@@ -631,6 +631,11 @@ namespace AutoTurnOver.Models
...
@@ -631,6 +631,11 @@ namespace AutoTurnOver.Models
/// </summary>
/// </summary>
public
int
quantity_transfer_temporary_storage
{
get
;
set
;
}
public
int
quantity_transfer_temporary_storage
{
get
;
set
;
}
public
decimal
?
quantity_transfer_temporary_storage_amount
{
get
;
set
;
}
public
decimal
?
quantity_transfer_temporary_storage_amount
{
get
;
set
;
}
/// <summary>
/// 日均出单次数
/// </summary>
public
decimal
?
orders_avg
{
get
;
set
;
}
}
}
public
class
dc_base_stock_fba_dto
public
class
dc_base_stock_fba_dto
...
...
AutoTurnOver.Services/DailyServices.cs
View file @
9d394b6b
...
@@ -295,7 +295,7 @@ namespace AutoTurnOver.Services
...
@@ -295,7 +295,7 @@ namespace AutoTurnOver.Services
"供应链长度天数"
,
"供应链预测销量"
,
"供应链预测缺货"
,
"供应链预测冗余"
,
"walmart最近7天日均销量"
,
"walmart最近14天日均销量"
,
"walmart最近30天日均销量"
,
"库存更新时间"
,
"供应链长度天数"
,
"供应链预测销量"
,
"供应链预测缺货"
,
"供应链预测冗余"
,
"walmart最近7天日均销量"
,
"walmart最近14天日均销量"
,
"walmart最近30天日均销量"
,
"库存更新时间"
,
"shopify最近7天日均销量"
,
"shopify最近14天日均销量"
,
"shopify最近30天日均销量"
,
"shopify最近7天日均销量"
,
"shopify最近14天日均销量"
,
"shopify最近30天日均销量"
,
"在库+调拨单在途数量"
,
"在库+调拨单在途金额"
,
"在库+在途金额(总)"
,
"产品线"
,
"在库+调拨单在途数量"
,
"在库+调拨单在途金额"
,
"在库+在途金额(总)"
,
"产品线"
,
"头程费/一个单位"
,
"头程费/kg"
,
"产品特性"
,
"最近7天的订单数量"
,
"清货状态"
"头程费/一个单位"
,
"头程费/kg"
,
"产品特性"
,
"最近7天的订单数量"
,
"清货状态"
,
"日均出单次数"
};
};
foreach
(
var
item
in
cols
)
foreach
(
var
item
in
cols
)
{
{
...
@@ -433,6 +433,7 @@ namespace AutoTurnOver.Services
...
@@ -433,6 +433,7 @@ namespace AutoTurnOver.Services
row
[
"周转表更新时间"
]
=
itemData
.
turnover_gmt_modified
==
null
?
""
:
itemData
.
turnover_gmt_modified
.
Value
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
);
row
[
"周转表更新时间"
]
=
itemData
.
turnover_gmt_modified
==
null
?
""
:
itemData
.
turnover_gmt_modified
.
Value
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
);
row
[
"库存更新时间"
]
=
itemData
.
gmt_modified
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
);
row
[
"库存更新时间"
]
=
itemData
.
gmt_modified
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
);
row
[
"日均出单次数"
]
=
itemData
.
orders_avg
;
table
.
Rows
.
Add
(
row
);
table
.
Rows
.
Add
(
row
);
}
}
...
...
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