李彤
2022-03-31 985edf54edeaac1b70a0b00c5fa975ab3add78b4
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);
    }
}