@Test public void findAll() { List<ServerLog> serverLogList = serverLogService.findAll(null); log.info("{}", serverLogList); }
public List<ServerLog> findAll(ServerLog model) { File[] logFiles = logFileContent.listFiles(); QueryResult<ServerLog> queryResult = query(1, logFiles.length, model); List<ServerLog> serverLogList = queryResult.getList(); return serverLogList; }
ServerLogService { public List<ServerLog> findAll(ServerLog model) { File[] logFiles = logFileContent.listFiles(); QueryResult<ServerLog> queryResult = query(1, logFiles.length, model); List<ServerLog> serverLogList = queryResult.getList(); return serverLogList; } }
ServerLogService { public List<ServerLog> findAll(ServerLog model) { File[] logFiles = logFileContent.listFiles(); QueryResult<ServerLog> queryResult = query(1, logFiles.length, model); List<ServerLog> serverLogList = queryResult.getList(); return serverLogList; }  }
ServerLogService { public List<ServerLog> findAll(ServerLog model) { File[] logFiles = logFileContent.listFiles(); QueryResult<ServerLog> queryResult = query(1, logFiles.length, model); List<ServerLog> serverLogList = queryResult.getList(); return serverLogList; }  List<ServerLog> findAll(ServerLog model); QueryResult<ServerLog> query(int page, int size, ServerLog model); void downloadLogFile(String fileName, HttpServletResponse response); }
ServerLogService { public List<ServerLog> findAll(ServerLog model) { File[] logFiles = logFileContent.listFiles(); QueryResult<ServerLog> queryResult = query(1, logFiles.length, model); List<ServerLog> serverLogList = queryResult.getList(); return serverLogList; }  List<ServerLog> findAll(ServerLog model); QueryResult<ServerLog> query(int page, int size, ServerLog model); void downloadLogFile(String fileName, HttpServletResponse response);  }