是谁
This commit is contained in:
parent
8ffe43a327
commit
37c9747f5c
@ -94,7 +94,8 @@ namespace VOL.Business.Services.School
|
||||
|
||||
|
||||
var query = from s in _studentRepository.DbContext.Set<S_Student>()
|
||||
join c in _studentRepository.DbContext.Set<S_Class>() on s.ClassId equals c.Id
|
||||
join c in _studentRepository.DbContext.Set<S_Class>() on s.ClassId equals c.Id into sc
|
||||
from c in sc.DefaultIfEmpty()
|
||||
|
||||
where s.SchoolCode.Equals(UserContext.Current.TenantId) && s.StudentStatus == StudentStatus.Normal && (!isTeacher || classIds.Contains(c.Id))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user