111
沙世明
2022-11-22 928399eceec50e3d37ea08669a12789a9410a9d2
force-app/main/default/triggers/NFM007.trigger
@@ -295,7 +295,18 @@
        insert iflog;
        iflog = [Select Id, Name from BatchIF_Log__c where Id = :iflog.Id];
        System.debug(Logginglevel.DEBUG, 'NFM007_' + iflog.Name + ' start');                  // callout の中 end のlogを出します
        NFM007Controller.callout(iflog.Id, oppIds, purposeOfAdviceMap);
        // 20220921 ljh SWAG-CG2A7S update start
        // NFM007Controller.callout(iflog.Id, oppIds, purposeOfAdviceMap);
        String uid = UserInfo.getUserId();
        String iUid = System.Label.interfaceUserID;
        if (uid.substring(0,15) == iUid.substring(0,15)) {
            NFM007Controller.calloutNotfuture(iflog.Id, oppIds, purposeOfAdviceMap);
        }else{
            NFM007Controller.callout(iflog.Id, oppIds, purposeOfAdviceMap);
        }
        // 20220921 ljh SWAG-CG2A7S update end
    }
    if(System.Test.isRunningTest()){