liangxiaozhen
2023-08-11 af908216bb0012fe849e3b49b3039c7ba238f8f0
force-app/main/default/classes/QuolifiedApplySPOController.cls
@@ -6,9 +6,9 @@
        try {
            Account report = [SELECT Id,Is_Active__c FROM Account WHERE Id = :recordId];
            User userinfo = [SELECT id,ProfileId,Job_Category__c FROM User WHERE Id = :myUserID LIMIT 1];
            res.IsActive = report.Is_Active__c;
            res.ProfileId = userinfo.ProfileId;
            res.JobCategory = userinfo.Job_Category__c;
            res.isActive = report.Is_Active__c;
            res.profileId = userinfo.ProfileId;
            res.jobCategory = userinfo.Job_Category__c;
        } catch (Exception e) {
            throw new AuraHandledException(e.getMessage());
        }
@@ -32,10 +32,10 @@
    public class InitData{
        @AuraEnabled
        public string IsActive;
        public string isActive;
        @AuraEnabled
        public string ProfileId;
        public string profileId;
        @AuraEnabled
        public string JobCategory;
        public string jobCategory;
    }
}