Explorar o código

周一分红补贴

sunxbiao hai 6 meses
pai
achega
60d0b95a0a
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      app/command/WiwibaoProductSync.php

+ 2 - 2
app/command/WiwibaoProductSync.php

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