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
b264d492
Commit
b264d492
authored
Jan 04, 2021
by
泽锋 李
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
实时库存导出,先海外仓入库天数
parent
f33d4a76
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
1 deletion
+8
-1
daily.cs
AutoTurnOver.DB/daily.cs
+1
-0
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 @
b264d492
...
@@ -336,6 +336,7 @@ t4.quantity_transfer as 'realtime_quantity_transfer',
...
@@ -336,6 +336,7 @@ t4.quantity_transfer as 'realtime_quantity_transfer',
t4.quantity_transfer_order as 'quantity_transfer_order',
t4.quantity_transfer_order as 'quantity_transfer_order',
t4.quantity_transfer_temp_schedule as 'quantity_transfer_temp_schedule',
t4.quantity_transfer_temp_schedule as 'quantity_transfer_temp_schedule',
t4.quantity_transfer_temporary_storage as 'quantity_transfer_temporary_storage',
t4.quantity_transfer_temporary_storage as 'quantity_transfer_temporary_storage',
t6.abroad_inbound_delivery as 'abroad_inbound_delivery',
t1.bailun_sku,t1.warehouse_code,t4.quantity_out_stock,t4.gmt_out_stock_modified,t3.weight,t3.unit_price,
t1.bailun_sku,t1.warehouse_code,t4.quantity_out_stock,t4.gmt_out_stock_modified,t3.weight,t3.unit_price,
(case when t5.id is null then '未侵权' else '侵权' end) as 'has_tort',
(case when t5.id is null then '未侵权' else '侵权' end) as 'has_tort',
...
...
AutoTurnOver.Models/dc_base_stock.cs
View file @
b264d492
...
@@ -173,6 +173,11 @@ namespace AutoTurnOver.Models
...
@@ -173,6 +173,11 @@ namespace AutoTurnOver.Models
public
decimal
storage_quantity
{
get
;
set
;
}
public
decimal
storage_quantity
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 海外仓入库天数
/// </summary>
public
decimal
?
abroad_inbound_delivery
{
get
;
set
;
}
/// <summary>
/// 在途+可配总库存
/// 在途+可配总库存
/// </summary>
/// </summary>
public
decimal
sum_actual_stock
{
get
;
set
;
}
public
decimal
sum_actual_stock
{
get
;
set
;
}
...
...
AutoTurnOver.Services/DailyServices.cs
View file @
b264d492
...
@@ -172,7 +172,7 @@ namespace AutoTurnOver.Services
...
@@ -172,7 +172,7 @@ namespace AutoTurnOver.Services
,
"待上架"
,
"可配库存"
,
"在途+可配总库存"
,
"上周销量"
,
"上周销售额"
,
"入库数量"
,
"可配库存金额"
,
"销售可用库存(聚合)"
,
"销售可用库存(私有)"
,
"销售可用库存(共享)"
,
"在仓库存(共享)"
,
"在仓库存(私有)"
,
"在仓库存(聚合)"
,
"仓库占用(共享)"
,
"待上架"
,
"可配库存"
,
"在途+可配总库存"
,
"上周销量"
,
"上周销售额"
,
"入库数量"
,
"可配库存金额"
,
"销售可用库存(聚合)"
,
"销售可用库存(私有)"
,
"销售可用库存(共享)"
,
"在仓库存(共享)"
,
"在仓库存(私有)"
,
"在仓库存(聚合)"
,
"仓库占用(共享)"
,
"仓库占用(私有)"
,
"仓库占用(聚合)"
,
"活动占用"
,
"单占用(私有)"
,
"订单占用(共享)"
,
"订单占用(聚合)"
,
"环球更新时间"
,
"供应商"
,
"采购员"
,
"重量"
,
"单价"
,
"已发货库存"
,
"实时缺货"
,
"是否侵权"
,
,
"仓库占用(私有)"
,
"仓库占用(聚合)"
,
"活动占用"
,
"单占用(私有)"
,
"订单占用(共享)"
,
"订单占用(聚合)"
,
"环球更新时间"
,
"供应商"
,
"采购员"
,
"重量"
,
"单价"
,
"已发货库存"
,
"实时缺货"
,
"是否侵权"
,
"过去7日日均销量"
,
"过去14日日均销量"
,
"过去30日日均销量"
,
"过去7日Eaby日均销量"
,
"过去14日Eaby日均销量"
,
"过去30日Eaby日均销量"
,
"过去7日速卖通日均销量"
,
"过去14日速卖通日均销量"
,
"过去30日速卖通日均销量"
,
"过去7日日均销量"
,
"过去14日日均销量"
,
"过去30日日均销量"
,
"过去7日Eaby日均销量"
,
"过去14日Eaby日均销量"
,
"过去30日Eaby日均销量"
,
"过去7日速卖通日均销量"
,
"过去14日速卖通日均销量"
,
"过去30日速卖通日均销量"
,
"监控状态"
,
"开发时间"
,
"昨日销量"
,
"停售状态"
,
"amazon最近7天日均销量"
,
"amazon最近14天日均销量"
,
"amazon最近30天日均销量"
,
"moq"
,
"品牌"
,
"标签"
,
"类型"
,
"产品尺寸"
,
"包装尺寸"
,
"安全库存"
,
"销售员"
"监控状态"
,
"开发时间"
,
"昨日销量"
,
"停售状态"
,
"amazon最近7天日均销量"
,
"amazon最近14天日均销量"
,
"amazon最近30天日均销量"
,
"moq"
,
"品牌"
,
"标签"
,
"类型"
,
"产品尺寸"
,
"包装尺寸"
,
"安全库存"
,
"销售员"
,
"海外仓入库天数"
};
};
foreach
(
var
item
in
cols
)
foreach
(
var
item
in
cols
)
{
{
...
@@ -183,6 +183,7 @@ namespace AutoTurnOver.Services
...
@@ -183,6 +183,7 @@ namespace AutoTurnOver.Services
{
{
DataRow
row
=
table
.
NewRow
();
DataRow
row
=
table
.
NewRow
();
row
[
"百伦简易分类"
]
=
itemData
.
category_simple_name
;
row
[
"百伦简易分类"
]
=
itemData
.
category_simple_name
;
row
[
"海外仓入库天数"
]
=
itemData
.
abroad_inbound_delivery
;
row
[
"Sku"
]
=
itemData
.
bailun_sku
;
row
[
"Sku"
]
=
itemData
.
bailun_sku
;
row
[
"入库数量"
]
=
itemData
.
storage_quantity
;
row
[
"入库数量"
]
=
itemData
.
storage_quantity
;
row
[
"采购名称"
]
=
itemData
.
buyer_name
;
row
[
"采购名称"
]
=
itemData
.
buyer_name
;
...
...
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