李昊 4 년 전
부모
커밋
435899ea4c
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      gx_api/GxPress/Repository/GxPress.Repository.Implement/SpecialLabel/SpecialLabelRepository.cs

+ 1 - 0
gx_api/GxPress/Repository/GxPress.Repository.Implement/SpecialLabel/SpecialLabelRepository.cs

@@ -106,6 +106,7 @@ namespace GxPress.Repository.Implement.SpecialLabel
                 query.WhereLike(nameof(Entity.SystemLabel.SpecialLabel.Title), $"%{request.KeyWord}%");
             result.Total = await _repository.CountAsync(query);
             query.OrderByDesc(nameof(Entity.SystemLabel.SpecialLabel.Sort));
+            query.ForPage(request.Page, request.PerPage);
             result.Items = await _repository.GetAllAsync(query);
             return result;
         }