diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Bases/NOT_SA_SERVICE.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Bases/NOT_SA_SERVICE.cs index dc256bb7..1216a206 100644 --- a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Bases/NOT_SA_SERVICE.cs +++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Bases/NOT_SA_SERVICE.cs @@ -79,13 +79,13 @@ namespace Win.Sfs.SettleAccount.Bases return new PagedResultDto(totalCount, dtos); } - public List GetPagedData(List dataList, int pageNumber, int pageSize) + private List GetPagedData(List dataList, int pageNumber, int pageSize) { int startIndex = (pageNumber - 1) * pageSize; return dataList.Skip(startIndex).Take(pageSize).ToList(); } - public int CalculatePageCount(int totalCount, int pageSize) + private int CalculatePageCount(int totalCount, int pageSize) { int pageCount = totalCount / pageSize; if (totalCount % pageSize != 0)