张宇恒
2022-12-23 ec47f5ab5923a315bf22e0df5af7371e9668589e
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);
    }
}