From 02ddc35714cbd1688b7cb057f770f1410de79dab Mon Sep 17 00:00:00 2001 From: buli <137736985@qq.com> Date: 星期五, 11 三月 2022 12:19:33 +0800 Subject: [PATCH] PIPL Updated Code 20220311 --- force-app/main/default/classes/StartTradingController.cls | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/force-app/main/default/classes/StartTradingController.cls b/force-app/main/default/classes/StartTradingController.cls index 7d11d89..feb1533 100644 --- a/force-app/main/default/classes/StartTradingController.cls +++ b/force-app/main/default/classes/StartTradingController.cls @@ -1,4 +1,4 @@ -public class StartTradingController { +public without sharing class StartTradingController { /** 銉兗銉塈D */ public String leadId{get;set;} @@ -9,12 +9,15 @@ /** 銉兗銉塐nwer */ public User leadOnwer{get; set;} + public String staticResource {get; set;} + /** 銈炽兂銈广儓銉┿偗銈� */ public StartTradingController(ApexPages.StandardController controller){ // 銉兗銉塈D瑷畾 this.leadId = system.currentPageReference().getParameters().get('leadId'); System.debug('this.leadId'+this.leadId); this.SI_Flg = false; + staticResource = JSON.serialize(PIHelper.getPIIntegrationInfo('Contact')); } /** 寮曞悎ID */ @@ -66,6 +69,8 @@ /** 璨╁2搴椼亱銈夊紩鍚堛倰Convert銇欍倠銉曘儵銈� **/ private Boolean isAgencyOpp = false; + + /** 鍒濇湡鍑︾悊 */ public void init(){ @@ -143,7 +148,7 @@ /** 瑷虹檪绉戦伕鎶炪儶銈广儓澶夋洿銈ゃ儥銉炽儓 */ public void depChange(){ // 瑷虹檪绉戦伕鎶炲�ゃ伀銈堛仯銇︺�佹媴褰撹�呴伕鎶炪儶銈广儓銈掑叆銈屾浛銇堛倠 - this.conList = this.conMap.get(sltDep); + this.conList = this.conMap.get(sltDep); } /** 銈儯銉炽偦銉儨銈裤兂 **/ @@ -153,6 +158,7 @@ /** 鍙栧紩銇枊濮嬨儨銈裤兂 **/ public PageReference start(){ + system.debug('杩涘叆start()'); // LHJ 20181012 CHAN-B5G6EZ 璐拱鎰忓悜杞浠锋姤閿� Start try { -- Gitblit v1.9.1