From 2e38b5c0b5e2ce302aed60be311f1c56986b1c06 Mon Sep 17 00:00:00 2001 From: 高章伟 <gaozhangwei@prec-tech.com> Date: 星期一, 16 五月 2022 14:55:55 +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