涂煌豪
2022-04-02 9fea9c7f6c14fe5500c70c63b4da3336631bc1d4
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);
    }
}