public with sharing class LexOPDPostPoneController {
    @AuraEnabled
    public static OPDPlan__c init(String recordId){
        OPDPlan__c res = new OPDPlan__c();
        try{
                res = [Select Id,Status__c,Name from OPDPlan__c WHERE Id=:recordId];

        }
        catch(Exception e){
            System.debug(LoggingLevel.INFO, '*** e: ' + e);
        }
        return res;
    }

    @AuraEnabled
    public static  List<RecordType> findRecordId(){
        try{
            List<RecordType> RecordTypes = [Select Id from RecordType where Name = '改期' limit 1];

            return RecordTypes;
        }
        catch (Exception e) {
            System.debug(LoggingLevel.INFO, '*** e: ' + e);
        }
        return null;
    }
}