Commit aae2e5af by wyc

费用类别及系数配置(为空时赋20条空数据)

parent 57d3eaa9
......@@ -1229,7 +1229,9 @@ public HandsonTableBase GetDrugtypeFactorConfig(int hospitalId, int allotId)
}
#endregion
if (data.Count <= 0)
if (!data.Any() == true)
{
for (int i = 0; i < 20; i++)
{
Dictionary<string, object> dict = new Dictionary<string, object>
{
......@@ -1246,6 +1248,7 @@ public HandsonTableBase GetDrugtypeFactorConfig(int hospitalId, int allotId)
}
data.Add(dict);
}
}
table.Columns = columns;
table.NestedHeadersArray = new object[] { mergeCells, cells };
table.ColHeaders = cells;
......
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