Number of records exceeds limit:200
出现这个错误是因为UserRecordAccess 只能查询200条记录,如果触发这个限制就会报错
SELECT RecordId FROM UserRecordAccess where UserId = :currUserInfo.Id AND HasReadAccess = true and RecordId in:priIds
出现这个错误是因为UserRecordAccess 只能查询200条记录,如果触发这个限制就会报错
SELECT RecordId FROM UserRecordAccess where UserId = :currUserInfo.Id AND HasReadAccess = true and RecordId in:priIds