|
@@ -134,8 +134,11 @@ public class ObjectRelationMigration extends MigrationAbstractServiceImpl<Object
|
|
|
QueryCriteria queryCriteria = getQueryCriteria(miGrationRelCode.getCode());
|
|
|
queryCriteria.setSize(MigrationConstant.BATCH_SQL_DATA_COUNT);
|
|
|
CommonResult<List<ObjectRelation>> result = getAdmDataPage(context,queryCriteria);
|
|
|
+ if(result == null){
|
|
|
+ continue;
|
|
|
+ }
|
|
|
List<ObjectRelation> admData = result.getData();
|
|
|
- if(result == null|| CollUtil.isEmpty(admData)){
|
|
|
+ if(CollUtil.isEmpty(admData)){
|
|
|
continue;
|
|
|
}
|
|
|
if (result.getCount() > MigrationConstant.BATCH_SQL_DATA_COUNT) {
|