array
This commit is contained in:
parent
0dd2ad0839
commit
43ce643f45
@ -29,6 +29,7 @@ class FlowPoolMonthSync extends Command
|
||||
DB::connection('vd_old')->table('ckb_data_pool_statis_item')->select(['td_pool_sn', 'sim', 'vd_package_sn', 'flows_used'])->orderBy('dpci_id')
|
||||
->chunk(10000, function ($chunk) use (&$array, $flowPoolsKeyByName, $realFlowPools, $flowPools, $packages) {
|
||||
foreach ($chunk as $value) {
|
||||
$value = (array)$value;
|
||||
$pool_id = 0;
|
||||
|
||||
if (strpos($value['td_pool_sn'], 'vd-') === 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user