This commit is contained in:
tanglong 2025-06-12 15:31:20 +08:00
parent 58b7f2b0ae
commit f42b6d023b

View File

@ -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,