实现和 mass transfer account 一样的功能:
global class AccountBatchScript implements Database.Batchable<sObject>,Schedulable{
String query;
Id oldOwnerId = 'xxxxxxxxxxxx';
Id newOwnerId = 'yyyyyyyyyyyy';
List<Id> AccountIds = new List<Id>();
List<String> AccountNames = new List<String>{
'TestAccount241112','TestAccount241113'}