| | |
| | | InitData res = new initData(); |
| | | try{ |
| | | Monthly_Report__c report = [SELECT OwnerId,Id,Next_week_plan__c FROM Monthly_Report__c WHERE Id = :recordId LIMIT 1]; |
| | | res.OwnerId = report.OwnerId; |
| | | res.ownerId = report.OwnerId; |
| | | res.userId = UserInfo.getUserId(); |
| | | res.Id = report.Id; |
| | | res.nextWeekPlan = report.Next_week_plan__c; |
| | | System.debug(LoggingLevel.INFO, '*** res: ' + res); |
| | |
| | | @AuraEnabled |
| | | public String Id; |
| | | @AuraEnabled |
| | | public String OwnerId; |
| | | public String ownerId; |
| | | @AuraEnabled |
| | | public String ownerEmail; |
| | | @AuraEnabled |
| | |
| | | public String drSumUrl; |
| | | @AuraEnabled |
| | | public String userEmail; |
| | | @AuraEnabled |
| | | public String userId; |
| | | } |
| | | } |