Commit 0ecb71ab by 泽锋 李

黄镜洁的普货也要推送改零

parent 04c37371
...@@ -568,7 +568,7 @@ t1.usable_stock<=0 and t1.bailun_sku!='' ...@@ -568,7 +568,7 @@ t1.usable_stock<=0 and t1.bailun_sku!=''
and ( t1.warehouse_code in ('GZBLWH','BLGZ03') or ( t1.warehouse_code in ('YWWH01') and ( t3.`status`=1 or t6.`status`=1 ) ) ) -- 义务仓 只要停止监控 或者停售就推送 and ( t1.warehouse_code in ('GZBLWH','BLGZ03') or ( t1.warehouse_code in ('YWWH01') and ( t3.`status`=1 or t6.`status`=1 ) ) ) -- 义务仓 只要停止监控 或者停售就推送
and t1.bailun_sku not in ('942904501') and t1.bailun_sku not in ('942904501')
and ( case and ( case
when @platform!='aliexpress' then ( t3.buyer_name not in ('张莹霞','张莹霞1','赵美聪','甄杰靖','黄镜洁','赵美聪','赵美聪1','秦振荣','李华娟','赵美聪-独立站') or t3.`status`=1 ) else ( t3.`status`=1 or t7.bailun_sku is null) when @platform='ebay' then ( t3.buyer_name not in ('张莹霞','张莹霞1','赵美聪','甄杰靖','赵美聪','赵美聪1','秦振荣','李华娟','赵美聪-独立站') or t3.`status`=1 or ( t3.buyer_name in ('黄镜洁') and t3.product_type_desc in ('精准普货','推荐普货','精准普货','精准服装') ) ) when @platform!='aliexpress' then ( t3.buyer_name not in ('张莹霞','张莹霞1','赵美聪','甄杰靖','黄镜洁','赵美聪','赵美聪1','秦振荣','李华娟','赵美聪-独立站') or t3.`status`=1 ) else ( t3.`status`=1 or t7.bailun_sku is null)
end end
) -- 速卖通的必须要停止监控才推送 ) -- 速卖通的必须要停止监控才推送
and IFNULL(t4.sum_usable_stock,0)<=0 -- 无库存 and IFNULL(t4.sum_usable_stock,0)<=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