| | |
| | | // エラーを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++) { |
| | |
| | | //参数:updSelfList 要重新插入的数据 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++) { |