短信发送查询

This commit is contained in:
2026-03-30 09:49:16 +08:00
parent 7ea34ef84e
commit e177b4e515

View File

@@ -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'
])