From b4e4b35df5eeb69c0fe6a16ae37faf486279c84d Mon Sep 17 00:00:00 2001 From: milimoe Date: Fri, 24 Nov 2023 20:58:26 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AC=A6=E5=8F=B7=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Library/SQLScript/Entity/RoomQuery.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/SQLScript/Entity/RoomQuery.cs b/Library/SQLScript/Entity/RoomQuery.cs index eda30d4..f882c91 100644 --- a/Library/SQLScript/Entity/RoomQuery.cs +++ b/Library/SQLScript/Entity/RoomQuery.cs @@ -30,7 +30,7 @@ public static string Delete_Rooms(params string[] roomids) { - if (roomids.Length == 0) + if (roomids.Length != 0) { string where = string.Join("', '", roomids); return $"{Command_Delete} {Command_From} {TableName} {Command_Where} {Column_RoomID} {Command_In} ('{where}')";