|
|
@@ -44,8 +44,6 @@ 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;
|
|
|
@@ -101,6 +99,8 @@ class LsCustomController extends Controller
|
|
|
BalanceChangeClass::add($change, true);
|
|
|
|
|
|
|
|
|
+ }else{
|
|
|
+ echo $customName . " customId:" . $customId . " hdId:" . $hdId . " 没有欠款 ok ok \n";
|
|
|
}
|
|
|
}
|
|
|
}
|