| | |
| | | res.hospital = so.Hospital__c; |
| | | res.departmentClass = so.Department_Class__c; |
| | | } catch (Exception e) { |
| | | throw new AuraHandledException(e.getMessage()); |
| | | System.debug(LoggingLevel.INFO, '*** e: ' + e); |
| | | } |
| | | return res; |
| | | } |
| | |
| | | res.profileId = UserInfo.getProfileId(); |
| | | res.m2ProfileId = [select Id from Profile where Name =: lexLightingButtonConstant.M2_PROFILE_NAME].Id; |
| | | } catch (Exception e) { |
| | | throw new AuraHandledException(e.getMessage()); |
| | | System.debug(LoggingLevel.INFO, '*** e: ' + e); |
| | | } |
| | | return res; |
| | | } |
| | |
| | | ]; |
| | | |
| | | } catch (Exception e) { |
| | | throw new AuraHandledException(e.getMessage()); |
| | | System.debug(LoggingLevel.INFO, '*** e: ' + e); |
| | | } |
| | | return accList; |
| | | } |
| | |
| | | from Solution_Programme__c where SolutionProjectRequirements__c =: recordId and Scheme_Type__c = '结案' |
| | | ]; |
| | | } catch (Exception e) { |
| | | throw new AuraHandledException(e.getMessage()); |
| | | System.debug(LoggingLevel.INFO, '*** e: ' + e); |
| | | } |
| | | return so; |
| | | } |
| | |
| | | select id,name from solutionClosingAttachment__c where Solution_Programme__c =: solprogrammeId |
| | | ]; |
| | | } catch (Exception e) { |
| | | throw new AuraHandledException(e.getMessage()); |
| | | System.debug(LoggingLevel.INFO, '*** e: ' + e); |
| | | } |
| | | return so; |
| | | } |
| | | class InitData{ |
| | | public class InitData{ |
| | | @AuraEnabled |
| | | public String status; |
| | | @AuraEnabled |