goja-web/src/main/java/goja/mvc/datatables/DTDao.java
public static Page<Record> paginate(String sqlPaginatePrefix,
                                        DTCriterias criterias,
                                        List<Object> params) {
        SqlNode sqlNode = SqlKit.sqlNode(sqlPaginatePrefix + ".paginate");
        Preconditions.checkNotNull(sqlNode, "[" + sqlPaginatePrefix + ".paginate]分页Sql不存在,无法执行分页");
        return DTDao.paginate(sqlNode, criterias, params);
    }
public static Page<Record> paginate(String sqlPaginatePrefix,
                                        DTCriterias criterias,
                                        List<Object> params) {
        SqlNode sqlNode = SqlKit.sqlNode(sqlPaginatePrefix + ".paginate");
        Preconditions.checkNotNull(sqlNode, "[" + sqlPaginatePrefix + ".paginate]分页Sql不存在,无法执行分页");
        return DTDao.paginate(sqlNode, criterias, params);
    }
public static Page < Record > paginate ( String sqlPaginatePrefix , DTCriterias criterias , List < Object > params ) { SqlNode sqlNode = SqlKit . sqlNode ( sqlPaginatePrefix + ".paginate" ) ; Preconditions . checkNotNull ( sqlNode , "[" + sqlPaginatePrefix + ".paginate]分页Sql不存在,无法执行分页"); return DTDao . paginate ( sqlNode , criterias , params ) ; }
Paging retrieve, default sorted by id, you need to specify the datatables request parameters.

@param sqlPaginatePrefix 分页搜索前缀
@param criterias         required parameter
@return Paging data.
Paging retrieve default sorted by id you need to specify the datatables request parameters .