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