liangxiaozhen
2023-08-11 af908216bb0012fe849e3b49b3039c7ba238f8f0
force-app/main/default/classes/AccountUrlRecordTypeIdController.cls
@@ -17,7 +17,7 @@
        RepairContactData result = new RepairContactData();
        try {
            Account report = [select Department_Class_Label__c from Account where Id = :recordId];
            result.DepartmentClassLabel = report.Department_Class_Label__c;
            result.departmentClassLabel = report.Department_Class_Label__c;
            result.typeId = Schema.SObjectType.Account.getRecordTypeInfosByDeveloperName().get('AgencyContact').getRecordTypeId();
        } catch (Exception e) {
            throw new AuraHandledException(e.getMessage());
@@ -28,6 +28,6 @@
        @AuraEnabled
        public string typeId;
        @AuraEnabled
        public string DepartmentClassLabel;
        public string departmentClassLabel;
    }
}