diff --git a/WeChatApplet/Services/Impl/StudentService.cs b/WeChatApplet/Services/Impl/StudentService.cs index 5c5eb75..4550f25 100644 --- a/WeChatApplet/Services/Impl/StudentService.cs +++ b/WeChatApplet/Services/Impl/StudentService.cs @@ -30,7 +30,7 @@ namespace YD_WeChatApplet.Api.Services.Impl from t in _sportsContext.Teacher join a in _sportsContext.ClassAssocTeacher on t.Id equals a.TeacherId join c in _sportsContext.Class on a.ClassId equals c.Id - where t.TeacherPhoneNo == teacherPhoneNo + where t.TeacherPhoneNo == teacherPhoneNo && t.TeacherStatus == 1 select new ClassListDto() { GradeId = c.GradeId,