diff --git a/IRaCIS.Core.Application/Helper/FileFormatConvertHelper.cs b/IRaCIS.Core.Application/Helper/FileFormatConvertHelper.cs
new file mode 100644
index 00000000..639b9889
--- /dev/null
+++ b/IRaCIS.Core.Application/Helper/FileFormatConvertHelper.cs
@@ -0,0 +1,17 @@
+using DocumentFormat.OpenXml.Bibliography;
+using NPOI.XWPF.UserModel;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using Word;
+
+namespace IRaCIS.Core.Application.Helper
+{
+ public class FileFormatConvertHelper
+ {
+
+
+ }
+}
diff --git a/IRaCIS.Core.Application/IRaCIS.Core.Application.csproj b/IRaCIS.Core.Application/IRaCIS.Core.Application.csproj
index 386d4600..1a0e3a12 100644
--- a/IRaCIS.Core.Application/IRaCIS.Core.Application.csproj
+++ b/IRaCIS.Core.Application/IRaCIS.Core.Application.csproj
@@ -49,6 +49,64 @@
+
+
+ 0
+ 3
+ 00020905-0000-4b30-a977-d214852036ff
+ 0
+ tlbimp
+ false
+ true
+
+
+ tlbimp
+ 0
+ 1
+ d626eb73-b7c0-45ef-922d-0cddaede12fa
+ 0
+ false
+ true
+
+
+ tlbimp
+ 0
+ 1
+ 6f13e9b2-dde3-4ec5-9e2e-81bc3135401e
+ 0
+ false
+ true
+
+
+ tlbimp
+ 0
+ 3
+ 4a1d9d13-2ec6-495b-a5b5-848228e0a1ce
+ 0
+ false
+ true
+
+
+ tlbimp
+ 0
+ 3
+ 44720440-94bf-4940-926d-4f38fecf2a48
+ 0
+ false
+ true
+
+
+ tlbimp
+ 0
+ 3
+ 45541000-5750-5300-4b49-4e47534f4655
+ 0
+ false
+ true
+
+
+
+
PreserveNewest
diff --git a/IRaCIS.Core.Application/Service/Inspection/FrontAuditConfigService.cs b/IRaCIS.Core.Application/Service/Inspection/FrontAuditConfigService.cs
index a896d0f7..2ec831ed 100644
--- a/IRaCIS.Core.Application/Service/Inspection/FrontAuditConfigService.cs
+++ b/IRaCIS.Core.Application/Service/Inspection/FrontAuditConfigService.cs
@@ -798,7 +798,7 @@ namespace IRaCIS.Core.Application.Service
foreach (var translateInfo in translateInfoList)
{
//Json 解析后 true 变为了True
- jsonObject[translateInfo.ColumnValue] = translateDataList[translateInfo.TranslateDictionaryName].Where(t => t.Code.ToLower() == jsonObject[translateInfo.ColumnValue].ToString().ToLower()).Select(t => t.ValueCN).FirstOrDefault();
+ jsonObject[translateInfo.ColumnValue] = translateDataList[translateInfo.TranslateDictionaryName].Where(t => t.Code.ToLower() == jsonObject[translateInfo.ColumnValue]?.ToString().ToLower()).Select(t => t.ValueCN).FirstOrDefault();
}
//处理动态翻译
diff --git a/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs b/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs
index 047af8fc..7ab3f8a3 100644
--- a/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs
+++ b/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs
@@ -1917,8 +1917,7 @@ namespace IRaCIS.Core.Infra.EFCore.Common
var cloneEntity = firstEntity.Clone();
-
-
+
//保证Id 唯一
cloneEntity.Id = IdentifierHelper.CreateGuid(firstEntity.ReadingQuestionCriterionTrialId.ToString(), firstEntity.ReadingQuestionTrialId.ToString(), firstEntity.VisitTaskId.ToString());
@@ -2159,6 +2158,19 @@ namespace IRaCIS.Core.Infra.EFCore.Common
var list = entitys.Where(x => x.Entity.GetType() == typeof(ReadingGlobalTaskInfo)).Select(t => t.Entity as ReadingGlobalTaskInfo);
+ //不是固定问题的问题
+ var firstEntity = list.Where(t => t.QuestionId != null).First();
+
+ var cloneEntity = firstEntity.Clone();
+
+ var criterion = await _dbContext.VisitTask.Where(t => t.Id == cloneEntity.GlobalTaskId).Select(t => new { t.TrialReadingCriterionId,t.TrialReadingCriterion.CriterionType } ).FirstOrDefaultAsync();
+
+ //保证Id 唯一
+ cloneEntity.Id = IdentifierHelper.CreateGuid(firstEntity.GlobalTaskId.ToString(), criterion.TrialReadingCriterionId.ToString());
+
+ var extraIdentification = string.Empty;
+
+
var objList = new List