Commit 390d9177 by 泽锋 李

再新增缺货不改零的sku

parent fa4f49a5
......@@ -472,7 +472,7 @@ left join china_warehouse_unshipped as t4 on t1.bailun_sku = t4.bailun_sku and t
where
t1.warehouse_code in ('AU4PXBL','BLGZ03','DYGXC','GB4PXBL','GBBLJW','GBYKD','GZBLWH','QYBLZZ','US4PXBL','USGCBL')
and t2.buyer_name not in ('李志民1')
and t1.bailun_sku not in ('944943401','944943402','944885401','944884901','944884902','944884902','944937701')
and t1.bailun_sku not in ('944943401','944943402','944885401','944884901','944884902','944884902','944937701','944919101')
and ( t_db.hq_type!='国内仓' or t2.buyer_name not in ('张莹霞','张莹霞1','赵美聪') )
and t_db.hq_type!='fba仓'
and (
......@@ -503,7 +503,7 @@ where t1.usable_stock<=0 and t1.bailun_sku!=''
and ( t_db.hq_type!='国内仓' or t3.buyer_name not in ('张莹霞','张莹霞1','黄镜洁','赵美聪') )
and t1.warehouse_code in ('AU4PXBL','GB4PXBL','GBBLJW','GBYKD','GZBLWH','QYBLZZ','US4PXBL','USGCBL')
and t3.buyer_name not in ('李志民1')
and t1.bailun_sku not in ('944943401','944943402','944885401','944884901','944884902','944884902','944937701')
and t1.bailun_sku not in ('944943401','944943402','944885401','944884901','944884902','944884902','944937701','944919101')
and (
case
when t_db.hq_type='国内仓' then 0
......
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