From 85b18058da15575cbf98fc0227d231eb205bc30d Mon Sep 17 00:00:00 2001
From: sunxia <sunxia@prec-tech.com>
Date: 星期一, 18 四月 2022 17:04:57 +0800
Subject: [PATCH] WLIG-CDHFT8  【委托】一次性耗材产品QIS邮件提醒问题反馈

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

diff --git a/force-app/main/default/classes/UpdateContractAimAmountHandler.cls b/force-app/main/default/classes/UpdateContractAimAmountHandler.cls
index bfbcf19..1f97d9f 100644
--- a/force-app/main/default/classes/UpdateContractAimAmountHandler.cls
+++ b/force-app/main/default/classes/UpdateContractAimAmountHandler.cls
@@ -12,7 +12,9 @@
     }
     protected override void beforeUpdate() {
         changeAssume();
+        //SetAwaitToSendAWS();//new
     }
+    
 
     protected override void afterInsert() {
         createAgencyTarget();
@@ -25,8 +27,7 @@
         // LHJ KWAG-BQMA89 202006 Start
         updateAgencyAccout();
         // LHJ KWAG-BQMA89 202006 End
-        
-        SetAwaitToSendAWS();
+        SetAwaitToSendAWS();//old
     }
     
 
@@ -251,7 +252,7 @@
         //After : to avoid mutiple execute
         //if(!(System.Test.isRunningTest()||System.isFuture()||System.isBatch())){
         //Update by Li Jun for PIPL 20220304
-        if(!(System.Test.isRunningTest()||System.isFuture()||System.isBatch())){
+        if(!(System.Test.isRunningTest())){
 
             if (queueableAccountIdList.size() > 0) {
                 NFM601Controller.callout('', queueableAccountIdList);

--
Gitblit v1.9.1