@Override
    public MapperResult findAllConfigInfoBetaForDumpAllFetchRows(MapperContext context) {
        Integer startRow = context.getStartRow();
        int pageSize = context.getPageSize();

        String sql = "SELECT t.id,data_id,group_id,tenant_id,app_name,content,md5,gmt_modified,beta_ips "
                + " FROM (  SELECT id FROM config_info_beta ORDER BY id OFFSET " + startRow + " ROWS FETCH NEXT "
                + pageSize + " ROWS ONLY  )" + " g, config_info_beta t WHERE g.id = t.id";

        List<Object> paramList = new ArrayList<>();
        paramList.add(startRow);
        paramList.add(pageSize);
        
        return new MapperResult(sql, paramList);
    }
@Test
    void testFindAllConfigInfoBetaForDumpAllFetchRows() {
        MapperResult result = configInfoBetaMapperByDerby.findAllConfigInfoBetaForDumpAllFetchRows(context);
        String sql = result.getSql();
        List<Object> paramList = result.getParamList();
        assertEquals(sql, "SELECT t.id,data_id,group_id,tenant_id,app_name,content,md5,gmt_modified,beta_ips  FROM "
                + "(  SELECT id FROM config_info_beta ORDER BY id OFFSET " + startRow + " ROWS FETCH NEXT " + pageSize + " ROWS ONLY  ) g, "
                + "config_info_beta t WHERE g.id = t.id");
        assertEquals(paramList, Arrays.asList(startRow, pageSize));
    }