是谁
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))
|
||||
|
||||
|
@ -106,7 +106,7 @@ namespace VOL.WebApi.Controllers
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpGet(nameof(ItemTypeList))]
|
||||
[ServiceFilter(typeof(ValidateDeviceFilter))]
|
||||
[ServiceFilter(typeof(ValidateDeviceFilter))]
|
||||
public async Task<List<Ai_ModeTypeModel>> ItemTypeList(Ai_Request paramDto)
|
||||
{
|
||||
return await _aiAppService.ItemTypeList();
|
||||
|
Loading…
x
Reference in New Issue
Block a user