sunxbiao пре 6 месеци
родитељ
комит
60d0b95a0a
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      app/command/WiwibaoProductSync.php

+ 2 - 2
app/command/WiwibaoProductSync.php

@@ -301,7 +301,7 @@ class WiwibaoProductSync extends Command
301 301
                         ->where('spu_id', $findData['spu_id'])
302 302
                         ->where('is_show', ProductEnum::IS_SHOW['Yes']['code'])
303 303
                         ->where('is_del', ProductEnum::IS_DEL['No']['code'])
304
-                        ->where('status', '!=', ProductEnum::STATUS['Withdrawn']['code'])
304
+                        ->where('status', '<>', ProductEnum::STATUS['Withdrawn']['code'])
305 305
                         ->select()
306 306
                         ->toArray();
307 307
                     $productIdList = array_column($productList, 'product_id');
@@ -371,7 +371,7 @@ class WiwibaoProductSync extends Command
371 371
             ->whereIn('spu_id', $offlineSpuIds)
372 372
             ->where('is_show', ProductEnum::IS_SHOW['Yes']['code'])
373 373
             ->where('is_del', ProductEnum::IS_DEL['No']['code'])
374
-            ->where('status', '!=', ProductEnum::STATUS['Withdrawn']['code'])
374
+            ->where('status', '<>', ProductEnum::STATUS['Withdrawn']['code'])
375 375
             ->field('product_id, spu_id, is_show, is_del, status')
376 376
             ->select()
377 377
             ->toArray();