涂煌豪
2022-04-08 c40d6d0f9aba576bf9af5961db86cde85c8ca566
1
2
3
4
5
6
7
8
global class RollupToHPSchedule implements Schedulable {
    global void execute(SchedulableContext SC) {
        // 10->5 病院ずつ処理する
        Id execBTId = Database.executeBatch(new RollupToHPBatch('6.华南', '4.西南'), 3);
        execBTId = Database.executeBatch(new RollupToHPBatch('2.东北', '3.西北'), 3);
        execBTId = Database.executeBatch(new RollupToHPBatch('1.华北', '5.华东'), 3);
    }
}