导表修改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
09d7a34c97
commit
98947b0609
|
@ -165,7 +165,7 @@ public static class ExcelExportHelper
|
||||||
}
|
}
|
||||||
|
|
||||||
//中文替换项目术语
|
//中文替换项目术语
|
||||||
if (isEn_US == false && data.TrialObjectNameList.Count > 0)
|
if (data.TrialObjectNameList.Count > 0)
|
||||||
{
|
{
|
||||||
var replaceObjectList = data.TrialObjectNameList;
|
var replaceObjectList = data.TrialObjectNameList;
|
||||||
|
|
||||||
|
@ -176,6 +176,10 @@ public static class ExcelExportHelper
|
||||||
for (int rowIndex = 0; rowIndex < rowCount; rowIndex++)
|
for (int rowIndex = 0; rowIndex < rowCount; rowIndex++)
|
||||||
{
|
{
|
||||||
var row = sheet.GetRow(rowIndex);
|
var row = sheet.GetRow(rowIndex);
|
||||||
|
|
||||||
|
if (row != null)
|
||||||
|
{
|
||||||
|
|
||||||
var colums = row.LastCellNum;
|
var colums = row.LastCellNum;
|
||||||
|
|
||||||
for (int colIndex = 0; colIndex < colums; colIndex++)
|
for (int colIndex = 0; colIndex < colums; colIndex++)
|
||||||
|
@ -195,6 +199,8 @@ public static class ExcelExportHelper
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
using (var memoryStream2 = new MemoryStream())
|
using (var memoryStream2 = new MemoryStream())
|
||||||
|
@ -415,7 +421,7 @@ public static class ExcelExportHelper
|
||||||
}
|
}
|
||||||
|
|
||||||
//中文替换项目术语
|
//中文替换项目术语
|
||||||
if (isEn_US == false && data.TrialObjectNameList.Count > 0)
|
if (data.TrialObjectNameList.Count > 0)
|
||||||
{
|
{
|
||||||
var replaceObjectList = data.TrialObjectNameList;
|
var replaceObjectList = data.TrialObjectNameList;
|
||||||
|
|
||||||
|
@ -426,6 +432,9 @@ public static class ExcelExportHelper
|
||||||
for (int rowIndex = 0; rowIndex < rowCount; rowIndex++)
|
for (int rowIndex = 0; rowIndex < rowCount; rowIndex++)
|
||||||
{
|
{
|
||||||
var row = sheet.GetRow(rowIndex);
|
var row = sheet.GetRow(rowIndex);
|
||||||
|
if (row != null)
|
||||||
|
{
|
||||||
|
|
||||||
var colums = row.LastCellNum;
|
var colums = row.LastCellNum;
|
||||||
|
|
||||||
for (int colIndex = 0; colIndex < colums; colIndex++)
|
for (int colIndex = 0; colIndex < colums; colIndex++)
|
||||||
|
@ -446,6 +455,7 @@ public static class ExcelExportHelper
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (dynamicColumnConfig != null)
|
if (dynamicColumnConfig != null)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue