高章伟
2022-02-24 2aa8da8af66aa8ae00f25831aed6bb0364176e7b
1
2
3
4
5
6
7
global class TaskOldDataUpdateSchedule implements Schedulable {
    global void execute(SchedulableContext sc) {
        Id execBTId = database.executebatch(new BathUpdateSobject('task__c'));
        // Id execBTId = database.executebatch(new BathUpdateSobject('task__c','assignee__r.IsActive = false AND taskStatus__c NOT IN (\'03 完成\',\'07 未执行\')'));
        
    }
}