1
chenjingwu
2024-05-24 e630bb4c33c166083a427a688c3955421bc75abc
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();
    }
}