From e3c02c03dd2de442bbced87236f60a13a1cd154e Mon Sep 17 00:00:00 2001
From: 高章伟 <gaozhangwei@prec-tech.com>
Date: 星期四, 02 三月 2023 17:51:57 +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