From 5835379ec30b1667c4e522db9d294c9b7bb8633a Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期二, 26 四月 2022 12:00:31 +0800
Subject: [PATCH] SSBG Back up
---
force-app/main/default/classes/TSRepairController.cls | 18 +++++++++++++++++-
1 files changed, 17 insertions(+), 1 deletions(-)
diff --git a/force-app/main/default/classes/TSRepairController.cls b/force-app/main/default/classes/TSRepairController.cls
index 89300ae..6095f10 100644
--- a/force-app/main/default/classes/TSRepairController.cls
+++ b/force-app/main/default/classes/TSRepairController.cls
@@ -6,6 +6,7 @@
public String repairId {get; set;}
public TS_Repair__c tsr {get; set;}
+
public String datestr;
public Integer num {get; set{ num = value;}} //娣诲姞浜у搧鏃朵娇鐢�
@@ -22,6 +23,7 @@
//椤甸潰鏄剧ず鍐呭
public List<RepairInfo> RepairInfoList {get; set;}
+ public String RepairInfoListStr {get{return JSON.serialize(RepairInfoList);} set;}
public String temp {get; set;}
// Label
@@ -44,6 +46,9 @@
public Map<String, List<BusinessActivity__c>> businessActivityListToMap;
+
+
+
// 鐜嬮箯浼熷畾涔夊彉閲忓紑濮�
// 鍓嶅彴鐐瑰嚮鎸夐挳淇敼鐘舵��
public String status {get; set;}
@@ -51,6 +56,14 @@
//onclickType=0鏃跺彧鑳界偣鍑昏崏妗堬紝鐢宠锛沷nclickType=1鏃跺彧鑳界偣鍑婚┏鍥烇紝鎵瑰噯
public String onclickType {get; set;} //onclickType=0鏃�
// 鐜嬮箯浼熷畾涔夊彉閲忕粨鏉�
+
+
+ // Add by zhj for PIPL 20220309 Start
+ public String contactId{set;get;}//For Lookup field
+ public String staticResourceContact {get; set;}
+ public String contactNameValue{set;get;}
+ public String contactIdValue{set;get;}
+ // Add by zhj for PIPL 20220309 End
public TSRepairController() {
baseUrl = URL.getSalesforceBaseUrl().toExternalForm();
@@ -75,6 +88,7 @@
datestr = System.currentPageReference().getParameters().get('date');
}
+
public PageReference init() {
errorMessageMap = new Map<String, List<String>>();
@@ -134,7 +148,8 @@
}
}
-
+ //contact淇℃伅锛堟悳绱㈡煡璇uery url鐢級
+ staticResourceContact = JSON.serialize(PIHelper.getPIIntegrationInfo('Contact'));
return null;
}
@@ -692,6 +707,7 @@
updateUserFaultInfo.UserFaultInfoNextService__c = ba.BusinessANextService__c ;//涓嬫鏈嶅姟鏃堕棿
updateUserFaultInfo.UFAccount__c = ba.BusinessAAccount__c ;//瀹㈡埛鍗曚綅(鏌ユ壘)
updateUserFaultInfo.UserFaultInfoCustomerUnit__c = ba.BusinessACustomerUnit__c ;//瀹㈡埛鍗曚綅(鏂囨湰)
+ if(String.isNotBlank(contactIdValue)&&String.isNotEmpty(contactIdValue)){}
updateUserFaultInfo.UFContact__c = ba.BusinessAContact__c ;//鑱旂郴浜�
updateUserFaultInfo.UFPhone__c = ba.BusinessAPhone_F__c ;//鑱旂郴鐢佃瘽
--
Gitblit v1.9.1