Commit dcdfeaa6 by wyc

财务、全院绩效发放下载修改

parent c5bc9ba5
......@@ -244,9 +244,8 @@ public string AllComputerDown(sys_hospital hospital, List<dynamic> dynamics, str
for (int row = 0; row < data.Count(); row++)
{
var temp = data.ElementAt(row);
var low = temp.Keys.ToString().ToLower();
var value = temp.GetValue(headList[col].Name, "");
var key = headList[col].Name.ToLower();
temp.TryGetValue(key, out object value);
worksheet.Cells[row + 3, col + 1].Value = value;
}
if (col == 0)
......@@ -286,7 +285,7 @@ public string AllComputerDown(sys_hospital hospital, List<dynamic> dynamics, str
}
return filepath;
}
public string ExcelDownload(List<Dictionary<string, object>> rows,string name, List<ExcelDownloadHeads> excelDownloadHeads, string[] notSum, string[] ignoreColumns)
public string ExcelDownload(List<Dictionary<string, object>> rows, string name, List<ExcelDownloadHeads> excelDownloadHeads, string[] notSum, string[] ignoreColumns)
{
var dpath = Path.Combine(evn.ContentRootPath, "Files", "PerformanceRelease");
FileHelper.CreateDirectory(dpath);
......
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