From d8dc84a3d56df839895f1c417a4d9cbee763d262 Mon Sep 17 00:00:00 2001
From: 高章伟 <gaozhangwei@prec-tech.com>
Date: 星期五, 03 三月 2023 14:50:59 +0800
Subject: [PATCH] gzw 测试环境代码更新
---
force-app/main/default/classes/SSOpportunityBatch.cls | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/force-app/main/default/classes/SSOpportunityBatch.cls b/force-app/main/default/classes/SSOpportunityBatch.cls
index 9044e7f..d28104c 100644
--- a/force-app/main/default/classes/SSOpportunityBatch.cls
+++ b/force-app/main/default/classes/SSOpportunityBatch.cls
@@ -173,6 +173,9 @@
// 銈ㄣ儵銉笺倰log銇浉銇嶅嚭銇�
if (updSelfList.size() > 0) {
System.debug('updSelfList:' + updSelfList);
+ // SWAG-CE55BX 棰勬祴浼樺寲 start
+ StaticParameter.EscapeOppandStaTrigger = true;
+ // SWAG-CE55BX 棰勬祴浼樺寲 end
Database.SaveResult[] lsr = Database.update(updSelfList, false);
List<Opportunity> reuseUpdateList = new List<Opportunity>();
for (Integer tIdx = 0; tIdx < lsr.size(); tIdx++) {
@@ -246,6 +249,9 @@
//鍙傛暟锛歶pdSelfList 瑕侀噸鏂版彃鍏ョ殑鏁版嵁 indexUpdate 绗嚑娆℃彃鍏�
public void reuseUpdate(List<Opportunity> updSelfList,Integer indexUpdate){
System.debug('杩欐槸姝ゆ柟娉曡蛋鐨勭锛�'+indexUpdate+' 娆′簡銆�');
+ // SWAG-CE55BX 棰勬祴浼樺寲 start
+ StaticParameter.EscapeOppandStaTrigger = true;
+ // SWAG-CE55BX 棰勬祴浼樺寲 end
Database.SaveResult[] lsr = Database.update(updSelfList, false);
List<Opportunity> reuseUpdateList = new List<Opportunity>();
for (Integer tIdx = 0; tIdx < lsr.size(); tIdx++) {
--
Gitblit v1.9.1