|
|
@@ -43,7 +43,7 @@ class LsCustomController extends Controller
|
|
|
$query->from(Custom::tableName());
|
|
|
$query->where(['shopId' => $shopId]);
|
|
|
$query->orderBy('addTime ASC');
|
|
|
- foreach ($query->batch(50) as $customList) {
|
|
|
+ foreach ($query->batch(500) as $customList) {
|
|
|
foreach ($customList as $custom) {
|
|
|
$customId = $custom['id'] ?? 0;
|
|
|
$debtAmount = $custom['debtAmount'] ?? 0;
|