vardatas=_connection.Query<dc_report_stock_week_warehouse_dto>(" select t1.*,t2.warehouse_name from dc_report_stock_week as t1 left join dc_base_warehouse as t2 on t1.warehouse_code = t2.warehouse_code where t1.web_site=@web_site and t1.week_tag =@week_tag ",new{web_site,week_tag=date_tag}).ToList();
if(tag=="出单sku数量占比")
if(tag=="出单sku数量占比")
{
datas=datas.Where(s=>s.is_order==1).ToList();
}elseif(tag=="不出单数量sku占比")
}elseif(tag=="不出单数量sku占比")
{
datas=datas.Where(s=>s.is_order==0).ToList();
}
...
...
@@ -3962,5 +3962,61 @@ where t1.bailun_order_status != 'Canceled'
data.id=_connection.QueryFirstOrDefault<int?>(" select id from dc_auto_fastest_storage where warehouse_code=@warehouse_code and bailun_sku=@bailun_sku ",new{