From 928399eceec50e3d37ea08669a12789a9410a9d2 Mon Sep 17 00:00:00 2001
From: 沙世明 <shashiming@prec-tech.com>
Date: 星期二, 22 十一月 2022 16:51:16 +0800
Subject: [PATCH] 111

---
 force-app/main/default/classes/AgencyOppUpdHandler.cls |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/force-app/main/default/classes/AgencyOppUpdHandler.cls b/force-app/main/default/classes/AgencyOppUpdHandler.cls
index 9397196..2fca01f 100644
--- a/force-app/main/default/classes/AgencyOppUpdHandler.cls
+++ b/force-app/main/default/classes/AgencyOppUpdHandler.cls
@@ -57,7 +57,10 @@
                 op.ConfirmationofAward__c = 'OLY涓爣';
                 opList.add(op);
             }
-            if(opp.Assistant_Applied_Date__c == null && oldMap.get(opp.id).Assistant_Applied_Date__c != null){//鍙栨秷鍚堝悓鐢宠鏃ワ紝瀛楁娓呯┖
+            // 2022-11-22 ssm DB202211311158 鍙栨秷win鐨勬椂鍊欏垽鏂槸鍚︽湁浠诲姟 濡傛灉娌℃湁浠诲姟鐨勮瘽灏辨竻绌� 鏈変换鍔$殑鏃跺�欎繚鐣欑粨鏋�
+            // if(opp.Assistant_Applied_Date__c == null && oldMap.get(opp.id).Assistant_Applied_Date__c != null){//鍙栨秷鍚堝悓鐢宠鏃ワ紝瀛楁娓呯┖
+            if(opp.Assistant_Applied_Date__c == null && oldMap.get(opp.id).Assistant_Applied_Date__c != null && 
+                !(!opp.SAP_Send_OK__c && oldMap.get(opp.id).SAP_Send_OK__c && oldMap.get(opp.id).Task_createTime__c != null)){
                 Opportunity op = new Opportunity();
                 op.Id = opp.Id;
                 op.ConfirmationofAward_createTime__c = null;

--
Gitblit v1.9.1