张宇恒
2022-04-15 6c756e2a0ec1d67b1c13d3b9c2a387e046456ffa
1
2
3
4
5
6
7
8
9
10
11
global class SetCurrentDailyReportSumSchedule implements Schedulable {
    global void execute(SchedulableContext sc) {
        //MyBatchClass b = new MyBatchClass();
        //database.executebatch(b);
        // 2021-03-08  mzy  WLIG-BYHD79  SFDC环境batch合并调查  start
        //Id execBTId = Database.executeBatch(new SetCurrentDailyReportSumBatch(),20);
        Id execBTId = Database.executeBatch(new SetCurrentDailyReportSumBatch(true),20);
        // 2021-03-08  mzy  WLIG-BYHD79  SFDC环境batch合并调查  end
 
    }
}