From c011794c5a917343db38fbf4074d4ec5ddab228e Mon Sep 17 00:00:00 2001
From: 游畅 <youchang@prec-tech.com>
Date: 星期五, 07 四月 2023 09:58:31 +0800
Subject: [PATCH] 20230407招标项目同步询价的中标信息
---
force-app/main/default/triggers/ConsumApplyEquipmentSetDetailTrigger.trigger | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/force-app/main/default/triggers/ConsumApplyEquipmentSetDetailTrigger.trigger b/force-app/main/default/triggers/ConsumApplyEquipmentSetDetailTrigger.trigger
index a96c3ed..6a0acf9 100644
--- a/force-app/main/default/triggers/ConsumApplyEquipmentSetDetailTrigger.trigger
+++ b/force-app/main/default/triggers/ConsumApplyEquipmentSetDetailTrigger.trigger
@@ -1,4 +1,6 @@
trigger ConsumApplyEquipmentSetDetailTrigger on Consum_Apply_Equipment_Set_Detail__c (before insert, before update, after insert, after update, before delete, after delete) {
- ConsumApplyEquipmentSetDetailHandler handler = new ConsumApplyEquipmentSetDetailHandler();
- handler.run();
+ if(Test.isRunningTest()||UserInfo.getUserId()!=System.Label.ByPassTrigger){
+ ConsumApplyEquipmentSetDetailHandler handler = new ConsumApplyEquipmentSetDetailHandler();
+ handler.run();
+ }
}
\ No newline at end of file
--
Gitblit v1.9.1