Commit f8fef2ad by ruyun.zhang@suvalue.com

Merge branch 'v20201230yubei' into v2020morge-graphql

parents cb27b325 bc8d2285
...@@ -335,7 +335,11 @@ private void AccountNurseExport(int sheetID, SheetExportResponse response) ...@@ -335,7 +335,11 @@ private void AccountNurseExport(int sheetID, SheetExportResponse response)
int index = 1; int index = 1;
foreach (var item in pairs) foreach (var item in pairs)
{ {
row.Data.Add(new Cell(index, item.Item1, item.Item3, item.Item4, item.Item5, item.Item6)); row.Data.Add(new Cell(index, item.Item1, item.Item3, item.Item4, item.Item5, item.Item6)
{
FieldName = item.Item1,
CellType = "header"
});
index += 1; index += 1;
} }
response.Header.Add(row); response.Header.Add(row);
...@@ -388,7 +392,11 @@ private void AccountDoctorExport(int sheetID, SheetExportResponse response) ...@@ -388,7 +392,11 @@ private void AccountDoctorExport(int sheetID, SheetExportResponse response)
int index = 1; int index = 1;
foreach (var item in pairs) foreach (var item in pairs)
{ {
row.Data.Add(new Cell(index, item.Item1, item.Item3, item.Item4, item.Item5, item.Item6)); row.Data.Add(new Cell(index, item.Item1, item.Item3, item.Item4, item.Item5, item.Item6)
{
FieldName = item.Item1,
CellType = "header"
});
index += 1; index += 1;
} }
response.Header.Add(row); response.Header.Add(row);
......
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