### Question:
CommonLogService extends ServiceImpl<CommonLogMapper, CommonLog> { public PageResultPlus<CommonLog> getCommonLogList(CommonLogParams commonLogParams) { Long commonLogCount = this.baseMapper.getCommonLogCount(); if (commonLogParams.getGtValue() == null) { commonLogParams.setGtValue(commonLogCount); } List<CommonLog> commonLogList = this.baseMapper.getCommonLogList(commonLogParams); return CommonLogFactory.getResponse(commonLogList, commonLogCount, commonLogParams); }  PageResultPlus<CommonLog> getCommonLogList(CommonLogParams commonLogParams); PageResultPlus<CommonLog> getCommonLogListByCondition(CommonLogCondition commonLogCondition); List<CommonLog> getList();  }### Answer:
@Test public void getCommonLogList() { long current = System.currentTimeMillis(); Long commonLogCount = commonLogMapper.getCommonLogCount(); CommonLogParams commonLogCondition = new CommonLogParams(); commonLogCondition.setGtValue(commonLogCount); commonLogCondition.setPageSize(100); commonLogCondition.setPageNo(1); List<CommonLog> commonLogList = commonLogMapper.getCommonLogList(commonLogCondition); PageResultPlus<CommonLog> pageResultPlus = new PageResultPlus<>(); pageResultPlus.setRows(commonLogList); pageResultPlus.setTotal(commonLogCount); pageResultPlus.setCurrent(1L); pageResultPlus.setSize(100L); long a = commonLogCount % 100 == 0 ? 0 : 1; pageResultPlus.setTotalPage((long) (a + commonLogCount / 100)); System.err.println(pageResultPlus); System.out.println(System.currentTimeMillis() - current); }