/// <summary>
 /// 获取有作业数据的学生集合。
 /// </summary>
 /// <returns></returns>
 public LocalStudents HasWorks()
 {
     if (this.Students != null && this.Students.Count > 0)
     {
         LocalStudents stus = new LocalStudents();
         for (int i = 0; i < this.Students.Count; i++)
         {
             LocalStudent ls = this.Students[i];
             if (ls != null && ls.HasWork())
             {
                 stus.Add(ls);
             }
         }
         stus.Sort();
         return stus;
     }
     return null;
 }