diff --git a/Application/Admin/Controller/ExportController.class.php b/Application/Admin/Controller/ExportController.class.php index 08ce040a6..0a7753cf7 100644 --- a/Application/Admin/Controller/ExportController.class.php +++ b/Application/Admin/Controller/ExportController.class.php @@ -9280,6 +9280,15 @@ class ExportController extends Controller GROUP BY t.id $order"); } + if ($list) { + foreach ($list as &$item) + { + $item['total_create_count'] = $item['total_create_count'] ?? 0; + $item['total_accepted_count'] = $item['total_accepted_count'] ?? 0; + $item['total_handle_count'] = $item['total_handle_count'] ?? 0; + $item['total_complete_count'] = $item['total_complete_count'] ?? 0; + } + } $xlsName = '工单统计报表'; $xlsCell = array( array('nickname', "账号"),