From ba4651fb1416e263325b457c896dbbd83debe663 Mon Sep 17 00:00:00 2001
From: twysparks <twysparks@163.com>
Date: 星期三, 17 五月 2023 17:39:35 +0800
Subject: [PATCH] 申请修理
---
force-app/main/default/classes/buttonQISReportCtl.cls | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/force-app/main/default/classes/buttonQISReportCtl.cls b/force-app/main/default/classes/buttonQISReportCtl.cls
index 973266e..9f50c0f 100644
--- a/force-app/main/default/classes/buttonQISReportCtl.cls
+++ b/force-app/main/default/classes/buttonQISReportCtl.cls
@@ -171,6 +171,18 @@
return res;
}
+ // 鏌ユ壘绠�妗�
+ @AuraEnabled
+ public static List<Profile> initSelectProfile(String profileId){
+ List<Profile> res = new List<Profile>();
+ try{
+ res = [SELECT Id,name FROM Profile WHERE Id=: profileId ];
+ }catch(Exception e){
+ System.debug(LoggingLevel.INFO, '*** e: ' + e);
+ }
+ return res;
+ }
+
public class InitData{
@AuraEnabled
public String isAEProfileC;
--
Gitblit v1.9.1