diff --git a/Pages/Students/Index.cshtml.cs b/Pages/Students/Index.cshtml.cs
index be0503f..6bfd213 100644
--- a/Pages/Students/Index.cshtml.cs
+++ b/Pages/Students/Index.cshtml.cs
@@ -100,7 +100,8 @@ namespace _2021_backend.Pages.Students
foreach(var s in Context.Students)
{
- if (s.RegisterTime.CompareTo(new DateTime(2021, 11, 11)) < 0) s.Status = status.不通过;
+ if (s.RegisterTime.CompareTo(new DateTime(2021, 11, 11)) > 0) s.Status = status.不通过;
+ else if (s.Status == status.不通过) s.Status = status.刚报名;
}
Context.SaveChanges();
return Construct((int)pageId, errInfo);