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
5a4e47b3
Commit
5a4e47b3
authored
May 22, 2020
by
泽锋 李
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
周转表导出新增简易分类
parent
03569a28
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
1 deletion
+4
-1
dc_auto_turnover.cs
AutoTurnOver.DB/dc_auto_turnover.cs
+1
-0
dc_auto_turnover.cs
AutoTurnOver.Models/dc_auto_turnover.cs
+1
-0
SkuAutoTurnServices.cs
AutoTurnOver.Services/SkuAutoTurnServices.cs
+2
-1
No files found.
AutoTurnOver.DB/dc_auto_turnover.cs
View file @
5a4e47b3
...
...
@@ -58,6 +58,7 @@ t4.suppliers_link,
(t4.supplier_delivery - t6.virtual_delivery_days) as 'delivery_days_error',t4.weight,t4.unit_price,t7.usable_stock,t7.shipped_stock,
t4.develop_time,(case when t8.id is null then '未侵权' else '侵权' end) as 'has_tort',
( case when t5.`status`=0 or t5.`status` is null then null else t5.gmt_create end ) as 'stop_monitor_create',
t4.category_simple_name,
t4.brand as 'brand',
t4.`status` as 'sku_status'-- ,
-- t11.label as 'sku_label'
...
...
AutoTurnOver.Models/dc_auto_turnover.cs
View file @
5a4e47b3
...
...
@@ -412,6 +412,7 @@ namespace AutoTurnOver.Models
public
class
dc_auto_turnover_list_dto
{
public
int
returngoodspush_state
{
get
;
set
;
}
public
int
category_simple_name
{
get
;
set
;
}
public
string
brand
{
get
;
set
;
}
public
int
id
{
get
;
set
;
}
public
string
sales_details
{
get
;
set
;
}
...
...
AutoTurnOver.Services/SkuAutoTurnServices.cs
View file @
5a4e47b3
...
...
@@ -301,7 +301,7 @@ namespace AutoTurnOver.Services
"实际库存"
,
"安全库存"
,
"周转天数"
,
"供应商交期"
,
"质检入库天数"
,
"调拨头程天数"
,
"预测是否断货"
,
"缺货数量"
,
"监控状态"
,
"供应商"
,
"采购员"
,
"交期异常"
,
"过去7天日均"
,
"过去14天日均"
,
"过去30天日均"
,
"重量"
,
"单价"
,
"实时库存"
,
"ebay最近7天日均销量"
,
"ebay最近14天日均销量"
,
"ebay最近30天日均销量"
,
"速卖通最近7天日均销量"
,
"速卖通最近14天日均销量"
,
"速卖通最近30天日均销量"
,
"已发货库存"
,
"开发时间"
,
"是否侵权"
,
"停止监控时间"
,
"标签"
,
"停售"
,
"最近7天+预测销量"
,
"amazon最近7天日均销量"
,
"amazon最近14天日均销量"
,
"amazon最近30天日均销量"
,
"品牌"
,
"已发货库存"
,
"开发时间"
,
"是否侵权"
,
"停止监控时间"
,
"标签"
,
"停售"
,
"最近7天+预测销量"
,
"amazon最近7天日均销量"
,
"amazon最近14天日均销量"
,
"amazon最近30天日均销量"
,
"品牌"
,
"简易分类"
};
foreach
(
var
item
in
cols
)
{
...
...
@@ -362,6 +362,7 @@ namespace AutoTurnOver.Services
row
[
"停售"
]
=
itemData
.
sku_status_str
;
row
[
"最近7天+预测销量"
]
=
itemData
.
sales_details
==
null
?
""
:
itemData
.
sales_details
.
Replace
(
"["
,
""
).
Replace
(
"]"
,
""
);
row
[
"品牌"
]
=
itemData
.
brand
;
row
[
"简易分类"
]
=
itemData
.
category_simple_name
;
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