|
|
@ -211,7 +211,7 @@ namespace Tiobon.Core.Services |
|
|
|
A.ExamDateType, |
|
|
|
A.ExamDateType, |
|
|
|
A.AfterHowLong, |
|
|
|
A.AfterHowLong, |
|
|
|
A.StudyProgress, |
|
|
|
A.StudyProgress, |
|
|
|
A.ExamId |
|
|
|
A.ExamId,A.ExamStatus |
|
|
|
FROM Ghre_StudyRecord_V A";
|
|
|
|
FROM Ghre_StudyRecord_V A";
|
|
|
|
|
|
|
|
|
|
|
|
string conditions = $" WHERE UserId={App.User.ID} "; |
|
|
|
string conditions = $" WHERE UserId={App.User.ID} "; |
|
|
@ -330,9 +330,13 @@ namespace Tiobon.Core.Services |
|
|
|
x.ShowFeedbackBtn = false; |
|
|
|
x.ShowFeedbackBtn = false; |
|
|
|
|
|
|
|
|
|
|
|
#region 处理学习进度 |
|
|
|
#region 处理学习进度 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(x.ExamId.IsNull()) |
|
|
|
|
|
|
|
x.ShowExamBtn = false; |
|
|
|
|
|
|
|
|
|
|
|
if (!x.ExamId.IsNull() && x.FeedbackOrderId.IsNull()) |
|
|
|
if (!x.ExamId.IsNull() && x.FeedbackOrderId.IsNull()) |
|
|
|
{ |
|
|
|
{ |
|
|
|
if (x.ExamStatus == DIC_EXAM_RECORD_STATUS.WAIT) |
|
|
|
if (x.ExamStatus == DIC_EXAM_RECORD_STATUS.WAIT || x.ExamStatus.IsNull()) |
|
|
|
x.StudyProgress = x.StudyProgress / 2; |
|
|
|
x.StudyProgress = x.StudyProgress / 2; |
|
|
|
else if (x.ExamStatus == DIC_EXAM_RECORD_STATUS.EXAMING) |
|
|
|
else if (x.ExamStatus == DIC_EXAM_RECORD_STATUS.EXAMING) |
|
|
|
x.StudyProgress = 75; |
|
|
|
x.StudyProgress = 75; |
|
|
|