|
|
|
@ -9219,7 +9219,7 @@ class ExportController extends Controller
|
|
|
|
|
count(*) AS total_create_count,
|
|
|
|
|
count(
|
|
|
|
|
|
|
|
|
|
IF (i.`handler_id` = 0, 1, NULL)
|
|
|
|
|
IF (i.`handler_id` > 0, 1, NULL)
|
|
|
|
|
) AS total_accepted_count,
|
|
|
|
|
NULL AS total_handle_count,
|
|
|
|
|
NULL AS total_complete_count
|
|
|
|
@ -9239,7 +9239,7 @@ class ExportController extends Controller
|
|
|
|
|
count(IF(i.`status` = 1, 1, NULL)) AS total_complete_count
|
|
|
|
|
FROM
|
|
|
|
|
sys_member u
|
|
|
|
|
LEFT JOIN tab_work_order_info i ON i.handler_id = u.uid
|
|
|
|
|
JOIN tab_work_order_info i ON i.handler_id = u.uid
|
|
|
|
|
WHERE
|
|
|
|
|
u.uid in ({$userids})
|
|
|
|
|
GROUP BY u.uid
|
|
|
|
@ -9248,7 +9248,6 @@ class ExportController extends Controller
|
|
|
|
|
GROUP BY t.id
|
|
|
|
|
$order");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$xlsName = '工单统计报表';
|
|
|
|
|
$xlsCell = array(
|
|
|
|
|
array('nickname', "账号"),
|
|
|
|
|