Commit 557e86ba by 钟博

跳过绩效id

parent 710905d9
......@@ -1787,7 +1787,9 @@ public HandsonTable QueryHandsCustom(string tableName)
var dicCustom = new List<string>();
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());
}
......@@ -1809,8 +1811,6 @@ public bool SaveCustomTable(SaveCustomData request)
for (int i = 0; i < custom.Count(); i++)
{
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());
}
......
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