1
chenjingwu
2024-04-11 35b9d5c13516054404c9e93fba6ce583fb3d5424
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();
    }
}