@@ -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{