Commit f9da4b98 authored by 吴春's avatar 吴春

提交代码

parent d1684814
...@@ -1479,6 +1479,10 @@ namespace Edu.Module.Exam ...@@ -1479,6 +1479,10 @@ namespace Edu.Module.Exam
{ {
ExamStatusTemp = 2; ExamStatusTemp = 2;
} }
if (Convert.ToInt32(examinationStudentModel?.ExamStatus ?? ExamTestStatusEnum.NotFinishTest) == 3)
{
ExamStatusTemp = 3;
}
} }
else if (examPublish.ExamEndTime < System.DateTime.Now) else if (examPublish.ExamEndTime < System.DateTime.Now)
{ {
......
...@@ -123,7 +123,7 @@ namespace Edu.WebApi.Controllers.Applet ...@@ -123,7 +123,7 @@ namespace Edu.WebApi.Controllers.Applet
{ {
item.ExamStatusStr = "已开始"; item.ExamStatusStr = "已开始";
} }
if (item.ExamStatus == 1) if (item.ExamStatus == 1 || item.ExamStatus == 3)
{ {
item.ExamStatusStr = "完成"; item.ExamStatusStr = "完成";
} }
...@@ -534,7 +534,7 @@ namespace Edu.WebApi.Controllers.Applet ...@@ -534,7 +534,7 @@ namespace Edu.WebApi.Controllers.Applet
{ {
item.ExamStatusStr = "已开始"; item.ExamStatusStr = "已开始";
} }
if (item.ExamStatus == 1) if (item.ExamStatus == 1 || item.ExamStatus == 3)
{ {
item.ExamStatusStr = "完成"; item.ExamStatusStr = "完成";
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment