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