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
23e03c9f
Commit
23e03c9f
authored
Aug 12, 2019
by
lizefeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
周转表,实时库存,新增速卖通 7,14,30日日均
parent
4297beb5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
2 deletions
+18
-2
daily.cs
AutoTurnOver.DB/daily.cs
+1
-0
dc_auto_turnover.cs
AutoTurnOver.Models/dc_auto_turnover.cs
+4
-0
dc_base_stock.cs
AutoTurnOver.Models/dc_base_stock.cs
+3
-0
DailyServices.cs
AutoTurnOver.Services/DailyServices.cs
+4
-1
SkuAutoTurnServices.cs
AutoTurnOver.Services/SkuAutoTurnServices.cs
+6
-1
No files found.
AutoTurnOver.DB/daily.cs
View file @
23e03c9f
...
@@ -260,6 +260,7 @@ t1.bailun_sku,t1.warehouse_code,t4.quantity_out_stock,t4.gmt_out_stock_modified,
...
@@ -260,6 +260,7 @@ t1.bailun_sku,t1.warehouse_code,t4.quantity_out_stock,t4.gmt_out_stock_modified,
( case when t7.`status`=0 or t7.`status` is null then 0 else 1 end ) as 'monitor_status',
( case when t7.`status`=0 or t7.`status` is null then 0 else 1 end ) as 'monitor_status',
t6.history_sevenday_sales,t6.history_fourteenday_sales,t6.history_thirtyday_sales,
t6.history_sevenday_sales,t6.history_fourteenday_sales,t6.history_thirtyday_sales,
t6.history_sevenday_sales_ebay,t6.history_fourteenday_sales_ebay,t6.history_thirtyday_sales_ebay,
t6.history_sevenday_sales_ebay,t6.history_fourteenday_sales_ebay,t6.history_thirtyday_sales_ebay,
t6.history_sevenday_sales_aliexpresst6.history_fourteenday_sales_aliexpress,t6.history_thirtyday_sales_aliexpress,
t1.*
t1.*
from
from
dc_base_stock as t1
dc_base_stock as t1
...
...
AutoTurnOver.Models/dc_auto_turnover.cs
View file @
23e03c9f
...
@@ -713,5 +713,9 @@ namespace AutoTurnOver.Models
...
@@ -713,5 +713,9 @@ namespace AutoTurnOver.Models
/// 停止监控的时间
/// 停止监控的时间
/// </summary>
/// </summary>
public
DateTime
?
stop_monitor_create
{
get
;
set
;
}
public
DateTime
?
stop_monitor_create
{
get
;
set
;
}
public
decimal
history_sevenday_sales_aliexpress
{
get
;
set
;
}
public
decimal
history_fourteenday_sales_aliexpress
{
get
;
set
;
}
public
decimal
history_thirtyday_sales_aliexpress
{
get
;
set
;
}
}
}
}
}
AutoTurnOver.Models/dc_base_stock.cs
View file @
23e03c9f
...
@@ -251,5 +251,8 @@ namespace AutoTurnOver.Models
...
@@ -251,5 +251,8 @@ namespace AutoTurnOver.Models
/// </summary>
/// </summary>
/// </summary>
/// </summary>
public
decimal
history_thirtyday_sales_ebay
{
get
;
set
;
}
public
decimal
history_thirtyday_sales_ebay
{
get
;
set
;
}
public
decimal
history_sevenday_sales_aliexpress
{
get
;
set
;
}
public
decimal
history_fourteenday_sales_aliexpress
{
get
;
set
;
}
public
decimal
history_thirtyday_sales_aliexpress
{
get
;
set
;
}
}
}
}
}
AutoTurnOver.Services/DailyServices.cs
View file @
23e03c9f
...
@@ -95,7 +95,7 @@ namespace AutoTurnOver.Services
...
@@ -95,7 +95,7 @@ namespace AutoTurnOver.Services
,
"订货数量"
,
"运输在途"
,
"中转仓库存"
,
"冻结库存"
,
"供应商库存"
,
"预售库存"
,
"不良品库存"
,
"在途库存"
,
"收货待检"
,
"订货数量"
,
"运输在途"
,
"中转仓库存"
,
"冻结库存"
,
"供应商库存"
,
"预售库存"
,
"不良品库存"
,
"在途库存"
,
"收货待检"
,
"待上架"
,
"可配库存"
,
"销售可用库存(聚合)"
,
"销售可用库存(私有)"
,
"销售可用库存(共享)"
,
"在仓库存(共享)"
,
"在仓库存(私有)"
,
"在仓库存(聚合)"
,
"仓库占用(共享)"
,
"待上架"
,
"可配库存"
,
"销售可用库存(聚合)"
,
"销售可用库存(私有)"
,
"销售可用库存(共享)"
,
"在仓库存(共享)"
,
"在仓库存(私有)"
,
"在仓库存(聚合)"
,
"仓库占用(共享)"
,
"仓库占用(私有)"
,
"仓库占用(聚合)"
,
"活动占用"
,
"单占用(私有)"
,
"订单占用(共享)"
,
"订单占用(聚合)"
,
"环球更新时间"
,
"供应商"
,
"采购员"
,
"重量"
,
"单价"
,
"已发货库存"
,
"实时缺货"
,
"是否侵权"
,
,
"仓库占用(私有)"
,
"仓库占用(聚合)"
,
"活动占用"
,
"单占用(私有)"
,
"订单占用(共享)"
,
"订单占用(聚合)"
,
"环球更新时间"
,
"供应商"
,
"采购员"
,
"重量"
,
"单价"
,
"已发货库存"
,
"实时缺货"
,
"是否侵权"
,
"过去7日日均销量"
,
"过去14日日均销量"
,
"过去30日日均销量"
,
"过去7日Eaby日均销量"
,
"过去14日Eaby日均销量"
,
"过去30日Eaby日均销量"
,
"监控状态"
"过去7日日均销量"
,
"过去14日日均销量"
,
"过去30日日均销量"
,
"过去7日Eaby日均销量"
,
"过去14日Eaby日均销量"
,
"过去30日Eaby日均销量"
,
"过去7日速卖通日均销量"
,
"过去14日速卖通日均销量"
,
"过去30日速卖通日均销量"
,
"监控状态"
};
};
foreach
(
var
item
in
cols
)
foreach
(
var
item
in
cols
)
{
{
...
@@ -156,6 +156,9 @@ namespace AutoTurnOver.Services
...
@@ -156,6 +156,9 @@ namespace AutoTurnOver.Services
row
[
"过去7日Eaby日均销量"
]
=
itemData
.
history_sevenday_sales_ebay
;
row
[
"过去7日Eaby日均销量"
]
=
itemData
.
history_sevenday_sales_ebay
;
row
[
"过去14日Eaby日均销量"
]
=
itemData
.
history_fourteenday_sales_ebay
;
row
[
"过去14日Eaby日均销量"
]
=
itemData
.
history_fourteenday_sales_ebay
;
row
[
"过去30日Eaby日均销量"
]
=
itemData
.
history_thirtyday_sales_ebay
;
row
[
"过去30日Eaby日均销量"
]
=
itemData
.
history_thirtyday_sales_ebay
;
row
[
"过去7日速卖通日均销量"
]
=
itemData
.
history_sevenday_sales_aliexpress
;
row
[
"过去14日速卖通日均销量"
]
=
itemData
.
history_fourteenday_sales_aliexpress
;
row
[
"过去30日速卖通日均销量"
]
=
itemData
.
history_thirtyday_sales_aliexpress
;
row
[
"监控状态"
]
=
itemData
.
monitor_status
==
0
?
"监控中"
:
"停止监控"
;
row
[
"监控状态"
]
=
itemData
.
monitor_status
==
0
?
"监控中"
:
"停止监控"
;
...
...
AutoTurnOver.Services/SkuAutoTurnServices.cs
View file @
23e03c9f
...
@@ -295,7 +295,9 @@ namespace AutoTurnOver.Services
...
@@ -295,7 +295,9 @@ namespace AutoTurnOver.Services
string
[]
cols
=
new
string
[]
{
"Sku"
,
"商品编码"
,
"内部编码"
,
"sku标题"
,
"仓库编码"
,
"仓库名称"
,
"MOQ"
,
string
[]
cols
=
new
string
[]
{
"Sku"
,
"商品编码"
,
"内部编码"
,
"sku标题"
,
"仓库编码"
,
"仓库名称"
,
"MOQ"
,
"采购在途"
,
"调拨在途"
,
"昨日销量"
,
"明日销量"
,
"未来7天日均"
,
"未来14天日均"
,
"建议采购数"
,
"活动促销数量"
,
"采购在途"
,
"调拨在途"
,
"昨日销量"
,
"明日销量"
,
"未来7天日均"
,
"未来14天日均"
,
"建议采购数"
,
"活动促销数量"
,
"实际库存"
,
"安全库存"
,
"周转天数"
,
"供应商交期"
,
"质检入库天数"
,
"调拨头程天数"
,
"预测是否断货"
,
"缺货数量"
,
"监控状态"
,
"供应商"
,
"采购员"
,
"交期异常"
,
"实际库存"
,
"安全库存"
,
"周转天数"
,
"供应商交期"
,
"质检入库天数"
,
"调拨头程天数"
,
"预测是否断货"
,
"缺货数量"
,
"监控状态"
,
"供应商"
,
"采购员"
,
"交期异常"
,
"过去7天日均"
,
"过去14天日均"
,
"过去30天日均"
,
"重量"
,
"单价"
,
"实时库存"
,
"ebay最近7天日均销量"
,
"ebay最近14天日均销量"
,
"ebay最近30天日均销量"
,
"已发货库存"
,
"开发时间"
,
"是否侵权"
,
"停止监控时间"
"过去7天日均"
,
"过去14天日均"
,
"过去30天日均"
,
"重量"
,
"单价"
,
"实时库存"
,
"ebay最近7天日均销量"
,
"ebay最近14天日均销量"
,
"ebay最近30天日均销量"
,
"速卖通最近7天日均销量"
,
"速卖通最近14天日均销量"
,
"速卖通最近30天日均销量"
,
"已发货库存"
,
"开发时间"
,
"是否侵权"
,
"停止监控时间"
};
};
foreach
(
var
item
in
cols
)
foreach
(
var
item
in
cols
)
{
{
...
@@ -342,6 +344,9 @@ namespace AutoTurnOver.Services
...
@@ -342,6 +344,9 @@ namespace AutoTurnOver.Services
row
[
"ebay最近7天日均销量"
]
=
itemData
.
history_sevenday_sales_ebay
;
row
[
"ebay最近7天日均销量"
]
=
itemData
.
history_sevenday_sales_ebay
;
row
[
"ebay最近14天日均销量"
]
=
itemData
.
history_fourteenday_sales_ebay
;
row
[
"ebay最近14天日均销量"
]
=
itemData
.
history_fourteenday_sales_ebay
;
row
[
"ebay最近30天日均销量"
]
=
itemData
.
history_thirtyday_sales_ebay
;
row
[
"ebay最近30天日均销量"
]
=
itemData
.
history_thirtyday_sales_ebay
;
row
[
"速卖通最近7天日均销量"
]
=
itemData
.
history_sevenday_sales_aliexpress
;
row
[
"速卖通最近14天日均销量"
]
=
itemData
.
history_fourteenday_sales_aliexpress
;
row
[
"速卖通最近30天日均销量"
]
=
itemData
.
history_thirtyday_sales_aliexpress
;
row
[
"已发货库存"
]
=
itemData
.
shipped_stock
;
row
[
"已发货库存"
]
=
itemData
.
shipped_stock
;
row
[
"开发时间"
]
=
itemData
.
develop_time
;
row
[
"开发时间"
]
=
itemData
.
develop_time
;
row
[
"是否侵权"
]
=
itemData
.
has_tort
;
row
[
"是否侵权"
]
=
itemData
.
has_tort
;
...
...
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