From ff435968945d457f9ee653a9620fa1c7d78d2d4c Mon Sep 17 00:00:00 2001
From: 涂煌豪 <tuhuanghao@prec-tech.com>
Date: 星期五, 06 五月 2022 18:17:54 +0800
Subject: [PATCH] MceConfigPDFController 修改

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

diff --git a/force-app/main/default/classes/NFM624Batch.cls b/force-app/main/default/classes/NFM624Batch.cls
index 8c77de7..b99180b 100644
--- a/force-app/main/default/classes/NFM624Batch.cls
+++ b/force-app/main/default/classes/NFM624Batch.cls
@@ -8,7 +8,7 @@
 
     global Database.QueryLocator start(Database.BatchableContext bc) {
         
-        return Database.getQueryLocator([select Id,	NFM624_Secondary_processing__c from BatchIF_Log__c where NFM624_Secondary_processing__c = false AND Type__C = 'NFM624' AND RowDataFlg__c = true AND retry_cnt__c < 3]);
+        return Database.getQueryLocator([select Id,	NFM624_Secondary_processing__c from BatchIF_Log__c where NFM624_Secondary_processing__c = false AND Type__C = 'NFM624' AND RowDataFlg__c = true AND retry_cnt__c < 3 AND Is_Error__c != 1]);
     }
 
     global void execute(Database.BatchableContext BC, list<BatchIF_Log__c> scope) {
@@ -24,8 +24,5 @@
         // if(updateprocessingList.size()>0){
         //     update updateprocessingList;
         // }
-        if(!Test.isRunningTest()){
-            Id execBTId = Database.executeBatch(new NFM601Batch(), 200);
-        }
     }
 }
\ No newline at end of file

--
Gitblit v1.9.1