Commit f0f5b8ff authored by YONG-LIN SU's avatar YONG-LIN SU

test

parent cd4e5540
...@@ -334,8 +334,8 @@ namespace ETC_App1 ...@@ -334,8 +334,8 @@ namespace ETC_App1
foreach (Json json in jsonData) foreach (Json json in jsonData)
{ {
bool success = json.success; bool failed = json.tickoff;
if (success) if (!failed)
if (i < execlData.Count) if (i < execlData.Count)
{ {
SheetOne.CreateRow(j); SheetOne.CreateRow(j);
...@@ -429,8 +429,8 @@ namespace ETC_App1 ...@@ -429,8 +429,8 @@ namespace ETC_App1
foreach (Json json in jsonData) //尋找每一筆資料對應的json結果 foreach (Json json in jsonData) //尋找每一筆資料對應的json結果
{ {
bool success = json.success; bool failed = json.tickoff;
if (!success) //如果不對則寫入(判斷對的時候去掉"!") if (failed) //如果不對則寫入(判斷對的時候去掉"!")
if (i < execlData.Count) //確保不會超出 if (i < execlData.Count) //確保不會超出
{ {
SheetOne.CreateRow(j); //建立相對的列 SheetOne.CreateRow(j); //建立相對的列
......
No preview for this file type
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment