Liu Cheng
2022-06-09 cdcd7ebced39e63ebbca5295ed8e34b66d515130
1
2
3
4
5
6
7
global class OPDPlanOwnerIfStayOrNotSchedulable implements Schedulable {
    //---SWAG-BMS8EJ---20200323
    //请设置当担当人用户中的“在职/离职”为离职时,OPD计划为计划中的变为 取消。
    global void execute(SchedulableContext sc) {
        Id execBTId = Database.executeBatch(new OPDPlanWarningBatch(true), 200);
    }
}