diff --git a/Tiobon.Core.Services/Ghre/Ghre_StudyRecordServices.cs b/Tiobon.Core.Services/Ghre/Ghre_StudyRecordServices.cs index f4fcfac2..14bd8240 100644 --- a/Tiobon.Core.Services/Ghre/Ghre_StudyRecordServices.cs +++ b/Tiobon.Core.Services/Ghre/Ghre_StudyRecordServices.cs @@ -1047,7 +1047,7 @@ public class Ghre_StudyRecordServices : BaseServices= 100 || !(x.CourseBeginDate.Value.Date <= DateTime.Now.Date && x.CourseEndDate.Value.Date >= DateTime.Now.Date)) // x.DisableStudyBtn = true; - if (x.StudyProgress < 100 || x.ExamId.IsNull()) + if ((x.StudyProgress < 100 || x.ExamId.IsNull()) && x.IsRequireStudy != false) x.DisableExamBtn = true; if (x.ExamId.IsNotEmptyOrNull() && (x.ExamBeginDate > dt || dt > x.ExamEndDate)) x.DisableExamBtn = true;