신규 기획데이터 에러 메모

This commit is contained in:
김판돌 2024-02-26 23:12:21 +09:00
parent d9e3dd9a1f
commit bbdeca0db2
1 changed files with 5 additions and 2 deletions

View File

@ -40,6 +40,9 @@ namespace Server.Git
query = new StringBuilder();
for (int n = 0; n < sheets.Count; n++)
{
//더 윗단에서 지워버려 에러가 발생되는중.
//시스템 수정할것
Console.WriteLine(sheets[n].name);
//초기화
newTableQuery = new StringBuilder();
tableDatas.Append("(");
@ -52,6 +55,7 @@ namespace Server.Git
{
if (sheets[n].dataEnum[m] == "client")
continue;
if (sheets[n].type[m] == "long" && sheets[n].variable[m] == "index")
{
newTableQuery.Append("index SERIAL PRIMARY KEY");
@ -63,7 +67,6 @@ namespace Server.Git
newTableQuery.Append(",");
tableDatas.Append(", ");
}
switch (sheets[n].type[m])
{
case "bool":
@ -127,7 +130,6 @@ namespace Server.Git
{
query.Append(", ");
}
switch (sheets[n].type[m])
{
case "bool":
@ -135,6 +137,7 @@ namespace Server.Git
case "int":
case "float":
case "long":
Console.WriteLine($"{pair.Value[sheets[n].variable[m]]}");
query.Append($"{pair.Value[sheets[n].variable[m]]}");
break;
case "string":