code: public List<JobLog> getJobLogList(final JobLogPager jobLogPager) {
  
          final PagingResultBean<JobLog> jobLogList = jobLogBhv.selectPage(cb -> {
              cb.paging(jobLogPager.getPageSize(), jobLogPager.getCurrentPageNumber());
              setupListCondition(cb, jobLogPager);
          });
  
          // update pager
          BeanUtil.copyBeanToBean(jobLogList, jobLogPager, option -> option.include(Constants.PAGER_CONVERSION_RULE));
          jobLogPager.setPageNumberList(jobLogList.pageRange(op -> {
              op.rangeSize(fessConfig.getPagingPageRangeSizeAsInteger());
          }).createPageNumberList());
  
          return jobLogList;
      }
docs: 2hours