real_order_cards
This commit is contained in:
parent
0ac9ecbe80
commit
15f7521523
@ -101,7 +101,7 @@ class AddedOrderSync extends Command
|
||||
|
||||
MongoCardJob::dispatch(array_pluck($data, 'sim'));
|
||||
|
||||
DB::table($table)->upsert($data, ['sim', 'order_id'], []);
|
||||
DB::table($table)->upsert($data, ['sim', 'order_id']);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -56,7 +56,7 @@ class OrderBaseSync extends Command
|
||||
|
||||
MongoCardJob::dispatch(array_pluck($data, 'sim'));
|
||||
|
||||
DB::table('real_order_cards')->upsert($data, ['sim', 'deleted_at'], []);
|
||||
DB::table('real_order_cards')->upsert($data, ['sim', 'deleted_at']);
|
||||
}
|
||||
app(OrderCardPartitionRepository::class)->forgetCached();
|
||||
$this->line('插入订单关联数据成功');
|
||||
|
Loading…
x
Reference in New Issue
Block a user