From e52b2723e36ae49397c0f637edf6838bf5f3a022 Mon Sep 17 00:00:00 2001
From: yangjieke <yangjieke@prec-tech.com>
Date: 星期日, 24 四月 2022 11:43:50 +0800
Subject: [PATCH] 日常处理24+ 事件延期报错处理
---
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