d
This commit is contained in:
parent
58b7f2b0ae
commit
f42b6d023b
@ -30,7 +30,7 @@ namespace YD_WeChatApplet.Api.Services.Impl
|
|||||||
from t in _sportsContext.Teacher
|
from t in _sportsContext.Teacher
|
||||||
join a in _sportsContext.ClassAssocTeacher on t.Id equals a.TeacherId
|
join a in _sportsContext.ClassAssocTeacher on t.Id equals a.TeacherId
|
||||||
join c in _sportsContext.Class on a.ClassId equals c.Id
|
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()
|
select new ClassListDto()
|
||||||
{
|
{
|
||||||
GradeId = c.GradeId,
|
GradeId = c.GradeId,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user