高章伟
2023-03-03 d8dc84a3d56df839895f1c417a4d9cbee763d262
force-app/main/default/classes/OPDPlanSystemDelayBatch.cls
@@ -14,7 +14,7 @@
        if (oPDPlanIdList <> null) {
            return Database.getQueryLocator([SELECT Id, Name, OPDPlan_ImplementDate__c, SystemDelayFlag__c, Status__c, SystemDelayMark__c FROM OPDPlan__c WHERE SystemDelayFlag__c = true AND Id In :oPDPlanIdList]);
        } else {
            return Database.getQueryLocator([SELECT Id, Name, OPDPlan_ImplementDate__c, SystemDelayFlag__c, Status__c, SystemDelayMark__c FROM OPDPlan__c WHERE SystemDelayFlag__c = true]);
            return Database.getQueryLocator([SELECT Id, Name, OPDPlan_ImplementDate__c, SystemDelayFlag__c, Status__c, SystemDelayMark__c FROM OPDPlan__c WHERE SystemDelayFlag__c = true ]);
        }
    }