Compare commits

..

No commits in common. "1adb7e6e2a3b740525846ca9ecda3de83433a65c" and "c5aaa08326d0f5d7fe2bdc2501a9613efe5f7ce3" have entirely different histories.

1 changed files with 2 additions and 2 deletions

View File

@ -322,7 +322,7 @@ public static class ExcelExportHelper
foreach (var key in dic.Keys)
{
//是数组 那么找到对应的属性 进行翻译
if (dic[key] != null && dic[key].GetType().GetInterfaces().Any(i => i.IsGenericType && i.GetGenericTypeDefinition() == typeof(IList<>)))
if (dic[key].GetType().GetInterfaces().Any(i => i.IsGenericType && i.GetGenericTypeDefinition() == typeof(IList<>)))
//if (dic[key].GetType().IsAssignableFrom(typeof(JArray)))
{
@ -421,7 +421,7 @@ public static class ExcelExportHelper
}
//中文替换项目术语
if (data.TrialObjectNameList?.Count > 0)
if (data.TrialObjectNameList.Count > 0)
{
var replaceObjectList = data.TrialObjectNameList;