Commit 2dbca4e9 by 泽锋 李

fix

parent d9280c58
......@@ -878,7 +878,7 @@ order by t1.gmt_modified asc
var group_list = _connection.Query<temp_turnover_dto>(@"select t1.bailun_sku,t2.area_name,GROUP_CONCAT(CONCAT(t1.warehouse_code,'_',t1.daily_weighted_sales,'_',t1.id)) as 'warehouse_codes' from dc_auto_turnover as t1
left join dc_base_warehouse as t2 on t1.warehouse_code =t2.warehouse_code
left join dc_auto_config_sku_warehouse as t3 on t1.bailun_sku = t3.bailun_sku and t1.warehouse_code = t3.warehouse_code
where t2.hq_type in ('fba仓') and ifnull(t3.`status`,0)=0 GROUP BY t1.bailun_sku,t2.area_id HAVING count(1)>1
where t2.hq_type in ('fba仓') and t2.warehouse_name not like '%工业仓%' and ifnull(t3.`status`,0)=0 GROUP BY t1.bailun_sku,t2.area_id HAVING count(1)>1
").ToList();
foreach (var item in group_list)
......
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