张宇恒
2023-04-26 f9b1a1b44e83d4621c4e6d93405aa05675e8ea6d
1
2
3
4
5
6
trigger InspectionReportTrigger on Inspection_Report__c (after insert, after update, before delete) {
    if(Test.isRunningTest()||UserInfo.getUserId()!=System.Label.ByPassTrigger){
        InspectionReportTriggerHandler handler = new InspectionReportTriggerHandler();
        handler.run();
    }
}