指令调整,与点表一致
This commit is contained in:
parent
8fefdf5204
commit
3723bd3a78
|
@ -85,7 +85,7 @@ public class AutoCollectJobs {
|
|||
long timestamp = System.currentTimeMillis();
|
||||
List<Map<String, Object>> resultList = null;
|
||||
while (Objects.isNull(resultList) || resultList.size() >= pageSize) {
|
||||
resultList = this.jdbcTemplate.queryForList(SQL + " LIMIT " + (pageIndex++) + "," + pageSize);
|
||||
resultList = this.jdbcTemplate.queryForList(SQL + " LIMIT " + (pageIndex++ * pageSize) + ", " + pageSize);
|
||||
if (ObjectUtils.isEmpty(resultList)) {
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue