@Test public void getCommonLogListByCondition() { long current = System.currentTimeMillis(); TraceLogCondition traceLogCondition = new TraceLogCondition(); traceLogCondition.setRpcPhase("L1"); traceLogCondition.setPageSize(100); traceLogCondition.setLimitOffset(1000000L); List<TraceLog> traceLog = traceLogMapper.getTraceLogListByCondition(traceLogCondition); PageResultPlus<TraceLog> pageResultPlus = new PageResultPlus<>(); pageResultPlus.setRows(traceLog); pageResultPlus.setCurrent(1L); pageResultPlus.setSize(100L); System.err.println(System.currentTimeMillis() - current); }
public PageResultPlus<TraceLog> getTraceLogListByCondition(TraceLogCondition traceLogCondition) { List<TraceLog> commonLogList = this.baseMapper.getTraceLogListByCondition(traceLogCondition); return TraceLogFactory.getResponseCondition(commonLogList, traceLogCondition); }
TraceLogService extends ServiceImpl<TraceLogMapper, TraceLog> { public PageResultPlus<TraceLog> getTraceLogListByCondition(TraceLogCondition traceLogCondition) { List<TraceLog> commonLogList = this.baseMapper.getTraceLogListByCondition(traceLogCondition); return TraceLogFactory.getResponseCondition(commonLogList, traceLogCondition); } }
TraceLogService extends ServiceImpl<TraceLogMapper, TraceLog> { public PageResultPlus<TraceLog> getTraceLogListByCondition(TraceLogCondition traceLogCondition) { List<TraceLog> commonLogList = this.baseMapper.getTraceLogListByCondition(traceLogCondition); return TraceLogFactory.getResponseCondition(commonLogList, traceLogCondition); }  }
TraceLogService extends ServiceImpl<TraceLogMapper, TraceLog> { public PageResultPlus<TraceLog> getTraceLogListByCondition(TraceLogCondition traceLogCondition) { List<TraceLog> commonLogList = this.baseMapper.getTraceLogListByCondition(traceLogCondition); return TraceLogFactory.getResponseCondition(commonLogList, traceLogCondition); }  PageResultPlus<TraceLog> getTraceLogList(TraceLogParams traceLogParams); PageResultPlus<TraceLog> getTraceLogListByCondition(TraceLogCondition traceLogCondition); }
TraceLogService extends ServiceImpl<TraceLogMapper, TraceLog> { public PageResultPlus<TraceLog> getTraceLogListByCondition(TraceLogCondition traceLogCondition) { List<TraceLog> commonLogList = this.baseMapper.getTraceLogListByCondition(traceLogCondition); return TraceLogFactory.getResponseCondition(commonLogList, traceLogCondition); }  PageResultPlus<TraceLog> getTraceLogList(TraceLogParams traceLogParams); PageResultPlus<TraceLog> getTraceLogListByCondition(TraceLogCondition traceLogCondition);  }