Commit a7f02e81 by 泽锋 李

同区域仓库的判定,去除美国的限制

parent 8c44bbf8
......@@ -657,7 +657,8 @@ and t1.quantity_init_advise>=0 and ( t3.buyer_name in ('张莹霞1') and t1.ware
// 查询相关的冗余数据
List<AreaRedundancyClearTempDto> redundancyList = _connection.Query<AreaRedundancyClearTempDto>(@"select t1.bailun_sku,t1.warehouse_code,t2.area_id,(0-t1.quantity_init_advise) as 'quantity_init_advise' from dc_auto_turnover as t1
left join dc_base_warehouse as t2 on t1.warehouse_code =t2.warehouse_code
where t2.area_id=7 and t2.hq_type='fba仓'
where t2.hq_type='fba仓'
-- and t2.area_id=7
and quantity_init_advise<0 and t1.bailun_sku in @bailun_skus ", new {
bailun_skus = fbaDatas.Select(s=>s.bailun_sku).ToList()
}).ToList();
......
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