From fc8a8cea62e5d248834482a1ade9db6ab0758bf2 Mon Sep 17 00:00:00 2001
From: Li Jun <buli@deloitte.com.cn>
Date: 星期日, 24 四月 2022 18:55:04 +0800
Subject: [PATCH] 20220424FixIssue
---
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