From 2f4492ee18f90274582fcc2bb06f5e9bf64136e8 Mon Sep 17 00:00:00 2001 From: buli <137736985@qq.com> Date: 星期五, 13 五月 2022 17:32:14 +0800 Subject: [PATCH] ProdBackup0513 --- force-app/main/default/classes/NewOpportunityController.cls | 8 ++------ 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/force-app/main/default/classes/NewOpportunityController.cls b/force-app/main/default/classes/NewOpportunityController.cls index 4ada386..10f2d09 100644 --- a/force-app/main/default/classes/NewOpportunityController.cls +++ b/force-app/main/default/classes/NewOpportunityController.cls @@ -16,9 +16,6 @@ public Boolean isIEDealer{get; set; } - public String staticResource {get; set;} - public String opportunityAWSDataId{get; set;} - public NewOpportunityController() { baseUrl = URL.getSalesforceBaseUrl().toExternalForm(); String path = URL.getCurrentRequestUrl().getPath(); @@ -82,9 +79,9 @@ if(acc.compo_Acc__c == 'COMPO瀹㈡埛' && acc.ProductSegment__c == 'IE'){ opp.compo_opp__c = true; } - if(acc.UserType__c == 'OEM瀹㈡埛' && acc.ProductSegment__c == 'BS'){ + /*if(acc.UserType__c == 'OEM瀹㈡埛' && acc.ProductSegment__c == 'BS'){ opp.useing__c = 'OEM'; - } + }*/ opp.AccountId = acc.Id; opp.Account = acc; opp.ProductSegment__c = acc.ProductSegment__c; @@ -97,7 +94,6 @@ opp.Dealer__c = dealerId; } - staticResource = JSON.serialize(PIHelper.getPIIntegrationInfo('Opportunity')); return null; } -- Gitblit v1.9.1