Commit 59b45fdf authored by Quxl's avatar Quxl

x

parent c4d623d0
......@@ -378,7 +378,7 @@ public class JdbcTemplate extends org.springframework.jdbc.core.JdbcTemplate {
page.setIndex(index++);
pageDatas = limit(sql, page, args);
datas.addAll(pageDatas);
} while(pageDatas != null && pageDatas.size() > 0);
} while(pageDatas != null && pageDatas.size() > 0 && datas.size() < page.getTotal());
return datas;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment