From ff64c3f725e250faa06b79bb2792c15852160497 Mon Sep 17 00:00:00 2001 From: xiaochanghai Date: Wed, 21 May 2025 16:42:33 +0800 Subject: [PATCH] =?UTF-8?q?=E8=80=83=E8=AF=95=E5=8F=96=E6=B6=88=EF=BC=8C?= =?UTF-8?q?=E5=AD=A6=E4=B9=A0=E8=AE=B0=E5=BD=95=E4=B8=8E=E8=80=83=E8=AF=95?= =?UTF-8?q?=E8=A7=A3=E7=BB=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Tiobon.Core.Services/Ghre/Ghre_ExamServices.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Tiobon.Core.Services/Ghre/Ghre_ExamServices.cs b/Tiobon.Core.Services/Ghre/Ghre_ExamServices.cs index ca212c58..b8dfdb4c 100644 --- a/Tiobon.Core.Services/Ghre/Ghre_ExamServices.cs +++ b/Tiobon.Core.Services/Ghre/Ghre_ExamServices.cs @@ -1410,6 +1410,15 @@ public class Ghre_ExamServices : BaseServices() + .SetColumns(it => new Ghre_StudyRecord() { ExamId = null }) + .Where(it => it.ExamId != null && it.ExamId == id) + .ExecuteCommandAsync(); + + #endregion + if (status == DIC_EXAM_STATUS.RELEASED || status == DIC_EXAM_STATUS.DISABLED || status == DIC_EXAM_STATUS.DRAFT) { entity.Status = status;