virtual_order_id
This commit is contained in:
parent
7c55ebb5ee
commit
acb680592d
@ -57,7 +57,7 @@ class OrderBaseSync extends Command
|
|||||||
$value['virtual_order_id'] = $orders[$value['sim']] ?? 0;
|
$value['virtual_order_id'] = $orders[$value['sim']] ?? 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
$only = ['company_id', 'package_id', 'counts', 'unit_price'];
|
$only = ['company_id', 'package_id', 'counts', 'unit_price', 'virtual_order_id'];
|
||||||
|
|
||||||
DB::table('real_order_cards')->upsert($data, ['sim', 'order_id'], $only);
|
DB::table('real_order_cards')->upsert($data, ['sim', 'order_id'], $only);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user