Commit 9d394b6b by zhoujinhui

实时库存导出新增日均出单次数字段

parent ab318399
...@@ -485,7 +485,8 @@ t6.gmt_modified as 'turnover_gmt_modified', ...@@ -485,7 +485,8 @@ t6.gmt_modified as 'turnover_gmt_modified',
t3.product_line_name as 'product_line_name', t3.product_line_name as 'product_line_name',
t_cost_first.cost_first as 'cost_first' t_cost_first.cost_first as 'cost_first',
t6.orders_avg
from from
dc_base_stock as t1 dc_base_stock as t1
......
...@@ -631,6 +631,11 @@ namespace AutoTurnOver.Models ...@@ -631,6 +631,11 @@ namespace AutoTurnOver.Models
/// </summary> /// </summary>
public int quantity_transfer_temporary_storage { get; set; } public int quantity_transfer_temporary_storage { get; set; }
public decimal? quantity_transfer_temporary_storage_amount { get; set; } public decimal? quantity_transfer_temporary_storage_amount { get; set; }
/// <summary>
/// 日均出单次数
/// </summary>
public decimal? orders_avg { get; set; }
} }
public class dc_base_stock_fba_dto public class dc_base_stock_fba_dto
......
...@@ -295,7 +295,7 @@ namespace AutoTurnOver.Services ...@@ -295,7 +295,7 @@ namespace AutoTurnOver.Services
"供应链长度天数","供应链预测销量","供应链预测缺货","供应链预测冗余","walmart最近7天日均销量","walmart最近14天日均销量","walmart最近30天日均销量","库存更新时间", "供应链长度天数","供应链预测销量","供应链预测缺货","供应链预测冗余","walmart最近7天日均销量","walmart最近14天日均销量","walmart最近30天日均销量","库存更新时间",
"shopify最近7天日均销量", "shopify最近14天日均销量", "shopify最近30天日均销量", "shopify最近7天日均销量", "shopify最近14天日均销量", "shopify最近30天日均销量",
"在库+调拨单在途数量","在库+调拨单在途金额","在库+在途金额(总)","产品线", "在库+调拨单在途数量","在库+调拨单在途金额","在库+在途金额(总)","产品线",
"头程费/一个单位","头程费/kg","产品特性","最近7天的订单数量","清货状态" "头程费/一个单位","头程费/kg","产品特性","最近7天的订单数量","清货状态","日均出单次数"
}; };
foreach (var item in cols) foreach (var item in cols)
{ {
...@@ -433,6 +433,7 @@ namespace AutoTurnOver.Services ...@@ -433,6 +433,7 @@ namespace AutoTurnOver.Services
row["周转表更新时间"] = itemData.turnover_gmt_modified == null ? "" : itemData.turnover_gmt_modified.Value.ToString("yyyy-MM-dd HH:mm:ss"); row["周转表更新时间"] = itemData.turnover_gmt_modified == null ? "" : itemData.turnover_gmt_modified.Value.ToString("yyyy-MM-dd HH:mm:ss");
row["库存更新时间"] = itemData.gmt_modified.ToString("yyyy-MM-dd HH:mm:ss"); row["库存更新时间"] = itemData.gmt_modified.ToString("yyyy-MM-dd HH:mm:ss");
row["日均出单次数"] = itemData.orders_avg;
table.Rows.Add(row); table.Rows.Add(row);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment