chenjingwu
2024-04-16 c0fa6c4772475d663fe174c41a830b4aaa7378cd
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();
    }
}