Browse Source

update。

CrazyIter_Bin 3 years ago
parent
commit
d958eaece6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      TEAMModelOS/Controllers/School/SchoolController.cs

+ 1 - 1
TEAMModelOS/Controllers/School/SchoolController.cs

@@ -1654,7 +1654,7 @@ namespace TEAMModelOS.Controllers
                                 }
                                 else
                                 {
-                                    tch = teacherImport.teachers.Find(t =>  !string.IsNullOrWhiteSpace(x.id) &&  t.id.Equals(x.id));
+                                    tch = teacherImport.teachers.Find(t =>  !string.IsNullOrWhiteSpace(x.id) && !string.IsNullOrWhiteSpace(t.id) &&  t.id.Equals(x.id));
                                 }
                                 if (tch != null)
                                 {