diff --git a/Tiobon.Core.Api/Tiobon.Core.xml b/Tiobon.Core.Api/Tiobon.Core.xml
index 096ef652..24862ffd 100644
--- a/Tiobon.Core.Api/Tiobon.Core.xml
+++ b/Tiobon.Core.Api/Tiobon.Core.xml
@@ -659,6 +659,13 @@
考试ID
+
+
+ 复制
+
+ 考试ID
+
+
试卷配置(Controller)
diff --git a/Tiobon.Core.Services/Ghre/Ghre_ExamServices.cs b/Tiobon.Core.Services/Ghre/Ghre_ExamServices.cs
index 14e572c8..e6781750 100644
--- a/Tiobon.Core.Services/Ghre/Ghre_ExamServices.cs
+++ b/Tiobon.Core.Services/Ghre/Ghre_ExamServices.cs
@@ -324,7 +324,7 @@ public class Ghre_ExamServices : BaseServices>();
id = await base.Add(insert);
insertStaffs.ForEach(x => x.ExamId = id);
- await _ghre_ExamStaffServices.Add(insertStaffs);
+ if (insertStaffs.Any())
+ await _ghre_ExamStaffServices.Add(insertStaffs);
return ServiceResult.OprateSuccess("复制成功!");
diff --git a/Tiobon.Core/Tiobon.Core.xml b/Tiobon.Core/Tiobon.Core.xml
index 096ef652..24862ffd 100644
--- a/Tiobon.Core/Tiobon.Core.xml
+++ b/Tiobon.Core/Tiobon.Core.xml
@@ -659,6 +659,13 @@
考试ID
+
+
+ 复制
+
+ 考试ID
+
+
试卷配置(Controller)