@@ -953,7 +953,7 @@ where t1.platform=@platform and t1.has_return_goods=0
...
@@ -953,7 +953,7 @@ where t1.platform=@platform and t1.has_return_goods=0
and
and
(
(
case
case
when t2.buyer_name in ('张莹霞','张莹霞1') and t_db.hq_type not in ( '国内仓' ) and t1.platform='ebay'
then ifnull(tnc1.usable_stock,0) - ifnull(tnc2.quantity_unshipped,0) >=2
when t2.buyer_name in ('张莹霞','张莹霞1') and t_db.hq_type not in ( '国内仓' ) and t1.platform='ebay'
then ifnull(tnc1.usable_stock,0) - ifnull(tnc2.quantity_unshipped,0) >2