+1
-1
@@ -16,7 +16,7 @@ namespace _2021_backend.Utils
|
||||
public static bool Arrange(BackendContext context)
|
||||
{
|
||||
Context = context;
|
||||
students = context.Students.Where(it => it.Status != status.不通过 && it.Status != status.已确认时间 && it.Timelist.Count != 0 && it.InterviewTime == Guid.Empty && it.Status != status.需调整时间).OrderBy(it => it.Timelist.Count).ToList();
|
||||
students = context.Students.Where(it => it.Status == status.已选时间).OrderBy(it => it.Timelist.Count).ToList();
|
||||
sessions = context.Sessions.OrderBy(it => it.Day).ThenByDescending(it => it.Capacity - it.Students.Count).ThenBy(it => it.BeginTime).ThenBy(it => it.Place).ToList();
|
||||
students.Sort((Student a, Student b) =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user