From df4acc9a04a596a52f7cb8c898aa3f5c67c9457f Mon Sep 17 00:00:00 2001 From: milimoe Date: Sun, 10 May 2026 13:49:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=8A=E8=BF=9B=E8=A1=8C=E4=B8=AD=E6=94=BE?= =?UTF-8?q?=E5=9C=A8=E7=AC=AC=E4=B8=80=E4=B8=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- OshimaServers/Service/CSBettingService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OshimaServers/Service/CSBettingService.cs b/OshimaServers/Service/CSBettingService.cs index 0a04f6c..6527e94 100644 --- a/OshimaServers/Service/CSBettingService.cs +++ b/OshimaServers/Service/CSBettingService.cs @@ -97,7 +97,7 @@ namespace Oshima.FunGame.WebAPI.Services FROM csbetting_matches WHERE event_id = @eid ORDER BY - CASE status WHEN 0 THEN 0 WHEN 1 THEN 1 ELSE 2 END, + CASE status WHEN 1 THEN 0 WHEN 0 THEN 1 ELSE 2 END, CASE WHEN status = 2 THEN start_time END DESC, CASE WHEN status != 2 THEN start_time END ASC LIMIT {pageSize} OFFSET {offset}");