|
@@ -105,7 +105,7 @@ namespace GxPress.Repository.Implement.Teacher
|
|
|
query.Select(nameof(Entity.tede2.Teacher.Teacher.CollectCount));
|
|
|
result.Total = await _repository.CountAsync(query);
|
|
|
query.OrderByDesc(nameof(Entity.tede2.Teacher.Teacher.Sort));
|
|
|
- query.ForPage(request.PerPage, request.PerPage);
|
|
|
+ query.ForPage(request.Page, request.PerPage);
|
|
|
result.Items = await _repository.GetAllAsync<TeacherResult>(query);
|
|
|
foreach (var item in result.Items)
|
|
|
{
|