Commit 5a4e47b3 by 泽锋 李

周转表导出新增简易分类

parent 03569a28
......@@ -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'
......
......@@ -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; }
......
......@@ -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);
}
......
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