Commit 557e86ba by 钟博

跳过绩效id

parent 710905d9
...@@ -1788,6 +1788,8 @@ public HandsonTable QueryHandsCustom(string tableName) ...@@ -1788,6 +1788,8 @@ public HandsonTable QueryHandsCustom(string tableName)
for (int i = 0; i < custom.Count(); i++) for (int i = 0; i < custom.Count(); i++)
{ {
var dic = ((IDictionary<string, object>)custom.ElementAt(i)).Values; var dic = ((IDictionary<string, object>)custom.ElementAt(i)).Values;
if (dic.ElementAt(0).ToString().ToLower() == "allotid")
continue;
dicCustom.Add(dic.ElementAt(1).ToString()); dicCustom.Add(dic.ElementAt(1).ToString());
} }
...@@ -1809,8 +1811,6 @@ public bool SaveCustomTable(SaveCustomData request) ...@@ -1809,8 +1811,6 @@ public bool SaveCustomTable(SaveCustomData request)
for (int i = 0; i < custom.Count(); i++) for (int i = 0; i < custom.Count(); i++)
{ {
var dic = ((IDictionary<string, object>)custom.ElementAt(i)).Values; var dic = ((IDictionary<string, object>)custom.ElementAt(i)).Values;
if (dic.ElementAt(0).ToString().ToLower() == "allotid")
continue;
dicCustom.Add(dic.ElementAt(0).ToString(),dic.ElementAt(1).ToString()); dicCustom.Add(dic.ElementAt(0).ToString(),dic.ElementAt(1).ToString());
} }
......
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