@@ -470,7 +470,7 @@ namespace TEAMModelOS.SDK.Models.Service
var unexist_student = students.Select(x => (x.id, x.code)).Except(studentsData.Select(y => (y.id, y.schoolId)), new CompareIdCode()).ToList();
groups.ForEach(x =>
{
- int item = x.members.RemoveAll(y => y.type == 2 && !unexist_student.Exists(x => x.id.Equals(y.id) && x.Item2.Equals(y.code)));
+ int item = x.members.RemoveAll(y => y.type == 2 && unexist_student.Exists(x => x.id.Equals(y.id) && x.Item2.Equals(y.code)));
if (item > 0)
changes.Add(x);