@Test public void getCommonLogListByCondition() { long current = System.currentTimeMillis(); CommonLogCondition commonLogCondition = new CommonLogCondition(); commonLogCondition.setLogLevel("ERROR"); commonLogCondition.setPageSize(100); commonLogCondition.setLimitOffset(100000L); List<CommonLog> commonLogList = commonLogMapper.getCommonLogListByCondition(commonLogCondition); PageResultPlus<CommonLog> pageResultPlus = new PageResultPlus<>(); pageResultPlus.setRows(commonLogList); pageResultPlus.setCurrent(1L); pageResultPlus.setSize(100L); System.out.println(System.currentTimeMillis() - current); }
public PageResultPlus<CommonLog> getCommonLogListByCondition(CommonLogCondition commonLogCondition) { List<CommonLog> commonLogList = this.baseMapper.getCommonLogListByCondition(commonLogCondition); return CommonLogFactory.getResponseCondition(commonLogList, commonLogCondition); }
CommonLogService extends ServiceImpl<CommonLogMapper, CommonLog> { public PageResultPlus<CommonLog> getCommonLogListByCondition(CommonLogCondition commonLogCondition) { List<CommonLog> commonLogList = this.baseMapper.getCommonLogListByCondition(commonLogCondition); return CommonLogFactory.getResponseCondition(commonLogList, commonLogCondition); } }
CommonLogService extends ServiceImpl<CommonLogMapper, CommonLog> { public PageResultPlus<CommonLog> getCommonLogListByCondition(CommonLogCondition commonLogCondition) { List<CommonLog> commonLogList = this.baseMapper.getCommonLogListByCondition(commonLogCondition); return CommonLogFactory.getResponseCondition(commonLogList, commonLogCondition); }  }
CommonLogService extends ServiceImpl<CommonLogMapper, CommonLog> { public PageResultPlus<CommonLog> getCommonLogListByCondition(CommonLogCondition commonLogCondition) { List<CommonLog> commonLogList = this.baseMapper.getCommonLogListByCondition(commonLogCondition); return CommonLogFactory.getResponseCondition(commonLogList, commonLogCondition); }  PageResultPlus<CommonLog> getCommonLogList(CommonLogParams commonLogParams); PageResultPlus<CommonLog> getCommonLogListByCondition(CommonLogCondition commonLogCondition); List<CommonLog> getList(); }
CommonLogService extends ServiceImpl<CommonLogMapper, CommonLog> { public PageResultPlus<CommonLog> getCommonLogListByCondition(CommonLogCondition commonLogCondition) { List<CommonLog> commonLogList = this.baseMapper.getCommonLogListByCondition(commonLogCondition); return CommonLogFactory.getResponseCondition(commonLogList, commonLogCondition); }  PageResultPlus<CommonLog> getCommonLogList(CommonLogParams commonLogParams); PageResultPlus<CommonLog> getCommonLogListByCondition(CommonLogCondition commonLogCondition); List<CommonLog> getList();  }