|
@@ -146,7 +146,7 @@ public class ObjectRelationMigration extends MigrationAbstractServiceImpl<Object
|
|
// 分页处理sql
|
|
// 分页处理sql
|
|
if (result.getCount() > MigrationConstant.BATCH_SQL_DATA_COUNT) {
|
|
if (result.getCount() > MigrationConstant.BATCH_SQL_DATA_COUNT) {
|
|
long pages = result.getCount() / queryCriteria.getSize() + 1;
|
|
long pages = result.getCount() / queryCriteria.getSize() + 1;
|
|
- for(long i = 2;i < pages; i++){
|
|
|
|
|
|
+ for(long i = 2;i <= pages; i++){
|
|
queryCriteria.setPage(i);
|
|
queryCriteria.setPage(i);
|
|
admData = getAdmData(context,queryCriteria);
|
|
admData = getAdmData(context,queryCriteria);
|
|
appendValuesBefore(service,admData,futureList);
|
|
appendValuesBefore(service,admData,futureList);
|