From 24f9763120296b88667f0da4e398184a6aa3d3b7 Mon Sep 17 00:00:00 2001
From: 涂煌豪 <tuhuanghao@prec-tech.com>
Date: 星期四, 24 三月 2022 17:36:40 +0800
Subject: [PATCH] 维修委托书打印
---
force-app/main/default/classes/ContactTriggerHandler.cls | 15 +++++++++++++--
1 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/force-app/main/default/classes/ContactTriggerHandler.cls b/force-app/main/default/classes/ContactTriggerHandler.cls
index 81dd614..f5f46f9 100644
--- a/force-app/main/default/classes/ContactTriggerHandler.cls
+++ b/force-app/main/default/classes/ContactTriggerHandler.cls
@@ -403,10 +403,21 @@
if(!System.Test.isRunningTest()){
// NFM606Controller.executeNotFuture('', contactIdList);
if (contactIdList.size() > 0) {
- NFM606Controller.callout('', contactIdList);
+ // NFM606Controller.callout('', contactIdList);
+ //娣诲姞future 鍒ゆ柇 add for pipl sushanhu 20220317 start
+ if (!(System.isFuture()||System.isBatch())) {
+ NFM606Controller.callout('', contactIdList);
+ }
+ //娣诲姞future 鍒ゆ柇 add for pipl sushanhu 20220317 end
}
if (interfaceUserUpsertContact.size() > 0) {
- NFM606Controller.executeNotFuture('', interfaceUserUpsertContact);
+ // NFM606Controller.executeNotFuture('', interfaceUserUpsertContact);
+ //娣诲姞future 鍒ゆ柇 add for pipl sushanhu 20220316 start
+ if (!(System.isFuture()||System.isBatch())) {
+ NFM606Controller.executeNotFuture('', interfaceUserUpsertContact);
+ }
+ //娣诲姞future 鍒ゆ柇 add for pipl sushanhu 20220316 end
+
}
}
--
Gitblit v1.9.1