Li Jun
2022-04-24 dd10019315aa7e0b26432bb48716da308cc11d82
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);
        }
    }
}