|
|
@@ -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();
|