|
|
@@ -44,6 +44,8 @@ class LsCustomController extends Controller
|
|
|
$query->where(['shopId' => $shopId]);
|
|
|
$query->orderBy('addTime ASC');
|
|
|
foreach ($query->batch(50) as $customList) {
|
|
|
+ print_r($customList);
|
|
|
+ die;
|
|
|
foreach ($customList as $custom) {
|
|
|
$customId = $custom['id'] ?? 0;
|
|
|
$debtAmount = $custom['debtAmount'] ?? 0;
|