123
chenjingwu
2024-04-11 b212b555733a783af88e3c6610b7d9a0256502b5
1
2
3
4
5
6
7
8
trigger AfterUpdateReport on Report__c (after insert, after update,before insert, before update) {
    if(Test.isRunningTest()||UserInfo.getUserId()!=System.Label.ByPassTrigger){
        AfterUpdateReportHandler handler = new AfterUpdateReportHandler();
        handler.run();
        BeforeUpsertReportHandler beforehandler = new BeforeUpsertReportHandler();
        beforehandler.run();
    }
}