Commit 06f5c9f7 by 泽锋 李

商品汇总的销量算法跟周转表对其

parent 85aa6434
......@@ -2435,7 +2435,15 @@ left join dc_base_warehouse as tdb on t1.warehouse_code = tdb.warehouse_code whe
tableName = "dc_base_oms_sku";
}
var sql = $@" select t1.*,t2.label,tdb.warehouse_name from {tableName} as t1 left join dc_auto_config_sku_label as t2 on t1.bailun_sku = t2.bailun_sku
left join dc_base_warehouse as tdb on t1.warehouse_code = tdb.warehouse_code where 1=1 ";
left join dc_base_warehouse as tdb on t1.warehouse_code = tdb.warehouse_code where
and tdb.hq_type='第三方仓库'
and t1.bailun_order_status != 'Canceled'
and t1.has_fba_s = 0
and t1.has_delete = 0
and t1.has_scalp = 0
-- and t1.has_buyer_remark = 0
-- and t1.has_platsku_remark = 0
and t1.has_innersale = 0 ";
DynamicParameters parameters = new DynamicParameters();
if (search_data != null)
{
......
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