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
6b2346b2
Commit
6b2346b2
authored
Aug 15, 2019
by
lizefeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
库存导出,新增百伦简易分类
parent
6e028d20
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
daily.cs
AutoTurnOver.DB/daily.cs
+1
-0
dc_base_stock.cs
AutoTurnOver.Models/dc_base_stock.cs
+2
-0
DailyServices.cs
AutoTurnOver.Services/DailyServices.cs
+2
-2
No files found.
AutoTurnOver.DB/daily.cs
View file @
6b2346b2
...
...
@@ -255,6 +255,7 @@ left join dc_mid_transit as t4 on t1.bailun_sku = t4.bailun_sku and t1.warehous
t1.sku_title_cn as 'sku_name',
t4.quantity_purchase as 'purchase_daily_quantity',
t3.buyer_name,t3.sku_title_en,t3.product_inner_code,
t3.category_simple_name,
t4.quantity_purchase as 'realtime_quantity_purchase',t4.quantity_transfer as 'realtime_quantity_transfer',
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',
...
...
AutoTurnOver.Models/dc_base_stock.cs
View file @
6b2346b2
...
...
@@ -254,5 +254,7 @@ namespace AutoTurnOver.Models
public
decimal
history_sevenday_sales_aliexpress
{
get
;
set
;
}
public
decimal
history_fourteenday_sales_aliexpress
{
get
;
set
;
}
public
decimal
history_thirtyday_sales_aliexpress
{
get
;
set
;
}
public
string
category_simple_name
{
get
;
set
;
}
}
}
AutoTurnOver.Services/DailyServices.cs
View file @
6b2346b2
...
...
@@ -97,7 +97,7 @@ namespace AutoTurnOver.Services
if
(
list
==
null
||
list
.
Count
<=
0
)
break
;
DataTable
table
=
new
DataTable
();
string
[]
cols
=
new
string
[]
{
"Sku"
,
"采购名称"
,
"中文名"
,
"内部编码"
,
"仓库编码"
,
"仓库名称"
,
"货主编码"
,
"实时采购在途"
,
"实时调拨在途"
string
[]
cols
=
new
string
[]
{
"
百伦简易分类"
,
"
Sku"
,
"采购名称"
,
"中文名"
,
"内部编码"
,
"仓库编码"
,
"仓库名称"
,
"货主编码"
,
"实时采购在途"
,
"实时调拨在途"
,
"订货数量"
,
"运输在途"
,
"中转仓库存"
,
"冻结库存"
,
"供应商库存"
,
"预售库存"
,
"不良品库存"
,
"在途库存"
,
"收货待检"
,
"待上架"
,
"可配库存"
,
"销售可用库存(聚合)"
,
"销售可用库存(私有)"
,
"销售可用库存(共享)"
,
"在仓库存(共享)"
,
"在仓库存(私有)"
,
"在仓库存(聚合)"
,
"仓库占用(共享)"
,
"仓库占用(私有)"
,
"仓库占用(聚合)"
,
"活动占用"
,
"单占用(私有)"
,
"订单占用(共享)"
,
"订单占用(聚合)"
,
"环球更新时间"
,
"供应商"
,
"采购员"
,
"重量"
,
"单价"
,
"已发货库存"
,
"实时缺货"
,
"是否侵权"
,
...
...
@@ -111,7 +111,7 @@ namespace AutoTurnOver.Services
foreach
(
var
itemData
in
list
)
{
DataRow
row
=
table
.
NewRow
();
row
[
"百伦简易分类"
]
=
itemData
.
category_simple_name
;
row
[
"Sku"
]
=
itemData
.
bailun_sku
;
row
[
"采购名称"
]
=
itemData
.
buyer_name
;
row
[
"中文名"
]
=
itemData
.
sku_title_cn
;
...
...
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