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/NewAgencyContractController.cls | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/force-app/main/default/classes/NewAgencyContractController.cls b/force-app/main/default/classes/NewAgencyContractController.cls
index cd506b6..0554a16 100644
--- a/force-app/main/default/classes/NewAgencyContractController.cls
+++ b/force-app/main/default/classes/NewAgencyContractController.cls
@@ -7,8 +7,8 @@
try {
User tempUser = [select Id,ProfileId from user where id = : myUserID ];
result.id = tempUser.Id;
- result.RecordTypeId = Schema.SObjectType.Account.getRecordTypeInfosByDeveloperName().get('AgencyContract').getRecordTypeId();
- result.ProfileId = tempUser.ProfileId;
+ result.recordTypeId = Schema.SObjectType.Account.getRecordTypeInfosByDeveloperName().get('AgencyContract').getRecordTypeId();
+ result.profileId = tempUser.ProfileId;
} catch (exception e) {
result.result = e.getMessage();
}
@@ -24,8 +24,8 @@
@AuraEnabled
public string id;
@AuraEnabled
- public String RecordTypeId;
+ public String recordTypeId;
@AuraEnabled
- public string ProfileId;
+ public string profileId;
}
}
\ No newline at end of file
--
Gitblit v1.9.1