diff --git a/TeachingRecordSystem/src/TeachingRecordSystem.Core/Jobs/SyncAllInductionsFromCrmJob.cs b/TeachingRecordSystem/src/TeachingRecordSystem.Core/Jobs/SyncAllInductionsFromCrmJob.cs index 0a30d8cb8..ed4aaa695 100644 --- a/TeachingRecordSystem/src/TeachingRecordSystem.Core/Jobs/SyncAllInductionsFromCrmJob.cs +++ b/TeachingRecordSystem/src/TeachingRecordSystem.Core/Jobs/SyncAllInductionsFromCrmJob.cs @@ -74,11 +74,6 @@ await _trsDataSyncHelper.SyncInductionsAsync( if (result.MoreRecords) { - if (query.PageInfo.PageNumber == 100) - { - break; - } - query.PageInfo.PageNumber++; query.PageInfo.PagingCookie = result.PagingCookie; }