From cc7487a59bd4b0fa5bed1dd59f6d0565ace81b8b Mon Sep 17 00:00:00 2001
From: 李金换 <lijinhuan@prec-tech.com>
Date: 星期五, 21 四月 2023 09:48:22 +0800
Subject: [PATCH] opd计划Cl3
---
force-app/main/default/triggers/RentalApplyOtherTrigger.trigger | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/force-app/main/default/triggers/RentalApplyOtherTrigger.trigger b/force-app/main/default/triggers/RentalApplyOtherTrigger.trigger
index 9a675c4..7ab0260 100644
--- a/force-app/main/default/triggers/RentalApplyOtherTrigger.trigger
+++ b/force-app/main/default/triggers/RentalApplyOtherTrigger.trigger
@@ -1,4 +1,7 @@
trigger RentalApplyOtherTrigger on Rental_Apply__c (before insert, before update, after insert, after update, after delete) {
+ if((!Test.isRunningTest())&&UserInfo.getUserId()==System.Label.ByPassTrigger){
+ return;
+ }
//SWAG-B3U63C 2018/8/21 鏇存柊瀛︿細鍩硅鐨勭敵璇峰鍝佺敵璇峰崟鏁� start
if (Trigger.isAfter) {
list<id> CampaignID = new list<id>();
--
Gitblit v1.9.1