@@ -165,7 +165,7 @@ public static class ExcelExportHelper
|
||||
}
|
||||
|
||||
//中文替换项目术语
|
||||
if (isEn_US == false)
|
||||
if (isEn_US == false && data.TrialObjectNameList.Count > 0)
|
||||
{
|
||||
var replaceObjectList = data.TrialObjectNameList;
|
||||
|
||||
@@ -415,7 +415,7 @@ public static class ExcelExportHelper
|
||||
}
|
||||
|
||||
//中文替换项目术语
|
||||
if (isEn_US == false)
|
||||
if (isEn_US == false && data.TrialObjectNameList.Count > 0)
|
||||
{
|
||||
var replaceObjectList = data.TrialObjectNameList;
|
||||
|
||||
@@ -526,6 +526,7 @@ public static class ExcelExportHelper
|
||||
var name = dynamicColumnConfig.ColumnNameList[i - dynamicColunmStartIndex];
|
||||
|
||||
titelRow.GetCell(i).SetCellValue(name);
|
||||
templateRow.GetCell(i).SetCellValue("");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -538,7 +539,6 @@ public static class ExcelExportHelper
|
||||
templateStream = memoryStream2;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user