Liu Cheng
2022-06-09 cdcd7ebced39e63ebbca5295ed8e34b66d515130
force-app/main/default/classes/NFM116Batch.cls
@@ -36,7 +36,7 @@
    }
    global Database.QueryLocator start(Database.BatchableContext bc) {
        String query = 'select Id from eSignForm__c where agencyAcceptSAPResult__c != null and HPAcceptSAPResult__c != null ';
        String query = 'select Id from eSignForm__c where (agencyAcceptSAPResult__c != null or HPAcceptSAPResult__c != null) ';
        if(String.isNotBlank(setId)){
            query += ' and Id =: setId ';
        } else if (setIdList != null && setIdList.size() > 0) {