|
|
@@ -1361,7 +1361,7 @@ class Customer extends Base
|
|
|
// }
|
|
|
// })
|
|
|
->where('owner_staff_id != 0 and owner_staff_id is not null')->order($sort, $order)->select();
|
|
|
- outFileLog($list,'customer','list-export-sql');
|
|
|
+
|
|
|
$list = collection($list)->toArray();
|
|
|
outFileLog($list,'customer','list-export');
|
|
|
if (!$list) {
|
|
|
@@ -1380,6 +1380,7 @@ class Customer extends Base
|
|
|
foreach ($dataValue as $val) {
|
|
|
$title[] = $val['config']['label'];
|
|
|
}
|
|
|
+ outFileLog($dataValue,'customer','list-export-$dataValue');
|
|
|
$data=[];
|
|
|
foreach ($list as $k => $v) {
|
|
|
if($v['customer_other']){//其他客户
|