From 64c8e7f8a49c864d660d43b2b2fff993abc47639 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=ED=8C=90=EB=8F=8C?= Date: Thu, 7 Dec 2023 21:03:31 +0900 Subject: [PATCH] =?UTF-8?q?=EC=97=91=EC=85=80=20=EC=BB=A4=EB=B0=8B=20?= =?UTF-8?q?=EB=B2=84=EA=B7=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Server/Git/ExcelSQL.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Server/Git/ExcelSQL.cs b/Server/Git/ExcelSQL.cs index 0471849..9b23308 100644 --- a/Server/Git/ExcelSQL.cs +++ b/Server/Git/ExcelSQL.cs @@ -56,6 +56,8 @@ namespace Server.Git newTableQuery += sheets[n].name + "("; for (int m = 0; m < sheets[n].variable.Count; m++) { + if (sheets[n].dataEnum[m] == "client") + continue; if (sheets[n].type[m] == "long" && sheets[n].variable[m] == "index") { newTableQuery += "index SERIAL PRIMARY KEY"; @@ -76,6 +78,9 @@ namespace Server.Git case "int": newTableQuery += $"{sheets[n].variable[m]} INT "; break; + case "long": + newTableQuery += $"{sheets[n].variable[m]} LONG "; + break; case "float": newTableQuery += $"{sheets[n].variable[m]} FLOAT4 "; break; @@ -122,6 +127,8 @@ namespace Server.Git query += "("; for (int m = 0; m < sheets[n].variable.Count; m++) { + if (sheets[n].dataEnum[m] == "client") + continue; if (m != 0) { query += ", "; @@ -133,6 +140,7 @@ namespace Server.Git case "enum": case "int": case "float": + case "long": query += $"{pair.Value[sheets[n].variable[m]]}"; break; case "string":