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/SLAReportDetailsController.cls | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/force-app/main/default/classes/SLAReportDetailsController.cls b/force-app/main/default/classes/SLAReportDetailsController.cls index 6d9a583..6e8b1f9 100644 --- a/force-app/main/default/classes/SLAReportDetailsController.cls +++ b/force-app/main/default/classes/SLAReportDetailsController.cls @@ -16,6 +16,8 @@ public String visitor5; public String serviceId; public String accId; + public String slaInfoStr{get; set;} + public String staticResourceContact {get; set;} public SLAReportDetailsController(){ eventcId = ApexPages.currentPage().getParameters().get('eventCId') == null ? '' : ApexPages.currentPage().getParameters().get('eventCId'); visitor1 = ApexPages.currentPage().getParameters().get('visitor1') == null ? '' : ApexPages.currentPage().getParameters().get('visitor1'); @@ -111,7 +113,8 @@ }else{ slaInfo.Visitor5__c = null; } - + slaInfoStr = JSON.serialize(slaInfo); + staticResourceContact = JSON.serialize(PIHelper.getPIIntegrationInfo('Contact')); } public void save(){ try { -- Gitblit v1.9.1