From f24a5026dbfb2981e234ce46ed503584c03ce420 Mon Sep 17 00:00:00 2001
From: 涂煌豪 <tuhuanghao@prec-tech.com>
Date: 星期一, 18 四月 2022 17:49:35 +0800
Subject: [PATCH] SelectAssetEstimateVMController
---
force-app/main/default/classes/Sfdc2PoContactBatch.cls | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/force-app/main/default/classes/Sfdc2PoContactBatch.cls b/force-app/main/default/classes/Sfdc2PoContactBatch.cls
index 0d84fdb..250ee26 100644
--- a/force-app/main/default/classes/Sfdc2PoContactBatch.cls
+++ b/force-app/main/default/classes/Sfdc2PoContactBatch.cls
@@ -11,18 +11,24 @@
// WHERE Id != null AND RecordTypeId = '01210000000QfWiAAK' AND Account.Is_Active_Formula__c = '鏈夋晥' AND MobilePhone != '' AND Isactive__c = '鏈夋晥'
// ]);
// 鍙戦�佹寚瀹氭暟鎹�
+ // 缁忛攢鍟嗗拰鍖婚櫌瀹㈡埛浜哄憳鏁版嵁閮介渶瑕侀噸鏂版墽琛� thh 20220411 start
return Database.getQueryLocator([SELECT id, Name, IsFromSPO__c, RecordTypeId, UnifiedI_Contact_ID__c, SendToComPlat__c,MobilePhone
FROM Contact
WHERE Id != null
- AND RecordTypeId = '01210000000QfWiAAK'
+ AND (RecordTypeId = '01210000000QfWiAAK' OR RecordTypeId = '01210000000QfWdAAK')
AND Account.Is_Active_Formula__c = '鏈夋晥'
AND MobilePhone != ''
AND ((Isactive__c = '鏈夋晥'
- AND SendToComPlat__c =true) OR SendToComPlat__c = true)
+ AND SendToComPlat__c = true) OR SendToComPlat__c = true)
]);
+ // 缁忛攢鍟嗗拰鍖婚櫌瀹㈡埛浜哄憳鏁版嵁閮介渶瑕侀噸鏂版墽琛� thh 20220411 end
+
}
global void execute(Database.BatchableContext BC, list < Contact > senContactList) {
+ // 璺宠繃ContactTriggerHandler,鍚﹀垯浼氭姤閿� thh 20220411 start
+ Oly_TriggerHandler.bypass('ContactTriggerHandler');
+ // 璺宠繃ContactTriggerHandler,鍚﹀垯浼氭姤閿� thh 20220411 end
List < String > conatctIdList = new List < String > ();
for (Contact con: senContactList) {
// 鍖婚櫌 瀹㈡埛浜哄憳 缁熶竴骞冲彴缂栫爜 鍙戦�� PO
--
Gitblit v1.9.1