高章伟
2023-03-03 d8dc84a3d56df839895f1c417a4d9cbee763d262
force-app/main/default/classes/NFM701ControllerHandler.cls
@@ -11,9 +11,10 @@
        this.oldList = (List<Account>) Trigger.old;
    }
    protected override void afterUpdate(){
        // if (!StaticParameter.EscapeNFM701Trigger) {
        if (!StaticParameter.EscapeNFM701Trigger && !NFM701Controller.isRunning) {
            NFM701Controller.isRunning = true;
            updateAccount(this.newList , this.newMap , this.oldList , this.oldMap);
        // }
        }
    }
    public static void updateAccount(List<Account> newList, Map<Id, Account> newMap, List<Account> oldList, Map<Id, Account> oldMap){
        List<String> accIdList = new List<String>();