From 884f10a686d0c576209498a1e6573e7bee4fd172 Mon Sep 17 00:00:00 2001
From: GWY <guweiyiscp096@foxmail.com>
Date: 星期二, 19 四月 2022 10:39:38 +0800
Subject: [PATCH] Merge branch 'master' of http://47.92.229.245:8089/r/OlympusSSBG
---
force-app/main/default/classes/TSRepairController.cls | 17 ++++++++++++++++-
1 files changed, 16 insertions(+), 1 deletions(-)
diff --git a/force-app/main/default/classes/TSRepairController.cls b/force-app/main/default/classes/TSRepairController.cls
index 89300ae..d86c91b 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;}} //娣诲姞浜у搧鏃朵娇鐢�
@@ -44,6 +45,9 @@
public Map<String, List<BusinessActivity__c>> businessActivityListToMap;
+
+
+
// 鐜嬮箯浼熷畾涔夊彉閲忓紑濮�
// 鍓嶅彴鐐瑰嚮鎸夐挳淇敼鐘舵��
public String status {get; set;}
@@ -51,6 +55,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 +87,7 @@
datestr = System.currentPageReference().getParameters().get('date');
}
+
public PageReference init() {
errorMessageMap = new Map<String, List<String>>();
@@ -134,7 +147,8 @@
}
}
-
+ //contact淇℃伅锛堟悳绱㈡煡璇uery url鐢級
+ staticResourceContact = JSON.serialize(PIHelper.getPIIntegrationInfo('Contact'));
return null;
}
@@ -692,6 +706,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