From af908216bb0012fe849e3b49b3039c7ba238f8f0 Mon Sep 17 00:00:00 2001
From: liangxiaozhen <liangxiaozhen>
Date: 星期五, 11 八月 2023 14:35:43 +0800
Subject: [PATCH] 补充controller,修改变量,主页bug修改

---
 force-app/main/default/classes/AccountUrlRecordTypeIdController.cls |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/force-app/main/default/classes/AccountUrlRecordTypeIdController.cls b/force-app/main/default/classes/AccountUrlRecordTypeIdController.cls
index 72b6535..0cab992 100644
--- a/force-app/main/default/classes/AccountUrlRecordTypeIdController.cls
+++ b/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;
     }
 }
\ No newline at end of file

--
Gitblit v1.9.1