orderBy
This commit is contained in:
parent
f8f3fbe74d
commit
0dd2ad0839
@ -26,7 +26,7 @@ class FlowPoolMonthSync extends Command
|
||||
|
||||
$array = [];
|
||||
|
||||
DB::connection('vd_old')->table('ckb_data_pool_statis_item')->select(['td_pool_sn', 'sim', 'vd_package_sn', 'flows_used'])
|
||||
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) {
|
||||
$pool_id = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user