diff --git a/app/command/QuerySmsStatus.php b/app/command/QuerySmsStatus.php index 5abe1be..f3678e0 100644 --- a/app/command/QuerySmsStatus.php +++ b/app/command/QuerySmsStatus.php @@ -147,7 +147,7 @@ class QuerySmsStatus extends Command // 1. event_id=2 的实际人数 'COUNT(*) AS total_count', // 成功人数 - 'COUNT(CASE WHEN status = 1 THEN 1 END) AS success_count', + 'COUNT(CASE WHEN status = 2 THEN 1 END) AS success_count', // 失败人数 'COUNT(CASE WHEN status = -1 THEN 1 END) AS fail_count' ])