作者 lyh

gx

@@ -158,7 +158,8 @@ class TicketCount extends Command @@ -158,7 +158,8 @@ class TicketCount extends Command
158 'dept_name'=>$item['name'], 158 'dept_name'=>$item['name'],
159 'ticket_num'=>$ticket_num ?? 0, 159 'ticket_num'=>$ticket_num ?? 0,
160 'average_time'=>$average_time ?? null, 160 'average_time'=>$average_time ?? null,
161 - 'timeout_ratio'=>$timeout_ratio ?? null 161 + 'timeout_ratio'=>$timeout_ratio ?? null,
  162 + 'timeout_num'=>$timeout_num
162 ]; 163 ];
163 $deptInfo = $ticketDailyDeptModel->read(['date'=>$date,'dept_id'=>$item['id']],['id']); 164 $deptInfo = $ticketDailyDeptModel->read(['date'=>$date,'dept_id'=>$item['id']],['id']);
164 if($deptInfo === false){ 165 if($deptInfo === false){