diff --git a/service/app/admin/controller/DataController.php b/service/app/admin/controller/DataController.php index 3a31b527..848042e7 100644 --- a/service/app/admin/controller/DataController.php +++ b/service/app/admin/controller/DataController.php @@ -145,7 +145,7 @@ class DataController extends base Log::info('lists:' . json_encode($list)); foreach($list as $val) { $writer->writeSheetRow('跟进统计', [ - $val['admin']['name'], + $val['admin'] ? $val['admin']['name'] : '', $val['orders'], bcdiv($val['total_price'], 100), $val['assets'],