From 3ba0123db48f8bab81ddf0913e1b95280ef545e8 Mon Sep 17 00:00:00 2001
From: Li Jun <buli@deloitte.com.cn>
Date: 星期四, 31 三月 2022 17:56:53 +0800
Subject: [PATCH] Deploy0331

---
 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