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