|
|
@@ -21,7 +21,7 @@ class ShopExtController extends Controller
|
|
|
$query = new \yii\db\Query();
|
|
|
$query->from(Shop::tableName());
|
|
|
|
|
|
- foreach ($query->batch(1000) as $batch) {
|
|
|
+ foreach ($query->batch(6000) as $batch) {
|
|
|
foreach ($batch as $shop) {
|
|
|
$mainId = $shop['mainId'] ?? 0;
|
|
|
$hasRecharge = RechargeSqClass::getByCondition(['mainId' => $mainId], true);
|