@@ -603,7 +603,7 @@ and not exists ( select * from dc_auto_shortage_push_not_config where dc_auto_sh
...
@@ -603,7 +603,7 @@ and not exists ( select * from dc_auto_shortage_push_not_config where dc_auto_sh
";
";
if(!is_all)
if(!is_all)
{
{
no_library_sql+=$" and not exists ( select * from dc_auto_shortage_push where dc_auto_shortage_push.warehouse_code = t1.warehouse_code and dc_auto_shortage_push.bailun_sku = t1.bailun_sku and dc_auto_shortage_push.`type`=2 and dc_auto_shortage_push.platform='{platform}' ) and dc_auto_shortage_push.has_return_goods=0 ";
no_library_sql+=$" and not exists ( select * from dc_auto_shortage_push where dc_auto_shortage_push.warehouse_code = t1.warehouse_code and dc_auto_shortage_push.bailun_sku = t1.bailun_sku and dc_auto_shortage_push.`type`=2 and dc_auto_shortage_push.platform='{platform}' and dc_auto_shortage_push.has_return_goods=0 ) ";