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
90cf3d39
Commit
90cf3d39
authored
Sep 12, 2020
by
泽锋 李
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
缺货明细新增订单最后发货时间
parent
37476001
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
report.cs
AutoTurnOver.DB/report.cs
+4
-2
quantity_out_stock_detail_dto.cs
AutoTurnOver.Models/Report/quantity_out_stock_detail_dto.cs
+2
-0
ReportsController.cs
AutoTurnOver/Controllers/ReportsController.cs
+2
-1
No files found.
AutoTurnOver.DB/report.cs
View file @
90cf3d39
...
...
@@ -199,7 +199,8 @@ t1.logistics_method_name,
t8.buy_ontheway_detail,
t9.items,
t6.brand,
t1.bailun_sku_quantity_shipped
t1.bailun_sku_quantity_shipped,
t1.shipping_deadline_real
from dc_base_oms_sku_outofstock as t1
left join dc_mid_transit as t2 on t1.bailun_sku = t2.bailun_sku and t1.warehouse_code = t2.warehouse_code
left join dc_base_warehouse as t_db on t1.warehouse_code = t_db.warehouse_code
...
...
@@ -1203,7 +1204,8 @@ INSERT into dc_base_oms_sku_outofstock_temp (
t1.`refund_reference_id`,
t1.`has_fba_s`,
t1.`bailun_sku_quantity_pushed`,
( CASE WHEN ( `t1`.`warehouse_code` IN ( 'QYBLZZ', 'GZBLWH' ) ) THEN 'QYBLZZ-GZBLWH' ELSE `t1`.`warehouse_code` END ) as 'warehouse_code_extend'
( CASE WHEN ( `t1`.`warehouse_code` IN ( 'QYBLZZ', 'GZBLWH' ) ) THEN 'QYBLZZ-GZBLWH' ELSE `t1`.`warehouse_code` END ) as 'warehouse_code_extend',
t1.`shipping_deadline_real`
from dc_base_oms_sku as t1
left join dc_base_warehouse as t_db on t1.warehouse_code = t_db.warehouse_code
left join dc_base_sku as t6 on t1.bailun_sku = t6.bailun_sku
...
...
AutoTurnOver.Models/Report/quantity_out_stock_detail_dto.cs
View file @
90cf3d39
...
...
@@ -14,6 +14,8 @@ namespace AutoTurnOver.Models.Report
/// 【品牌
/// </summary>
public
string
brand
{
get
;
set
;
}
//实际最后发货时间
public
DateTime
shipping_deadline_real
{
get
;
set
;
}
/// <summary>
/// 缺货更新时间
/// </summary>
...
...
AutoTurnOver/Controllers/ReportsController.cs
View file @
90cf3d39
...
...
@@ -301,7 +301,7 @@ namespace AutoTurnOver.Controllers
DataTable
table
=
new
DataTable
();
string
[]
cols
=
new
string
[]
{
"缺货统计时间"
,
"平台订单号"
,
"平台类型"
,
"百伦订单号"
,
"付款交易号"
,
"站点"
,
"付款时间"
,
"销售账号"
,
"国家"
,
"sku"
,
"订单所有itemid"
,
"产品名称"
,
"订单sku销量"
,
"发货数量"
,
"发货仓库编码"
,
"发货仓库"
,
"是否缺货"
,
"仓库总缺货"
,
"国内仓总缺货"
,
"其他有库存仓库"
,
"其他仓库库存数"
,
"国内仓是否缺货"
,
"采购员"
,
"平台物流方式"
,
"发货物流方式"
,
"sku监控状态"
,
"销售状态"
,
"总在途库存数"
,
"最先到货采购单"
,
"最快到货时间"
,
"采购单供应商"
,
"采购单阿里巴巴单号"
,
"采购单物流单号"
,
"品牌"
"平台物流方式"
,
"发货物流方式"
,
"sku监控状态"
,
"销售状态"
,
"总在途库存数"
,
"最先到货采购单"
,
"最快到货时间"
,
"采购单供应商"
,
"采购单阿里巴巴单号"
,
"采购单物流单号"
,
"品牌"
,
"订单最后发货时间"
};
foreach
(
var
item
in
cols
)
{
...
...
@@ -346,6 +346,7 @@ namespace AutoTurnOver.Controllers
row
[
"采购单阿里巴巴单号"
]
=
itemData
.
min_buy
.
alibaba_order_id
;
row
[
"采购单物流单号"
]
=
itemData
.
min_buy
.
logistics_order_id
;
row
[
"品牌"
]
=
itemData
.
brand
;
row
[
"订单最后发货时间"
]
=
itemData
.
shipping_deadline_real
;
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