|
|
@@ -45,7 +45,7 @@ class CustomController extends Controller
|
|
|
$shopId = $shop->id ?? 0;
|
|
|
$shopName = $shop->shopName ?? '';
|
|
|
$merchantName = $shop->merchantName ?? '';
|
|
|
- echo "{$merchantName}-{$shopName}的客户: \n";
|
|
|
+ echo "{$merchantName}-{$shopName} \n\n\n\n";
|
|
|
$query = new \yii\db\Query();
|
|
|
|
|
|
$query->from(Custom::tableName());
|
|
|
@@ -56,9 +56,7 @@ class CustomController extends Controller
|
|
|
foreach ($query->batch(50) as $customList) {
|
|
|
if (!empty($customList)) {
|
|
|
foreach ($customList as $custom) {
|
|
|
- $customName = $custom['name'] ?? '';
|
|
|
- echo $customName . "\n";
|
|
|
- continue;
|
|
|
+ //$customName = $custom['name'] ?? '';
|
|
|
$customId = $custom['id'] ?? 0;
|
|
|
$where = ['customId' => $customId, 'debt' => 1];
|
|
|
$orderList = OrderClass::getAllByCondition($where, 'addTime DESC', '*');
|