张宇恒
2022-12-23 ec47f5ab5923a315bf22e0df5af7371e9668589e
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) {