| | |
| | | public with sharing class lexAccountController { |
| | | @AuraEnabled |
| | | public static InitData init(String recordId){ |
| | | InitData res = new InitData(); |
| | | try { |
| | | Account acc = [ |
| | | select |
| | | Name |
| | | from Account where Id =: recordId |
| | | ]; |
| | | res.name = acc.Name; |
| | | } catch (Exception e) { |
| | | throw new AuraHandledException(e.getMessage()); |
| | | } |
| | | return res; |
| | | } |
| | | @AuraEnabled |
| | | public static InitData initForNewSolutonProButton(String recordId){ |
| | | InitData res = new InitData(); |
| | | try { |
| | |
| | | public String recordTypeId; |
| | | @AuraEnabled |
| | | public String hospitalDepartmentClass; |
| | | @AuraEnabled |
| | | public String name; |
| | | } |
| | | } |