123
chenjingwu
2024-04-26 c158f99320226e98ec29dc89af7bccdc13b4bdf5
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();
    }
}