From cd730d0b1a775abacfba06003bb58327d5d1fb3c Mon Sep 17 00:00:00 2001
From: 黄千龙 <huangqianlong@prec-tech.com>
Date: 星期四, 02 二月 2023 12:23:31 +0800
Subject: [PATCH] 同步数据
---
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