From c1e035733f1e30e25e952e4eb843fd7381fe21fd Mon Sep 17 00:00:00 2001 From: xiaochanghai Date: Wed, 6 Nov 2024 16:06:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=80=83=E8=AF=95=E7=BB=93?= =?UTF-8?q?=E6=9E=9C=E6=9F=A5=E8=AF=A2=E6=8E=A5=E5=8F=A3=20=E8=80=83?= =?UTF-8?q?=E8=AF=95=E7=BB=93=E6=9D=9F=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Tiobon.Core.Api/Tiobon.Core.xml | 9 ++++++++- .../Ghre/Ghre_ExamRecordServices.cs | 7 ++++++- Tiobon.Core/Tiobon.Core.xml | 14 ++++++++++++++ 3 files changed, 28 insertions(+), 2 deletions(-) diff --git a/Tiobon.Core.Api/Tiobon.Core.xml b/Tiobon.Core.Api/Tiobon.Core.xml index a165c96c..5ca35530 100644 --- a/Tiobon.Core.Api/Tiobon.Core.xml +++ b/Tiobon.Core.Api/Tiobon.Core.xml @@ -313,7 +313,14 @@ - 流程提交处理 + 调用存储过程封装 + + + + + + + 调用存储过程封装 diff --git a/Tiobon.Core.Services/Ghre/Ghre_ExamRecordServices.cs b/Tiobon.Core.Services/Ghre/Ghre_ExamRecordServices.cs index 40018ed6..86216c4e 100644 --- a/Tiobon.Core.Services/Ghre/Ghre_ExamRecordServices.cs +++ b/Tiobon.Core.Services/Ghre/Ghre_ExamRecordServices.cs @@ -473,7 +473,12 @@ public class Ghre_ExamRecordServices : BaseServices= dt.Date) && (record.Status == DIC_EXAM_RECORD_STATUS.WAIT || record.Status == DIC_EXAM_RECORD_STATUS.EXAMING)) - return ServiceResult.OprateFailed("考试已结束!"); + { + record.Status = DIC_EXAM_RECORD_STATUS.EXAM_END; + + record.RetakeTimes = 10000; + } + //return ServiceResult.OprateFailed("考试已结束!"); var details = await Db.Queryable().Where(x => x.ExamRecordId == record.Id).ToListAsync(); var detailIds = details.Select(x => x.Id).ToList(); diff --git a/Tiobon.Core/Tiobon.Core.xml b/Tiobon.Core/Tiobon.Core.xml index 203dcb73..5ca35530 100644 --- a/Tiobon.Core/Tiobon.Core.xml +++ b/Tiobon.Core/Tiobon.Core.xml @@ -311,6 +311,20 @@ + + + 调用存储过程封装 + + + + + + + 调用存储过程封装 + + + + 构造函数